Upravit

Sdílet prostřednictvím


New-AzNetworkCloudStorageApplianceConfigurationDataObject

Create an in-memory object for StorageApplianceConfigurationData.

Syntax

New-AzNetworkCloudStorageApplianceConfigurationDataObject
   -AdminCredentialsPassword <SecureString>
   -AdminCredentialsUsername <String>
   -RackSlot <Int64>
   -SerialNumber <String>
   [-StorageApplianceName <String>]
   [<CommonParameters>]

Description

Create an in-memory object for StorageApplianceConfigurationData.

Examples

Example 1: Create an in-memory object for StorageApplianceConfigurationData.

$password = ConvertTo-SecureString -String "****" -AsPlainText -Force

New-AzNetworkCloudStorageApplianceConfigurationDataObject -AdminCredentialsPassword $password -AdminCredentialsUsername username -RackSlot 1 -SerialNumber serialNumber -StorageApplianceName storageApplianceName

RackSlot SerialNumber StorageApplianceName
-------- ------------ --------------------
1        serialNumber storageApplianceName

Create an in-memory object for StorageApplianceConfigurationData.

Parameters

-AdminCredentialsPassword

The password of the administrator of the device used during initialization.

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

-AdminCredentialsUsername

The username of the administrator of the device used during initialization.

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

-RackSlot

The slot that storage appliance is in the rack based on the BOM configuration.

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

-SerialNumber

The serial number of the appliance.

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

-StorageApplianceName

The user-provided name for the storage appliance that will be created from this specification.

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

Outputs

StorageApplianceConfigurationData