import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The diagnostic setting resource. * * Uses Azure REST API version 2021-05-01-preview. */ export declare class DiagnosticSetting extends pulumi.CustomResource { /** * Get an existing DiagnosticSetting resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DiagnosticSetting; /** * Returns true if the given object is an instance of DiagnosticSetting. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DiagnosticSetting; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * The resource Id for the event hub authorization rule. */ readonly eventHubAuthorizationRuleId: pulumi.Output; /** * The name of the event hub. If none is specified, the default event hub will be selected. */ readonly eventHubName: pulumi.Output; /** * A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.) */ readonly logAnalyticsDestinationType: pulumi.Output; /** * The list of logs settings. */ readonly logs: pulumi.Output; /** * The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */ readonly marketplacePartnerId: pulumi.Output; /** * The list of metric settings. */ readonly metrics: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */ readonly serviceBusRuleId: pulumi.Output; /** * The resource ID of the storage account to which you would like to send Diagnostic Logs. */ readonly storageAccountId: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */ readonly workspaceId: pulumi.Output; /** * Create a DiagnosticSetting resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DiagnosticSettingArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DiagnosticSetting resource. */ export interface DiagnosticSettingArgs { /** * The resource Id for the event hub authorization rule. */ eventHubAuthorizationRuleId?: pulumi.Input; /** * The name of the event hub. If none is specified, the default event hub will be selected. */ eventHubName?: pulumi.Input; /** * A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.) */ logAnalyticsDestinationType?: pulumi.Input; /** * The list of logs settings. */ logs?: pulumi.Input[] | undefined>; /** * The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */ marketplacePartnerId?: pulumi.Input; /** * The list of metric settings. */ metrics?: pulumi.Input[] | undefined>; /** * The name of the diagnostic setting. */ name?: pulumi.Input; /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: pulumi.Input; /** * The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */ serviceBusRuleId?: pulumi.Input; /** * The resource ID of the storage account to which you would like to send Diagnostic Logs. */ storageAccountId?: pulumi.Input; /** * The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */ workspaceId?: pulumi.Input; } //# sourceMappingURL=diagnosticSetting.d.ts.map