class Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheActiveDirectorySettings

Active Directory settings used to join a cache to a domain.

Attributes

cache_net_bios_name[RW]

@return [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].

credentials[RW]

@return [CacheActiveDirectorySettingsCredentials] Active Directory admin credentials used to join the HPC Cache to a domain.

domain_joined[RW]

@return [DomainJoinedType] True if the HPC Cache is joined to the Active Directory domain. Possible values include: 'Yes', 'No', 'Error'

domain_name[RW]

@return [String] The fully qualified domain name of the Active Directory domain controller.

domain_net_bios_name[RW]

@return [String] The Active Directory domain's NetBIOS name.

primary_dns_ip_address[RW]

@return [String] Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.

secondary_dns_ip_address[RW]

@return [String] Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.

Private Class Methods

mapper() click to toggle source

Mapper for CacheActiveDirectorySettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CacheActiveDirectorySettings',
    type: {
      name: 'Composite',
      class_name: 'CacheActiveDirectorySettings',
      model_properties: {
        primary_dns_ip_address: {
          client_side_validation: true,
          required: true,
          serialized_name: 'primaryDnsIpAddress',
          type: {
            name: 'String'
          }
        },
        secondary_dns_ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secondaryDnsIpAddress',
          type: {
            name: 'String'
          }
        },
        domain_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'domainName',
          type: {
            name: 'String'
          }
        },
        domain_net_bios_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'domainNetBiosName',
          type: {
            name: 'String'
          }
        },
        cache_net_bios_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'cacheNetBiosName',
          constraints: {
            Pattern: '^[-0-9a-zA-Z]{1,15}$'
          },
          type: {
            name: 'String'
          }
        },
        domain_joined: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'domainJoined',
          type: {
            name: 'String'
          }
        },
        credentials: {
          client_side_validation: true,
          required: false,
          serialized_name: 'credentials',
          type: {
            name: 'Composite',
            class_name: 'CacheActiveDirectorySettingsCredentials'
          }
        }
      }
    }
  }
end