Skip to content

Commit

Permalink
Update provisioningStatus field name for assignment (#10754)
Browse files Browse the repository at this point in the history
* Add list and get software to GuestConfiguration

* Use newer API version for software

* Revert software Swagger spec since these are private preview only

* Add Automanage resource provider

* Address validation tool errors

* spelling add antimalware

* Address lint errors

* Fix error response

* Fix newline

* Fix Operations API Lint

* Fix operations example

* Fix prettier and lint

* Address lint and prettier errors

* Use common definitions and correct pref enum

* Fix parameter

* Address comments

* Fix update examples

* Prettier fix

* Fix python md

* Change provisioningStatus field name

* Fix config profile name in examples

* resolve conflict

* Address conflict

Co-authored-by: Abhinav Ghai <abghai@microsoft.com>
Co-authored-by: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 16, 2020
1 parent 8f7f2ce commit 988270d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1107,12 +1107,12 @@
"x-nullable": true,
"description": "The configuration profile custom preferences ARM resource URI"
},
"provisioningStatus": {
"provisioningState": {
"type": "string",
"readOnly": true,
"description": "The state of onboarding, which only appears in the response.",
"x-ms-enum": {
"name": "provisioningStatus",
"name": "provisioningState",
"modelAsString": true
},
"enum": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"api-version": "2020-06-30-preview",
"parameters": {
"properties": {
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/AutomanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference"
}
Expand All @@ -21,13 +21,13 @@
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/AutomanageAccounts/AutomanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Created"
},
"provisioningStatus": "Created"
"provisioningState": "Created"
}
}
},
Expand All @@ -38,13 +38,13 @@
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/AutomanageAccounts/AutomanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"type": "Microsoft.Automanage/ConfigurationProfileAssignments",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/automanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"type": "Microsoft.Automanage/ConfigurationProfileAssignments",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/automanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
},
{
Expand All @@ -30,13 +30,13 @@
"type": "Microsoft.Automanage/ConfigurationProfileAssignments",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm2",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/automanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/automanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm2/providers/Microsoft.Automanage/configurationProfileAssignments/default",
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm2",
"configurationProfile": "Azure Best Practices - Prod",
"configurationProfile": "Azure virtual machine best practices – Production",
"accountId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/automanageAccount",
"configurationProfilePreferenceId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfilePreferences/defaultProfilePreference",
"compliance": {
"updateStatus": "Succeeded"
},
"provisioningStatus": "Succeeded"
"provisioningState": "Succeeded"
}
}
]
Expand Down

0 comments on commit 988270d

Please sign in to comment.