forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Public private branch 'dev-maintenance-Microsoft.Main…
…tenance-2021-09-01-preview' (Azure#15713) * Adds base for updating Microsoft.Maintenance from version preview/2021-04-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples
- Loading branch information
1 parent
327b222
commit dae794f
Showing
30 changed files
with
3,348 additions
and
4 deletions.
There are no files selected for viewing
2,501 changes: 2,501 additions & 0 deletions
2,501
...enance/resource-manager/Microsoft.Maintenance/preview/2021-09-01-preview/Maintenance.json
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...osoft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdatesResourceGroup_List.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Maintenance", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", | ||
"status": "Completed" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...icrosoft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdates_CreateOrUpdate.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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", | ||
"status": "Pending" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdates_CreateOrUpdateParent.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1", | ||
"status": "Pending" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...e-manager/Microsoft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdates_Get.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"applyUpdateName": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", | ||
"status": "Completed" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ger/Microsoft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdates_GetParent.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"applyUpdateName": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1", | ||
"status": "Completed" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...-manager/Microsoft.Maintenance/preview/2021-09-01-preview/examples/ApplyUpdates_List.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"providerName": "Microsoft.Maintenance", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", | ||
"type": "Microsoft.Maintenance/applyUpdates", | ||
"properties": { | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", | ||
"status": "Completed" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...ew/2021-09-01-preview/examples/ConfigurationAssignmentsResultWithinSubscription_List.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"providerName": "Microsoft.Maintenance", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ntenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_CreateOrUpdate.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2021-09-01-preview", | ||
"configurationAssignment": { | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ce/preview/2021-09-01-preview/examples/ConfigurationAssignments_CreateOrUpdateParent.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"configurationAssignmentName": "workervmPolicy", | ||
"api-version": "2021-09-01-preview", | ||
"configurationAssignment": { | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", | ||
"name": "workervmPolicy", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1" | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...soft.Maintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_Delete.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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...aintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_DeleteParent.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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...crosoft.Maintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_Get.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...t.Maintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_GetParent.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"configurationAssignmentName": "workervmPolicy", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", | ||
"name": "workervmPolicy", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1" | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...rosoft.Maintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_List.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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
....Maintenance/preview/2021-09-01-preview/examples/ConfigurationAssignments_ListParent.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": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdtestvm1", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdtestvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", | ||
"name": "workervmPolicy", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdtestvm1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.