Get-AzStorageUsage
현재 구독의 Storage 리소스 사용량을 가져옵니다.
구문
Default (기본값)
Get-AzStorageUsage
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzStorageUsage cmdlet은 현재 구독에 대한 Azure Storage의 리소스 사용량을 가져옵니다.
예제
예제 1: 지정된 위치의 스토리지 리소스 사용량 가져오기
Get-AzStorageUsage -Location 'West US'
LocalizedName : Storage Accounts
Name : StorageAccounts
Unit : Count
CurrentValue : 18
Limit : 250
이 명령은 현재 구독에서 지정된 위치의 Storage 리소스 사용량을 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
매개 변수 속성
| 형식: | IAzureContextContainer |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
| 별칭: | AzContext, AzureRmContext, AzureCredential |
매개 변수 집합
(All)
| Position: | Named |
| 필수: | False |
| 파이프라인의 값: | False |
| 속성 이름별 파이프라인의 값: | False |
| 나머지 인수의 값: | False |
-Location
지정된 위치에서 Storage 리소스 사용량을 가져오기 위해 지정합니다. 지정하지 않으면 구독 아래의 모든 위치에서 Storage 리소스 사용량을 가져옵니다.
매개 변수 속성
| 형식: | String |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
(All)
| Position: | Named |
| 필수: | True |
| 파이프라인의 값: | False |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
CommonParameters
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.