Class: Google::Apis::NetappV1::ActiveDirectory

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb

Overview

ActiveDirectory is the public representation of the active directory config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ActiveDirectory

Returns a new instance of ActiveDirectory.



152
153
154
# File 'lib/google/apis/netapp_v1/classes.rb', line 152

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#administratorsArray<String>

Optional. Users to be added to the Built-in Admininstrators group. Corresponds to the JSON property administrators

Returns:

  • (Array<String>)


32
33
34
# File 'lib/google/apis/netapp_v1/classes.rb', line 32

def administrators
  @administrators
end

#aes_encryptionBoolean Also known as: aes_encryption?

If enabled, AES encryption will be enabled for SMB communication. Corresponds to the JSON property aesEncryption

Returns:

  • (Boolean)


37
38
39
# File 'lib/google/apis/netapp_v1/classes.rb', line 37

def aes_encryption
  @aes_encryption
end

#backup_operatorsArray<String>

Optional. Users to be added to the Built-in Backup Operator active directory group. Corresponds to the JSON property backupOperators

Returns:

  • (Array<String>)


44
45
46
# File 'lib/google/apis/netapp_v1/classes.rb', line 44

def backup_operators
  @backup_operators
end

#create_timeString

Output only. Create time of the active directory. Corresponds to the JSON property createTime

Returns:

  • (String)


49
50
51
# File 'lib/google/apis/netapp_v1/classes.rb', line 49

def create_time
  @create_time
end

#descriptionString

Description of the active directory. Corresponds to the JSON property description

Returns:

  • (String)


54
55
56
# File 'lib/google/apis/netapp_v1/classes.rb', line 54

def description
  @description
end

#dnsString

Required. Comma separated list of DNS server IP addresses for the Active Directory domain. Corresponds to the JSON property dns

Returns:

  • (String)


60
61
62
# File 'lib/google/apis/netapp_v1/classes.rb', line 60

def dns
  @dns
end

#domainString

Required. Name of the Active Directory domain Corresponds to the JSON property domain

Returns:

  • (String)


65
66
67
# File 'lib/google/apis/netapp_v1/classes.rb', line 65

def domain
  @domain
end

#encrypt_dc_connectionsBoolean Also known as: encrypt_dc_connections?

If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. Corresponds to the JSON property encryptDcConnections

Returns:

  • (Boolean)


71
72
73
# File 'lib/google/apis/netapp_v1/classes.rb', line 71

def encrypt_dc_connections
  @encrypt_dc_connections
end

#kdc_hostnameString

Name of the active directory machine. This optional parameter is used only while creating kerberos volume Corresponds to the JSON property kdcHostname

Returns:

  • (String)


78
79
80
# File 'lib/google/apis/netapp_v1/classes.rb', line 78

def kdc_hostname
  @kdc_hostname
end

#kdc_ipString

KDC server IP address for the active directory machine. Corresponds to the JSON property kdcIp

Returns:

  • (String)


83
84
85
# File 'lib/google/apis/netapp_v1/classes.rb', line 83

def kdc_ip
  @kdc_ip
end

#labelsHash<String,String>

Labels for the active directory. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


88
89
90
# File 'lib/google/apis/netapp_v1/classes.rb', line 88

def labels
  @labels
end

#ldap_signingBoolean Also known as: ldap_signing?

Specifies whether or not the LDAP traffic needs to be signed. Corresponds to the JSON property ldapSigning

Returns:

  • (Boolean)


93
94
95
# File 'lib/google/apis/netapp_v1/classes.rb', line 93

def ldap_signing
  @ldap_signing
end

#nameString

Identifier. The resource name of the active directory. Format: projects/ project_number/locations/location_id/activeDirectories/active_directory_id . Corresponds to the JSON property name

Returns:

  • (String)


101
102
103
# File 'lib/google/apis/netapp_v1/classes.rb', line 101

def name
  @name
end

#net_bios_prefixString

