Skip to content

Commit ed6acf4

Browse files
committed
Add missing $expand parameter to AvSet list by subscription API
1 parent 543e24f commit ed6acf4

File tree

57 files changed

+1099
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1099
-67
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@
173173
},
174174
{
175175
"$ref": "#/parameters/SubscriptionIdParameter"
176+
},
177+
{
178+
"name": "$expand",
179+
"in": "query",
180+
"required": false,
181+
"type": "string",
182+
"description": "The expand expression to apply to the operation."
176183
}
177184
],
178185
"responses": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@
177177
},
178178
{
179179
"$ref": "#/parameters/SubscriptionIdParameter"
180+
},
181+
{
182+
"name": "$expand",
183+
"in": "query",
184+
"required": false,
185+
"type": "string",
186+
"description": "The expand expression to apply to the operation."
180187
}
181188
],
182189
"responses": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,75 @@
5757
}
5858
},
5959
"responses": {
60+
"200": {
61+
"body": {
62+
"sku": {
63+
"tier": "Standard",
64+
"capacity": 3,
65+
"name": "Standard_D1_v2"
66+
},
67+
"name": "{vmss-name}",
68+
"properties": {
69+
"singlePlacementGroup": true,
70+
"overprovision": true,
71+
"uniqueId": "d6e9ab29-f8c9-4792-978c-ae2c07b98f17",
72+
"virtualMachineProfile": {
73+
"storageProfile": {
74+
"osDisk": {
75+
"osType": "Windows",
76+
"caching": "ReadWrite",
77+
"image": {
78+
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
79+
},
80+
"createOption": "FromImage",
81+
"name": "osDisk"
82+
}
83+
},
84+
"osProfile": {
85+
"computerNamePrefix": "{vmss-name}",
86+
"adminUsername": "{your-username}",
87+
"secrets": [],
88+
"windowsConfiguration": {
89+
"provisionVMAgent": true,
90+
"enableAutomaticUpdates": true
91+
}
92+
},
93+
"networkProfile": {
94+
"networkInterfaceConfigurations": [
95+
{
96+
"name": "{vmss-name}",
97+
"properties": {
98+
"dnsSettings": {
99+
"dnsServers": []
100+
},
101+
"primary": true,
102+
"ipConfigurations": [
103+
{
104+
"name": "{vmss-name}",
105+
"properties": {
106+
"subnet": {
107+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
108+
},
109+
"privateIPAddressVersion": "IPv4"
110+
}
111+
}
112+
],
113+
"enableAcceleratedNetworking": false
114+
}
115+
}
116+
]
117+
}
118+
},
119+
"upgradePolicy": {
120+
"mode": "Manual"
121+
},
122+
"provisioningState": "Creating"
123+
},
124+
"location": "westus",
125+
"type": "Microsoft.Compute/virtualMachineScaleSets",
126+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
127+
}
128+
},
60129
"201": {
61130
"body": {
62131
"sku": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
}
4040
]
4141
}
42-
},
43-
"name": "myVM"
42+
}
4443
}
4544
},
4645
"responses": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,80 @@
6767
}
6868
},
6969
"responses": {
70+
"200": {
71+
"body": {
72+
"sku": {
73+
"tier": "Standard",
74+
"capacity": 3,
75+
"name": "Standard_D1_v2"
76+
},
77+
"name": "{vmss-name}",
78+
"properties": {
79+
"singlePlacementGroup": true,
80+
"overprovision": true,
81+
"uniqueId": "77b7df9a-32fe-45e3-8911-60ac9c9b9c64",
82+
"virtualMachineProfile": {
83+
"storageProfile": {
84+
"imageReference": {
85+
"sku": "2016-Datacenter",
86+
"publisher": "MicrosoftWindowsServer",
87+
"version": "latest",
88+
"offer": "WindowsServer"
89+
},
90+
"osDisk": {
91+
"caching": "ReadWrite",
92+
"vhdContainers": [
93+
"http://{existing-storage-account-name}.blob.core.windows.net/vhds"
94+
],
95+
"name": "osDisk",
96+
"createOption": "FromImage"
97+
}
98+
},
99+
"osProfile": {
100+
"computerNamePrefix": "{vmss-name}",
101+
"adminUsername": "{your-username}",
102+
"secrets": [],
103+
"windowsConfiguration": {
104+
"provisionVMAgent": true,
105+
"enableAutomaticUpdates": true
106+
}
107+
},
108+
"networkProfile": {
109+
"networkInterfaceConfigurations": [
110+
{
111+
"name": "{vmss-name}",
112+
"properties": {
113+
"dnsSettings": {
114+
"dnsServers": []
115+
},
116+
"primary": true,
117+
"ipConfigurations": [
118+
{
119+
"name": "{vmss-name}",
120+
"properties": {
121+
"subnet": {
122+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
123+
},
124+
"privateIPAddressVersion": "IPv4"
125+
}
126+
}
127+
],
128+
"enableAcceleratedNetworking": false
129+
}
130+
}
131+
]
132+
}
133+
},
134+
"upgradePolicy": {
135+
"mode": "Manual"
136+
},
137+
"provisioningState": "Creating"
138+
},
139+
"location": "westus",
140+
"type": "Microsoft.Compute/virtualMachineScaleSets",
141+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
142+
}
143+
},
70144
"201": {
71145
"body": {
72146
"sku": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
}
6060
]
6161
}
62-
},
63-
"name": "myVM"
62+
}
6463
}
6564
},
6665
"responses": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateAScaleSetFromACustomImage.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,75 @@
5959
}
6060
},
6161
"responses": {
62+
"200": {
63+
"body": {
64+
"sku": {
65+
"tier": "Standard",
66+
"capacity": 3,
67+
"name": "Standard_D1_v2"
68+
},
69+
"name": "{vmss-name}",
70+
"properties": {
71+
"singlePlacementGroup": true,
72+
"overprovision": true,
73+
"uniqueId": "afa2afa8-9e49-48fb-9d18-c86323b5d064",
74+
"virtualMachineProfile": {
75+
"storageProfile": {
76+
"imageReference": {
77+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
78+
},
79+
"osDisk": {
80+
"caching": "ReadWrite",
81+
"managedDisk": {
82+
"storageAccountType": "Standard_LRS"
83+
},
84+
"createOption": "FromImage"
85+
}
86+
},
87+
"osProfile": {
88+
"computerNamePrefix": "{vmss-name}",
89+
"adminUsername": "{your-username}",
90+
"secrets": [],
91+
"linuxConfiguration": {
92+
"disablePasswordAuthentication": false
93+
}
94+
},
95+
"networkProfile": {
96+
"networkInterfaceConfigurations": [
97+
{
98+
"name": "{vmss-name}",
99+
"properties": {
100+
"dnsSettings": {
101+
"dnsServers": []
102+
},
103+
"primary": true,
104+
"ipConfigurations": [
105+
{
106+
"name": "{vmss-name}",
107+
"properties": {
108+
"subnet": {
109+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
110+
},
111+
"privateIPAddressVersion": "IPv4"
112+
}
113+
}
114+
],
115+
"enableAcceleratedNetworking": false
116+
}
117+
}
118+
]
119+
}
120+
},
121+
"upgradePolicy": {
122+
"mode": "Manual"
123+
},
124+
"provisioningState": "Creating"
125+
},
126+
"location": "westus",
127+
"type": "Microsoft.Compute/virtualMachineScaleSets",
128+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
129+
}
130+
},
62131
"201": {
63132
"body": {
64133
"sku": {

specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/CreateAScaleSetWithAMarketplaceImagePlan.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,84 @@
6767
}
6868
},
6969
"responses": {
70+
"200": {
71+
"body": {
72+
"sku": {
73+
"tier": "Standard",
74+
"capacity": 3,
75+
"name": "Standard_D1_v2"
76+
},
77+
"name": "{vmss-name}",
78+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}",
79+
"plan": {
80+
"publisher": "microsoft-ads",
81+
"product": "standard-data-science-vm",
82+
"name": "standard-data-science-vm"
83+
},
84+
"type": "Microsoft.Compute/virtualMachineScaleSets",
85+
"properties": {
86+
"singlePlacementGroup": true,
87+
"overprovision": true,
88+
"uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db",
89+
"virtualMachineProfile": {
90+
"storageProfile": {
91+
"imageReference": {
92+
"sku": "standard-data-science-vm",
93+
"publisher": "microsoft-ads",
94+
"version": "latest",
95+
"offer": "standard-data-science-vm"
96+
},
97+
"osDisk": {
98+
"caching": "ReadWrite",
99+
"managedDisk": {
100+
"storageAccountType": "Standard_LRS"
101+
},
102+
"createOption": "FromImage"
103+
}
104+
},
105+
"osProfile": {
106+
"computerNamePrefix": "{vmss-name}",
107+
"adminUsername": "{your-username}",
108+
"secrets": [],
109+
"windowsConfiguration": {
110+
"provisionVMAgent": true,
111+
"enableAutomaticUpdates": true
112+
}
113+
},
114+
"networkProfile": {
115+
"networkInterfaceConfigurations": [
116+
{
117+
"name": "{vmss-name}",
118+
"properties": {
119+
"dnsSettings": {
120+
"dnsServers": []
121+
},
122+
"primary": true,
123+
"ipConfigurations": [
124+
{
125+
"name": "{vmss-name}",
126+
"properties": {
127+
"subnet": {
128+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
129+
},
130+
"privateIPAddressVersion": "IPv4"
131+
}
132+
}
133+
],
134+
"enableAcceleratedNetworking": false
135+
}
136+
}
137+
]
138+
}
139+
},
140+
"upgradePolicy": {
141+
"mode": "Manual"
142+
},
143+
"provisioningState": "Creating"
144+
},
145+
"location": "westus"
146+
}
147+
},
70148
"201": {
71149
"body": {
72150
"sku": {

0 commit comments

Comments
 (0)