DelegationControlResourceSummary

class oci.delegate_access_control.models.DelegationControlResourceSummary(**kwargs)

Bases: object

Details of the resources that this Delegation Control is applicable to.

Attributes

RESOURCE_STATUS_APPLIED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_APPLYING A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_APPLY_FAILED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_CREATED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_DELETED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_DELETING A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_DELETION_FAILED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_UPDATE_FAILED A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
RESOURCE_STATUS_UPDATING A constant which can be used with the resource_status property of a DelegationControlResourceSummary.
id Gets the id of this DelegationControlResourceSummary.
resource_status Gets the resource_status of this DelegationControlResourceSummary.

Methods

__init__(**kwargs) Initializes a new DelegationControlResourceSummary object with values from keyword arguments.
RESOURCE_STATUS_APPLIED = 'APPLIED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “APPLIED”

RESOURCE_STATUS_APPLYING = 'APPLYING'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “APPLYING”

RESOURCE_STATUS_APPLY_FAILED = 'APPLY_FAILED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “APPLY_FAILED”

RESOURCE_STATUS_CREATED = 'CREATED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “CREATED”

RESOURCE_STATUS_DELETED = 'DELETED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “DELETED”

RESOURCE_STATUS_DELETING = 'DELETING'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “DELETING”

RESOURCE_STATUS_DELETION_FAILED = 'DELETION_FAILED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “DELETION_FAILED”

RESOURCE_STATUS_UPDATE_FAILED = 'UPDATE_FAILED'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “UPDATE_FAILED”

RESOURCE_STATUS_UPDATING = 'UPDATING'

A constant which can be used with the resource_status property of a DelegationControlResourceSummary. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new DelegationControlResourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this DelegationControlResourceSummary.
  • resource_status (str) – The value to assign to the resource_status property of this DelegationControlResourceSummary. Allowed values for this property are: “CREATED”, “APPLYING”, “APPLIED”, “APPLY_FAILED”, “UPDATING”, “UPDATE_FAILED”, “DELETING”, “DELETED”, “DELETION_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
id

Gets the id of this DelegationControlResourceSummary. OCID of the resource.

Returns:The id of this DelegationControlResourceSummary.
Return type:str
resource_status

Gets the resource_status of this DelegationControlResourceSummary. The current status of the resource in Delegation Control.

Allowed values for this property are: “CREATED”, “APPLYING”, “APPLIED”, “APPLY_FAILED”, “UPDATING”, “UPDATE_FAILED”, “DELETING”, “DELETED”, “DELETION_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The resource_status of this DelegationControlResourceSummary.
Return type:str