Dela via


ArmStorageCacheModelFactory.StorageCacheActiveDirectorySettings Method

Definition

Initializes a new instance of StorageCacheActiveDirectorySettings.

public static Azure.ResourceManager.StorageCache.Models.StorageCacheActiveDirectorySettings StorageCacheActiveDirectorySettings (System.Net.IPAddress primaryDnsIPAddress = default, System.Net.IPAddress secondaryDnsIPAddress = default, string domainName = default, string domainNetBiosName = default, string cacheNetBiosName = default, Azure.ResourceManager.StorageCache.Models.DomainJoinedType? domainJoined = default, Azure.ResourceManager.StorageCache.Models.StorageCacheActiveDirectorySettingsCredentials credentials = default);
static member StorageCacheActiveDirectorySettings : System.Net.IPAddress * System.Net.IPAddress * string * string * string * Nullable<Azure.ResourceManager.StorageCache.Models.DomainJoinedType> * Azure.ResourceManager.StorageCache.Models.StorageCacheActiveDirectorySettingsCredentials -> Azure.ResourceManager.StorageCache.Models.StorageCacheActiveDirectorySettings
Public Shared Function StorageCacheActiveDirectorySettings (Optional primaryDnsIPAddress As IPAddress = Nothing, Optional secondaryDnsIPAddress As IPAddress = Nothing, Optional domainName As String = Nothing, Optional domainNetBiosName As String = Nothing, Optional cacheNetBiosName As String = Nothing, Optional domainJoined As Nullable(Of DomainJoinedType) = Nothing, Optional credentials As StorageCacheActiveDirectorySettingsCredentials = Nothing) As StorageCacheActiveDirectorySettings

Parameters

primaryDnsIPAddress
IPAddress

Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.

secondaryDnsIPAddress
IPAddress

Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.

domainName
String

The fully qualified domain name of the Active Directory domain controller.

domainNetBiosName
String

The Active Directory domain's NetBIOS name.

cacheNetBiosName
String

The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z].

domainJoined
Nullable<DomainJoinedType>

True if the HPC Cache is joined to the Active Directory domain.

credentials
StorageCacheActiveDirectorySettingsCredentials

Active Directory admin credentials used to join the HPC Cache to a domain.

Returns

A new StorageCacheActiveDirectorySettings instance for mocking.

Applies to