Learn Idem

Learn Idem

Powered by Idem Project

azure.resource_management.resource_groups

**Autogenerated function**

Delete Resource Groups

Args:
    name(str): The identifier for this state.
    resource_group_name(str): The name of the resource group to delete. The name is case insensitive.Regex pattern: ^[-\w\._\(\)]+$.
    subscription_id(str, optional): Subscription Unique id.

Returns:
    dict

Examples:

    .. code-block:: sls

        resource_is_absent:
          azure.resource_management.resource_groups.absent:
            - name: value
            - resource_group_name: value
            - subscription_id: value
**Autogenerated function**

Describe the resource in a way that can be recreated/managed with the corresponding "present" function


List all Resource Groups under the same subscription


Returns:
    Dict[str, Any]

Examples:

    .. code-block:: bash

        $ idem describe azure.resource_management.resource_groups
**Autogenerated function**

Create or update Resource Groups

Args:
    name(str): The identifier for this state.
    resource_group_name(str): The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.Regex pattern: ^[-\w\._\(\)]+$.
    location(str): Resource location.
    subscription_id(str, optional): Subscription Unique id.
    resource_id(str, optional): Resource Group id on Azure.
    tags(dict, optional): Resource tags.

Returns:
    dict

Examples:

    .. code-block:: sls

        resource_is_present:
          azure.resource_management.resource_groups.present:
            - name: value
            - resource_group_name: value
            - subscription_id: value
Last updated on 20 Sep 2022
 Edit on GitHub