OccmDemandSignalCatalogResource

class oci.capacity_management.models.OccmDemandSignalCatalogResource(**kwargs)

Bases: object

A model containing information about the details of a demand signal catalog resource.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource.

NAMESPACE_COMPUTE

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource.

NAMESPACE_GPU

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource.

NAMESPACE_NETWORK

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource.

NAMESPACE_STORAGE

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource.

availability_domain

Gets the availability_domain of this OccmDemandSignalCatalogResource.

compartment_id

[Required] Gets the compartment_id of this OccmDemandSignalCatalogResource.

defined_tags

Gets the defined_tags of this OccmDemandSignalCatalogResource.

freeform_tags

Gets the freeform_tags of this OccmDemandSignalCatalogResource.

id

[Required] Gets the id of this OccmDemandSignalCatalogResource.

lifecycle_state

[Required] Gets the lifecycle_state of this OccmDemandSignalCatalogResource.

name

[Required] Gets the name of this OccmDemandSignalCatalogResource.

namespace

[Required] Gets the namespace of this OccmDemandSignalCatalogResource.

region

Gets the region of this OccmDemandSignalCatalogResource.

resource_properties

Gets the resource_properties of this OccmDemandSignalCatalogResource.

resource_property_constraints

Gets the resource_property_constraints of this OccmDemandSignalCatalogResource.

system_tags

Gets the system_tags of this OccmDemandSignalCatalogResource.

target_compartment_id

Gets the target_compartment_id of this OccmDemandSignalCatalogResource.

time_created

[Required] Gets the time_created of this OccmDemandSignalCatalogResource.

time_updated

[Required] Gets the time_updated of this OccmDemandSignalCatalogResource.

Methods:

__init__(**kwargs)

Initializes a new OccmDemandSignalCatalogResource object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a OccmDemandSignalCatalogResource. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

NAMESPACE_COMPUTE = 'COMPUTE'

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource. This constant has a value of “COMPUTE”

NAMESPACE_GPU = 'GPU'

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource. This constant has a value of “GPU”

NAMESPACE_NETWORK = 'NETWORK'

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource. This constant has a value of “NETWORK”

NAMESPACE_STORAGE = 'STORAGE'

A constant which can be used with the namespace property of a OccmDemandSignalCatalogResource. This constant has a value of “STORAGE”

__init__(**kwargs)

Initializes a new OccmDemandSignalCatalogResource 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 OccmDemandSignalCatalogResource.

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

  • namespace (str) – The value to assign to the namespace property of this OccmDemandSignalCatalogResource. Allowed values for this property are: “COMPUTE”, “NETWORK”, “GPU”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • name (str) – The value to assign to the name property of this OccmDemandSignalCatalogResource.

  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this OccmDemandSignalCatalogResource.

  • region (str) – The value to assign to the region property of this OccmDemandSignalCatalogResource.

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

  • resource_properties (oci.capacity_management.models.OccmDemandSignalResourcePropertiesCollection) – The value to assign to the resource_properties property of this OccmDemandSignalCatalogResource.

  • resource_property_constraints (oci.capacity_management.models.OccmDemandSignalResourcePropertyConstraintsCollection) – The value to assign to the resource_property_constraints property of this OccmDemandSignalCatalogResource.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OccmDemandSignalCatalogResource. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETED”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

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

  • time_created (datetime) – The value to assign to the time_created property of this OccmDemandSignalCatalogResource.

  • time_updated (datetime) – The value to assign to the time_updated property of this OccmDemandSignalCatalogResource.

property availability_domain

Gets the availability_domain of this OccmDemandSignalCatalogResource. The name of the availability domain for which you want to request the OCI resource. This is an optional parameter.

Returns

The availability_domain of this OccmDemandSignalCatalogResource.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this OccmDemandSignalCatalogResource. The OCID of the tenancy from which the demand signal catalog was created.

Returns

The compartment_id of this OccmDemandSignalCatalogResource.

Return type

str

property defined_tags

Gets the defined_tags of this OccmDemandSignalCatalogResource. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this OccmDemandSignalCatalogResource.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this OccmDemandSignalCatalogResource. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this OccmDemandSignalCatalogResource.

Return type

dict(str, str)

property id

[Required] Gets the id of this OccmDemandSignalCatalogResource. The OCID of the demand signal catalog resource.

Returns

The id of this OccmDemandSignalCatalogResource.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this OccmDemandSignalCatalogResource. The current lifecycle state of the resource.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETED”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this OccmDemandSignalCatalogResource.

Return type

str

property name

[Required] Gets the name of this OccmDemandSignalCatalogResource. The name of the OCI resource that you want to request.

Returns

The name of this OccmDemandSignalCatalogResource.

Return type

str

property namespace

[Required] Gets the namespace of this OccmDemandSignalCatalogResource. The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.

Allowed values for this property are: “COMPUTE”, “NETWORK”, “GPU”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The namespace of this OccmDemandSignalCatalogResource.

Return type

str

property region

Gets the region of this OccmDemandSignalCatalogResource. The name of region for which you want to request the OCI resource. This is an optional parameter.

Returns

The region of this OccmDemandSignalCatalogResource.

Return type

str

property resource_properties

Gets the resource_properties of this OccmDemandSignalCatalogResource.

Returns

The resource_properties of this OccmDemandSignalCatalogResource.

Return type

oci.capacity_management.models.OccmDemandSignalResourcePropertiesCollection

property resource_property_constraints

Gets the resource_property_constraints of this OccmDemandSignalCatalogResource.

Returns

The resource_property_constraints of this OccmDemandSignalCatalogResource.

Return type

oci.capacity_management.models.OccmDemandSignalResourcePropertyConstraintsCollection

property system_tags

Gets the system_tags of this OccmDemandSignalCatalogResource. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this OccmDemandSignalCatalogResource.

Return type

dict(str, dict(str, object))

property target_compartment_id

Gets the target_compartment_id of this OccmDemandSignalCatalogResource. The OCID of the customer tenancy for which this resource will be available for the customer to order against.

Returns

The target_compartment_id of this OccmDemandSignalCatalogResource.

Return type

str

property time_created

[Required] Gets the time_created of this OccmDemandSignalCatalogResource. The time when the demand signal catalog resource was created.

Returns

The time_created of this OccmDemandSignalCatalogResource.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this OccmDemandSignalCatalogResource. The time when the demand signal catalog resource was last updated.

Returns

The time_updated of this OccmDemandSignalCatalogResource.

Return type

datetime