New-AzureStorSimpleInlineStorageAccountCredential
Satır içi bir depolama hesabı kimlik bilgisi oluşturur.
Not
Bu belgelerde başvuruda bulunan cmdlet'ler, Hizmet Yönetimi API'lerini kullanan eski Azure kaynaklarını yönetmeye yöneliktir. Azure Resource Manager kaynaklarını yönetmek için cmdlet'ler için Az PowerShell modülüne bakın.
Syntax
New-AzureStorSimpleInlineStorageAccountCredential
-StorageAccountName <String>
-StorageAccountKey <String>
[-Endpoint <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
New-AzureStorSimpleInlineStorageAccountCredential cmdlet'i bir satır içi Azure depolama hesabı kimlik bilgisi nesnesi oluşturur. Bu cmdlet, sahte bir kimlik bilgisi nesnesi oluşturur. Windows PowerShell işlem hattını kullanarak new-AzureStorSimpleDeviceVolumeContainer cmdlet'ini ve geçerli cmdlet'i aynı komutta kullanabilirsiniz. Gerçek depolama hesabı kimlik bilgisi nesnesi, birim kapsayıcısının oluşturulmasının bir parçası olarak oluşturulur.
Örnekler
Örnek 1: Satır içi depolama hesabı kimlik bilgisi oluşturma
PS C:\>New-AzureStorSimpleInlineStorageAccountCredential -Name "contoso76" -Key x6o/tpZh8Coo8Tteo0NHLksTOKr/P9Vufo0LZNGdPGVTSUu00/p6ta1w9gRbVBNjzN8aa504kH2zkEsfUme+kw== | New-AzureStorSimpleDeviceVolumeContainer -Name "VolumeContainer_06" -DeviceName Contoso_App3 -BandWidthRate 256 -EncryptionEnabled $True -EncryptionKey "Key22" -WaitForComplete
VERBOSE: ClientRequestId: 535d24d5-1ed8-4759-92b2-dd492f94e23e_PS
VERBOSE: ClientRequestId: f32fc069-96c9-4fd9-a71a-0e62d81f25d8_PS
VERBOSE: ClientRequestId: 4376a931-89f5-448f-92bd-b2f7234244c9_PS
VERBOSE: ClientRequestId: 980109d4-7d76-40d0-ae3c-db539e2cb486_PS
VERBOSE: Encryption in progress...
VERBOSE: Creating StorageAccountCredential inline
VERBOSE: Found storage account with name : contoso76
VERBOSE: Storage credential verification succeeded.
VERBOSE: Encryption in progress...
VERBOSE: ClientRequestId: d4f8a5de-bf81-4773-b6e6-edb034284cf4_PS
JobId : 2dec64d3-b30d-4d35-adb3-12689b235b79
JobResult : Succeeded
JobStatus : Completed
ErrorCode :
ErrorMessage :
JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep,
Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep}
VERBOSE: The job created for your create operation has completed successfully.
VERBOSE: ClientRequestId: abd4082a-2eda-42ad-8cb3-5864dd2f7d1f_PS
BandwidthRate : 256
EncryptionKey : SK23I39L7GvoLce7u63TMT/A/V/TW8JXe+PoXKEKzwsr3t/h7tdqV1EpfaK0DGO/qo5b2PLCagFHAxnZEiejg
jtF9TcyK+aLyzEnkqtM+eNRJmgANzJ9C/5L6Ubp+eSWiy+U/pyZygxPrb37e0yFg+qbHV9R9Qi+afBpHD9Gsi
rhURuOc/idWG29eaEifuRzn/zEjvwJ2pEyYLcsuL+ftfRYZom69XO+cRDv5yT3xdNI/dAod/5YUaf1IhJl8wR
cWjqyr00NxlCI03hTgH2sFyTFZWc07S2KI5K5n3rmCL6vGT76SRgNFeUxGz3v06/VoBhdmv9vDfrEz5UkW04d
Qw==
InstanceId : a72bf4bb-0f0a-4ec2-a8b1-c4548825f522
IsDefault : False
IsEncryptionEnabled : True
Name : VolumneContainer_06
OperationInProgress : None
Owned : True
PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse
SecretsEncryptionThumbprint :
VolumeCount : 0
Bu komut satır içinde bir depolama hesabı kimlik bilgisi oluşturur ve işlem hattı işlecini kullanarak bunu New-AzureStorSimpleDeviceVolumeContainer cmdlet'ine geçirir. Bu kapsayıcı, birim kapsayıcısı oluşturmak için sahte kimlik bilgilerini kullanır.
Parametreler
-Endpoint
Depolama hesabı için Azure depolama uç noktasını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
Bu cmdlet'in okuduğu Azure profilini belirtir. Bir profil belirtmezseniz, bu cmdlet yerel varsayılan profilden okur.
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageAccountKey
Depolama hesabının hesap anahtarını düz metin olarak belirtir. Anahtar şifrelenmiş biçimde aktarılır.
Type: | String |
Aliases: | Key |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageAccountName
Mevcut bir depolama hesabının adını belirtir.
Type: | String |
Aliases: | Name |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
None
Çıkışlar
StorageAccountCredentialResponse
Bu cmdlet, aşağıdaki alanları içeren bir CloudType nesnesi döndürür:
- Ana bilgisayar adı. Dize.
- InstanceId. Dize.
- IsDefault. Boole dili.
- Konum. Dize.
- Oturum açın. Dize.
- Ad. Dize.
- OperationInProgress. OperationInProgress.
- Parola. Dize.
- PasswordEncryptionCertThumbprint. Dize.
- UseSSL. Boole dili.
- VolumeCount. Tamsayı.