Skip to content

Commit be90a71

Browse files
OchirkhuyagOchi
andauthored
Corrected a response of AcceptOwnershipStatus by adding provisioningState field (#20250)
* Corrected AcceptOwnershipStatus by adding provisioningState field for its response * removed unnecessary empty line * updated x-ms-enum name for lintDiff failure Co-authored-by: Ochi <ochisamand@microsoft.com>
1 parent d01a6a7 commit be90a71

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"body": {
99
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
1010
"acceptOwnershipState": "Pending",
11+
"provisioningState": "Accepted",
1112
"billingOwner": "abc@test.com",
1213
"subscriptionTenantId": "6c541ca7-1cab-4ea0-adde-6305e1d534e2",
1314
"displayName": "Test Subscription",

specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,9 @@
859859
"acceptOwnershipState": {
860860
"$ref": "#/definitions/AcceptOwnershipState"
861861
},
862+
"provisioningState": {
863+
"$ref": "#/definitions/ProvisioningState"
864+
},
862865
"billingOwner": {
863866
"description": "UPN of the billing owner",
864867
"readOnly": true,
@@ -1060,6 +1063,20 @@
10601063
"modelAsString": true
10611064
}
10621065
},
1066+
"ProvisioningState": {
1067+
"readOnly": true,
1068+
"type": "string",
1069+
"description": "The provisioning state of the resource.",
1070+
"enum": [
1071+
"Pending",
1072+
"Accepted",
1073+
"Succeeded"
1074+
],
1075+
"x-ms-enum": {
1076+
"name": "Provisioning",
1077+
"modelAsString": true
1078+
}
1079+
},
10631080
"ServiceTenantResponse": {
10641081
"description": "Billing account service tenant.",
10651082
"type": "object",

0 commit comments

Comments
 (0)