-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2605 from Azure/users/huliu/azureiidt-2020-12-01-…
…add-childresources Users/huliu/azureiidt 2020 12 01 add childresources
- Loading branch information
Showing
34 changed files
with
3,047 additions
and
3 deletions.
There are no files selected for viewing
2,240 changes: 2,240 additions & 0 deletions
2,240
...nager/Microsoft.IntelligentITDigitalTwin/preview/2020-12-01-privatepreview/azureiidt.json
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
...lligentITDigitalTwin/preview/2020-12-01-privatepreview/examples/CreateAITDigitalTwin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"parameters": { | ||
"location": "westeurope", | ||
"properties": {} | ||
}, | ||
"api-version": "2020-07-15-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT", | ||
"name": "myIIDT", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins", | ||
"location": "westeurope", | ||
"properties": { | ||
"iidtName": "myIIDT1", | ||
"createdTime": "2020-06-17T14:00:00Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...ntITDigitalTwin/preview/2020-12-01-privatepreview/examples/CreateAITDigitalTwinAsset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"assetName": "myAsset", | ||
"parameters": { | ||
"location": "westeurope", | ||
"properties": { | ||
"assetId": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/Microsoft.Compute/virtualMachines/myAsset", | ||
"assetRole": "SCCM", | ||
"assetStatus": "Available" | ||
} | ||
}, | ||
"api-version": "2020-11-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/assets/myAsset", | ||
"name": "myAsset", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/assets", | ||
"location": "westeurope", | ||
"properties": { | ||
"assetId": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myAsset", | ||
"assetRole": "SCCM", | ||
"assetStatus": "Available" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...talTwin/preview/2020-12-01-privatepreview/examples/CreateAITDigitalTwinExecutionPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"executionPlanName": "myExecutionPlan", | ||
"parameters": { | ||
"location": "westeurope", | ||
"properties": { | ||
"plan": "/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/testPlans/planA", | ||
"deviceNames": [ | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset1", | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset2" | ||
], | ||
"executionStatus": "Unknown", | ||
"result": "Passed" | ||
} | ||
}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/executionPlans/myExecutionPlan", | ||
"name": "myExecutionPlan", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/executionPlans", | ||
"location": "westeurope", | ||
"properties": { | ||
"plan": "/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/testPlans/planA", | ||
"deviceNames": [ | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset1", | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset2" | ||
], | ||
"executionStatus": "Unknown", | ||
"result": "Passed" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...entITDigitalTwin/preview/2020-12-01-privatepreview/examples/CreateAITDigitalTwinTest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testName": "myTest", | ||
"parameters": { | ||
"location": "westeurope", | ||
"properties": { | ||
"author": "Adam Goodman", | ||
"path": "sub1/rg1/mytest/", | ||
"testType": "Default", | ||
"versionNumber": "v1.0" | ||
} | ||
}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/tests/myTest", | ||
"name": "myTest", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/tests", | ||
"location": "westeurope", | ||
"properties": { | ||
"author": "Adam Goodman", | ||
"path": "sub1/rg1/mytest/", | ||
"testType": "Default", | ||
"versionNumber": "v1.0" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...TDigitalTwin/preview/2020-12-01-privatepreview/examples/CreateAITDigitalTwinTestPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testPlanName": "myTestPlan", | ||
"parameters": { | ||
"location": "westeurope", | ||
"properties": { | ||
"testList": [ | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myAPolicyTest", | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myBPolicyTest" | ||
] | ||
} | ||
}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/testPlans/myTestPlan", | ||
"name": "myTestPlan", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/testPlans", | ||
"location": "westeurope", | ||
"properties": { | ||
"testList": [ | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myAPolicyTest", | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myBPolicyTest" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...lligentITDigitalTwin/preview/2020-12-01-privatepreview/examples/DeleteAITDigitalTwin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"parameters": {}, | ||
"api-version": "2020-07-15-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ntITDigitalTwin/preview/2020-12-01-privatepreview/examples/DeleteAITDigitalTwinAsset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"assetName": "myAsset", | ||
"parameters": {}, | ||
"api-version": "2020-11-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...talTwin/preview/2020-12-01-privatepreview/examples/DeleteAITDigitalTwinExecutionPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"executionPlanName": "myExecutionPlan", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...entITDigitalTwin/preview/2020-12-01-privatepreview/examples/DeleteAITDigitalTwinTest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testName": "myTest", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...TDigitalTwin/preview/2020-12-01-privatepreview/examples/DeleteAITDigitalTwinTestPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testPlanName": "myTestPlan", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ntelligentITDigitalTwin/preview/2020-12-01-privatepreview/examples/GetAITDigitalTwin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"parameters": { | ||
"properties": {} | ||
}, | ||
"api-version": "2020-07-15-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT", | ||
"name": "myIIDT", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins", | ||
"location": "westus", | ||
"properties": { | ||
"iidtName": "myIIDT", | ||
"createdTime": "2020-06-17T14:00:00Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...igentITDigitalTwin/preview/2020-12-01-privatepreview/examples/GetAITDigitalTwinAsset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"assetName": "myAsset", | ||
"parameters": {}, | ||
"api-version": "2020-11-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/assets/myAsset", | ||
"name": "myAsset", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/assets", | ||
"location": "westus", | ||
"properties": { | ||
"assetId": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myAsset", | ||
"assetRole": "SCCM", | ||
"assetStatus": "Available" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...igitalTwin/preview/2020-12-01-privatepreview/examples/GetAITDigitalTwinExecutionPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"executionPlanName": "myExecutionPlan", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/executionPlans/myExecutionPlan", | ||
"name": "myExecutionPlan", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/executionPlans", | ||
"location": "westeurope", | ||
"properties": { | ||
"plan": "/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/testPlans/planA", | ||
"deviceNames": [ | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset1", | ||
"subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/myAsset2" | ||
], | ||
"executionStatus": "Unknown", | ||
"result": "Passed" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ligentITDigitalTwin/preview/2020-12-01-privatepreview/examples/GetAITDigitalTwinTest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testName": "myTest", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/tests/myTest", | ||
"name": "myTest", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/tests", | ||
"location": "westeurope", | ||
"properties": { | ||
"author": "Adam Goodman", | ||
"path": "sub1/rg1/mytest/", | ||
"testType": "Default", | ||
"versionNumber": "v1.0" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ntITDigitalTwin/preview/2020-12-01-privatepreview/examples/GetAITDigitalTwinTestPlan.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"iidtName": "myIIDT", | ||
"testPlanName": "myTestPlan", | ||
"parameters": {}, | ||
"api-version": "2020-12-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIIDT/testPlans/myTestPlan", | ||
"name": "myTestPlan", | ||
"type": "Microsoft.IntelligentITDigitalTwin/digitalTwins/testPlans", | ||
"location": "westeurope", | ||
"properties": { | ||
"testList": [ | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myAPolicyTest", | ||
"/subscriptions/subid/ResourceGroup/rg1/providers/Microsoft.IntelligentITDigitalTwin/digitalTwins/myIDT/tests/myBPolicyTest" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.