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

125 lines (124 loc) 4.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Security assessment metadata * * Uses Azure REST API version 2019-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2019-01-01-preview. */ export declare class AssessmentsMetadataSubscription extends pulumi.CustomResource { /** * Get an existing AssessmentsMetadataSubscription 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): AssessmentsMetadataSubscription; /** * Returns true if the given object is an instance of AssessmentsMetadataSubscription. 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 AssessmentsMetadataSubscription; /** * BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition */ readonly assessmentType: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; readonly categories: pulumi.Output<string[] | undefined>; /** * Human readable description of the assessment */ readonly description: pulumi.Output<string | undefined>; /** * User friendly display name of the assessment */ readonly displayName: pulumi.Output<string>; /** * The implementation effort required to remediate this assessment */ readonly implementationEffort: pulumi.Output<string | undefined>; /** * Resource name */ readonly name: pulumi.Output<string>; /** * Azure resource ID of the policy definition that turns this assessment calculation on */ readonly policyDefinitionId: pulumi.Output<string>; /** * True if this assessment is in preview release status */ readonly preview: pulumi.Output<boolean | undefined>; /** * Human readable description of what you should do to mitigate this security issue */ readonly remediationDescription: pulumi.Output<string | undefined>; /** * The severity level of the assessment */ readonly severity: pulumi.Output<string>; readonly threats: pulumi.Output<string[] | undefined>; /** * Resource type */ readonly type: pulumi.Output<string>; /** * The user impact of the assessment */ readonly userImpact: pulumi.Output<string | undefined>; /** * Create a AssessmentsMetadataSubscription 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: AssessmentsMetadataSubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AssessmentsMetadataSubscription resource. */ export interface AssessmentsMetadataSubscriptionArgs { /** * The Assessment Key - Unique key for the assessment type */ assessmentMetadataName?: pulumi.Input<string>; /** * BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition */ assessmentType: pulumi.Input<string | enums.security.AssessmentType>; categories?: pulumi.Input<pulumi.Input<string | enums.security.Categories>[]>; /** * Human readable description of the assessment */ description?: pulumi.Input<string>; /** * User friendly display name of the assessment */ displayName: pulumi.Input<string>; /** * The implementation effort required to remediate this assessment */ implementationEffort?: pulumi.Input<string | enums.security.ImplementationEffort>; /** * True if this assessment is in preview release status */ preview?: pulumi.Input<boolean>; /** * Human readable description of what you should do to mitigate this security issue */ remediationDescription?: pulumi.Input<string>; /** * The severity level of the assessment */ severity: pulumi.Input<string | enums.security.Severity>; threats?: pulumi.Input<pulumi.Input<string | enums.security.Threats>[]>; /** * The user impact of the assessment */ userImpact?: pulumi.Input<string | enums.security.UserImpact>; }