다음을 통해 공유


Get-AzureStorSimpleDevice

리소스에 연결된 디바이스를 가져옵니다.

참고

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

Syntax

Get-AzureStorSimpleDevice
   [-Type <String>]
   [-ModelID <String>]
   [-Detailed]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-AzureStorSimpleDevice
   [-DeviceId <String>]
   [-Type <String>]
   [-ModelID <String>]
   [-Detailed]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-AzureStorSimpleDevice
   [-DeviceName <String>]
   [-Type <String>]
   [-ModelID <String>]
   [-Detailed]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

Get-AzureStorSimpleDevice cmdlet은 리소스에 연결된 StorSimple 디바이스 목록을 가져옵니다. 디바이스 ID, 이름, 모델 ID 및 유형을 지정할 수 있습니다. 이 cmdlet을 사용하여 얻은 DeviceID 속성을 사용하여 다른 StorSimple cmdlet에 대한 디바이스를 지정합니다.

예제

예제 1: 리소스에서 사용 가능한 디바이스 가져오기

PS C:\>Get-AzureStorSimpleDevice
DeviceId                  : 6f9ab151-39c7-4ded-b7d0-f5b0968f2766
DeviceName                : 8600-: SHX0881018G88
SerialNumber              : SHX0881018G88
DeviceSoftwareVersion     : 6.3.9600.17430
Location                  : 
ModelDescription          : 8600
Status                    : Offline
Type                      : Appliance
TargetIQN                 : iqn.1991-05.com.microsoft:storsimple8600-shx0991018g00e4-target
TimeZone                  : Pacific Standard Time
ActivationTime            : 2015-04-07T16:32:30.2960842Z
AvailableStorageInBytes   : 535363378479104
ProvisionedStorageInBytes : 14392435408896
TotalStorageInBytes       : 549755813888000
UsingStorageInBytes       : 12693995520

DeviceId                  : eb30ea31-c856-4cf2-9a02-aee611d6a3b9
DeviceName                : 8100-Delta 001
SerialNumber              : SHX90391XXXXXXX
DeviceSoftwareVersion     : 6.3.9600.17430
Location                  : 
ModelDescription          : 8100
Status                    : Online
Type                      : Appliance
TargetIQN                 : iqn.1991-05.com.microsoft:storsimple8100-shx90193xxxxxxx-target
TimeZone                  : Eastern Standard Time
ActivationTime            : 2015-03-26T14:53:14.4219391Z
AvailableStorageInBytes   : 205509890146304
ProvisionedStorageInBytes : 14392435408896
TotalStorageInBytes       : 219902325555200
UsingStorageInBytes       : 23904321536

DeviceId                  : edcb0b9b-1ed5-4102-9c5d-c589f7632994
DeviceName                : 8600-Bravo 001
SerialNumber              : SHX0900915G44SY
DeviceSoftwareVersion     : 6.3.9600.17430
Location                  : 
ModelDescription          : 8600
Status                    : Online
Type                      : Appliance
TargetIQN                 : iqn.1991-05.com.microsoft:storsimple8600-shx0900915g44sy-target
TimeZone                  : Eastern Standard Time
ActivationTime            : 2015-03-26T15:36:26.0870525Z
AvailableStorageInBytes   : 535363378479104
ProvisionedStorageInBytes : 14392435408896
TotalStorageInBytes       : 549755813888000
UsingStorageInBytes       : 978893799424

이 명령은 리소스에서 사용 가능한 모든 디바이스를 가져옵니다. 이 예제에서는 하나의 디바이스만 사용할 수 있습니다.

예제 2: 리소스에서 사용 가능한 특정 디바이스 가져오기

PS C:\>Get-AzureStorSimpleDevice -DeviceName "8600-SHX90193XXXXXXX" -Type Appliance -ModelId "8600"
DeviceId                  : f9db31da-8a6c-4718-8f5b-5ce89e600f28
DeviceName                : 8600-SHX90193XXXXXXX
SerialNumber              : SHX90193XXXXXXX
DeviceSoftwareVersion     : 6.3.9600.17430
Location                  : 
ModelDescription          : 8600
Status                    : Online
Type                      : Appliance
TargetIQN                 : iqn.1991-05.com.microsoft:storsimple8600-shx90193xxxxxxx-target
TimeZone                  : Pacific Standard Time
ActivationTime            : 2015-04-07T18:10:46.4524766Z
AvailableStorageInBytes   : 535363378479104
ProvisionedStorageInBytes : 14392435408896
TotalStorageInBytes       : 549755813888000
UsingStorageInBytes       : 14445182976

이 명령은 지정된 이름, 유형 및 모델 ID가 있는 리소스에서 사용 가능한 모든 디바이스를 가져옵니다.

예제 3: 디바이스에 대한 세부 정보 가져오기

PS C:\>Get-AzureStorSimpleDevice -Name "8600-SHX90193XXXXXXX" -Type Appliance -Detailed
AlertNotification              : Microsoft.WindowsAzure.Management.StorSimple.Models.AlertNotificationSettings
Chap                           : Microsoft.WindowsAzure.Management.StorSimple.Models.ChapSettings
DeviceProperties               : Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceInfo
DnsServer                      : Microsoft.WindowsAzure.Management.StorSimple.Models.DnsServerSettings
InstanceId                     : f9db31da-8a6c-4718-8f5b-5ce89e600f28
Name                           : 
NetInterfaceList               : {Data0, Data1, Data2, Data3...} 
OperationInProgress            : None
RemoteMgmtSettingsInfo         : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteManagementSettings

RemoteMinishellSecretInfo      : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteMinishellSettings
SecretEncryptionCertThumbprint : 
Snapshot                       : Microsoft.WindowsAzure.Management.StorSimple.Models.SnapshotSettings
TimeServer                     : Microsoft.WindowsAzure.Management.StorSimple.Models.TimeSettings
Type                           : Appliance
VirtualApplianceProperties     : Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualApplianceInfo
WebProxy                       : Microsoft.WindowsAzure.Management.StorSimple.Models.WebProxySettings

이 명령은 지정된 이름과 형식을 가진 리소스에서 사용 가능한 모든 디바이스를 가져옵니다. 이 명령은 Detailed 매개 변수를 지정합니다. 이 명령은 반환하는 디바이스에 대한 추가 세부 정보를 제공합니다.

매개 변수

-Detailed

이 cmdlet이 가져오는 디바이스에 대한 디바이스 세부 정보를 반환한다는 것을 나타냅니다.

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

-DeviceId

가져올 디바이스의 인스턴스 ID를 지정합니다.

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

-DeviceName

가져올 StorSimple 디바이스의 이름을 지정합니다.

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

-ModelID

가져올 StorSimple 디바이스 모델의 ID를 지정합니다.

Type:String
Position:Named
Default value:None
Required:False
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

-Type

StorSimple 디바이스의 유형을 지정합니다. 유효한 값은 어플라이언스 및 VirtualAppliance입니다.

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

입력

None

출력

List\<DeviceDetails\>, IEnumerable\<DeviceInfo\>

이 cmdlet은 Detailed 매개 변수를 지정하는 경우 List<DeviceDetails> 개체를 반환합니다. 해당 매개 변수를 지정하지 않으면 IEnumerable DeviceInfo> 개체를 반환합니다.<