Updating an IoT Domain Group

Update an IoT domain group for your Internet of Things (IoT).

    1. On the domain groups list page, find the domain group you want to work with. If you need help finding the list page or a domain group, see Listing IoT Domain Groups.
    2. To update a domain group:
      • To perform an action on a domain group directly from the list, select any of the following options from the Actions (actions menu) menu in the row for that domain group:
        • Copy OCID: Select to copy the OCID for the domain group.
        • Move Resource: Select to move the domain group to another compartment.
        • Manage Tags: Add one or more tags to the domain group, or change the value of an existing tag. Select to add or remove tags. See Resource tags.
        • Delete: Select to delete the domain group.
      • Or select the domain group name to open its details page. Update the settings as needed, by selecting the links or tabs to access the various resources associated with the domain group. You can view or update VCNs or add associated IoT domains to the domain group. For descriptions of the domain group settings, see Creating an IoT Domain Group.
    3. Optional: To view the work request for an update, go to the domain group, and then select the work request tab. For more information, see Getting a Work Request's Details.
  • Use the update option to update the value of an existing IoT domain group option. When you update an existing option applied to a domain group, you change only the value you do not add a new value to the domain group.

    Use the oci iot domain-group update command, the required parameter, add any option to change the value of the options applied to a IoT domain group:

    oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID>

    Depending on what you want to update, you can use any of the following optional parameters to update an IoT domain group's description, free form tags, defined tags, or a display name. You can only update an existing option:

    Use this command to update a domain group's description, replace updated-description with an updated description for your domain group:

    oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --description <updated-description>

    Use this command to update a domain group's free form tags. For more information, see Understanding Free-form Tags.

    oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --freeform-tags

    Use this command to update a domain group's defined tags. For more information, see Working with Defined Tags.

    oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --defined-tags

    Use this command to update a domain group's display name, replace updated-display-name with an updated display name:

    oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --display-name <updated-display-name>

  • Run the UpdateIotDomainGroup operation to update a domain group.

    When you update an existing option applied to a domain group, you change only the value you do not add a new value to the domain group.