ServiceRoleDetails¶
-
class
oci.dbmulticloud.models.ServiceRoleDetails(**kwargs)¶ Bases:
objectService Role details object.
Attributes
ASSUME_ROLE_STATUS_CONNECTEDA constant which can be used with the assume_role_status property of a ServiceRoleDetails. ASSUME_ROLE_STATUS_DISCONNECTEDA constant which can be used with the assume_role_status property of a ServiceRoleDetails. ASSUME_ROLE_STATUS_PARTIALLY_CONNECTEDA constant which can be used with the assume_role_status property of a ServiceRoleDetails. ASSUME_ROLE_STATUS_UNKNOWNA constant which can be used with the assume_role_status property of a ServiceRoleDetails. SERVICE_TYPE_KMSA constant which can be used with the service_type property of a ServiceRoleDetails. assume_role_statusGets the assume_role_status of this ServiceRoleDetails. aws_nodesGets the aws_nodes of this ServiceRoleDetails. role_arn[Required] Gets the role_arn of this ServiceRoleDetails. service_private_endpoint[Required] Gets the service_private_endpoint of this ServiceRoleDetails. service_type[Required] Gets the service_type of this ServiceRoleDetails. Methods
__init__(**kwargs)Initializes a new ServiceRoleDetails object with values from keyword arguments. -
ASSUME_ROLE_STATUS_CONNECTED= 'CONNECTED'¶ A constant which can be used with the assume_role_status property of a ServiceRoleDetails. This constant has a value of “CONNECTED”
-
ASSUME_ROLE_STATUS_DISCONNECTED= 'DISCONNECTED'¶ A constant which can be used with the assume_role_status property of a ServiceRoleDetails. This constant has a value of “DISCONNECTED”
-
ASSUME_ROLE_STATUS_PARTIALLY_CONNECTED= 'PARTIALLY_CONNECTED'¶ A constant which can be used with the assume_role_status property of a ServiceRoleDetails. This constant has a value of “PARTIALLY_CONNECTED”
-
ASSUME_ROLE_STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the assume_role_status property of a ServiceRoleDetails. This constant has a value of “UNKNOWN”
-
SERVICE_TYPE_KMS= 'KMS'¶ A constant which can be used with the service_type property of a ServiceRoleDetails. This constant has a value of “KMS”
-
__init__(**kwargs)¶ Initializes a new ServiceRoleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - role_arn (str) – The value to assign to the role_arn property of this ServiceRoleDetails.
- service_private_endpoint (str) – The value to assign to the service_private_endpoint property of this ServiceRoleDetails.
- service_type (str) – The value to assign to the service_type property of this ServiceRoleDetails. Allowed values for this property are: “KMS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- assume_role_status (str) – The value to assign to the assume_role_status property of this ServiceRoleDetails. Allowed values for this property are: “CONNECTED”, “DISCONNECTED”, “PARTIALLY_CONNECTED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- aws_nodes (list[oci.dbmulticloud.models.AwsNodes]) – The value to assign to the aws_nodes property of this ServiceRoleDetails.
-
assume_role_status¶ Gets the assume_role_status of this ServiceRoleDetails. Assume role status.
Allowed values for this property are: “CONNECTED”, “DISCONNECTED”, “PARTIALLY_CONNECTED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The assume_role_status of this ServiceRoleDetails. Return type: str
-
aws_nodes¶ Gets the aws_nodes of this ServiceRoleDetails. List of all VMs where AWS Identity Connector is configured for Oracle DB Cloud VM Cluster.
Returns: The aws_nodes of this ServiceRoleDetails. Return type: list[oci.dbmulticloud.models.AwsNodes]
-
role_arn¶ [Required] Gets the role_arn of this ServiceRoleDetails. Amazon resource name AWSof the IAM role.
Returns: The role_arn of this ServiceRoleDetails. Return type: str
-
service_private_endpoint¶ [Required] Gets the service_private_endpoint of this ServiceRoleDetails. Private endpoint of the AWS service.
Returns: The service_private_endpoint of this ServiceRoleDetails. Return type: str
-
service_type¶ [Required] Gets the service_type of this ServiceRoleDetails. Type of service.
Allowed values for this property are: “KMS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The service_type of this ServiceRoleDetails. Return type: str
-