Condition

class oci.identity_domains.models.Condition(**kwargs)

Bases: object

Condition resource. A unit that captures a condition.

Attributes

IDCS_PREVENTED_OPERATIONS_DELETE A constant which can be used with the idcs_prevented_operations property of a Condition.
IDCS_PREVENTED_OPERATIONS_REPLACE A constant which can be used with the idcs_prevented_operations property of a Condition.
IDCS_PREVENTED_OPERATIONS_UPDATE A constant which can be used with the idcs_prevented_operations property of a Condition.
OPERATOR_CO A constant which can be used with the operator property of a Condition.
OPERATOR_COANY A constant which can be used with the operator property of a Condition.
OPERATOR_EQ A constant which can be used with the operator property of a Condition.
OPERATOR_EW A constant which can be used with the operator property of a Condition.
OPERATOR_GE A constant which can be used with the operator property of a Condition.
OPERATOR_GT A constant which can be used with the operator property of a Condition.
OPERATOR_IN A constant which can be used with the operator property of a Condition.
OPERATOR_LE A constant which can be used with the operator property of a Condition.
OPERATOR_LT A constant which can be used with the operator property of a Condition.
OPERATOR_NE A constant which can be used with the operator property of a Condition.
OPERATOR_NIN A constant which can be used with the operator property of a Condition.
OPERATOR_SW A constant which can be used with the operator property of a Condition.
attribute_name [Required] Gets the attribute_name of this Condition.
attribute_value [Required] Gets the attribute_value of this Condition.
compartment_ocid Gets the compartment_ocid of this Condition.
delete_in_progress Gets the delete_in_progress of this Condition.
description Gets the description of this Condition.
domain_ocid Gets the domain_ocid of this Condition.
evaluate_condition_if Gets the evaluate_condition_if of this Condition.
external_id Gets the external_id of this Condition.
id Gets the id of this Condition.
idcs_created_by Gets the idcs_created_by of this Condition.
idcs_last_modified_by Gets the idcs_last_modified_by of this Condition.
idcs_last_upgraded_in_release Gets the idcs_last_upgraded_in_release of this Condition.
idcs_prevented_operations Gets the idcs_prevented_operations of this Condition.
meta Gets the meta of this Condition.
name [Required] Gets the name of this Condition.
ocid Gets the ocid of this Condition.
operator [Required] Gets the operator of this Condition.
schemas [Required] Gets the schemas of this Condition.
tags Gets the tags of this Condition.
tenancy_ocid Gets the tenancy_ocid of this Condition.

Methods

__init__(**kwargs) Initializes a new Condition object with values from keyword arguments.
IDCS_PREVENTED_OPERATIONS_DELETE = 'delete'

A constant which can be used with the idcs_prevented_operations property of a Condition. This constant has a value of “delete”

IDCS_PREVENTED_OPERATIONS_REPLACE = 'replace'

A constant which can be used with the idcs_prevented_operations property of a Condition. This constant has a value of “replace”

IDCS_PREVENTED_OPERATIONS_UPDATE = 'update'

A constant which can be used with the idcs_prevented_operations property of a Condition. This constant has a value of “update”

OPERATOR_CO = 'co'

A constant which can be used with the operator property of a Condition. This constant has a value of “co”

OPERATOR_COANY = 'coany'

A constant which can be used with the operator property of a Condition. This constant has a value of “coany”

OPERATOR_EQ = 'eq'

A constant which can be used with the operator property of a Condition. This constant has a value of “eq”

OPERATOR_EW = 'ew'

A constant which can be used with the operator property of a Condition. This constant has a value of “ew”

OPERATOR_GE = 'ge'

A constant which can be used with the operator property of a Condition. This constant has a value of “ge”

OPERATOR_GT = 'gt'

A constant which can be used with the operator property of a Condition. This constant has a value of “gt”

OPERATOR_IN = 'in'

A constant which can be used with the operator property of a Condition. This constant has a value of “in”

OPERATOR_LE = 'le'

A constant which can be used with the operator property of a Condition. This constant has a value of “le”

OPERATOR_LT = 'lt'

A constant which can be used with the operator property of a Condition. This constant has a value of “lt”

OPERATOR_NE = 'ne'

A constant which can be used with the operator property of a Condition. This constant has a value of “ne”

OPERATOR_NIN = 'nin'

A constant which can be used with the operator property of a Condition. This constant has a value of “nin”

OPERATOR_SW = 'sw'

A constant which can be used with the operator property of a Condition. This constant has a value of “sw”

__init__(**kwargs)

