OutboundConnector¶
- class oci.file_storage.models.OutboundConnector(**kwargs)¶
Bases:
objectOutbound connectors are used to help File Storage communicate with an external server, such as an LDAP server. An outbound connector contains all the information needed to connect, authenticate, and gain authorization to perform the account’s required functions.
Attributes:
A constant which can be used with the connector_type property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
Gets the availability_domain of this OutboundConnector.
[Required] Gets the compartment_id of this OutboundConnector.
[Required] Gets the connector_type of this OutboundConnector.
Gets the defined_tags of this OutboundConnector.
[Required] Gets the display_name of this OutboundConnector.
Gets the freeform_tags of this OutboundConnector. 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"}.
[Required] Gets the id of this OutboundConnector.
[Required] Gets the lifecycle_state of this OutboundConnector.
Gets the locks of this OutboundConnector.
Gets the system_tags of this OutboundConnector.
[Required] Gets the time_created of this OutboundConnector.
Methods:
__init__(**kwargs)Initializes a new OutboundConnector 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.
- CONNECTOR_TYPE_LDAPBIND = 'LDAPBIND'¶
A constant which can be used with the connector_type property of a OutboundConnector. This constant has a value of “LDAPBIND”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “DELETING”
- __init__(**kwargs)¶
Initializes a new OutboundConnector object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 OutboundConnector.
compartment_id (str) – The value to assign to the compartment_id property of this OutboundConnector.
id (str) – The value to assign to the id property of this OutboundConnector.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this OutboundConnector. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
display_name (str) – The value to assign to the display_name property of this OutboundConnector.
time_created (datetime) – The value to assign to the time_created property of this OutboundConnector.
connector_type (str) – The value to assign to the connector_type property of this OutboundConnector. Allowed values for this property are: “LDAPBIND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
locks (list[oci.file_storage.models.ResourceLock]) – The value to assign to the locks property of this OutboundConnector.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OutboundConnector.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OutboundConnector.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OutboundConnector.
- property availability_domain¶
Gets the availability_domain of this OutboundConnector. 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 OutboundConnector.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this OutboundConnector. The `OCID`__ of the compartment that contains the outbound connector.
- Returns
The compartment_id of this OutboundConnector.
- Return type
str
- property connector_type¶
[Required] Gets the connector_type of this OutboundConnector. The account type of this outbound connector.
Allowed values for this property are: “LDAPBIND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The connector_type of this OutboundConnector.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this OutboundConnector. 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 OutboundConnector.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this OutboundConnector. 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 OutboundConnector.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this OutboundConnector. 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 OutboundConnector.
- 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 id¶
[Required] Gets the id of this OutboundConnector. The `OCID`__ of the outbound connector.
- Returns
The id of this OutboundConnector.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this OutboundConnector. The current state of this outbound connector.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this OutboundConnector.
- Return type
str
- property locks¶
Gets the locks of this OutboundConnector. Locks associated with this resource.
- Returns
The locks of this OutboundConnector.
- Return type
- property system_tags¶
Gets the system_tags of this OutboundConnector. System tags for this resource. System tags are applied to resources by internal OCI services.
- Returns
The system_tags of this OutboundConnector.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this OutboundConnector. The date and time the outbound connector was created in `RFC 3339`__ timestamp format.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this OutboundConnector.
- Return type
datetime