@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.99 kB
TypeScript
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>;
}