共用方式為


ShareCredentialDetails Constructors

Definition

Overloads

ShareCredentialDetails()

Initializes a new instance of the ShareCredentialDetails class.

ShareCredentialDetails(String, Nullable<ShareDestinationFormatType>, String, String, IList<Nullable<AccessProtocol>>)

Initializes a new instance of the ShareCredentialDetails class.

ShareCredentialDetails()

Initializes a new instance of the ShareCredentialDetails class.

public ShareCredentialDetails ();
Public Sub New ()

Applies to

ShareCredentialDetails(String, Nullable<ShareDestinationFormatType>, String, String, IList<Nullable<AccessProtocol>>)

Initializes a new instance of the ShareCredentialDetails class.

public ShareCredentialDetails (string shareName = default, Microsoft.Azure.Management.DataBox.Models.ShareDestinationFormatType? shareType = default, string userName = default, string password = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBox.Models.AccessProtocol?> supportedAccessProtocols = default);
new Microsoft.Azure.Management.DataBox.Models.ShareCredentialDetails : string * Nullable<Microsoft.Azure.Management.DataBox.Models.ShareDestinationFormatType> * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.DataBox.Models.AccessProtocol>> -> Microsoft.Azure.Management.DataBox.Models.ShareCredentialDetails
Public Sub New (Optional shareName As String = Nothing, Optional shareType As Nullable(Of ShareDestinationFormatType) = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional supportedAccessProtocols As IList(Of Nullable(Of AccessProtocol)) = Nothing)

Parameters

shareName
String

Name of the share.

shareType
Nullable<ShareDestinationFormatType>

Type of the share. Possible values include: 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile', 'ManagedDisk'

userName
String

User name for the share.

password
String

Password for the share.

supportedAccessProtocols
IList<Nullable<AccessProtocol>>

Access protocols supported on the device.

Applies to