DiagnosticSettingsCategoryResource Class

The diagnostic settings category 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
DiagnosticSettingsCategoryResource

Constructor

DiagnosticSettingsCategoryResource(*, category_type: Optional[Union[str, azure.mgmt.monitor.v2021_05_01_preview.models._monitor_management_client_enums.CategoryType]] = None, category_groups: Optional[List[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.

category_type
str or <xref:$>(<xref:python-base-namespace>)CategoryType

The type of the diagnostic settings category. Possible values include: "Metrics", "Logs".

category_groups
list[str]

the collection of what category groups are supported.