CreateServiceCatalogDetails¶
- class oci.service_catalog.models.CreateServiceCatalogDetails(**kwargs)¶
Bases:
objectThe model for parameter needed to create service catalog.
Attributes:
A constant which can be used with the status property of a CreateServiceCatalogDetails.
A constant which can be used with the status property of a CreateServiceCatalogDetails.
[Required] Gets the compartment_id of this CreateServiceCatalogDetails.
Gets the defined_tags of this CreateServiceCatalogDetails.
[Required] Gets the display_name of this CreateServiceCatalogDetails.
Gets the freeform_tags of this CreateServiceCatalogDetails.
Gets the status of this CreateServiceCatalogDetails.
Methods:
__init__(**kwargs)Initializes a new CreateServiceCatalogDetails object with values from keyword arguments.
- STATUS_ACTIVE = 'ACTIVE'¶
A constant which can be used with the status property of a CreateServiceCatalogDetails. This constant has a value of “ACTIVE”
- STATUS_INACTIVE = 'INACTIVE'¶
A constant which can be used with the status property of a CreateServiceCatalogDetails. This constant has a value of “INACTIVE”
- __init__(**kwargs)¶
Initializes a new CreateServiceCatalogDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateServiceCatalogDetails.
display_name (str) – The value to assign to the display_name property of this CreateServiceCatalogDetails.
status (str) – The value to assign to the status property of this CreateServiceCatalogDetails. Allowed values for this property are: “ACTIVE”, “INACTIVE”
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateServiceCatalogDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateServiceCatalogDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateServiceCatalogDetails. The unique identifier for the compartment where the service catalog will be created.
- Returns
The compartment_id of this CreateServiceCatalogDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateServiceCatalogDetails. 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 CreateServiceCatalogDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateServiceCatalogDetails. The display name of the service catalog.
- Returns
The display_name of this CreateServiceCatalogDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateServiceCatalogDetails. 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 CreateServiceCatalogDetails.
- Return type
dict(str, str)
- property status¶
Gets the status of this CreateServiceCatalogDetails. The status of a service catalog.
Allowed values for this property are: “ACTIVE”, “INACTIVE”
- Returns
The status of this CreateServiceCatalogDetails.
- Return type
str