New-AzDataBoxStorageAccountDetailsObject

Create an in-memory object for StorageAccountDetails.

Syntax

New-AzDataBoxStorageAccountDetailsObject
   -StorageAccountId <String>
   -DataAccountType <DataAccountType>
   [-SharePassword <String>]
   [<CommonParameters>]

Description

Create an in-memory object for StorageAccountDetails.

Examples

Example 1: Storage account in-memory object

New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"

DataAccountType SharePassword StorageAccountId
--------------- ------------- ----------------
StorageAccount                /subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName

Storage account in-memory object

Parameters

-DataAccountType

Account Type of the data to be transferred.

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

-SharePassword

Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#-$%^!+=;:_()]+.

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

-StorageAccountId

Storage Account Resource Id.

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

Outputs

StorageAccountDetails