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

88 lines (87 loc) 2.99 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a single custom assessment automation by name for the provided subscription and resource group. * * Uses Azure REST API version 2021-07-01-preview. */ export declare function getCustomAssessmentAutomation(args: GetCustomAssessmentAutomationArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomAssessmentAutomationResult>; export interface GetCustomAssessmentAutomationArgs { /** * Name of the Custom Assessment Automation. */ customAssessmentAutomationName: string; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: string; } /** * Custom Assessment Automation */ export interface GetCustomAssessmentAutomationResult { /** * The assessment metadata key used when an assessment is generated for this assessment automation. */ readonly assessmentKey?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * GZip encoded KQL query representing the assessment automation results required. */ readonly compressedQuery?: string; /** * The description to relate to the assessments generated by this assessment automation. */ readonly description?: string; /** * The display name of the assessments generated by this assessment automation. */ readonly displayName?: string; /** * Resource Id */ readonly id: string; /** * Resource name */ readonly name: string; /** * The remediation description to relate to the assessments generated by this assessment automation. */ readonly remediationDescription?: string; /** * The severity to relate to the assessments generated by this assessment automation. */ readonly severity?: string; /** * Relevant cloud for the custom assessment automation. */ readonly supportedCloud?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.security.SystemDataResponse; /** * Resource type */ readonly type: string; } /** * Gets a single custom assessment automation by name for the provided subscription and resource group. * * Uses Azure REST API version 2021-07-01-preview. */ export declare function getCustomAssessmentAutomationOutput(args: GetCustomAssessmentAutomationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomAssessmentAutomationResult>; export interface GetCustomAssessmentAutomationOutputArgs { /** * Name of the Custom Assessment Automation. */ customAssessmentAutomationName: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }