Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlActiveDirectoryConfig.
Active Directory configuration, relevant only for Cloud SQL for SQL Server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#admin_credential_secret_name
def admin_credential_secret_name() -> ::String
Returns
- (::String) — Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}).
#admin_credential_secret_name=
def admin_credential_secret_name=(value) -> ::String
Parameter
- value (::String) — Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}).
Returns
- (::String) — Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}).
#dns_servers
def dns_servers() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.
#dns_servers=
def dns_servers=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.
Returns
- (::Array<::String>) — Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.
#domain
def domain() -> ::String
Returns
- (::String) — The name of the domain (e.g., mydomain.com).
#domain=
def domain=(value) -> ::String
Parameter
- value (::String) — The name of the domain (e.g., mydomain.com).
Returns
- (::String) — The name of the domain (e.g., mydomain.com).
#kind
def kind() -> ::String
Returns
- (::String) — This is always sql#activeDirectoryConfig.
#kind=
def kind=(value) -> ::String
Parameter
- value (::String) — This is always sql#activeDirectoryConfig.
Returns
- (::String) — This is always sql#activeDirectoryConfig.
#mode
def mode() -> ::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig::ActiveDirectoryMode
Returns
- (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig::ActiveDirectoryMode) — Optional. The mode of the Active Directory configuration.
#mode=
def mode=(value) -> ::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig::ActiveDirectoryMode
Parameter
- value (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig::ActiveDirectoryMode) — Optional. The mode of the Active Directory configuration.
Returns
- (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig::ActiveDirectoryMode) — Optional. The mode of the Active Directory configuration.
#organizational_unit
def organizational_unit() -> ::String
Returns
- (::String) — Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit.
#organizational_unit=
def organizational_unit=(value) -> ::String
Parameter
- value (::String) — Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit.
Returns
- (::String) — Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit.