Get-AzSubscriptionDiagnosticSettingCategory

Get diagnostic setting categories for subscription.

Syntax

Get-AzSubscriptionDiagnosticSettingCategory
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get diagnostic setting categories for subscription.

Examples

Example 1

PS D:\> Get-AzSubscriptionDiagnosticSettingCategory

Name            CategoryType
----            ------------
Administrative          Logs
Security                Logs
ServiceHealth           Logs
Alert                   Logs
Recommendation          Logs
Policy                  Logs
Autoscale               Logs
ResourceHealth          Logs

Get diagnostic setting categories.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.Insights.OutputClasses.PSSubscriptionDiagnosticSettingCategory