Udostępnij za pośrednictwem


ArmDataBoxModelFactory.DataBoxAccountCredentialDetails Method

Definition

Initializes a new instance of DataBoxAccountCredentialDetails.

public static Azure.ResourceManager.DataBox.Models.DataBoxAccountCredentialDetails DataBoxAccountCredentialDetails (string accountName = default, Azure.ResourceManager.DataBox.Models.DataAccountType? dataAccountType = default, string accountConnectionString = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.ShareCredentialDetails> shareCredentialDetails = default);
static member DataBoxAccountCredentialDetails : string * Nullable<Azure.ResourceManager.DataBox.Models.DataAccountType> * string * seq<Azure.ResourceManager.DataBox.Models.ShareCredentialDetails> -> Azure.ResourceManager.DataBox.Models.DataBoxAccountCredentialDetails
Public Shared Function DataBoxAccountCredentialDetails (Optional accountName As String = Nothing, Optional dataAccountType As Nullable(Of DataAccountType) = Nothing, Optional accountConnectionString As String = Nothing, Optional shareCredentialDetails As IEnumerable(Of ShareCredentialDetails) = Nothing) As DataBoxAccountCredentialDetails

Parameters

accountName
String

Name of the account.

dataAccountType
Nullable<DataAccountType>

Type of the account.

accountConnectionString
String

Connection string of the account endpoint to use the account as a storage endpoint on the device.

shareCredentialDetails
IEnumerable<ShareCredentialDetails>

Per share level unencrypted access credentials.

Returns

A new DataBoxAccountCredentialDetails instance for mocking.

Applies to