다음을 통해 공유


Get-AzureStorSimpleDeviceVolumeContainer

디바이스의 볼륨 컨테이너를 가져옵니다.

참고

이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.

Syntax

Get-AzureStorSimpleDeviceVolumeContainer
   -DeviceName <String>
   [-VolumeContainerName <String>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

Get-AzureStorSimpleDeviceVolumeContainer cmdlet은 디바이스의 볼륨 컨테이너 또는 지정된 이름을 가진 볼륨 컨테이너의 목록을 가져옵니다. 반환된 개체에는 다음 속성이 포함됩니다.

  • 대역폭 전송률
  • EncryptionKey
  • InstanceId
  • IsDefault
  • IsEncryptionEnabled
  • 이름
  • OperationInProgress
  • 소유
  • PrimaryStorageAccountCredential
  • SecretsEncryptionThumbprint
  • VolumeCount

예제

예제 1: 디바이스의 모든 컨테이너 가져오기

PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "8600-Bravo 001"
InstanceId                           Name                                             IsEncryptionEnabled  Owned BandwidthRate                                    PrimaryStorageAccountCredential                 VolumeCount                                    
----------                           ----                                             -------------------  ----- -------------                                    -------------------------------                 -----------                                    
127135b6-92de-4f53-850d-70e1f9a38cbe Test_Container                                   False                True  0                                                Test_Account                                    6

이 명령은 8600-Bravo 001이라는 디바이스의 볼륨 컨테이너 목록을 가져옵니다.

예제 2: 해당 이름을 사용하여 컨테이너 가져오기

PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08"
VERBOSE: ClientRequestId: 8027c66a-869b-4ea3-97a2-e17d98ec751c_PS
VERBOSE: ClientRequestId: 344f9be5-0887-4d37-98ef-e45c557774f1_PS
VERBOSE: ClientRequestId: 14919be5-d6f5-4f81-b7f1-d7fafff2238c_PS


BandwidthRate                   : 256
EncryptionKey                   : 
InstanceId                      : 04ea9aad-7a56-4a50-b195-86061b0a810a
IsDefault                       : False
IsEncryptionEnabled             : False
Name                            : Container03
OperationInProgress             : None
Owned                           : True
PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse
SecretsEncryptionThumbprint     : 
VolumeCount                     : 5

VERBOSE: Volume container with name: Container03 is found.

이 명령은 Contoso63-AppVm이라는 디바이스에서 Container08이라는 볼륨 컨테이너를 가져옵니다.

매개 변수

-DeviceName

StorSimple 디바이스의 이름을 지정합니다. 이 cmdlet은 이 매개 변수가 지정하는 디바이스에서 볼륨 컨테이너를 가져옵니다.

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

-Profile

Azure 프로필을 지정합니다.

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

-VolumeContainerName

가져올 볼륨 컨테이너의 이름을 지정합니다.

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

입력

None

출력

DataContainer, IList\<DataContainer\>

이 cmdlet은 VolumeContainerName 매개 변수를 지정하는 경우 DataContainer 개체를 반환합니다. 해당 매개 변수를 지정하지 않으면 이 cmdlet은 IList<DataContainer> 개체를 반환합니다.