Get-AzStorageUsage

현재 구독의 Storage 리소스 사용량을 가져옵니다.

Syntax

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와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

지정된 위치에서 Storage 리소스 사용량을 가져오기 위해 지정합니다. 지정하지 않으면 구독 아래의 모든 위치에서 Storage 리소스 사용량을 가져옵니다.

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

입력

String

출력

PSUsage