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: Optional[str] = None, service_bus_rule_id: Optional[str] = None, event_hub_authorization_rule_id: Optional[str] = None, event_hub_name: Optional[str] = None, logs: Optional[List[azure.mgmt.monitor.v2021_05_01_preview.models._models_py3.ManagementGroupLogSettings]] = None, workspace_id: Optional[str] = None, marketplace_partner_id: Optional[str] = None, **kwargs)

Variables

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
<xref:$>(<xref:python-base-namespace>)SystemData

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
list[<xref:$>(<xref:python-base-namespace>)ManagementGroupLogSettings]

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.