import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about the Monitor Diagnostics Categories supported by an existing Resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.keyvault.getKeyVault({ * name: exampleAzurermKeyVault.name, * resourceGroupName: exampleAzurermKeyVault.resourceGroupName, * }); * const exampleGetDiagnosticCategories = example.then(example => azure.monitoring.getDiagnosticCategories({ * resourceId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Insights` - 2021-05-01-preview */ export declare function getDiagnosticCategories(args: GetDiagnosticCategoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDiagnosticCategories. */ export interface GetDiagnosticCategoriesArgs { /** * The ID of an existing Resource which Monitor Diagnostics Categories should be retrieved for. */ resourceId: string; } /** * A collection of values returned by getDiagnosticCategories. */ export interface GetDiagnosticCategoriesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of the supported log category groups of this resource to send to the destination. */ readonly logCategoryGroups: string[]; /** * A list of the supported log category types of this resource to send to the destination. */ readonly logCategoryTypes: string[]; /** * A list of the Metric Categories supported for this Resource. */ readonly metrics: string[]; readonly resourceId: string; } /** * Use this data source to access information about the Monitor Diagnostics Categories supported by an existing Resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.keyvault.getKeyVault({ * name: exampleAzurermKeyVault.name, * resourceGroupName: exampleAzurermKeyVault.resourceGroupName, * }); * const exampleGetDiagnosticCategories = example.then(example => azure.monitoring.getDiagnosticCategories({ * resourceId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Insights` - 2021-05-01-preview */ export declare function getDiagnosticCategoriesOutput(args: GetDiagnosticCategoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDiagnosticCategories. */ export interface GetDiagnosticCategoriesOutputArgs { /** * The ID of an existing Resource which Monitor Diagnostics Categories should be retrieved for. */ resourceId: pulumi.Input; }