Required. NetBIOSPrefix is used as a prefix for SMB server name. Corresponds to the JSON property netBiosPrefix

Returns:

  • (String)


106
107
108
# File 'lib/google/apis/netapp_v1/classes.rb', line 106

def net_bios_prefix
  @net_bios_prefix
end

#nfs_users_with_ldapBoolean Also known as: nfs_users_with_ldap?

If enabled, will allow access to local users and LDAP users. If access is needed for only LDAP users, it has to be disabled. Corresponds to the JSON property nfsUsersWithLdap

Returns:

  • (Boolean)


112
113
114
# File 'lib/google/apis/netapp_v1/classes.rb', line 112

def nfs_users_with_ldap
  @nfs_users_with_ldap
end

#organizational_unitString

The Organizational Unit (OU) within the Windows Active Directory the user belongs to. Corresponds to the JSON property organizationalUnit

Returns:

  • (String)


119
120
121
# File 'lib/google/apis/netapp_v1/classes.rb', line 119

def organizational_unit
  @organizational_unit
end

#passwordString

Required. Password of the Active Directory domain administrator. Corresponds to the JSON property password

Returns:

  • (String)


124
125
126
# File 'lib/google/apis/netapp_v1/classes.rb', line 124

def password
  @password
end

#security_operatorsArray<String>

Optional. Domain users to be given the SeSecurityPrivilege. Corresponds to the JSON property securityOperators

Returns:

  • (Array<String>)


129
130
131
# File 'lib/google/apis/netapp_v1/classes.rb', line 129

def security_operators
  @security_operators
end

#siteString

The Active Directory site the service will limit Domain Controller discovery too. Corresponds to the JSON property site

Returns:

  • (String)


135
136
137
# File 'lib/google/apis/netapp_v1/classes.rb', line 135

def site
  @site
end

#stateString

Output only. The state of the AD. Corresponds to the JSON property state

Returns:

  • (String)


140
141
142
# File 'lib/google/apis/netapp_v1/classes.rb', line 140

def state
  @state
end

#state_detailsString

Output only. The state details of the Active Directory. Corresponds to the JSON property stateDetails

Returns:

  • (String)


145
146
147
# File 'lib/google/apis/netapp_v1/classes.rb', line 145

def state_details
  @state_details
end

#usernameString

Required. Username of the Active Directory domain administrator. Corresponds to the JSON property username

Returns:

  • (String)


150
151
152
# File 'lib/google/apis/netapp_v1/classes.rb', line 150

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# File 'lib/google/apis/netapp_v1/classes.rb', line 157

def update!(**args)
  @administrators = args[:administrators] if args.key?(:administrators)
  @aes_encryption = args[:aes_encryption] if args.key?(:aes_encryption)
  @backup_operators = args[:backup_operators] if args.key?(:backup_operators)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @dns = args[:dns] if args.key?(:dns)
  @domain = args[:domain] if args.key?(:domain)
  @encrypt_dc_connections = args[:encrypt_dc_connections] if args.key?(:encrypt_dc_connections)
  @kdc_hostname = args[:kdc_hostname] if args.key?(:kdc_hostname)
  @kdc_ip = args[:kdc_ip] if args.key?(:kdc_ip)
  @labels = args[:labels] if args.key?(:labels)
  @ldap_signing = args[:ldap_signing] if args.key?(:ldap_signing)
  @name = args[:name] if args.key?(:name)
  @net_bios_prefix = args[:net_bios_prefix] if args.key?(:net_bios_prefix)
  @nfs_users_with_ldap = args[:nfs_users_with_ldap] if args.key?(:nfs_users_with_ldap)
  @organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit)
  @password = args[:password] if args.key?(:password)
  @security_operators = args[:security_operators] if args.key?(:security_operators)
  @site = args[:site] if args.key?(:site)
  @state = args[:state] if args.key?(:state)
  @state_details = args[:state_details] if args.key?(:state_details)
  @username = args[:username] if args.key?(:username)
end