azure-native.security.Standard
Explore with Pulumi AI
Security Standard on a resource
Uses Azure REST API version 2021-08-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-08-01-preview.
Create Standard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Standard(name: string, args: StandardArgs, opts?: CustomResourceOptions);
@overload
def Standard(resource_name: str,
args: StandardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Standard(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
category: Optional[str] = None,
components: Optional[Sequence[StandardComponentPropertiesArgs]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
standard_id: Optional[str] = None,
supported_clouds: Optional[Sequence[StandardSupportedClouds]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStandard(ctx *Context, name string, args StandardArgs, opts ...ResourceOption) (*Standard, error)
public Standard(string name, StandardArgs args, CustomResourceOptions? opts = null)
public Standard(String name, StandardArgs args)
public Standard(String name, StandardArgs args, CustomResourceOptions options)
type: azure-native:security:Standard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StandardArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. StandardArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StandardArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StandardArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. StandardArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var standardResource = new AzureNative.Security.Standard("standardResource", new()
{
ResourceGroupName = "string",
Category = "string",
Components = new[]
{
new AzureNative.Security.Inputs.StandardComponentPropertiesArgs
{
Key = "string",
},
},
Description = "string",
DisplayName = "string",
Kind = "string",
Location = "string",
StandardId = "string",
SupportedClouds = new[]
{
AzureNative.Security.StandardSupportedClouds.AWS,
},
Tags =
{
{ "string", "string" },
},
});
example, err := security.NewStandard(ctx, "standardResource", &security.StandardArgs{
ResourceGroupName: pulumi.String("string"),
Category: pulumi.String("string"),
Components: security.StandardComponentPropertiesArray{
&security.StandardComponentPropertiesArgs{
Key: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
StandardId: pulumi.String("string"),
SupportedClouds: security.StandardSupportedCloudsArray{
security.StandardSupportedCloudsAWS,
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var standardResource = new Standard("standardResource", StandardArgs.builder()
.resourceGroupName("string")
.category("string")
.components(StandardComponentPropertiesArgs.builder()
.key("string")
.build())
.description("string")
.displayName("string")
.kind("string")
.location("string")
.standardId("string")
.supportedClouds("AWS")
.tags(Map.of("string", "string"))
.build());
standard_resource = azure_native.security.Standard("standardResource",
resource_group_name="string",
category="string",
components=[{
"key": "string",
}],
description="string",
display_name="string",
kind="string",
location="string",
standard_id="string",
supported_clouds=[azure_native.security.StandardSupportedClouds.AWS],
tags={
"string": "string",
})
const standardResource = new azure_native.security.Standard("standardResource", {
resourceGroupName: "string",
category: "string",
components: [{
key: "string",
}],
description: "string",
displayName: "string",
kind: "string",
location: "string",
standardId: "string",
supportedClouds: [azure_native.security.StandardSupportedClouds.AWS],
tags: {
string: "string",
},
});
type: azure-native:security:Standard
properties:
category: string
components:
- key: string
description: string
displayName: string
kind: string
location: string
resourceGroupName: string
standardId: string
supportedClouds:
- AWS
tags:
string: string
Standard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Standard resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- Category string
- category of the standard provided
- Components
List<Pulumi.
Azure Native. Security. Inputs. Standard Component Properties> - List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- Description string
- description of the standard
- Display
Name string - display name of the standard, equivalent to the standardId
- Kind string
- Kind of the resource
- Location string
- Location where the resource is stored
- Standard
Id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- Supported
Clouds List<Pulumi.Azure Native. Security. Standard Supported Clouds> - List of all standard supported clouds.
- Dictionary<string, string>
- A list of key value pairs that describe the resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- Category string
- category of the standard provided
- Components
[]Standard
Component Properties Args - List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- Description string
- description of the standard
- Display
Name string - display name of the standard, equivalent to the standardId
- Kind string
- Kind of the resource
- Location string
- Location where the resource is stored
- Standard
Id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- Supported
Clouds []StandardSupported Clouds - List of all standard supported clouds.
- map[string]string
- A list of key value pairs that describe the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- category String
- category of the standard provided
- components
List<Standard
Component Properties> - List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- description String
- description of the standard
- display
Name String - display name of the standard, equivalent to the standardId
- kind String
- Kind of the resource
- location String
- Location where the resource is stored
- standard
Id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- supported
Clouds List<StandardSupported Clouds> - List of all standard supported clouds.
- Map<String,String>
- A list of key value pairs that describe the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- category string
- category of the standard provided
- components
Standard
Component Properties[] - List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- description string
- description of the standard
- display
Name string - display name of the standard, equivalent to the standardId
- kind string
- Kind of the resource
- location string
- Location where the resource is stored
- standard
Id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- supported
Clouds StandardSupported Clouds[] - List of all standard supported clouds.
- {[key: string]: string}
- A list of key value pairs that describe the resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- category str
- category of the standard provided
- components
Sequence[Standard
Component Properties Args] - List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- description str
- description of the standard
- display_
name str - display name of the standard, equivalent to the standardId
- kind str
- Kind of the resource
- location str
- Location where the resource is stored
- standard_
id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- supported_
clouds Sequence[StandardSupported Clouds] - List of all standard supported clouds.
- Mapping[str, str]
- A list of key value pairs that describe the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- category String
- category of the standard provided
- components List<Property Map>
- List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
- description String
- description of the standard
- display
Name String - display name of the standard, equivalent to the standardId
- kind String
- Kind of the resource
- location String
- Location where the resource is stored
- standard
Id Changes to this property will trigger replacement.
- The Security Standard key - unique key for the standard type
- supported
Clouds List<"AWS" | "GCP"> - List of all standard supported clouds.
- Map<String>
- A list of key value pairs that describe the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Standard resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Standard
Type string - standard type (Custom or BuiltIn only currently)
- System
Data Pulumi.Azure Native. Security. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Resource type
- Etag string
- Entity tag is used for comparing two or more entities from the same requested resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Standard
Type string - standard type (Custom or BuiltIn only currently)
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Resource type
- Etag string
- Entity tag is used for comparing two or more entities from the same requested resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- standard
Type String - standard type (Custom or BuiltIn only currently)
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Resource type
- etag String
- Entity tag is used for comparing two or more entities from the same requested resource.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- standard
Type string - standard type (Custom or BuiltIn only currently)
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Resource type
- etag string
- Entity tag is used for comparing two or more entities from the same requested resource.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name
- standard_
type str - standard type (Custom or BuiltIn only currently)
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- Resource type
- etag str
- Entity tag is used for comparing two or more entities from the same requested resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- standard
Type String - standard type (Custom or BuiltIn only currently)
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Resource type
- etag String
- Entity tag is used for comparing two or more entities from the same requested resource.
Supporting Types
StandardComponentProperties, StandardComponentPropertiesArgs
- Key string
- Component Key matching componentMetadata
- Key string
- Component Key matching componentMetadata
- key String
- Component Key matching componentMetadata
- key string
- Component Key matching componentMetadata
- key str
- Component Key matching componentMetadata
- key String
- Component Key matching componentMetadata
StandardComponentPropertiesResponse, StandardComponentPropertiesResponseArgs
- Key string
- Component Key matching componentMetadata
- Key string
- Component Key matching componentMetadata
- key String
- Component Key matching componentMetadata
- key string
- Component Key matching componentMetadata
- key str
- Component Key matching componentMetadata
- key String
- Component Key matching componentMetadata
StandardSupportedClouds, StandardSupportedCloudsArgs
- AWS
- AWS
- GCP
- GCP
- Standard
Supported Clouds AWS - AWS
- Standard
Supported Clouds GCP - GCP
- AWS
- AWS
- GCP
- GCP
- AWS
- AWS
- GCP
- GCP
- AWS
- AWS
- GCP
- GCP
- "AWS"
- AWS
- "GCP"
- GCP
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:security:Standard 8bb8be0a-6010-4789-812f-e4d661c4ed0e /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/standards/{standardId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0