Sdílet prostřednictvím


Get-AzsStorageQuota

Syntax

Get-AzsStorageQuota
   [-Location <String>]
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzsStorageQuota
   -Name <String>
   [-Location <String>]
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzsStorageQuota
   -INPUTOBJECT \<IStorageAdminIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Examples

Example 1:

PS C:\> Get-AzsStorageQuota

Get the list of storage quotas.

Example 2:

PS C:\> Get-AzsStorageQuota -Name 'Default Quota'

Get details of the specified storage quota by name.

Parameters

-DefaultProfile

Type:System.Management.Automation.PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

Type:System.String
Position:Named
Default value:(Get-AzLocation)[0].Location
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Type:System.String
Aliases:QuotaName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Type:System.String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Azure.PowerShell.Cmdlets.StorageAdmin.Models.IStorageAdminIdentity

Outputs

Microsoft.Azure.PowerShell.Cmdlets.StorageAdmin.Models.Api201908Preview.IStorageQuota

Notes

COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IStorageAdminIdentity>:

  • [AccountId <String>]: Internal storage account ID, which is not visible to tenant.
  • [AsyncOperationId <String>]: Async Operation Id.
  • [Id <String>]: Resource identity path
  • [Location <String>]: Resource location.
  • [QuotaName <String>]: The name of the storage quota.
  • [ResourceGroup <String>]: Resource group name.
  • [ServiceName <String>]: Storage service name.
  • [SubscriptionId <String>]: Subscription Id.