CreateIotDomainGroupDetails

class oci.iot.models.CreateIotDomainGroupDetails(**kwargs)

Bases: object

The information about new IoT domain group to be created.

Attributes:

TYPE_DEVELOPMENT

A constant which can be used with the type property of a CreateIotDomainGroupDetails.

TYPE_LIGHTWEIGHT

A constant which can be used with the type property of a CreateIotDomainGroupDetails.

TYPE_PRODUCTION

A constant which can be used with the type property of a CreateIotDomainGroupDetails.

TYPE_STANDARD

A constant which can be used with the type property of a CreateIotDomainGroupDetails.

compartment_id

[Required] Gets the compartment_id of this CreateIotDomainGroupDetails.

defined_tags

Gets the defined_tags of this CreateIotDomainGroupDetails.

description

Gets the description of this CreateIotDomainGroupDetails.

display_name

Gets the display_name of this CreateIotDomainGroupDetails.

freeform_tags

Gets the freeform_tags of this CreateIotDomainGroupDetails.

type

Gets the type of this CreateIotDomainGroupDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateIotDomainGroupDetails object with values from keyword arguments.

TYPE_DEVELOPMENT = 'DEVELOPMENT'

A constant which can be used with the type property of a CreateIotDomainGroupDetails. This constant has a value of “DEVELOPMENT”

TYPE_LIGHTWEIGHT = 'LIGHTWEIGHT'

A constant which can be used with the type property of a CreateIotDomainGroupDetails. This constant has a value of “LIGHTWEIGHT”

TYPE_PRODUCTION = 'PRODUCTION'

A constant which can be used with the type property of a CreateIotDomainGroupDetails. This constant has a value of “PRODUCTION”

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: “PRODUCTION”, “DEVELOPMENT”, “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.

property 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

property defined_tags

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))

property description

Gets the description of this CreateIotDomainGroupDetails. A short description of the resource.

Returns

The description of this CreateIotDomainGroupDetails.

Return type

str

property 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

property freeform_tags

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)

property type

Gets the type of this CreateIotDomainGroupDetails. Type of domain group. DEVELOPMENT uses fewer resources and has a higher Recovery Time Objective (RTO), making it suitable for development and testing. PRODUCTION is recommended for production workloads. LIGHTWEIGHT and STANDARD are deprecated aliases for DEVELOPMENT and PRODUCTION respectively and will be removed in a future release.

Allowed values for this property are: “PRODUCTION”, “DEVELOPMENT”, “STANDARD”, “LIGHTWEIGHT”

Returns

The type of this CreateIotDomainGroupDetails.

Return type

str