File tree Expand file tree Collapse file tree 12 files changed +66
-28
lines changed Expand file tree Collapse file tree 12 files changed +66
-28
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ The response can be used to determine the remaining quota to calculate a new quo
36
36
37
37
### Example 1: List the quota limits of a scope
38
38
``` powershell
39
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
39
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
40
+ ```
40
41
42
+ ``` output
41
43
Name ResourceGroupName Unit ETag
42
44
---- ----------------- ---- ----
43
45
VirtualNetworks Count
@@ -52,8 +54,10 @@ This command lists the quota limits of a scope.
52
54
53
55
### Example 2: Get the quota limit of a resource
54
56
``` powershell
55
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength"
57
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength"
58
+ ```
56
59
60
+ ``` output
57
61
Name NameLocalizedValue Unit ETag
58
62
---- ------------------ ---- ----
59
63
MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length Count
Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ The quota request ID **id** is returned in the response of the PUT operation.
32
32
33
33
### Example 1: List the quota request details and status for the scope
34
34
``` powershell
35
- PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
35
+ Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
36
+ ```
36
37
38
+ ``` output
37
39
Name ProvisioningState ErrorMessage Code
38
40
---- ----------------- ------------ ----
39
41
171f4e10-f396-48bc-a93f-245cfd7ebe75 Succeeded
@@ -51,8 +53,10 @@ This command lists the quota request details and status for the scope.
51
53
52
54
### Example 2: Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location
53
55
``` powershell
54
- PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc"
56
+ Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc"
57
+ ```
55
58
59
+ ``` output
56
60
Name ProvisioningState ErrorMessage Code
57
61
---- ----------------- ------------ ----
58
62
6cf5716a-3df8-421a-8457-719e10381dbc Failed Request failed. QuotaReductionNotSupported
Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ Get the current usage of a resource.
29
29
30
30
### Example 1: List the currents usage of a resource
31
31
``` powershell
32
- PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
32
+ Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
33
+ ```
33
34
35
+ ``` output
34
36
Name ResourceGroupName UsageUsagesType UsageValue ETag
35
37
---- ----------------- --------------- ---------- ----
36
38
VirtualNetworks 0
@@ -54,8 +56,10 @@ This command lists the currents usage of a resource
54
56
55
57
### Example 2: Get the current usage of a resource
56
58
``` powershell
57
- PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength"
59
+ Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength"
60
+ ```
58
61
62
+ ``` output
59
63
Name NameLocalizedValue UsageUsagesType UsageValue ETag
60
64
---- ------------------ --------------- ---------- ----
61
65
MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length 0
Original file line number Diff line number Diff line change @@ -35,9 +35,11 @@ Please check the URI in location header for the detailed status of the request.
35
35
36
36
### Example 1: Create or update the quota limit for the specified resource with the requested value
37
37
``` powershell
38
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1003
39
- PS C:\> New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
38
+ $limit = New-AzQuotaLimitObject -Value 1003
39
+ New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
40
+ ```
40
41
42
+ ``` output
41
43
Name NameLocalizedValue Unit ETag
42
44
---- ------------------ ---- ----
43
45
PublicIPAddresses Public IP Addresses - Basic Count
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ Create an in-memory object for LimitObject.
23
23
24
24
### Example 1: Create an in-memory object for LimitValue
25
25
``` powershell
26
- PS C:\> New-AzQuotaLimitObject -Value 1003
26
+ New-AzQuotaLimitObject -Value 1003
27
+ ```
27
28
29
+ ``` output
28
30
LimitObjectType LimitType Value
29
31
--------------- --------- -----
30
32
LimitValue 1003
Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ Please check the URI in location header for the detailed status of the request.
41
41
42
42
### Example 1: Update the quota limit for a specific resource to the specified value
43
43
``` powershell
44
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1001
45
- PS C:\> Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
44
+ $limit = New-AzQuotaLimitObject -Value 1001
45
+ Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
46
+ ```
46
47
48
+ ``` output
47
49
Name NameLocalizedValue UsageUsagesType UsageValue ETag
48
50
---- ------------------ --------------- ---------- ----
49
51
PublicIPAddresses Public IP Addresses - Basic 0
@@ -53,10 +55,11 @@ This command update the quota limit for a specific resource to the specified val
53
55
54
56
### Example 2: Update the quota limit for a specific resource to the specified value by pipeline
55
57
``` powershell
56
- PS C:\>
57
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1007
58
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit
58
+ $limit = New-AzQuotaLimitObject -Value 1007
59
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit
60
+ ```
59
61
62
+ ``` output
60
63
Name NameLocalizedValue UsageUsagesType UsageValue ETag
61
64
---- ------------------ --------------- ---------- ----
62
65
PublicIPAddresses Public IP Addresses - Basic 0
Original file line number Diff line number Diff line change 1
1
### Example 1: List the quota limits of a scope
2
2
``` powershell
3
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
3
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
4
+ ```
4
5
6
+ ``` output
5
7
Name ResourceGroupName Unit ETag
6
8
---- ----------------- ---- ----
7
9
VirtualNetworks Count
@@ -16,8 +18,10 @@ This command lists the quota limits of a scope.
16
18
17
19
### Example 2: Get the quota limit of a resource
18
20
``` powershell
19
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength"
21
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength"
22
+ ```
20
23
24
+ ``` output
21
25
Name NameLocalizedValue Unit ETag
22
26
---- ------------------ ---- ----
23
27
MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length Count
Original file line number Diff line number Diff line change 1
1
### Example 1: List the quota request details and status for the scope
2
2
``` powershell
3
- PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
3
+ Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
4
+ ```
4
5
6
+ ``` output
5
7
Name ProvisioningState ErrorMessage Code
6
8
---- ----------------- ------------ ----
7
9
171f4e10-f396-48bc-a93f-245cfd7ebe75 Succeeded
@@ -19,8 +21,10 @@ This command lists the quota request details and status for the scope.
19
21
20
22
### Example 2: Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location
21
23
``` powershell
22
- PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc"
24
+ Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc"
25
+ ```
23
26
27
+ ``` output
24
28
Name ProvisioningState ErrorMessage Code
25
29
---- ----------------- ------------ ----
26
30
6cf5716a-3df8-421a-8457-719e10381dbc Failed Request failed. QuotaReductionNotSupported
Original file line number Diff line number Diff line change 1
1
### Example 1: List the currents usage of a resource
2
2
``` powershell
3
- PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
3
+ Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
4
+ ```
4
5
6
+ ``` output
5
7
Name ResourceGroupName UsageUsagesType UsageValue ETag
6
8
---- ----------------- --------------- ---------- ----
7
9
VirtualNetworks 0
@@ -25,8 +27,10 @@ This command lists the currents usage of a resource
25
27
26
28
### Example 2: Get the current usage of a resource
27
29
``` powershell
28
- PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength"
30
+ Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength"
31
+ ```
29
32
33
+ ``` output
30
34
Name NameLocalizedValue UsageUsagesType UsageValue ETag
31
35
---- ------------------ --------------- ---------- ----
32
36
MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length 0
Original file line number Diff line number Diff line change 1
1
### Example 1: Create or update the quota limit for the specified resource with the requested value
2
2
``` powershell
3
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1003
4
- PS C:\> New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
3
+ $limit = New-AzQuotaLimitObject -Value 1003
4
+ New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
5
+ ```
5
6
7
+ ``` output
6
8
Name NameLocalizedValue Unit ETag
7
9
---- ------------------ ---- ----
8
10
PublicIPAddresses Public IP Addresses - Basic Count
Original file line number Diff line number Diff line change 1
1
### Example 1: Create an in-memory object for LimitValue
2
2
``` powershell
3
- PS C:\> New-AzQuotaLimitObject -Value 1003
3
+ New-AzQuotaLimitObject -Value 1003
4
+ ```
4
5
6
+ ``` output
5
7
LimitObjectType LimitType Value
6
8
--------------- --------- -----
7
9
LimitValue 1003
Original file line number Diff line number Diff line change 1
1
### Example 1: Update the quota limit for a specific resource to the specified value
2
2
``` powershell
3
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1001
4
- PS C:\> Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
3
+ $limit = New-AzQuotaLimitObject -Value 1001
4
+ Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit
5
+ ```
5
6
7
+ ``` output
6
8
Name NameLocalizedValue UsageUsagesType UsageValue ETag
7
9
---- ------------------ --------------- ---------- ----
8
10
PublicIPAddresses Public IP Addresses - Basic 0
@@ -12,10 +14,11 @@ This command update the quota limit for a specific resource to the specified val
12
14
13
15
### Example 2: Update the quota limit for a specific resource to the specified value by pipeline
14
16
``` powershell
15
- PS C:\>
16
- PS C:\> $limit = New-AzQuotaLimitObject -Value 1007
17
- PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit
17
+ $limit = New-AzQuotaLimitObject -Value 1007
18
+ Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit
19
+ ```
18
20
21
+ ``` output
19
22
Name NameLocalizedValue UsageUsagesType UsageValue ETag
20
23
---- ------------------ --------------- ---------- ----
21
24
PublicIPAddresses Public IP Addresses - Basic 0
You can’t perform that action at this time.
0 commit comments