1. Packages
  2. Azure Native v2
  3. API Docs
  4. insights
  5. listDiagnosticSettingsCategory
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.insights.listDiagnosticSettingsCategory

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Lists the diagnostic settings categories for the specified resource. Azure REST API version: 2021-05-01-preview.

Other available API versions: 2017-05-01-preview.

Using listDiagnosticSettingsCategory

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function listDiagnosticSettingsCategory(args: ListDiagnosticSettingsCategoryArgs, opts?: InvokeOptions): Promise<ListDiagnosticSettingsCategoryResult>
function listDiagnosticSettingsCategoryOutput(args: ListDiagnosticSettingsCategoryOutputArgs, opts?: InvokeOptions): Output<ListDiagnosticSettingsCategoryResult>
Copy
def list_diagnostic_settings_category(resource_uri: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> ListDiagnosticSettingsCategoryResult
def list_diagnostic_settings_category_output(resource_uri: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[ListDiagnosticSettingsCategoryResult]
Copy
func ListDiagnosticSettingsCategory(ctx *Context, args *ListDiagnosticSettingsCategoryArgs, opts ...InvokeOption) (*ListDiagnosticSettingsCategoryResult, error)
func ListDiagnosticSettingsCategoryOutput(ctx *Context, args *ListDiagnosticSettingsCategoryOutputArgs, opts ...InvokeOption) ListDiagnosticSettingsCategoryResultOutput
Copy

> Note: This function is named ListDiagnosticSettingsCategory in the Go SDK.

public static class ListDiagnosticSettingsCategory 
{
    public static Task<ListDiagnosticSettingsCategoryResult> InvokeAsync(ListDiagnosticSettingsCategoryArgs args, InvokeOptions? opts = null)
    public static Output<ListDiagnosticSettingsCategoryResult> Invoke(ListDiagnosticSettingsCategoryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDiagnosticSettingsCategoryResult> listDiagnosticSettingsCategory(ListDiagnosticSettingsCategoryArgs args, InvokeOptions options)
public static Output<ListDiagnosticSettingsCategoryResult> listDiagnosticSettingsCategory(ListDiagnosticSettingsCategoryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:insights:listDiagnosticSettingsCategory
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resource_uri
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.

listDiagnosticSettingsCategory Result

The following output properties are available:

Value []DiagnosticSettingsCategoryResourceResponse
The collection of diagnostic settings category resources.
value List<DiagnosticSettingsCategoryResourceResponse>
The collection of diagnostic settings category resources.
value DiagnosticSettingsCategoryResourceResponse[]
The collection of diagnostic settings category resources.
value Sequence[DiagnosticSettingsCategoryResourceResponse]
The collection of diagnostic settings category resources.
value List<Property Map>
The collection of diagnostic settings category resources.

Supporting Types

DiagnosticSettingsCategoryResourceResponse

Id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name This property is required. string
The name of the resource
SystemData This property is required. Pulumi.AzureNative.Insights.Inputs.SystemDataResponse
The system metadata related to this resource.
Type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
CategoryGroups List<string>
the collection of what category groups are supported.
CategoryType string
The type of the diagnostic settings category.
Id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name This property is required. string
The name of the resource
SystemData This property is required. SystemDataResponse
The system metadata related to this resource.
Type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
CategoryGroups []string
the collection of what category groups are supported.
CategoryType string
The type of the diagnostic settings category.
id This property is required. String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. String
The name of the resource
systemData This property is required. SystemDataResponse
The system metadata related to this resource.
type This property is required. String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
categoryGroups List<String>
the collection of what category groups are supported.
categoryType String
The type of the diagnostic settings category.
id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. string
The name of the resource
systemData This property is required. SystemDataResponse
The system metadata related to this resource.
type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
categoryGroups string[]
the collection of what category groups are supported.
categoryType string
The type of the diagnostic settings category.
id This property is required. str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. str
The name of the resource
system_data This property is required. SystemDataResponse
The system metadata related to this resource.
type This property is required. str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
category_groups Sequence[str]
the collection of what category groups are supported.
category_type str
The type of the diagnostic settings category.
id This property is required. String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. String
The name of the resource
systemData This property is required. Property Map
The system metadata related to this resource.
type This property is required. String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
categoryGroups List<String>
the collection of what category groups are supported.
categoryType String
The type of the diagnostic settings category.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi