Class: Google::Apis::NetappV1::ActiveDirectory
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::ActiveDirectory
- 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
-
#administrators ⇒ Array<String>
Optional.
-
#aes_encryption ⇒ Boolean
(also: #aes_encryption?)
If enabled, AES encryption will be enabled for SMB communication.
-
#backup_operators ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Description of the active directory.
-
#dns ⇒ String
Required.
-
#domain ⇒ String
Required.
-
#encrypt_dc_connections ⇒ Boolean
(also: #encrypt_dc_connections?)
If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.
-
#kdc_hostname ⇒ String
Name of the active directory machine.
-
#kdc_ip ⇒ String
KDC server IP address for the active directory machine.
-
#labels ⇒ Hash<String,String>
Labels for the active directory.
-
#ldap_signing ⇒ Boolean
(also: #ldap_signing?)
Specifies whether or not the LDAP traffic needs to be signed.
-
#name ⇒ String
Identifier.
-
#net_bios_prefix ⇒ String
Required.
-
#nfs_users_with_ldap ⇒ Boolean
(also: #nfs_users_with_ldap?)
If enabled, will allow access to local users and LDAP users.
-
#organizational_unit ⇒ String
The Organizational Unit (OU) within the Windows Active Directory the user belongs to.
-
#password ⇒ String
Required.
-
#security_operators ⇒ Array<String>
Optional.
-
#site ⇒ String
The Active Directory site the service will limit Domain Controller discovery too.
-
#state ⇒ String
Output only.
-
#state_details ⇒ String
Output only.
-
#username ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActiveDirectory
constructor
A new instance of ActiveDirectory.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#administrators ⇒ Array<String>
Optional. Users to be added to the Built-in Admininstrators group.
Corresponds to the JSON property administrators
32 33 34 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 32 def administrators @administrators end |
#aes_encryption ⇒ Boolean Also known as: aes_encryption?
If enabled, AES encryption will be enabled for SMB communication.
Corresponds to the JSON property aesEncryption
37 38 39 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 37 def aes_encryption @aes_encryption end |
#backup_operators ⇒ Array<String>
Optional. Users to be added to the Built-in Backup Operator active directory
group.
Corresponds to the JSON property backupOperators
44 45 46 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 44 def backup_operators @backup_operators end |
#create_time ⇒ String
Output only. Create time of the active directory.
Corresponds to the JSON property createTime
49 50 51 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 49 def create_time @create_time end |
#description ⇒ String
Description of the active directory.
Corresponds to the JSON property description
54 55 56 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 54 def description @description end |
#dns ⇒ String
Required. Comma separated list of DNS server IP addresses for the Active
Directory domain.
Corresponds to the JSON property dns
60 61 62 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 60 def dns @dns end |
#domain ⇒ String
Required. Name of the Active Directory domain
Corresponds to the JSON property domain
65 66 67 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 65 def domain @domain end |
#encrypt_dc_connections ⇒ Boolean 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
71 72 73 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 71 def encrypt_dc_connections @encrypt_dc_connections end |
#kdc_hostname ⇒ String
Name of the active directory machine. This optional parameter is used only
while creating kerberos volume
Corresponds to the JSON property kdcHostname
78 79 80 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 78 def kdc_hostname @kdc_hostname end |
#kdc_ip ⇒ String
KDC server IP address for the active directory machine.
Corresponds to the JSON property kdcIp
83 84 85 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 83 def kdc_ip @kdc_ip end |
#labels ⇒ Hash<String,String>
Labels for the active directory.
Corresponds to the JSON property labels
88 89 90 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 88 def labels @labels end |
#ldap_signing ⇒ Boolean Also known as: ldap_signing?
Specifies whether or not the LDAP traffic needs to be signed.
Corresponds to the JSON property ldapSigning
93 94 95 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 93 def ldap_signing @ldap_signing end |
#name ⇒ String
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
101 102 103 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 101 def name @name end |
#net_bios_prefix ⇒ String
Required. NetBIOSPrefix is used as a prefix for SMB server name.
Corresponds to the JSON property netBiosPrefix
106 107 108 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 106 def net_bios_prefix @net_bios_prefix end |
#nfs_users_with_ldap ⇒ Boolean 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
112 113 114 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 112 def nfs_users_with_ldap @nfs_users_with_ldap end |
#organizational_unit ⇒ String
The Organizational Unit (OU) within the Windows Active Directory the user
belongs to.
Corresponds to the JSON property organizationalUnit
119 120 121 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 119 def organizational_unit @organizational_unit end |
#password ⇒ String
Required. Password of the Active Directory domain administrator.
Corresponds to the JSON property password
124 125 126 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 124 def password @password end |
#security_operators ⇒ Array<String>
Optional. Domain users to be given the SeSecurityPrivilege.
Corresponds to the JSON property securityOperators
129 130 131 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 129 def security_operators @security_operators end |
#site ⇒ String
The Active Directory site the service will limit Domain Controller discovery
too.
Corresponds to the JSON property site
135 136 137 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 135 def site @site end |
#state ⇒ String
Output only. The state of the AD.
Corresponds to the JSON property state
140 141 142 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 140 def state @state end |
#state_details ⇒ String
Output only. The state details of the Active Directory.
Corresponds to the JSON property stateDetails
145 146 147 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 145 def state_details @state_details end |
#username ⇒ String
Required. Username of the Active Directory domain administrator.
Corresponds to the JSON property username
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 |