CreateIotDomainGroupDetails¶
-
class
oci.iot.models.CreateIotDomainGroupDetails(**kwargs)¶ Bases:
objectThe information about new IoT domain group to be created.
Attributes
TYPE_LIGHTWEIGHTA constant which can be used with the type property of a CreateIotDomainGroupDetails. TYPE_STANDARDA constant which can be used with the type property of a CreateIotDomainGroupDetails. compartment_id[Required] Gets the compartment_id of this CreateIotDomainGroupDetails. defined_tagsGets the defined_tags of this CreateIotDomainGroupDetails. descriptionGets the description of this CreateIotDomainGroupDetails. display_nameGets the display_name of this CreateIotDomainGroupDetails. freeform_tagsGets the freeform_tags of this CreateIotDomainGroupDetails. typeGets the type of this CreateIotDomainGroupDetails. Methods
__init__(**kwargs)Initializes a new CreateIotDomainGroupDetails object with values from keyword arguments. -
TYPE_LIGHTWEIGHT= 'LIGHTWEIGHT'¶ A constant which can be used with the type property of a CreateIotDomainGroupDetails. This constant has a value of “LIGHTWEIGHT”
-
TYPE_STANDARD= 'STANDARD'¶ A constant which can be used with the type property of a CreateIotDomainGroupDetails. This constant has a value of “STANDARD”
-
__init__(**kwargs)¶ Initializes a new CreateIotDomainGroupDetails 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 CreateIotDomainGroupDetails.
- type (str) – The value to assign to the type property of this CreateIotDomainGroupDetails. Allowed values for this property are: “STANDARD”, “LIGHTWEIGHT”
- display_name (str) – The value to assign to the display_name property of this CreateIotDomainGroupDetails.
- description (str) – The value to assign to the description property of this CreateIotDomainGroupDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateIotDomainGroupDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateIotDomainGroupDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateIotDomainGroupDetails. The OCID of the compartment corresponding to the resource.
Returns: The compartment_id of this CreateIotDomainGroupDetails. Return type: str
Gets the defined_tags of this CreateIotDomainGroupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateIotDomainGroupDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateIotDomainGroupDetails. A short description of the resource.
Returns: The description of this CreateIotDomainGroupDetails. Return type: str
-
display_name¶ Gets the display_name of this CreateIotDomainGroupDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateIotDomainGroupDetails. Return type: str
Gets the freeform_tags of this CreateIotDomainGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateIotDomainGroupDetails. Return type: dict(str, str)
-
type¶ Gets the type of this CreateIotDomainGroupDetails. Type of the domain group. LIGHTWEIGHT uses fewer resources and has a higher Recovery Time Objective (RTO), making it suitable for development and testing. STANDARD is recommended for production.
Allowed values for this property are: “STANDARD”, “LIGHTWEIGHT”
Returns: The type of this CreateIotDomainGroupDetails. Return type: str
-