ServiceDiagnosticSettingsResourcePatch Class
Service diagnostic setting resource for patch operations.
- Inheritance
-
ServiceDiagnosticSettingsResourcePatch
Constructor
ServiceDiagnosticSettingsResourcePatch(*, tags: Optional[Dict[str, str]] = None, storage_account_id: Optional[str] = None, service_bus_rule_id: Optional[str] = None, event_hub_authorization_rule_id: Optional[str] = None, metrics: Optional[List[azure.mgmt.monitor.v2016_09_01.models._models_py3.MetricSettings]] = None, logs: Optional[List[azure.mgmt.monitor.v2016_09_01.models._models_py3.LogSettings]] = None, workspace_id: Optional[str] = None, **kwargs)
Variables
- storage_account_id
- str
The resource ID of the storage account to which you would like to send Diagnostic Logs.
- service_bus_rule_id
- str
The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- event_hub_authorization_rule_id
- str
The resource Id for the event hub namespace authorization rule.
- metrics
- list[<xref:$>(<xref:python-base-namespace>)MetricSettings]
the list of metric settings.
- logs
- list[<xref:$>(<xref:python-base-namespace>)LogSettings]
the list of logs settings.
- workspace_id
- str
The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2.
Feedback
Submit and view feedback for