ManagementGroupDiagnosticSettingsResource Class
The management group diagnostic setting resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.monitor.v2021_05_01_preview.models._models_py3.ResourceManagementGroupDiagnosticSettingsResource
Constructor
ManagementGroupDiagnosticSettingsResource(*, storage_account_id: str | None = None, service_bus_rule_id: str | None = None, event_hub_authorization_rule_id: str | None = None, event_hub_name: str | None = None, logs: List[_models.ManagementGroupLogSettings] | None = None, workspace_id: str | None = None, marketplace_partner_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
storage_account_id
|
The resource ID of the storage account to which you would like to send Diagnostic Logs. |
service_bus_rule_id
|
The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. |
event_hub_authorization_rule_id
|
The resource Id for the event hub authorization rule. |
event_hub_name
|
The name of the event hub. If none is specified, the default event hub will be selected. |
logs
|
The list of logs settings. |
workspace_id
|
The full ARM resource ID of the 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. |
marketplace_partner_id
|
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
system_data
|
The system metadata related to this resource. |
storage_account_id
|
The resource ID of the storage account to which you would like to send Diagnostic Logs. |
service_bus_rule_id
|
The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. |
event_hub_authorization_rule_id
|
The resource Id for the event hub authorization rule. |
event_hub_name
|
The name of the event hub. If none is specified, the default event hub will be selected. |
logs
|
The list of logs settings. |
workspace_id
|
The full ARM resource ID of the 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. |
marketplace_partner_id
|
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for