UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

110 lines (109 loc) 3.99 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A alert associated with SAP monitor. * * Uses Azure REST API version 2024-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-02-01-preview. */ export declare class Alert extends pulumi.CustomResource { /** * Get an existing Alert 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<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Alert; /** * Returns true if the given object is an instance of Alert. 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 Alert; /** * Describes the properties of an alert. */ readonly alertRuleProperties: pulumi.Output<outputs.workloads.AlertRulePropertiesResponse | undefined>; /** * ID of the alert rule resource created. */ readonly alertRuleResourceId: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Defines the alert instance errors. */ readonly errors: pulumi.Output<outputs.workloads.ErrorDetailResponse>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Name of provider instances associated with the alert. */ readonly providerNames: pulumi.Output<string[] | undefined>; /** * The provider type for alert. For example, the value can be SapHana. */ readonly providerType: pulumi.Output<string | undefined>; /** * State of provisioning of the alert instance */ readonly provisioningState: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.workloads.SystemDataResponse>; /** * Name of the alert template from which it was created. */ readonly templateName: pulumi.Output<string | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a Alert 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: AlertArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Alert resource. */ export interface AlertArgs { /** * Name of the SAP monitor alert resource. */ alertName?: pulumi.Input<string>; /** * Describes the properties of an alert. */ alertRuleProperties?: pulumi.Input<inputs.workloads.AlertRulePropertiesArgs>; /** * Name of the SAP monitor resource. */ monitorName: pulumi.Input<string>; /** * Name of provider instances associated with the alert. */ providerNames?: pulumi.Input<pulumi.Input<string>[]>; /** * The provider type for alert. For example, the value can be SapHana. */ providerType?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Name of the alert template from which it was created. */ templateName?: pulumi.Input<string>; }