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

132 lines (131 loc) 5.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The security automation resource. * * Uses Azure REST API version 2023-12-01-preview. In version 2.x of the Azure Native provider, it used API version 2019-01-01-preview. * * Other available API versions: 2019-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native security [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Automation extends pulumi.CustomResource { /** * Get an existing Automation 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): Automation; /** * Returns true if the given object is an instance of Automation. 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 Automation; /** * A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true. */ readonly actions: pulumi.Output<(outputs.security.AutomationActionEventHubResponse | outputs.security.AutomationActionLogicAppResponse | outputs.security.AutomationActionWorkspaceResponse)[] | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The security automation description. */ readonly description: pulumi.Output<string | undefined>; /** * Entity tag is used for comparing two or more entities from the same requested resource. */ readonly etag: pulumi.Output<string | undefined>; /** * Indicates whether the security automation is enabled. */ readonly isEnabled: pulumi.Output<boolean | undefined>; /** * Kind of the resource */ readonly kind: pulumi.Output<string | undefined>; /** * Location where the resource is stored */ readonly location: pulumi.Output<string | undefined>; /** * Resource name */ readonly name: pulumi.Output<string>; /** * A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes. */ readonly scopes: pulumi.Output<outputs.security.AutomationScopeResponse[] | undefined>; /** * A collection of the source event types which evaluate the security automation set of rules. */ readonly sources: pulumi.Output<outputs.security.AutomationSourceResponse[] | undefined>; /** * A list of key value pairs that describe the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Resource type */ readonly type: pulumi.Output<string>; /** * Create a Automation 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: AutomationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Automation resource. */ export interface AutomationArgs { /** * A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true. */ actions?: pulumi.Input<pulumi.Input<inputs.security.AutomationActionEventHubArgs | inputs.security.AutomationActionLogicAppArgs | inputs.security.AutomationActionWorkspaceArgs>[]>; /** * The security automation name. */ automationName?: pulumi.Input<string>; /** * The security automation description. */ description?: pulumi.Input<string>; /** * Indicates whether the security automation is enabled. */ isEnabled?: pulumi.Input<boolean>; /** * Kind of the resource */ kind?: pulumi.Input<string>; /** * Location where the resource is stored */ location?: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes. */ scopes?: pulumi.Input<pulumi.Input<inputs.security.AutomationScopeArgs>[]>; /** * A collection of the source event types which evaluate the security automation set of rules. */ sources?: pulumi.Input<pulumi.Input<inputs.security.AutomationSourceArgs>[]>; /** * A list of key value pairs that describe the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }