Create metric setting object, to get supported categories for resource, please see Get-AzDiagnosticSettingCategory
Parameters
-Category
Name of a Diagnostic Metric category for a resource type this setting is applied to.
To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.