ActiveDirectoryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.ActiveDirectoryProperties

Implements

public final class ActiveDirectoryProperties
implements JsonSerializable<ActiveDirectoryProperties>

Settings properties for Active Directory (AD).

Constructor Summary

Constructor Description
ActiveDirectoryProperties()

Creates an instance of ActiveDirectoryProperties class.

Method Summary

Modifier and Type Method and Description
ActiveDirectoryPropertiesAccountType accountType()

Get the accountType property: Specifies the Active Directory account type for Azure Storage.

String azureStorageSid()

Get the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.

String domainGuid()

Get the domainGuid property: Specifies the domain GUID.

String domainName()

Get the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.

String domainSid()

Get the domainSid property: Specifies the security identifier (SID).

String forestName()

Get the forestName property: Specifies the Active Directory forest to get.

static ActiveDirectoryProperties fromJson(JsonReader jsonReader)

Reads an instance of ActiveDirectoryProperties from the JsonReader.

String netBiosDomainName()

Get the netBiosDomainName property: Specifies the NetBIOS domain name.

String samAccountName()

Get the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActiveDirectoryProperties withAccountType(ActiveDirectoryPropertiesAccountType accountType)

Set the accountType property: Specifies the Active Directory account type for Azure Storage.

ActiveDirectoryProperties withAzureStorageSid(String azureStorageSid)

Set the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.

ActiveDirectoryProperties withDomainGuid(String domainGuid)

Set the domainGuid property: Specifies the domain GUID.

ActiveDirectoryProperties withDomainName(String domainName)

Set the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.

ActiveDirectoryProperties withDomainSid(String domainSid)

Set the domainSid property: Specifies the security identifier (SID).

ActiveDirectoryProperties withForestName(String forestName)

Set the forestName property: Specifies the Active Directory forest to get.

ActiveDirectoryProperties withNetBiosDomainName(String netBiosDomainName)

Set the netBiosDomainName property: Specifies the NetBIOS domain name.

ActiveDirectoryProperties withSamAccountName(String samAccountName)

Set the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage.

Methods inherited from java.lang.Object

Constructor Details

ActiveDirectoryProperties

public ActiveDirectoryProperties()

Creates an instance of ActiveDirectoryProperties class.

Method Details

accountType

public ActiveDirectoryPropertiesAccountType accountType()

Get the accountType property: Specifies the Active Directory account type for Azure Storage.

Returns:

the accountType value.

azureStorageSid

public String azureStorageSid()

Get the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.

Returns:

the azureStorageSid value.

domainGuid

public String domainGuid()

Get the domainGuid property: Specifies the domain GUID.

Returns:

the domainGuid value.

domainName

public String domainName()

Get the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.

Returns:

the domainName value.

domainSid

public String domainSid()

Get the domainSid property: Specifies the security identifier (SID).

Returns:

the domainSid value.

forestName

public String forestName()

Get the forestName property: Specifies the Active Directory forest to get.

Returns:

the forestName value.

fromJson

public static ActiveDirectoryProperties fromJson(JsonReader jsonReader)

Reads an instance of ActiveDirectoryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActiveDirectoryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

netBiosDomainName

public String netBiosDomainName()

Get the netBiosDomainName property: Specifies the NetBIOS domain name.

Returns:

the netBiosDomainName value.

samAccountName

public String samAccountName()

Get the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage.

Returns:

the samAccountName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccountType

public ActiveDirectoryProperties withAccountType(ActiveDirectoryPropertiesAccountType accountType)

Set the accountType property: Specifies the Active Directory account type for Azure Storage.

Parameters:

accountType - the accountType value to set.

Returns:

the ActiveDirectoryProperties object itself.

withAzureStorageSid

public ActiveDirectoryProperties withAzureStorageSid(String azureStorageSid)

Set the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.

Parameters:

azureStorageSid - the azureStorageSid value to set.

Returns:

the ActiveDirectoryProperties object itself.

withDomainGuid

public ActiveDirectoryProperties withDomainGuid(String domainGuid)

Set the domainGuid property: Specifies the domain GUID.

Parameters:

domainGuid - the domainGuid value to set.

Returns:

the ActiveDirectoryProperties object itself.

withDomainName

public ActiveDirectoryProperties withDomainName(String domainName)

Set the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.

Parameters:

domainName - the domainName value to set.

Returns:

the ActiveDirectoryProperties object itself.

withDomainSid

public ActiveDirectoryProperties withDomainSid(String domainSid)

Set the domainSid property: Specifies the security identifier (SID).

Parameters:

domainSid - the domainSid value to set.

Returns:

the ActiveDirectoryProperties object itself.

withForestName

public ActiveDirectoryProperties withForestName(String forestName)

Set the forestName property: Specifies the Active Directory forest to get.

Parameters:

forestName - the forestName value to set.

Returns:

the ActiveDirectoryProperties object itself.

withNetBiosDomainName

public ActiveDirectoryProperties withNetBiosDomainName(String netBiosDomainName)

Set the netBiosDomainName property: Specifies the NetBIOS domain name.

Parameters:

netBiosDomainName - the netBiosDomainName value to set.

Returns:

the ActiveDirectoryProperties object itself.

withSamAccountName

public ActiveDirectoryProperties withSamAccountName(String samAccountName)

Set the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage.

Parameters:

samAccountName - the samAccountName value to set.

Returns:

the ActiveDirectoryProperties object itself.

Applies to