You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cloud-services/cloud-services-troubleshoot-location-not-found-for-role-size.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ You might receive errors during these operations even before you reach the Azure
27
27
28
28
## Symptom
29
29
30
-
In Azure portal, navigate to your Cloud service (classic) and in the sidebar select **Operation log (classic)** to view the logs.
30
+
In the [Azure portal](https://portal.azure.com/), navigate to your Cloud service (classic) and in the sidebar select **Operation log (classic)** to view the logs.
31
31
32
32
:::image type="content" source="./media/cloud-services-troubleshoot-location-not-found-for-role-size/cloud-services-troubleshoot-allocation-logs.png" alt-text="Screenshot shows the Operation log (classic) pane.":::
33
33
@@ -41,9 +41,9 @@ When you inspect the logs of your Cloud service (classic), you'll see the follow
41
41
42
42
There's a capacity issue with the region or cluster that you're deploying to. The `LocationNotFoundForRoleSize` exception occurs when the resource SKU you've selected, the virtual machine size, isn't available for the region specified.
43
43
44
-
## Solution
44
+
## Find SKUs in a region
45
45
46
-
In this scenario, you should select a different region or SKU to deploy your Cloud service (classic) to. Before you deploy or upgrade your Cloud service (classic), determine which SKUs are available in a region or availability zone. Follow the [Azure CLI](#list-skus-in-region-using-azure-cli), [PowerShell](#list-skus-in-region-using-powershell), or [REST API](#list-skus-in-region-using-rest-api) processes below.
46
+
In this scenario, you should select a different region or SKU for your Cloud service (classic) deployment. Before you deploy or upgrade your Cloud service (classic), determine which SKUs are available in a region or availability zone. Follow the [Azure CLI](#list-skus-in-region-using-azure-cli), [PowerShell](#list-skus-in-region-using-powershell), or [REST API](#list-skus-in-region-using-rest-api) processes below.
47
47
48
48
### List SKUs in region using Azure CLI
49
49
@@ -75,13 +75,13 @@ This command filters by location:
75
75
Get-AzComputeResourceSku | where {$_.Locations -icontains "centralus"}
76
76
```
77
77
78
-
Filter out the locations that contain size,`Standard_DS14_v2`:
78
+
Find the locations that contain the size `Standard_DS14_v2`:
79
79
80
80
```azurepowershell
81
81
Get-AzComputeResourceSku | where {$_.Locations.Contains("centralus") -and $_.ResourceType.Contains("virtualMachines") -and $_.Name.Contains("Standard_DS14_v2")}
82
82
```
83
83
84
-
Filter out all the locations that contain size,`V3`:
84
+
Find the locations that contain the size `V3`:
85
85
86
86
```azurepowershell
87
87
Get-AzComputeResourceSku | where {$_.Locations.Contains("centralus") -and $_.ResourceType.Contains("virtualMachines") -and $_.Name.Contains("v3")} | fc
0 commit comments