firewall#
Exec module for managing Network Firewall
- async idem_azure.exec.azure.network.firewall.get(hub, ctx, resource_id: str, name: str = None, raw: bool = False) Dict [source]#
Gets network Firewall from azure account.
- Parameters:
- Returns:
Dict[str, Any]
Examples
Calling this exec module function from the cli with resource_id
idem exec azure.network.firewall.get resource_id="value" raw="False"
Using in a state:
my_unmanaged_resource: exec.run: - path: azure.network.firewall.get - kwargs: resource_id: "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Network/azureFirewalls/{firewall_name}" raw: False
- async idem_azure.exec.azure.network.firewall.list_(hub, ctx) Dict [source]#
Lists all Network Firewall.
- Returns:
Dict[str, Any]
Examples
Calling this exec module function from the cli with resource_id
idem exec azure.network.firewall.list
Using in a state:
my_unmanaged_resource: exec.run: - path: azure.network.firewall.list