Skip to content

Commit

Permalink
fix modelValidation
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodore Chang committed Dec 17, 2022
1 parent 9f60b71 commit a5fa156
Show file tree
Hide file tree
Showing 25 changed files with 79 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/capacityReservationGroups/myCapacityReservationGroup/myCapacityReservationGroup",
"properties": {
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/capacityReservationGroups/myCapacityReservationGroup/myCapacityReservationGroup",
"capacityReservations": [
{
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/capacityReservationGroups/myCapacityReservationGroup/capacityReservations/myCapacityReservation1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/capacityReservationGroups/myCapacityReservationGroup/capacityReservations/myCapacityReservation",
"properties": {
"id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/capacityReservationGroups/myCapacityReservationGroup/capacityReservations/myCapacityReservation",
"platformFaultDomainCount": 3,
"reservationId": "{GUID}",
"provisioningTime": "2021-06-27T01:02:38.3138469+00:00",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"properties": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"platformFaultDomainCount": 3,
"hosts": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"properties": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"platformFaultDomainCount": 3,
"hosts": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup/hosts/myHost",
"properties": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup/hosts/myHost",
"platformFaultDomain": 1,
"autoReplaceOnFailure": true,
"hostId": "{GUID}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
}
}
},
"202": {}
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/westus/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
}
}
},
"202": {}
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/westus/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
]
}
},
"202": {}
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
]
}
},
"202": {}
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"header": {
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/operations/{operationId}&monitor=true&api-version=2022-11-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"caching": "ReadWrite",
"createOption": "FromImage",
Expand Down Expand Up @@ -122,7 +123,8 @@
"name": "myVMosdisk",
"diskSizeGB": 30,
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"caching": "ReadWrite",
"createOption": "FromImage",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand Down Expand Up @@ -162,6 +163,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
Expand All @@ -90,7 +91,8 @@
"option": "Local"
},
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"createOption": "FromImage",
"name": "myVMosdisk"
Expand Down Expand Up @@ -138,6 +140,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
Expand All @@ -86,7 +87,8 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
}
},
"dataDisks": []
Expand Down Expand Up @@ -132,6 +134,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "standard-data-science-vm",
"publisher": "microsoft-ads",
"version": "latest",
Expand All @@ -143,7 +146,8 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
}
},
"dataDisks": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -88,7 +89,8 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk"
}
},
"dataDisks": []
Expand Down Expand Up @@ -135,6 +137,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -146,7 +149,8 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk"
}
},
"dataDisks": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -94,14 +95,16 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"createOption": "Empty",
"lun": 0,
Expand All @@ -110,7 +113,8 @@
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"createOption": "Empty",
"lun": 1,
Expand Down Expand Up @@ -154,6 +158,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -165,14 +170,16 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
}
},
"dataDisks": [
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"createOption": "Empty",
"lun": 0,
Expand All @@ -182,7 +189,8 @@
{
"caching": "None",
"managedDisk": {
"storageAccountType": "Standard_LRS"
"storageAccountType": "Standard_LRS",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosDisk"
},
"createOption": "Empty",
"lun": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsdisk",
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk",
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter",
Expand Down
Loading

0 comments on commit a5fa156

Please sign in to comment.