Initializes a new Condition 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 Condition.
  • ocid (str) – The value to assign to the ocid property of this Condition.
  • schemas (list[str]) – The value to assign to the schemas property of this Condition.
  • meta (oci.identity_domains.models.Meta) – The value to assign to the meta property of this Condition.
  • idcs_created_by (oci.identity_domains.models.IdcsCreatedBy) – The value to assign to the idcs_created_by property of this Condition.
  • idcs_last_modified_by (oci.identity_domains.models.IdcsLastModifiedBy) – The value to assign to the idcs_last_modified_by property of this Condition.
  • idcs_prevented_operations (list[str]) – The value to assign to the idcs_prevented_operations property of this Condition. Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • tags (list[oci.identity_domains.models.Tags]) – The value to assign to the tags property of this Condition.
  • delete_in_progress (bool) – The value to assign to the delete_in_progress property of this Condition.
  • idcs_last_upgraded_in_release (str) – The value to assign to the idcs_last_upgraded_in_release property of this Condition.
  • domain_ocid (str) – The value to assign to the domain_ocid property of this Condition.
  • compartment_ocid (str) – The value to assign to the compartment_ocid property of this Condition.
  • tenancy_ocid (str) – The value to assign to the tenancy_ocid property of this Condition.
  • external_id (str) – The value to assign to the external_id property of this Condition.
  • name (str) – The value to assign to the name property of this Condition.
  • description (str) – The value to assign to the description property of this Condition.
  • attribute_name (str) – The value to assign to the attribute_name property of this Condition.
  • operator (str) – The value to assign to the operator property of this Condition. Allowed values for this property are: “eq”, “ne”, “co”, “coany”, “sw”, “ew”, “gt”, “ge”, “lt”, “le”, “in”, “nin”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attribute_value (str) – The value to assign to the attribute_value property of this Condition.
  • evaluate_condition_if (str) – The value to assign to the evaluate_condition_if property of this Condition.
attribute_name

[Required] Gets the attribute_name of this Condition. AttributeName - RHS of condition

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: false
  • multiValued: false
  • mutability: readWrite
  • required: true
  • returned: default
  • type: string
  • uniqueness: none
Returns:The attribute_name of this Condition.
Return type:str
attribute_value

[Required] Gets the attribute_value of this Condition. attributeValue - RHS of condition

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: false
  • multiValued: false
  • mutability: readWrite
  • required: true
  • returned: default
  • type: string
  • uniqueness: none
Returns:The attribute_value of this Condition.
Return type:str
compartment_ocid

Gets the compartment_ocid of this Condition. OCI Compartment Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The compartment_ocid of this Condition.
Return type:str
delete_in_progress

Gets the delete_in_progress of this Condition. A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: boolean
  • uniqueness: none
Returns:The delete_in_progress of this Condition.
Return type:bool
description

Gets the description of this Condition. Condition Description

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readWrite
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The description of this Condition.
Return type:str
domain_ocid

Gets the domain_ocid of this Condition. OCI Domain Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The domain_ocid of this Condition.
Return type:str
evaluate_condition_if

Gets the evaluate_condition_if of this Condition. Evaluate the condition if this expression returns true, else skip condition evaluation

Added In: 18.1.6

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: false
  • multiValued: false
  • mutability: readWrite
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The evaluate_condition_if of this Condition.
Return type:str
external_id

Gets the external_id of this Condition. An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued be the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer’s tenant.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: true
  • multiValued: false
  • mutability: readWrite
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The external_id of this Condition.
Return type:str
id

Gets the id of this Condition. Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider’s entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: always
  • type: string
  • uniqueness: global
Returns:The id of this Condition.
Return type:str
idcs_created_by

Gets the idcs_created_by of this Condition.

Returns:The idcs_created_by of this Condition.
Return type:oci.identity_domains.models.IdcsCreatedBy
idcs_last_modified_by

Gets the idcs_last_modified_by of this Condition.

Returns:The idcs_last_modified_by of this Condition.
Return type:oci.identity_domains.models.IdcsLastModifiedBy
idcs_last_upgraded_in_release

Gets the idcs_last_upgraded_in_release of this Condition. The release number when the resource was upgraded.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: request
  • type: string
  • uniqueness: none
Returns:The idcs_last_upgraded_in_release of this Condition.
Return type:str
idcs_prevented_operations

Gets the idcs_prevented_operations of this Condition. Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: true
  • mutability: readOnly
  • required: false
  • returned: request
  • type: string
  • uniqueness: none

Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The idcs_prevented_operations of this Condition.
Return type:list[str]
meta

Gets the meta of this Condition.

Returns:The meta of this Condition.
Return type:oci.identity_domains.models.Meta
name

[Required] Gets the name of this Condition. Condition name

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: readWrite
  • required: true
  • returned: always
  • type: string
  • uniqueness: global
Returns:The name of this Condition.
Return type:str
ocid

Gets the ocid of this Condition. Unique OCI identifier for the SCIM Resource.

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: immutable
  • required: false
  • returned: default
  • type: string
  • uniqueness: global
Returns:The ocid of this Condition.
Return type:str
operator

[Required] Gets the operator of this Condition. SCIM++ Properties: - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none Operator in the condition. It support all SCIM operators like eq, gt, lt, le, sw etc

Allowed values for this property are: “eq”, “ne”, “co”, “coany”, “sw”, “ew”, “gt”, “ge”, “lt”, “le”, “in”, “nin”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operator of this Condition.
Return type:str
schemas

[Required] Gets the schemas of this Condition. REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard “enterprise” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: true
  • mutability: readWrite
  • required: true
  • returned: default
  • type: string
  • uniqueness: none
Returns:The schemas of this Condition.
Return type:list[str]
tags

Gets the tags of this Condition. A list of tags on this resource.

SCIM++ Properties:
  • idcsCompositeKey: [key, value]
  • idcsSearchable: true
  • multiValued: true
  • mutability: readWrite
  • required: false
  • returned: request
  • type: complex
  • uniqueness: none
Returns:The tags of this Condition.
Return type:list[oci.identity_domains.models.Tags]
tenancy_ocid

Gets the tenancy_ocid of this Condition. OCI Tenant Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The tenancy_ocid of this Condition.
Return type:str