CreateLdapBindAccountDetails

class oci.file_storage.models.CreateLdapBindAccountDetails(**kwargs)

Bases: CreateOutboundConnectorDetails

Account details for the LDAP bind account to be used by mount targets that use this outbound connector.

Methods:

__init__(**kwargs)

Initializes a new CreateLdapBindAccountDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

availability_domain

[Required] Gets the availability_domain of this CreateOutboundConnectorDetails.

bind_distinguished_name

[Required] Gets the bind_distinguished_name of this CreateLdapBindAccountDetails.

compartment_id

[Required] Gets the compartment_id of this CreateOutboundConnectorDetails.

connector_type

[Required] Gets the connector_type of this CreateOutboundConnectorDetails.

defined_tags

Gets the defined_tags of this CreateOutboundConnectorDetails.

display_name

Gets the display_name of this CreateOutboundConnectorDetails.

endpoints

[Required] Gets the endpoints of this CreateLdapBindAccountDetails.

freeform_tags

Gets the freeform_tags of this CreateOutboundConnectorDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: {"Department": "Finance"}.

locks

Gets the locks of this CreateOutboundConnectorDetails.

password_secret_id

Gets the password_secret_id of this CreateLdapBindAccountDetails.

password_secret_version

Gets the password_secret_version of this CreateLdapBindAccountDetails.

trusted_certificate_secret_id

Gets the trusted_certificate_secret_id of this CreateLdapBindAccountDetails.

trusted_certificate_secret_version

Gets the trusted_certificate_secret_version of this CreateLdapBindAccountDetails.

__init__(**kwargs)

Initializes a new CreateLdapBindAccountDetails object with values from keyword arguments. The default value of the connector_type attribute of this class is LDAPBIND and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateLdapBindAccountDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateLdapBindAccountDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateLdapBindAccountDetails.

  • connector_type (str) – The value to assign to the connector_type property of this CreateLdapBindAccountDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLdapBindAccountDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLdapBindAccountDetails.

  • locks (list[oci.file_storage.models.ResourceLock]) – The value to assign to the locks property of this CreateLdapBindAccountDetails.

  • endpoints (list[oci.file_storage.models.Endpoint]) – The value to assign to the endpoints property of this CreateLdapBindAccountDetails.

  • bind_distinguished_name (str) – The value to assign to the bind_distinguished_name property of this CreateLdapBindAccountDetails.

  • password_secret_id (str) – The value to assign to the password_secret_id property of this CreateLdapBindAccountDetails.

  • password_secret_version (int) – The value to assign to the password_secret_version property of this CreateLdapBindAccountDetails.

  • trusted_certificate_secret_id (str) – The value to assign to the trusted_certificate_secret_id property of this CreateLdapBindAccountDetails.

  • trusted_certificate_secret_version (int) – The value to assign to the trusted_certificate_secret_version property of this CreateLdapBindAccountDetails.

property availability_domain

[Required] Gets the availability_domain of this CreateOutboundConnectorDetails. The availability domain the outbound connector is in. May be unset as a blank or NULL value.

Example: Uocm:PHX-AD-1

Returns

The availability_domain of this CreateOutboundConnectorDetails.

Return type

str

property bind_distinguished_name

[Required] Gets the bind_distinguished_name of this CreateLdapBindAccountDetails. The LDAP Distinguished Name of the bind account.

Returns

The bind_distinguished_name of this CreateLdapBindAccountDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateOutboundConnectorDetails. The `OCID`__ of the compartment that contains the outbound connector.

Returns

The compartment_id of this CreateOutboundConnectorDetails.

Return type

str

property connector_type

[Required] Gets the connector_type of this CreateOutboundConnectorDetails. The account type of this outbound connector.

Returns

The connector_type of this CreateOutboundConnectorDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateOutboundConnectorDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this CreateOutboundConnectorDetails.

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this CreateOutboundConnectorDetails. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

Example: My outbound connector

Returns

The display_name of this CreateOutboundConnectorDetails.

Return type

str

property endpoints

[Required] Gets the endpoints of this CreateLdapBindAccountDetails. Array of server endpoints to use when connecting with the LDAP bind account.

Returns

The endpoints of this CreateLdapBindAccountDetails.

Return type

list[oci.file_storage.models.Endpoint]

property freeform_tags

Gets the freeform_tags of this CreateOutboundConnectorDetails. Free-form tags for this resource. Each tag is a simple key-value pair

with no predefined name, type, or namespace.

For more information, see `Resource Tags`__. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this CreateOutboundConnectorDetails.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property locks

Gets the locks of this CreateOutboundConnectorDetails. Locks associated with this resource.

Returns

The locks of this CreateOutboundConnectorDetails.

Return type

list[oci.file_storage.models.ResourceLock]

property password_secret_id

Gets the password_secret_id of this CreateLdapBindAccountDetails. The `OCID`__ of the password for the LDAP bind account in the Vault.

Returns

The password_secret_id of this CreateLdapBindAccountDetails.

Return type

str

property password_secret_version

Gets the password_secret_version of this CreateLdapBindAccountDetails. Version of the password secret in the Vault to use.

Returns

The password_secret_version of this CreateLdapBindAccountDetails.

Return type

int

property trusted_certificate_secret_id

Gets the trusted_certificate_secret_id of this CreateLdapBindAccountDetails. The `OCID`__ of the trusted certificate for the LDAP server in the Vault.

Returns

The trusted_certificate_secret_id of this CreateLdapBindAccountDetails.

Return type

str

property trusted_certificate_secret_version

Gets the trusted_certificate_secret_version of this CreateLdapBindAccountDetails. Version of the trusted certificate secret in the Vault to use.

Returns

The trusted_certificate_secret_version of this CreateLdapBindAccountDetails.

Return type

int