@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Security assessment metadata response
*
* Uses Azure REST API version 2021-06-01. In version 2.x of the Azure Native provider, it used API version 2021-06-01.
*
* Other available API versions: 2020-01-01, 2025-05-04-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 AssessmentMetadataInSubscription extends pulumi.CustomResource {
/**
* Get an existing AssessmentMetadataInSubscription 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): AssessmentMetadataInSubscription;
/**
* Returns true if the given object is an instance of AssessmentMetadataInSubscription. 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 AssessmentMetadataInSubscription;
/**
* 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>;
/**
* Describes the partner that created the assessment
*/
readonly partnerData: pulumi.Output<outputs.security.SecurityAssessmentMetadataPartnerDataResponse | undefined>;
readonly plannedDeprecationDate: pulumi.Output<string | undefined>;
/**
* 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>;
readonly publishDates: pulumi.Output<outputs.security.SecurityAssessmentMetadataPropertiesResponseResponsePublishDates | 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 tactics: pulumi.Output<string[] | undefined>;
readonly techniques: pulumi.Output<string[] | undefined>;
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 AssessmentMetadataInSubscription 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: AssessmentMetadataInSubscriptionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a AssessmentMetadataInSubscription resource.
*/
export interface AssessmentMetadataInSubscriptionArgs {
/**
* 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>;
/**
* Describes the partner that created the assessment
*/
partnerData?: pulumi.Input<inputs.security.SecurityAssessmentMetadataPartnerDataArgs>;
plannedDeprecationDate?: pulumi.Input<string>;
/**
* True if this assessment is in preview release status
*/
preview?: pulumi.Input<boolean>;
publishDates?: pulumi.Input<inputs.security.SecurityAssessmentMetadataPropertiesResponsePublishDatesArgs>;
/**
* 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>;
tactics?: pulumi.Input<pulumi.Input<string | enums.security.Tactics>[]>;
techniques?: pulumi.Input<pulumi.Input<string | enums.security.Techniques>[]>;
threats?: pulumi.Input<pulumi.Input<string | enums.security.Threats>[]>;
/**
* The user impact of the assessment
*/
userImpact?: pulumi.Input<string | enums.security.UserImpact>;
}