Share via


ShareCredentialDetails Class

Definition

Credential details of the shares in account.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ShareCredentialDetailsTypeConverter))]
public class ShareCredentialDetails : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IShareCredentialDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ShareCredentialDetailsTypeConverter))>]
type ShareCredentialDetails = class
    interface IShareCredentialDetails
    interface IJsonSerializable
Public Class ShareCredentialDetails
Implements IShareCredentialDetails
Inheritance
ShareCredentialDetails
Attributes
Implements

Constructors

ShareCredentialDetails()

Creates an new ShareCredentialDetails instance.

Properties

Password

Password for the share.

ShareName

Name of the share.

ShareType

Type of the share.

SupportedAccessProtocol

Access protocols supported on the device.

UserName

User name for the share.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ShareCredentialDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ShareCredentialDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IShareCredentialDetails.

FromJsonString(String)

Creates a new instance of ShareCredentialDetails, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ShareCredentialDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to