Skip to content

Commit 061505b

Browse files
authored
Update the name from ResourceProvisioningState to ProvisioningState (#29490)
* Update the name from ResourceProvisioningState to ProvisioningState * Update the swagger spec * Update the swagger spec
1 parent 9942cf2 commit 061505b

File tree

2 files changed

+21
-21
lines changed
  • specification/scvmm

2 files changed

+21
-21
lines changed

specification/scvmm/ScVmm.Management/models.tsp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ model QueryForceDelete {
3232
}
3333

3434
/** The provisioning state of the resource. */
35-
union ResourceProvisioningState {
35+
union ProvisioningState {
3636
string,
3737
Azure.ResourceManager.ResourceProvisioningState,
3838

@@ -200,7 +200,7 @@ model VmmServerProperties {
200200

201201
/** Provisioning state of the resource. */
202202
@visibility("read")
203-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
203+
provisioningState?: ProvisioningState;
204204
}
205205

206206
/** Credentials to connect to VmmServer. */
@@ -254,7 +254,7 @@ model CloudProperties {
254254

255255
/** Provisioning state of the resource. */
256256
@visibility("read")
257-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
257+
provisioningState?: ProvisioningState;
258258
}
259259

260260
/** Cloud Capacity model */
@@ -309,7 +309,7 @@ model VirtualNetworkProperties {
309309

310310
/** Provisioning state of the resource. */
311311
@visibility("read")
312-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
312+
provisioningState?: ProvisioningState;
313313
}
314314

315315
/** Defines the resource properties. */
@@ -387,7 +387,7 @@ model VirtualMachineTemplateProperties {
387387

388388
/** Provisioning state of the resource. */
389389
@visibility("read")
390-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
390+
provisioningState?: ProvisioningState;
391391
}
392392

393393
/** Network Interface model */
@@ -510,7 +510,7 @@ model AvailabilitySetProperties {
510510

511511
/** Provisioning state of the resource. */
512512
@visibility("read")
513-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
513+
provisioningState?: ProvisioningState;
514514
}
515515

516516
/** The inventory type */
@@ -550,7 +550,7 @@ model InventoryItemProperties {
550550

551551
/** Provisioning state of the resource. */
552552
@visibility("read")
553-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
553+
provisioningState?: ProvisioningState;
554554
}
555555

556556
/** Defines the resource properties. */
@@ -580,7 +580,7 @@ model VirtualMachineInstanceProperties {
580580

581581
/** Provisioning state of the resource. */
582582
@visibility("read")
583-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
583+
provisioningState?: ProvisioningState;
584584
}
585585

586586
/** Virtual Machine Instance Properties Update model */
@@ -799,7 +799,7 @@ model VmInstanceHybridIdentityMetadataProperties {
799799

800800
/** Provisioning state of the resource. */
801801
@visibility("read")
802-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
802+
provisioningState?: ProvisioningState;
803803
}
804804

805805
/** Defines the create checkpoint action properties. */
@@ -848,7 +848,7 @@ model GuestAgentProperties {
848848

849849
/** Provisioning state of the resource. */
850850
@visibility("read")
851-
provisioningState?: Microsoft.ScVmm.ResourceProvisioningState;
851+
provisioningState?: ProvisioningState;
852852
}
853853

854854
/** Username / Password Credentials to connect to guest. */

specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3224,7 +3224,7 @@
32243224
}
32253225
},
32263226
"provisioningState": {
3227-
"$ref": "#/definitions/ResourceProvisioningState",
3227+
"$ref": "#/definitions/ProvisioningState",
32283228
"description": "Provisioning state of the resource.",
32293229
"readOnly": true
32303230
}
@@ -3391,7 +3391,7 @@
33913391
"x-ms-client-name": "storageQosPolicies"
33923392
},
33933393
"provisioningState": {
3394-
"$ref": "#/definitions/ResourceProvisioningState",
3394+
"$ref": "#/definitions/ProvisioningState",
33953395
"description": "Provisioning state of the resource.",
33963396
"readOnly": true
33973397
}
@@ -3550,7 +3550,7 @@
35503550
"readOnly": true
35513551
},
35523552
"provisioningState": {
3553-
"$ref": "#/definitions/ResourceProvisioningState",
3553+
"$ref": "#/definitions/ProvisioningState",
35543554
"description": "Provisioning state of the resource.",
35553555
"readOnly": true
35563556
}
@@ -3880,7 +3880,7 @@
38803880
"readOnly": true
38813881
},
38823882
"provisioningState": {
3883-
"$ref": "#/definitions/ResourceProvisioningState",
3883+
"$ref": "#/definitions/ProvisioningState",
38843884
"description": "Provisioning state of the resource.",
38853885
"readOnly": true
38863886
}
@@ -4237,7 +4237,7 @@
42374237
]
42384238
}
42394239
},
4240-
"ResourceProvisioningState": {
4240+
"ProvisioningState": {
42414241
"type": "string",
42424242
"description": "The provisioning state of the resource.",
42434243
"enum": [
@@ -4251,7 +4251,7 @@
42514251
"Created"
42524252
],
42534253
"x-ms-enum": {
4254-
"name": "ResourceProvisioningState",
4254+
"name": "ProvisioningState",
42554255
"modelAsString": true,
42564256
"values": [
42574257
{
@@ -4645,7 +4645,7 @@
46454645
"readOnly": true
46464646
},
46474647
"provisioningState": {
4648-
"$ref": "#/definitions/ResourceProvisioningState",
4648+
"$ref": "#/definitions/ProvisioningState",
46494649
"description": "Provisioning state of the resource.",
46504650
"readOnly": true
46514651
}
@@ -4952,7 +4952,7 @@
49524952
]
49534953
},
49544954
"provisioningState": {
4955-
"$ref": "#/definitions/ResourceProvisioningState",
4955+
"$ref": "#/definitions/ProvisioningState",
49564956
"description": "Provisioning state of the resource.",
49574957
"readOnly": true
49584958
}
@@ -5057,7 +5057,7 @@
50575057
"readOnly": true
50585058
},
50595059
"provisioningState": {
5060-
"$ref": "#/definitions/ResourceProvisioningState",
5060+
"$ref": "#/definitions/ProvisioningState",
50615061
"description": "Provisioning state of the resource.",
50625062
"readOnly": true
50635063
}
@@ -5127,7 +5127,7 @@
51275127
"description": "Gets or sets the Public Key."
51285128
},
51295129
"provisioningState": {
5130-
"$ref": "#/definitions/ResourceProvisioningState",
5130+
"$ref": "#/definitions/ProvisioningState",
51315131
"description": "Provisioning state of the resource.",
51325132
"readOnly": true
51335133
}
@@ -5239,7 +5239,7 @@
52395239
"readOnly": true
52405240
},
52415241
"provisioningState": {
5242-
"$ref": "#/definitions/ResourceProvisioningState",
5242+
"$ref": "#/definitions/ProvisioningState",
52435243
"description": "Provisioning state of the resource.",
52445244
"readOnly": true
52455245
}

0 commit comments

Comments
 (0)