@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4 kB
TypeScript
export declare const ActionRuleStatus: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Indicates if the given action rule is enabled or disabled
*/
export type ActionRuleStatus = (typeof ActionRuleStatus)[keyof typeof ActionRuleStatus];
export declare const ActionRuleType: {
readonly Suppression: "Suppression";
readonly ActionGroup: "ActionGroup";
readonly Diagnostics: "Diagnostics";
};
/**
* Indicates type of action rule
*/
export type ActionRuleType = (typeof ActionRuleType)[keyof typeof ActionRuleType];
export declare const ActionType: {
readonly AddActionGroups: "AddActionGroups";
readonly RemoveAllActionGroups: "RemoveAllActionGroups";
};
/**
* Action that should be applied.
*/
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
export declare const AlertRuleState: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* The alert rule state.
*/
export type AlertRuleState = (typeof AlertRuleState)[keyof typeof AlertRuleState];
export declare const DaysOfWeek: {
readonly Sunday: "Sunday";
readonly Monday: "Monday";
readonly Tuesday: "Tuesday";
readonly Wednesday: "Wednesday";
readonly Thursday: "Thursday";
readonly Friday: "Friday";
readonly Saturday: "Saturday";
};
/**
* Days of week.
*/
export type DaysOfWeek = (typeof DaysOfWeek)[keyof typeof DaysOfWeek];
export declare const Field: {
readonly Severity: "Severity";
readonly MonitorService: "MonitorService";
readonly MonitorCondition: "MonitorCondition";
readonly SignalType: "SignalType";
readonly TargetResourceType: "TargetResourceType";
readonly TargetResource: "TargetResource";
readonly TargetResourceGroup: "TargetResourceGroup";
readonly AlertRuleId: "AlertRuleId";
readonly AlertRuleName: "AlertRuleName";
readonly Description: "Description";
readonly AlertContext: "AlertContext";
};
/**
* Field for a given condition.
*/
export type Field = (typeof Field)[keyof typeof Field];
export declare const Operator: {
readonly Equals: "Equals";
readonly NotEquals: "NotEquals";
readonly Contains: "Contains";
readonly DoesNotContain: "DoesNotContain";
};
/**
* Operator for a given condition.
*/
export type Operator = (typeof Operator)[keyof typeof Operator];
export declare const RecurrenceType: {
readonly Daily: "Daily";
readonly Weekly: "Weekly";
readonly Monthly: "Monthly";
};
/**
* Specifies when the recurrence should be applied.
*/
export type RecurrenceType = (typeof RecurrenceType)[keyof typeof RecurrenceType];
export declare const ScopeType: {
readonly ResourceGroup: "ResourceGroup";
readonly Resource: "Resource";
readonly Subscription: "Subscription";
};
/**
* type of target scope
*/
export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
export declare const Severity: {
readonly Sev0: "Sev0";
readonly Sev1: "Sev1";
readonly Sev2: "Sev2";
readonly Sev3: "Sev3";
readonly Sev4: "Sev4";
};
/**
* The alert rule severity.
*/
export type Severity = (typeof Severity)[keyof typeof Severity];
export declare const Status: {
/**
* The issue is new
*/
readonly New: "New";
/**
* The issue is in progress
*/
readonly InProgress: "InProgress";
/**
* The issue is mitigated
*/
readonly Mitigated: "Mitigated";
/**
* The issue is closed
*/
readonly Closed: "Closed";
/**
* The issue is canceled
*/
readonly Canceled: "Canceled";
};
/**
* The issue status
*/
export type Status = (typeof Status)[keyof typeof Status];
export declare const SuppressionType: {
readonly Always: "Always";
readonly Once: "Once";
readonly Daily: "Daily";
readonly Weekly: "Weekly";
readonly Monthly: "Monthly";
};
/**
* Specifies when the suppression should be applied
*/
export type SuppressionType = (typeof SuppressionType)[keyof typeof SuppressionType];