@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about the model of a security automation.
*
* Uses Azure REST API version 2023-12-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 function getAutomation(args: GetAutomationArgs, opts?: pulumi.InvokeOptions): Promise<GetAutomationResult>;
export interface GetAutomationArgs {
/**
* The security automation name.
*/
automationName: string;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* The security automation resource.
*/
export interface GetAutomationResult {
/**
* A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
*/
readonly actions?: (outputs.security.AutomationActionEventHubResponse | outputs.security.AutomationActionLogicAppResponse | outputs.security.AutomationActionWorkspaceResponse)[];
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The security automation description.
*/
readonly description?: string;
/**
* Entity tag is used for comparing two or more entities from the same requested resource.
*/
readonly etag?: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Indicates whether the security automation is enabled.
*/
readonly isEnabled?: boolean;
/**
* Kind of the resource
*/
readonly kind?: string;
/**
* Location where the resource is stored
*/
readonly location?: string;
/**
* Resource name
*/
readonly name: 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?: outputs.security.AutomationScopeResponse[];
/**
* A collection of the source event types which evaluate the security automation set of rules.
*/
readonly sources?: outputs.security.AutomationSourceResponse[];
/**
* A list of key value pairs that describe the resource.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type
*/
readonly type: string;
}
/**
* Retrieves information about the model of a security automation.
*
* Uses Azure REST API version 2023-12-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 function getAutomationOutput(args: GetAutomationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutomationResult>;
export interface GetAutomationOutputArgs {
/**
* The security automation name.
*/
automationName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}