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