Revert "[Hub Generated] Publish private branch 'dev-maintenance-Microsoft.Maintenance-2023-04-01' (#23832)" (#23923)
This reverts commit 3ce676c2fc
.
This commit is contained in:
Родитель
1f449b5a17
Коммит
e6c0e188a7
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,116 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"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": {},
|
||||
"202": {}
|
||||
}
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"api-version": "2023-04-01",
|
||||
"configurationAssignment": {
|
||||
"properties": {
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"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.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": "Any"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,123 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"api-version": "2023-04-01",
|
||||
"configurationAssignment": {
|
||||
"properties": {
|
||||
"filter": {
|
||||
"resourceTypes": [
|
||||
"Microsoft.HybridCompute/machines",
|
||||
"Microsoft.Compute/virtualMachines"
|
||||
],
|
||||
"resourceGroups": [
|
||||
"RG1",
|
||||
"RG2"
|
||||
],
|
||||
"tagSettings": {
|
||||
"tags": {
|
||||
"tag1": [
|
||||
"tag1Value1",
|
||||
"tag1Value2",
|
||||
"tag1Value3"
|
||||
],
|
||||
"tag2": [
|
||||
"tag2Value1",
|
||||
"tag2Value2",
|
||||
"tag2Value3"
|
||||
]
|
||||
},
|
||||
"filterOperator": "Any"
|
||||
},
|
||||
"locations": [
|
||||
"Japan East",
|
||||
"UK South"
|
||||
]
|
||||
},
|
||||
"maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration",
|
||||
"name": "workervmConfiguration",
|
||||
"type": "Microsoft.Maintenance/configurationAssignments",
|
||||
"properties": {
|
||||
"filter": {
|
||||
"resourceTypes": [
|
||||
"Microsoft.HybridCompute/machines",
|
||||
"Microsoft.Compute/virtualMachines"
|
||||
],
|
||||
"resourceGroups": [
|
||||
"RG1",
|
||||
"RG2"
|
||||
],
|
||||
"tagSettings": {
|
||||
"tags": {
|
||||
"tag1": [
|
||||
"tag1Value1",
|
||||
"tag1Value2",
|
||||
"tag1Value3"
|
||||
],
|
||||
"tag2": [
|
||||
"tag2Value1",
|
||||
"tag2Value2",
|
||||
"tag2Value3"
|
||||
]
|
||||
},
|
||||
"filterOperator": "Any"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration",
|
||||
"name": "workervmConfiguration",
|
||||
"type": "Microsoft.Maintenance/configurationAssignments",
|
||||
"properties": {
|
||||
"filter": {
|
||||
"resourceTypes": [
|
||||
"Microsoft.HybridCompute/machines",
|
||||
"Microsoft.Compute/virtualMachines"
|
||||
],
|
||||
"resourceGroups": [
|
||||
"RG1",
|
||||
"RG2"
|
||||
],
|
||||
"tagSettings": {
|
||||
"tags": {
|
||||
"tag1": [
|
||||
"tag1Value1",
|
||||
"tag1Value2",
|
||||
"tag1Value3"
|
||||
],
|
||||
"tag2": [
|
||||
"tag2Value1",
|
||||
"tag2Value2",
|
||||
"tag2Value3"
|
||||
]
|
||||
},
|
||||
"filterOperator": "Any"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration",
|
||||
"name": "workervmConfiguration",
|
||||
"type": "Microsoft.Maintenance/configurationAssignments"
|
||||
}
|
||||
},
|
||||
"204": {},
|
||||
"202": {}
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,83 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"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"
|
||||
],
|
||||
"resourceGroups": [
|
||||
"RG1",
|
||||
"RG2"
|
||||
],
|
||||
"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/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",
|
||||
"filter": {
|
||||
"resourceTypes": [
|
||||
"Microsoft.HybridCompute/machines",
|
||||
"Microsoft.Compute/virtualMachines"
|
||||
],
|
||||
"resourceGroups": [
|
||||
"RG1",
|
||||
"RG2"
|
||||
],
|
||||
"tagSettings": {
|
||||
"tags": {
|
||||
"tag1": [
|
||||
"tag1Value1",
|
||||
"tag1Value2",
|
||||
"tag1Value3"
|
||||
],
|
||||
"tag2": [
|
||||
"tag2Value1",
|
||||
"tag2Value2",
|
||||
"tag2Value3"
|
||||
]
|
||||
},
|
||||
"filterOperator": "Any"
|
||||
},
|
||||
"locations": [
|
||||
"Japan East",
|
||||
"UK South"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"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/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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceType": "virtualMachineScaleSets",
|
||||
"resourceName": "smdtest1",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"api-version": "2023-04-01",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceParentType": "virtualMachineScaleSets",
|
||||
"resourceParentName": "smdtest1",
|
||||
"resourceType": "virtualMachines",
|
||||
"resourceName": "smdvm1",
|
||||
"configurationAssignmentName": "workervmPolicy",
|
||||
"api-version": "2023-04-01",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceType": "virtualMachineScaleSets",
|
||||
"resourceName": "smdtest1",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"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/configurationAssignments/workervmConfiguration",
|
||||
"name": "workervmConfiguration",
|
||||
"type": "Microsoft.Maintenance/configurationAssignments"
|
||||
}
|
||||
},
|
||||
"204": {}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceParentType": "virtualMachineScaleSets",
|
||||
"resourceParentName": "smdtest1",
|
||||
"resourceType": "virtualMachines",
|
||||
"resourceName": "smdvm1",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"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/configurationAssignments/workervmConfiguration",
|
||||
"name": "workervmConfiguration",
|
||||
"type": "Microsoft.Maintenance/configurationAssignments"
|
||||
}
|
||||
},
|
||||
"204": {}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceType": "virtualMachineScaleSets",
|
||||
"resourceName": "smdtest1",
|
||||
"configurationAssignmentName": "workervmConfiguration",
|
||||
"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/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceParentType": "virtualMachineScaleSets",
|
||||
"resourceParentName": "smdtest1",
|
||||
"resourceType": "virtualMachines",
|
||||
"resourceName": "smdvm1",
|
||||
"configurationAssignmentName": "workervmPolicy",
|
||||
"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/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceType": "virtualMachineScaleSets",
|
||||
"resourceName": "smdtest1",
|
||||
"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/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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceParentType": "virtualMachineScaleSets",
|
||||
"resourceParentName": "smdtest1",
|
||||
"resourceType": "virtualMachines",
|
||||
"resourceName": "smdtestvm1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "OSImage",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Week Saturday,Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,63 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01",
|
||||
"configuration": {
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"visibility": "Custom",
|
||||
"maintenanceScope": "OSImage",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Day"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"visibility": "Custom",
|
||||
"maintenanceScope": "OSImage",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Day"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"201": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"visibility": "Custom",
|
||||
"maintenanceScope": "OSImage",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Day"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "example1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance"
|
||||
}
|
||||
}
|
||||
},
|
||||
"204": {}
|
||||
}
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "OSImage",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "5Days"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "InGuestPatch",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "5Days"
|
||||
},
|
||||
"installPatches": {
|
||||
"linuxParameters": {
|
||||
"classificationsToInclude": [
|
||||
"Critical"
|
||||
],
|
||||
"packageNameMasksToExclude": [
|
||||
"apt",
|
||||
"http"
|
||||
],
|
||||
"packageNameMasksToInclude": [
|
||||
"binutils",
|
||||
"bin"
|
||||
]
|
||||
},
|
||||
"rebootSetting": "Always"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "InGuestPatch",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "5Days"
|
||||
},
|
||||
"installPatches": {
|
||||
"windowsParameters": {
|
||||
"classificationsToInclude": [
|
||||
"Security"
|
||||
],
|
||||
"kbNumbersToInclude": [
|
||||
"KB123456"
|
||||
],
|
||||
"kbNumbersToExclude": [
|
||||
"KB234567"
|
||||
],
|
||||
"excludeKbsRequiringReboot": false
|
||||
},
|
||||
"rebootSetting": "Always"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "OSImage",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Week Saturday,Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01",
|
||||
"configuration": {
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"visibility": "Custom",
|
||||
"maintenanceScope": "OSImage",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Month Third Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "OSImage",
|
||||
"visibility": "Custom",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Month Third Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceName": "configuration1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "SQLDB",
|
||||
"visibility": "Public",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00",
|
||||
"expirationDateTime": "9999-12-31 00:00",
|
||||
"duration": "05:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "2Weeks"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1",
|
||||
"name": "configuration1",
|
||||
"location": "westus2",
|
||||
"properties": {
|
||||
"namespace": "Microsoft.Maintenance",
|
||||
"maintenanceScope": "SQLDB",
|
||||
"visibility": "Public",
|
||||
"maintenanceWindow": {
|
||||
"startDateTime": "2020-04-30 08:00:00",
|
||||
"expirationDateTime": "9999-12-31 00:00:00",
|
||||
"duration": "05:00:00",
|
||||
"timeZone": "Pacific Standard Time",
|
||||
"recurEvery": "Week Saturday,Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceType": "virtualMachineScaleSets",
|
||||
"resourceName": "smdtest1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"maintenanceScope": "Resource",
|
||||
"status": "Pending",
|
||||
"impactType": "Reboot",
|
||||
"impactDurationInSec": 1440,
|
||||
"notBefore": "2018-10-09T06:17:44.235Z",
|
||||
"properties": {
|
||||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
|
||||
"resourceGroupName": "examplerg",
|
||||
"providerName": "Microsoft.Compute",
|
||||
"resourceParentType": "virtualMachineScaleSets",
|
||||
"resourceParentName": "smdtest1",
|
||||
"resourceType": "virtualMachines",
|
||||
"resourceName": "1",
|
||||
"api-version": "2023-04-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"maintenanceScope": "Resource",
|
||||
"status": "Pending",
|
||||
"impactType": "Reboot",
|
||||
"impactDurationInSec": 1440,
|
||||
"notBefore": "2018-10-09T06:17:44.235Z",
|
||||
"properties": {
|
||||
"resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,61 +6,4 @@ These settings apply only when `--cli` is specified on the command line.
|
|||
cli:
|
||||
namespace: azure.mgmt.maintenance
|
||||
flatten-all: true
|
||||
cli-directive:
|
||||
- select: 'operationGroup'
|
||||
where:
|
||||
operationGroup: 'ApplyUpdateForResourceGroup'
|
||||
hidden: true
|
||||
- where:
|
||||
operationGroup: 'MaintenanceConfigurationsForResourceGroup'
|
||||
hidden: true
|
||||
- where:
|
||||
operationGroup: 'ConfigurationAssignmentsWithinSubscription'
|
||||
hidden: true
|
||||
- select: 'parameter'
|
||||
where:
|
||||
parameter: duration
|
||||
alias:
|
||||
- maintenance-window-duration
|
||||
- duration
|
||||
- where:
|
||||
parameter: 'expirationDateTime'
|
||||
alias:
|
||||
- maintenance-window-expiration-date-time
|
||||
- expiration-date-time
|
||||
- where:
|
||||
parameter: 'recurEvery'
|
||||
alias:
|
||||
- maintenance-window-recur-every
|
||||
- recur-every
|
||||
- where:
|
||||
param: startDateTime
|
||||
alias:
|
||||
- maintenance-window-start-date-time
|
||||
- start-date-time
|
||||
- where:
|
||||
param: timeZone
|
||||
alias:
|
||||
- maintenance-window-time-zone
|
||||
- time-zone
|
||||
- where:
|
||||
param: linuxParameters
|
||||
alias:
|
||||
- install-patches-linux-parameters
|
||||
- linux-parameters
|
||||
- where:
|
||||
param: windowsParameters
|
||||
alias:
|
||||
- install-patches-windows-parameters
|
||||
- windows-parameters
|
||||
- where:
|
||||
param: postTasks
|
||||
alias:
|
||||
- install-patches-post-tasks
|
||||
- post-tasks
|
||||
- where:
|
||||
param: preTasks
|
||||
alias:
|
||||
- install-patches-pre-tasks
|
||||
- pre-tasks
|
||||
```
|
||||
|
|
|
@ -26,17 +26,9 @@ These are the global settings for the Azure Maintenance API.
|
|||
|
||||
``` yaml
|
||||
openapi-type: arm
|
||||
tag: package-2023-04
|
||||
tag: package-preview-2022-11
|
||||
```
|
||||
|
||||
### Tag: package-2023-04
|
||||
|
||||
These settings apply only when `--tag=package-2023-04` is specified on the command line.
|
||||
|
||||
```yaml $(tag) == 'package-2023-04'
|
||||
input-file:
|
||||
- Microsoft.Maintenance/stable/2023-04-01/Maintenance.json
|
||||
```
|
||||
|
||||
### Tag: package-preview-2022-11
|
||||
|
||||
|
@ -46,7 +38,6 @@ These settings apply only when `--tag=package-preview-2022-11` is specified on t
|
|||
input-file:
|
||||
- Microsoft.Maintenance/preview/2022-11-01-preview/Maintenance.json
|
||||
```
|
||||
|
||||
### Tag: package-preview-2022-07
|
||||
|
||||
These settings apply only when `--tag=package-preview-2022-07` is specified on the command line.
|
||||
|
@ -155,52 +146,3 @@ See configuration in [readme.go.md](./readme.go.md)
|
|||
## Java
|
||||
|
||||
See configuration in [readme.java.md](./readme.java.md)
|
||||
|
||||
### Suppression
|
||||
|
||||
``` yaml
|
||||
directive:
|
||||
- suppress: PathForPutOperation
|
||||
from: maintenance.json
|
||||
reason: Subscription or resource group is passed in request body.
|
||||
- suppress: DeleteResponseBodyEmpty
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: PathContainsResourceType
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: PathContainsResourceType
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: TrackedResourcePatchOperation
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: SubscriptionsAndResourceGroupCasing
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: UnSupportedPatchProperties
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: PathResourceProviderNamePascalCase
|
||||
from: maintenance.json
|
||||
reason: Suppression warning to avoid breaking changes
|
||||
- suppress: RequestSchemaForTrackedResourcesMustHaveTags
|
||||
from: maintenance.json
|
||||
reason: False positive. ConfigurationAssignments is proxy resource at subscription/resourceGroup level.
|
||||
- suppress: ResourceNameRestriction
|
||||
from: maintenance.json
|
||||
reason: Maintenance RP accept any string, no special restriction required.
|
||||
- suppress: PutResponseSchemaDescription
|
||||
from: maintenance.json
|
||||
reason: No documentation changes.
|
||||
- suppress: DeleteOperationAsyncResponseValidation
|
||||
from: maintenance.json
|
||||
reason: No async operation supported by Mantenance RP.
|
||||
- suppress: LroLocationHeader
|
||||
from: maintenance.json
|
||||
reason: No async operation supported by Mantenance RP.
|
||||
- suppress: LroErrorContent
|
||||
from: maintenance.json
|
||||
reason: No documentation changes.
|
||||
```
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче