log_analytics_workspace#
Exec module for managing Compute Log Analytics Workspace.
- async idem_azure.exec.azure.compute.log_analytics_workspace.get(hub, ctx, resource_id: str, name: str = None, raw: bool = False) Dict[str, Any] [source]#
Get compute log analytics workspace resource from resource_id.
- Parameters:
- Returns:
Dict[str, Any]
Examples
Calling this exec module function from the cli with resource_id:
idem exec azure.compute.log_analytics_workspace.get resource_id="value"
Using in a state:
my_unmanaged_resource: exec.run: - path: azure.compute.log_analytics_workspace.get - kwargs: resource_id: "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.OperationalInsights/workspaces/{workspace_name}"
- async idem_azure.exec.azure.compute.log_analytics_workspace.list_(hub, ctx) Dict [source]#
List of compute log analytics workspace
- Returns:
Dict[str, Any]
Examples
Calling this exec module function from the cli with resource_id:
idem exec azure.compute.log_analytics_workspace.list
Using in a state:
my_unmanaged_resource: exec.run: - path: azure.compute.log_analytics_workspace.list