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.Resource
ManagementGroupDiagnosticSettingsResource

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
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 diagnostic setting. This is here to maintain backwards compatibility.

event_hub_authorization_rule_id
str

The resource Id for the event hub authorization rule.

event_hub_name
str

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
str

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
str

The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

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
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 diagnostic setting. This is here to maintain backwards compatibility.

event_hub_authorization_rule_id
str

The resource Id for the event hub authorization rule.

event_hub_name
str

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
str

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
str

The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.