Share via


StorageActiveDirectoryProperties Class

Definition

Settings properties for Active Directory (AD).

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

Constructors

StorageActiveDirectoryProperties()

Initializes a new instance of StorageActiveDirectoryProperties.

Properties

AccountType

Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted.

ActiveDirectoryDomainGuid

Specifies the ___domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication.

AzureStorageSid

Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted.

DomainName

Specifies the primary ___domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication.

DomainSid

Specifies the security identifier (SID) of the AD ___domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted.

ForestName

Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted.

NetBiosDomainName

Specifies the NetBIOS ___domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted.

SamAccountName

Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StorageActiveDirectoryProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageActiveDirectoryProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageActiveDirectoryProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageActiveDirectoryProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageActiveDirectoryProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to