Skip to content

Commit ab67136

Browse files
authored
Sanjaiga/removetemplatedeploymentoptions (Azure#14522)
* remove property * prettier check fixes and removing SubscriptionLifecycleNotificationSpecifications * adding provisioning state * reverting updates to stable version * update
1 parent 603a4b4 commit ab67136

File tree

1 file changed

+39
-95
lines changed
  • specification/providerhub/resource-manager/Microsoft.ProviderHub/preview/2021-05-01-preview

1 file changed

+39
-95
lines changed

specification/providerhub/resource-manager/Microsoft.ProviderHub/preview/2021-05-01-preview/providerhub.json

Lines changed: 39 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,6 +2138,28 @@
21382138
}
21392139
},
21402140
"definitions": {
2141+
"ProvisioningState": {
2142+
"enum": [
2143+
"NotSpecified",
2144+
"Accepted",
2145+
"Running",
2146+
"Creating",
2147+
"Created",
2148+
"Deleting",
2149+
"Deleted",
2150+
"Canceled",
2151+
"Failed",
2152+
"Succeeded",
2153+
"MovingResources",
2154+
"TransientFailure",
2155+
"RolloutInProgress"
2156+
],
2157+
"type": "string",
2158+
"x-ms-enum": {
2159+
"name": "ProvisioningState",
2160+
"modelAsString": true
2161+
}
2162+
},
21412163
"TrafficRegions": {
21422164
"type": "object",
21432165
"properties": {
@@ -2259,26 +2281,8 @@
22592281
],
22602282
"properties": {
22612283
"provisioningState": {
2262-
"enum": [
2263-
"NotSpecified",
2264-
"Accepted",
2265-
"Running",
2266-
"Creating",
2267-
"Created",
2268-
"Deleting",
2269-
"Deleted",
2270-
"Canceled",
2271-
"Failed",
2272-
"Succeeded",
2273-
"MovingResources",
2274-
"TransientFailure",
2275-
"RolloutInProgress"
2276-
],
2277-
"type": "string",
2278-
"x-ms-enum": {
2279-
"name": "ProvisioningState",
2280-
"modelAsString": true
2281-
}
2284+
"$ref": "#/definitions/ProvisioningState",
2285+
"description": "The provisioned state of the resource."
22822286
},
22832287
"specification": {
22842288
"allOf": [
@@ -2544,26 +2548,8 @@
25442548
"type": "object",
25452549
"properties": {
25462550
"provisioningState": {
2547-
"enum": [
2548-
"NotSpecified",
2549-
"Accepted",
2550-
"Running",
2551-
"Creating",
2552-
"Created",
2553-
"Deleting",
2554-
"Deleted",
2555-
"Canceled",
2556-
"Failed",
2557-
"Succeeded",
2558-
"MovingResources",
2559-
"TransientFailure",
2560-
"RolloutInProgress"
2561-
],
2562-
"type": "string",
2563-
"x-ms-enum": {
2564-
"name": "ProvisioningState",
2565-
"modelAsString": true
2566-
}
2551+
"$ref": "#/definitions/ProvisioningState",
2552+
"description": "The provisioned state of the resource."
25672553
},
25682554
"specification": {
25692555
"allOf": [
@@ -3478,6 +3464,10 @@
34783464
"items": {
34793465
"$ref": "#/definitions/NotificationEndpoint"
34803466
}
3467+
},
3468+
"provisioningState": {
3469+
"$ref": "#/definitions/ProvisioningState",
3470+
"description": "The provisioned state of the resource."
34813471
}
34823472
}
34833473
},
@@ -3835,14 +3825,7 @@
38353825
"$ref": "#/definitions/ResourceProviderCapabilities"
38363826
}
38373827
},
3838-
"metadata": {},
3839-
"templateDeploymentOptions": {
3840-
"allOf": [
3841-
{
3842-
"$ref": "#/definitions/TemplateDeploymentOptions"
3843-
}
3844-
]
3845-
}
3828+
"metadata": {}
38463829
}
38473830
},
38483831
"ProviderRegistrationProperties": {
@@ -3861,33 +3844,8 @@
38613844
]
38623845
},
38633846
"provisioningState": {
3864-
"enum": [
3865-
"NotSpecified",
3866-
"Accepted",
3867-
"Running",
3868-
"Creating",
3869-
"Created",
3870-
"Deleting",
3871-
"Deleted",
3872-
"Canceled",
3873-
"Failed",
3874-
"Succeeded",
3875-
"MovingResources",
3876-
"TransientFailure",
3877-
"RolloutInProgress"
3878-
],
3879-
"type": "string",
3880-
"x-ms-enum": {
3881-
"name": "ProvisioningState",
3882-
"modelAsString": true
3883-
}
3884-
},
3885-
"subscriptionLifecycleNotificationSpecifications": {
3886-
"allOf": [
3887-
{
3888-
"$ref": "#/definitions/SubscriptionLifecycleNotificationSpecifications"
3889-
}
3890-
]
3847+
"$ref": "#/definitions/ProvisioningState",
3848+
"description": "The provisioned state of the resource."
38913849
}
38923850
}
38933851
},
@@ -4234,26 +4192,8 @@
42344192
"type": "boolean"
42354193
},
42364194
"provisioningState": {
4237-
"enum": [
4238-
"NotSpecified",
4239-
"Accepted",
4240-
"Running",
4241-
"Creating",
4242-
"Created",
4243-
"Deleting",
4244-
"Deleted",
4245-
"Canceled",
4246-
"Failed",
4247-
"Succeeded",
4248-
"MovingResources",
4249-
"TransientFailure",
4250-
"RolloutInProgress"
4251-
],
4252-
"type": "string",
4253-
"x-ms-enum": {
4254-
"name": "ProvisioningState",
4255-
"modelAsString": true
4256-
}
4195+
"$ref": "#/definitions/ProvisioningState",
4196+
"description": "The provisioned state of the resource."
42574197
},
42584198
"enableThirdPartyS2S": {
42594199
"type": "boolean"
@@ -4590,6 +4530,10 @@
45904530
"items": {
45914531
"$ref": "#/definitions/SkuSetting"
45924532
}
4533+
},
4534+
"provisioningState": {
4535+
"$ref": "#/definitions/ProvisioningState",
4536+
"description": "The provisioned state of the resource."
45934537
}
45944538
}
45954539
},

0 commit comments

Comments
 (0)