Skip to content

Commit

Permalink
fix spellingCheck error, LintDiff error, model validation, and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodore Chang committed Dec 16, 2022
1 parent ad9fa77 commit 9f60b71
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 11 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2645,3 +2645,4 @@ dryrun
Discoverability
Precheck
Ueba
hotpatching
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/availabilitySets/aaaaaaaaaaaaaaaaaaaa",
"location": "westus"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"location": "australiasoutheast"
},
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"location": "australiasoutheast"
},
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"location": "westcentralus"
},
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"location": "westcentralus"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"200": {
"body": {
"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 @@ -11,6 +11,7 @@
"200": {
"body": {
"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 @@ -10,6 +10,7 @@
"200": {
"body": {
"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 @@ -10,6 +10,7 @@
"200": {
"body": {
"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,6 +9,7 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"location": "westus"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/myDedicatedHostGroup",
"location": "westus"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"200": {
"body": {
"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 @@ -10,6 +10,7 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgcompute/providers/Microsoft.Compute/hostGroups/aaaa/hosts/myHost",
"location": "westus",
"sku": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"location": "westus"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"body": {
"value": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"location": "westus"
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"parameters": {
"resourceGroupName": "rgcompute",
"vmName": "aaaa",
"vmExtensionName": "aaaaaaaaaaaaaaaaaaaaaaaa",
"resourceGroupName": "myResourceGroup",
"vmName": "myVM",
"vmExtensionName": "myVMExtension",
"extensionParameters": {
"location": "westus"
},
Expand All @@ -12,6 +12,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/myVMExtension",
"location": "westus"
}
},
Expand All @@ -20,6 +21,7 @@
"location": "https://foo.com/operationstatus"
},
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/myVMExtension",
"location": "westus"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"parameters": {
"resourceGroupName": "rgcompute",
"vmName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"vmExtensionName": "aaaaaaa",
"resourceGroupName": "myResourceGroup",
"vmName": "myVM",
"vmExtensionName": "myVMExtension",
"$expand": "aaaaaa",
"api-version": "2022-11-01",
"subscriptionId": "{subscription-id}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"parameters": {
"resourceGroupName": "rgcompute",
"vmName": "a",
"vmExtensionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"resourceGroupName": "myResourceGroup",
"vmName": "myVM",
"vmExtensionName": "myVMExtension",
"api-version": "2022-11-01",
"subscriptionId": "{subscription-id}"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/myVMExtension",
"location": "westus"
}
}
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": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -86,6 +87,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down Expand Up @@ -131,6 +133,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -142,6 +145,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down Expand Up @@ -129,6 +130,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -140,6 +142,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -82,6 +83,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down Expand Up @@ -123,6 +125,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -134,6 +137,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -82,6 +83,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Premium_LRS"
}
},
Expand Down Expand Up @@ -123,6 +125,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -134,6 +137,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Premium_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -98,6 +99,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down Expand Up @@ -155,6 +157,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "2016-Datacenter",
"publisher": "MicrosoftWindowsServer",
"version": "latest",
Expand All @@ -166,6 +169,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
Expand All @@ -99,6 +100,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down Expand Up @@ -147,6 +149,7 @@
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"sku": "16.04-LTS",
"publisher": "Canonical",
"version": "latest",
Expand All @@ -158,6 +161,7 @@
"createOption": "FromImage",
"name": "myVMosdisk",
"managedDisk": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVMosdisk",
"storageAccountType": "Standard_LRS"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"value": [
{
"properties": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}",
"vmId": "{vmId}",
"availabilitySet": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
Expand Down Expand Up @@ -66,6 +67,7 @@
},
{
"properties": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}",
"vmId": "{vmId}",
"availabilitySet": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json"
},
"Create a vm in a Virtual Machine Scale Set with customer assigned platformFaultDomain.": {
"$ref": "./examples/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json"
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json"
},
"Create a vm in an availability set.": {
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json"
Expand All @@ -557,7 +557,7 @@
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json"
},
"Create a vm with boot diagnostics.": {
"$ref": "./examples/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json"
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json"
},
"Create a vm with managed boot diagnostics.": {
"$ref": "./examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5786,6 +5786,7 @@
]
},
"ServiceArtifactReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
Expand Down

0 comments on commit 9f60b71

Please sign in to comment.