Share via


ShareCredentialDetails Class

Definition

Credential details of the shares in account.

public class ShareCredentialDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBox.Models.ShareCredentialDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBox.Models.ShareCredentialDetails>
type ShareCredentialDetails = class
    interface IJsonModel<ShareCredentialDetails>
    interface IPersistableModel<ShareCredentialDetails>
Public Class ShareCredentialDetails
Implements IJsonModel(Of ShareCredentialDetails), IPersistableModel(Of ShareCredentialDetails)
Inheritance
ShareCredentialDetails
Implements

Properties

Password

Password for the share.

ShareName

Name of the share.

ShareType

Type of the share.

SupportedAccessProtocols

Access protocols supported on the device.

UserName

User name for the share.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ShareCredentialDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ShareCredentialDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ShareCredentialDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ShareCredentialDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ShareCredentialDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to