Skip to content

Commit

Permalink
Merge pull request #2605 from Azure/users/huliu/azureiidt-2020-12-01-…
Browse files Browse the repository at this point in the history
…add-childresources

Users/huliu/azureiidt 2020 12 01 add childresources
  • Loading branch information
akning-ms authored Jan 5, 2021
2 parents 85287a2 + 1ffb35f commit 403e230
Show file tree
Hide file tree
Showing 34 changed files with 3,047 additions and 3 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
]
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
]
}
}
}
}
}
Loading

0 comments on commit 403e230

Please sign in to comment.