diff --git a/src/Quota/help/Get-AzQuota.md b/src/Quota/help/Get-AzQuota.md index c84e1fb08b1a..fc87f5188112 100644 --- a/src/Quota/help/Get-AzQuota.md +++ b/src/Quota/help/Get-AzQuota.md @@ -36,8 +36,10 @@ The response can be used to determine the remaining quota to calculate a new quo ### Example 1: List the quota limits of a scope ```powershell -PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +``` +```output Name ResourceGroupName Unit ETag ---- ----------------- ---- ---- VirtualNetworks Count @@ -52,8 +54,10 @@ This command lists the quota limits of a scope. ### Example 2: Get the quota limit of a resource ```powershell -PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength" +Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName "MinPublicIpInterNetworkPrefixLength" +``` +```output Name NameLocalizedValue Unit ETag ---- ------------------ ---- ---- MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length Count diff --git a/src/Quota/help/Get-AzQuotaRequestStatus.md b/src/Quota/help/Get-AzQuotaRequestStatus.md index 5af31cc63a36..b1b0ca875cc3 100644 --- a/src/Quota/help/Get-AzQuotaRequestStatus.md +++ b/src/Quota/help/Get-AzQuotaRequestStatus.md @@ -32,8 +32,10 @@ The quota request ID **id** is returned in the response of the PUT operation. ### Example 1: List the quota request details and status for the scope ```powershell -PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +``` +```output Name ProvisioningState ErrorMessage Code ---- ----------------- ------------ ---- 171f4e10-f396-48bc-a93f-245cfd7ebe75 Succeeded @@ -51,8 +53,10 @@ This command lists the quota request details and status for the scope. ### Example 2: Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location ```powershell -PS C:\> Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc" +Get-AzQuotaRequestStatus -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Id "6cf5716a-3df8-421a-8457-719e10381dbc" +``` +```output Name ProvisioningState ErrorMessage Code ---- ----------------- ------------ ---- 6cf5716a-3df8-421a-8457-719e10381dbc Failed Request failed. QuotaReductionNotSupported diff --git a/src/Quota/help/Get-AzQuotaUsage.md b/src/Quota/help/Get-AzQuotaUsage.md index 7d1035e1abac..3bf7d2141d55 100644 --- a/src/Quota/help/Get-AzQuotaUsage.md +++ b/src/Quota/help/Get-AzQuotaUsage.md @@ -29,8 +29,10 @@ Get the current usage of a resource. ### Example 1: List the currents usage of a resource ```powershell -PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" +``` +```output Name ResourceGroupName UsageUsagesType UsageValue ETag ---- ----------------- --------------- ---------- ---- VirtualNetworks 0 @@ -54,8 +56,10 @@ This command lists the currents usage of a resource ### Example 2: Get the current usage of a resource ```powershell -PS C:\> Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength" +Get-AzQuotaUsage -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -Name "MinPublicIpInterNetworkPrefixLength" +``` +```output Name NameLocalizedValue UsageUsagesType UsageValue ETag ---- ------------------ --------------- ---------- ---- MinPublicIpInterNetworkPrefixLength Public IPv4 Prefix Length 0 diff --git a/src/Quota/help/New-AzQuota.md b/src/Quota/help/New-AzQuota.md index d76d28b409f4..c6fd7a710c1a 100644 --- a/src/Quota/help/New-AzQuota.md +++ b/src/Quota/help/New-AzQuota.md @@ -35,9 +35,11 @@ Please check the URI in location header for the detailed status of the request. ### Example 1: Create or update the quota limit for the specified resource with the requested value ```powershell -PS C:\> $limit = New-AzQuotaLimitObject -Value 1003 -PS C:\> New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit +$limit = New-AzQuotaLimitObject -Value 1003 +New-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit +``` +```output Name NameLocalizedValue Unit ETag ---- ------------------ ---- ---- PublicIPAddresses Public IP Addresses - Basic Count diff --git a/src/Quota/help/New-AzQuotaLimitObject.md b/src/Quota/help/New-AzQuotaLimitObject.md index 513cb8a67e36..9086efa5a9f0 100644 --- a/src/Quota/help/New-AzQuotaLimitObject.md +++ b/src/Quota/help/New-AzQuotaLimitObject.md @@ -23,8 +23,10 @@ Create an in-memory object for LimitObject. ### Example 1: Create an in-memory object for LimitValue ```powershell -PS C:\> New-AzQuotaLimitObject -Value 1003 +New-AzQuotaLimitObject -Value 1003 +``` +```output LimitObjectType LimitType Value --------------- --------- ----- LimitValue 1003 diff --git a/src/Quota/help/Update-AzQuota.md b/src/Quota/help/Update-AzQuota.md index 33133722645e..3698dba1b72c 100644 --- a/src/Quota/help/Update-AzQuota.md +++ b/src/Quota/help/Update-AzQuota.md @@ -41,9 +41,11 @@ Please check the URI in location header for the detailed status of the request. ### Example 1: Update the quota limit for a specific resource to the specified value ```powershell -PS C:\> $limit = New-AzQuotaLimitObject -Value 1001 -PS C:\> Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit +$limit = New-AzQuotaLimitObject -Value 1001 +Update-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" -Name "PublicIPAddresses" -Limit $limit +``` +```output Name NameLocalizedValue UsageUsagesType UsageValue ETag ---- ------------------ --------------- ---------- ---- PublicIPAddresses Public IP Addresses - Basic 0 @@ -53,10 +55,11 @@ This command update the quota limit for a specific resource to the specified val ### Example 2: Update the quota limit for a specific resource to the specified value by pipeline ```powershell -PS C:\> -PS C:\> $limit = New-AzQuotaLimitObject -Value 1007 -PS C:\> Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit +$limit = New-AzQuotaLimitObject -Value 1007 +Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus2" -ResourceName "PublicIPAddresses" | Update-AzQuota -Name "PublicIPAddresses" -Limit $limit +``` +```output Name NameLocalizedValue UsageUsagesType UsageValue ETag ---- ------------------ --------------- ---------- ---- PublicIPAddresses Public IP Addresses - Basic 0