|
| 1 | +--- |
| 2 | +external help file: |
| 3 | +Module Name: Azs.ContainerRegistry.Admin |
| 4 | +online version: https://docs.microsoft.com/en-us/powershell/module/azs.containerregistry.admin/get-azscontainerregistrycapacity |
| 5 | +schema: 2.0.0 |
| 6 | +--- |
| 7 | + |
| 8 | +# Get-AzsContainerRegistryCapacity |
| 9 | + |
| 10 | +## SYNOPSIS |
| 11 | +Returns container registry capacity property. |
| 12 | + |
| 13 | +## SYNTAX |
| 14 | + |
| 15 | +### List (Default) |
| 16 | +``` |
| 17 | +Get-AzsContainerRegistryCapacity [-Location <String>] [-SubscriptionId <String[]>] |
| 18 | + [-DefaultProfile <PSObject>] [<CommonParameters>] |
| 19 | +``` |
| 20 | + |
| 21 | +### Get |
| 22 | +``` |
| 23 | +Get-AzsContainerRegistryCapacity -CapacityName <String> [-Location <String>] [-SubscriptionId <String[]>] |
| 24 | + [-DefaultProfile <PSObject>] [<CommonParameters>] |
| 25 | +``` |
| 26 | + |
| 27 | +### GetViaIdentity |
| 28 | +``` |
| 29 | +Get-AzsContainerRegistryCapacity -InputObject <IContainerRegistryAdminIdentity> [-DefaultProfile <PSObject>] |
| 30 | + [<CommonParameters>] |
| 31 | +``` |
| 32 | + |
| 33 | +## DESCRIPTION |
| 34 | +Returns container registry capacity property. |
| 35 | + |
| 36 | +## EXAMPLES |
| 37 | + |
| 38 | +### -------------------------- EXAMPLE 1 -------------------------- |
| 39 | +```powershell |
| 40 | +Get-AzsContainerRegistryCapacity |
| 41 | +``` |
| 42 | + |
| 43 | +{ |
| 44 | + "AllowPush": true, |
| 45 | + "Id": "/subscriptions/7e41090c-4aa7-40bc-856a-a993f8fbd215/providers/Microsoft.ContainerRegistry.Admin/locations/redmond/capacities/Default", |
| 46 | + "MaximumCapacityInGiB": 2000, |
| 47 | + "Name": "redmond/Default", |
| 48 | + "RegistriesConsumptionInGiB": 0, |
| 49 | + "Type": "Microsoft.ContainerRegistry.Admin/locations/capacities" |
| 50 | +} |
| 51 | + |
| 52 | +## PARAMETERS |
| 53 | + |
| 54 | +### -CapacityName |
| 55 | +The name of the capacity parameter. |
| 56 | + |
| 57 | +```yaml |
| 58 | +Type: System.String |
| 59 | +Parameter Sets: Get |
| 60 | +Aliases: |
| 61 | + |
| 62 | +Required: True |
| 63 | +Position: Named |
| 64 | +Default value: None |
| 65 | +Accept pipeline input: False |
| 66 | +Accept wildcard characters: False |
| 67 | +``` |
| 68 | +
|
| 69 | +### -DefaultProfile |
| 70 | +The credentials, account, tenant, and subscription used for communication with Azure. |
| 71 | +
|
| 72 | +```yaml |
| 73 | +Type: System.Management.Automation.PSObject |
| 74 | +Parameter Sets: (All) |
| 75 | +Aliases: AzureRMContext, AzureCredential |
| 76 | + |
| 77 | +Required: False |
| 78 | +Position: Named |
| 79 | +Default value: None |
| 80 | +Accept pipeline input: False |
| 81 | +Accept wildcard characters: False |
| 82 | +``` |
| 83 | +
|
| 84 | +### -InputObject |
| 85 | +Identity Parameter |
| 86 | +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. |
| 87 | +
|
| 88 | +```yaml |
| 89 | +Type: Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistryAdmin.Models.IContainerRegistryAdminIdentity |
| 90 | +Parameter Sets: GetViaIdentity |
| 91 | +Aliases: |
| 92 | + |
| 93 | +Required: True |
| 94 | +Position: Named |
| 95 | +Default value: None |
| 96 | +Accept pipeline input: True (ByValue) |
| 97 | +Accept wildcard characters: False |
| 98 | +``` |
| 99 | +
|
| 100 | +### -Location |
| 101 | +The name of Azure region. |
| 102 | +
|
| 103 | +```yaml |
| 104 | +Type: System.String |
| 105 | +Parameter Sets: Get, List |
| 106 | +Aliases: |
| 107 | + |
| 108 | +Required: False |
| 109 | +Position: Named |
| 110 | +Default value: (Get-AzLocation)[0].Location |
| 111 | +Accept pipeline input: False |
| 112 | +Accept wildcard characters: False |
| 113 | +``` |
| 114 | +
|
| 115 | +### -SubscriptionId |
| 116 | +The ID of the target subscription. |
| 117 | +
|
| 118 | +```yaml |
| 119 | +Type: System.String[] |
| 120 | +Parameter Sets: Get, List |
| 121 | +Aliases: |
| 122 | + |
| 123 | +Required: False |
| 124 | +Position: Named |
| 125 | +Default value: (Get-AzContext).Subscription.Id |
| 126 | +Accept pipeline input: False |
| 127 | +Accept wildcard characters: False |
| 128 | +``` |
| 129 | +
|
| 130 | +### CommonParameters |
| 131 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). |
| 132 | +
|
| 133 | +## INPUTS |
| 134 | +
|
| 135 | +### Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistryAdmin.Models.IContainerRegistryAdminIdentity |
| 136 | +
|
| 137 | +## OUTPUTS |
| 138 | +
|
| 139 | +### Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistryAdmin.Models.Api20191101Preview.IContainerRegistryCapacity |
| 140 | +
|
| 141 | +## NOTES |
| 142 | +
|
| 143 | +ALIASES |
| 144 | +
|
| 145 | +COMPLEX PARAMETER PROPERTIES |
| 146 | +
|
| 147 | +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. |
| 148 | +
|
| 149 | +
|
| 150 | +INPUTOBJECT <IContainerRegistryAdminIdentity>: Identity Parameter |
| 151 | + - `[CapacityName <String>]`: The name of the capacity parameter. |
| 152 | + - `[ConfigurationName <String>]`: The name of the configuration. |
| 153 | + - `[Id <String>]`: Resource identity path |
| 154 | + - `[Location <String>]`: The name of Azure region. |
| 155 | + - `[QuotaName <String>]`: The name of the container registry quota. |
| 156 | + - `[SubscriptionId <String>]`: The ID of the target subscription. |
| 157 | + |
| 158 | +## RELATED LINKS |
| 159 | + |
0 commit comments