-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'dev-maintenance-Microsoft.Mai…
…ntenance-2023-04-01' (#24048) * Revert "Revert "[Hub Generated] Publish private branch 'dev-maintenance-Microsoft.Maintenance-2023-04-01' (#23832)" (#23923)" This reverts commit e6c0e18. * Removed 202 and Async supression. * Update documentation. * Updated documentation --------- Co-authored-by: Kalpesh Chavan <[email protected]>
- Loading branch information
1 parent
8cf9732
commit f4135ef
Showing
39 changed files
with
4,525 additions
and
1 deletion.
There are no files selected for viewing
3,034 changes: 3,034 additions & 0 deletions
3,034
...ion/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...ager/Microsoft.Maintenance/stable/2023-04-01/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": "2023-04-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...manager/Microsoft.Maintenance/stable/2023-04-01/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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceType": "virtualMachineScaleSets", | ||
"resourceName": "smdtest1", | ||
"api-version": "2023-04-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...r/Microsoft.Maintenance/stable/2023-04-01/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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"providerName": "Microsoft.Compute", | ||
"resourceParentType": "virtualMachineScaleSets", | ||
"resourceParentName": "smdtest1", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "smdvm1", | ||
"api-version": "2023-04-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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/resource-manager/Microsoft.Maintenance/stable/2023-04-01/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": "2023-04-01" | ||
}, | ||
"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
...urce-manager/Microsoft.Maintenance/stable/2023-04-01/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": "2023-04-01" | ||
}, | ||
"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
.../resource-manager/Microsoft.Maintenance/stable/2023-04-01/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": "2023-04-01" | ||
}, | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
116 changes: 116 additions & 0 deletions
116
...e/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_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,116 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2023-04-01", | ||
"configurationAssignment": { | ||
"properties": { | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"filter": { | ||
"resourceTypes": [ | ||
"Microsoft.HybridCompute/machines", | ||
"Microsoft.Compute/virtualMachines" | ||
], | ||
"tagSettings": { | ||
"tags": { | ||
"tag1": [ | ||
"tag1Value1", | ||
"tag1Value2", | ||
"tag1Value3" | ||
], | ||
"tag2": [ | ||
"tag2Value1", | ||
"tag2Value2", | ||
"tag2Value3" | ||
] | ||
}, | ||
"filterOperator": "Any" | ||
}, | ||
"locations": [ | ||
"Japan East", | ||
"UK South" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/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", | ||
"filter": { | ||
"resourceTypes": [ | ||
"Microsoft.HybridCompute/machines", | ||
"Microsoft.Compute/virtualMachines" | ||
], | ||
"osTypes": [ | ||
"Windows", | ||
"Linux" | ||
], | ||
"tagSettings": { | ||
"tags": { | ||
"tag1": [ | ||
"tag1Value1", | ||
"tag1Value2", | ||
"tag1Value3" | ||
], | ||
"tag2": [ | ||
"tag2Value1", | ||
"tag2Value2", | ||
"tag2Value3" | ||
] | ||
}, | ||
"filterOperator": "Any" | ||
}, | ||
"locations": [ | ||
"Japan East", | ||
"UK South" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/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", | ||
"filter": { | ||
"resourceTypes": [ | ||
"Microsoft.HybridCompute/machines", | ||
"Microsoft.Compute/virtualMachines" | ||
], | ||
"tagSettings": { | ||
"tags": { | ||
"tag1": [ | ||
"tag1Value1", | ||
"tag1Value2", | ||
"tag1Value3" | ||
], | ||
"tag2": [ | ||
"tag2Value1", | ||
"tag2Value2", | ||
"tag2Value3" | ||
] | ||
}, | ||
"filterOperator": "Any" | ||
}, | ||
"locations": [ | ||
"Japan East", | ||
"UK South" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...intenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2023-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
....Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"configurationAssignmentName": "workervmConfiguration", | ||
"api-version": "2023-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", | ||
"name": "workervmConfiguration", | ||
"type": "Microsoft.Maintenance/configurationAssignments", | ||
"properties": { | ||
"filter": { | ||
"resourceTypes": [ | ||
"Microsoft.HybridCompute/machines", | ||
"Microsoft.Compute/virtualMachines" | ||
], | ||
"tagSettings": { | ||
"tags": { | ||
"tag1": [ | ||
"tag1Value1", | ||
"tag1Value2", | ||
"tag1Value3" | ||
], | ||
"tag2": [ | ||
"tag2Value1", | ||
"tag2Value2", | ||
"tag2Value3" | ||
] | ||
}, | ||
"filterOperator": "All" | ||
}, | ||
"locations": [ | ||
"Japan East", | ||
"UK South" | ||
] | ||
}, | ||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", | ||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.