Learn Idem

Learn Idem

Powered by Idem Project

azure.virtual_networks.subnets

**Autogenerated function**

Delete Subnets

Args:
    name(str): The identifier for this state.
    resource_group_name(str): The name of the resource group.
    virtual_network_name(str): The name of the virtual network.
    subnet_name(str): The name of the subnet.
    subscription_id(str,optional): Subscription Unique id.

Returns:
    Dict

Examples:

    .. code-block:: sls

        my-subnet:
          azure.virtual_networks.subnets.absent:
            - name: my-subnet
            - resource_group_name: my-resource-group
            - virtual_network_name: my-vnet
            - subnet_name: my-subnet-1
            - subscription_id: my-subscription
**Autogenerated function**

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


List all Subnets under the same subscription


Returns:
    Dict[str, Any]

Examples:

    .. code-block:: bash

        $ idem describe azure.virtual_networks.subnets
Last updated on 20 Sep 2022
 Edit on GitHub