@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.23 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 Standard on a resource
*
* Uses Azure REST API version 2024-08-01. In version 2.x of the Azure Native provider, it used API version 2024-08-01.
*/
export declare class SecurityStandard extends pulumi.CustomResource {
/**
* Get an existing SecurityStandard 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): SecurityStandard;
/**
* Returns true if the given object is an instance of SecurityStandard. 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 SecurityStandard;
/**
* List of assessment keys to apply to standard scope.
*/
readonly assessments: pulumi.Output<outputs.security.PartialAssessmentPropertiesResponse[] | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* List of all standard supported clouds.
*/
readonly cloudProviders: pulumi.Output<string[] | undefined>;
/**
* Description of the standard
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Display name of the standard, equivalent to the standardId
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* The security standard metadata.
*/
readonly metadata: pulumi.Output<outputs.security.StandardMetadataResponse | undefined>;
/**
* Resource name
*/
readonly name: pulumi.Output<string>;
/**
* The policy set definition id associated with the standard.
*/
readonly policySetDefinitionId: pulumi.Output<string | undefined>;
/**
* Standard type (Custom or Default or Compliance only currently)
*/
readonly standardType: pulumi.Output<string>;
/**
* Resource type
*/
readonly type: pulumi.Output<string>;
/**
* Create a SecurityStandard 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: SecurityStandardArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a SecurityStandard resource.
*/
export interface SecurityStandardArgs {
/**
* List of assessment keys to apply to standard scope.
*/
assessments?: pulumi.Input<pulumi.Input<inputs.security.PartialAssessmentPropertiesArgs>[]>;
/**
* List of all standard supported clouds.
*/
cloudProviders?: pulumi.Input<pulumi.Input<string | enums.security.StandardSupportedCloud>[]>;
/**
* Description of the standard
*/
description?: pulumi.Input<string>;
/**
* Display name of the standard, equivalent to the standardId
*/
displayName?: pulumi.Input<string>;
/**
* The policy set definition id associated with the standard.
*/
policySetDefinitionId?: pulumi.Input<string>;
/**
* The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
*/
scope: pulumi.Input<string>;
/**
* The Security Standard key - unique key for the standard type
*/
standardId?: pulumi.Input<string>;
}