CreateInventoryDetails¶
- class oci.cloud_bridge.models.CreateInventoryDetails(**kwargs)¶
Bases:
objectDescription for creating inventory details.
Methods:
__init__(**kwargs)Initializes a new CreateInventoryDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateInventoryDetails.
Gets the defined_tags of this CreateInventoryDetails.
[Required] Gets the display_name of this CreateInventoryDetails.
Gets the freeform_tags of this CreateInventoryDetails.
- __init__(**kwargs)¶
Initializes a new CreateInventoryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateInventoryDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateInventoryDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateInventoryDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateInventoryDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateInventoryDetails. The OCID of the tenantId.
- Returns
The compartment_id of this CreateInventoryDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateInventoryDetails. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateInventoryDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateInventoryDetails. Inventory displayName.
- Returns
The display_name of this CreateInventoryDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateInventoryDetails. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateInventoryDetails.
- Return type
dict(str, str)