azure-native.security.Assignment
Explore with Pulumi AI
Security Assignment on a resource group over a given scope Azure REST API version: 2021-08-01-preview. Prior API version in Azure Native 1.x: 2021-08-01-preview.
Example Usage
Define a default standard assignment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var assignment = new AzureNative.Security.Assignment("assignment", new()
{
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
AssignmentId = "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
Description = "Set of policies monitored by Azure Security Center for cross cloud",
DisplayName = "ASC Default",
Effect = "audit",
ResourceGroupName = "myResourceGroup",
Scope = "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg",
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := security.NewAssignment(ctx, "assignment", &security.AssignmentArgs{
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
},
AssignmentId: pulumi.String("1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
Description: pulumi.String("Set of policies monitored by Azure Security Center for cross cloud"),
DisplayName: pulumi.String("ASC Default"),
Effect: pulumi.String("audit"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Scope: pulumi.String("/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.Assignment;
import com.pulumi.azurenative.security.AssignmentArgs;
import com.pulumi.azurenative.security.inputs.AssignedStandardItemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var assignment = new Assignment("assignment", AssignmentArgs.builder()
.assignedStandard(AssignedStandardItemArgs.builder()
.id("/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build())
.assignmentId("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.description("Set of policies monitored by Azure Security Center for cross cloud")
.displayName("ASC Default")
.effect("audit")
.resourceGroupName("myResourceGroup")
.scope("/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.security.Assignment("assignment",
assigned_standard={
"id": "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
assignment_id="1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
description="Set of policies monitored by Azure Security Center for cross cloud",
display_name="ASC Default",
effect="audit",
resource_group_name="myResourceGroup",
scope="/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.security.Assignment("assignment", {
assignedStandard: {
id: "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
assignmentId: "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
description: "Set of policies monitored by Azure Security Center for cross cloud",
displayName: "ASC Default",
effect: "audit",
resourceGroupName: "myResourceGroup",
scope: "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg",
});
resources:
assignment:
type: azure-native:security:Assignment
properties:
assignedStandard:
id: /providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8
assignmentId: 1f3afdf9-d0c9-4c3d-847f-89da613e70a8
description: Set of policies monitored by Azure Security Center for cross cloud
displayName: ASC Default
effect: audit
resourceGroupName: myResourceGroup
scope: /subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg
Exempt Recommendation From standard and resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var assignment = new AzureNative.Security.Assignment("assignment", new()
{
AdditionalData = new AzureNative.Security.Inputs.AssignmentPropertiesAdditionalDataArgs
{
ExemptionCategory = "waiver",
},
AssignedComponent = new AzureNative.Security.Inputs.AssignedComponentItemArgs
{
Key = "1195afff-c881-495e-9bc5-1486211ae03f",
},
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
AssignmentId = "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
Description = "Set of policies monitored by Azure Security Center for cross cloud",
DisplayName = "ASC Default",
Effect = "Exempt",
ExpiresOn = "2022-05-01T19:50:47.083633Z",
Metadata = new Dictionary<string, object?>
{
["ticketId"] = 12345,
},
ResourceGroupName = "myResourceGroup",
Scope = "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg",
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := security.NewAssignment(ctx, "assignment", &security.AssignmentArgs{
AdditionalData: &security.AssignmentPropertiesAdditionalDataArgs{
ExemptionCategory: pulumi.String("waiver"),
},
AssignedComponent: &security.AssignedComponentItemArgs{
Key: pulumi.String("1195afff-c881-495e-9bc5-1486211ae03f"),
},
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
},
AssignmentId: pulumi.String("1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
Description: pulumi.String("Set of policies monitored by Azure Security Center for cross cloud"),
DisplayName: pulumi.String("ASC Default"),
Effect: pulumi.String("Exempt"),
ExpiresOn: pulumi.String("2022-05-01T19:50:47.083633Z"),
Metadata: pulumi.Any(map[string]interface{}{
"ticketId": 12345,
}),
ResourceGroupName: pulumi.String("myResourceGroup"),
Scope: pulumi.String("/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.Assignment;
import com.pulumi.azurenative.security.AssignmentArgs;
import com.pulumi.azurenative.security.inputs.AssignmentPropertiesAdditionalDataArgs;
import com.pulumi.azurenative.security.inputs.AssignedComponentItemArgs;
import com.pulumi.azurenative.security.inputs.AssignedStandardItemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var assignment = new Assignment("assignment", AssignmentArgs.builder()
.additionalData(AssignmentPropertiesAdditionalDataArgs.builder()
.exemptionCategory("waiver")
.build())
.assignedComponent(AssignedComponentItemArgs.builder()
.key("1195afff-c881-495e-9bc5-1486211ae03f")
.build())
.assignedStandard(AssignedStandardItemArgs.builder()
.id("/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build())
.assignmentId("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.description("Set of policies monitored by Azure Security Center for cross cloud")
.displayName("ASC Default")
.effect("Exempt")
.expiresOn("2022-05-01T19:50:47.083633Z")
.metadata(Map.of("ticketId", 12345))
.resourceGroupName("myResourceGroup")
.scope("/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.security.Assignment("assignment",
additional_data={
"exemption_category": "waiver",
},
assigned_component={
"key": "1195afff-c881-495e-9bc5-1486211ae03f",
},
assigned_standard={
"id": "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
assignment_id="1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
description="Set of policies monitored by Azure Security Center for cross cloud",
display_name="ASC Default",
effect="Exempt",
expires_on="2022-05-01T19:50:47.083633Z",
metadata={
"ticketId": 12345,
},
resource_group_name="myResourceGroup",
scope="/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.security.Assignment("assignment", {
additionalData: {
exemptionCategory: "waiver",
},
assignedComponent: {
key: "1195afff-c881-495e-9bc5-1486211ae03f",
},
assignedStandard: {
id: "/providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
assignmentId: "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
description: "Set of policies monitored by Azure Security Center for cross cloud",
displayName: "ASC Default",
effect: "Exempt",
expiresOn: "2022-05-01T19:50:47.083633Z",
metadata: {
ticketId: 12345,
},
resourceGroupName: "myResourceGroup",
scope: "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg",
});
resources:
assignment:
type: azure-native:security:Assignment
properties:
additionalData:
exemptionCategory: waiver
assignedComponent:
key: 1195afff-c881-495e-9bc5-1486211ae03f
assignedStandard:
id: /providers/Microsoft.Security/Standards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8
assignmentId: 1f3afdf9-d0c9-4c3d-847f-89da613e70a8
description: Set of policies monitored by Azure Security Center for cross cloud
displayName: ASC Default
effect: Exempt
expiresOn: 2022-05-01T19:50:47.083633Z
metadata:
ticketId: 12345
resourceGroupName: myResourceGroup
scope: /subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/ResourceGroup/rg
Create Assignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Assignment(name: string, args: AssignmentArgs, opts?: CustomResourceOptions);
@overload
def Assignment(resource_name: str,
args: AssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Assignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
effect: Optional[str] = None,
assigned_standard: Optional[AssignedStandardItemArgs] = None,
assignment_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
additional_data: Optional[AssignmentPropertiesAdditionalDataArgs] = None,
expires_on: Optional[str] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
metadata: Optional[Any] = None,
assigned_component: Optional[AssignedComponentItemArgs] = None,
scope: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAssignment(ctx *Context, name string, args AssignmentArgs, opts ...ResourceOption) (*Assignment, error)
public Assignment(string name, AssignmentArgs args, CustomResourceOptions? opts = null)
public Assignment(String name, AssignmentArgs args)
public Assignment(String name, AssignmentArgs args, CustomResourceOptions options)
type: azure-native:security:Assignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssignmentArgs
- 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 azure_nativeAssignmentResource = new AzureNative.Security.Assignment("azure-nativeAssignmentResource", new()
{
ResourceGroupName = "string",
Effect = "string",
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "string",
},
AssignmentId = "string",
Description = "string",
DisplayName = "string",
AdditionalData = new AzureNative.Security.Inputs.AssignmentPropertiesAdditionalDataArgs
{
ExemptionCategory = "string",
},
ExpiresOn = "string",
Kind = "string",
Location = "string",
Metadata = "any",
AssignedComponent = new AzureNative.Security.Inputs.AssignedComponentItemArgs
{
Key = "string",
},
Scope = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := security.NewAssignment(ctx, "azure-nativeAssignmentResource", &security.AssignmentArgs{
ResourceGroupName: pulumi.String("string"),
Effect: pulumi.String("string"),
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("string"),
},
AssignmentId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
AdditionalData: &security.AssignmentPropertiesAdditionalDataArgs{
ExemptionCategory: pulumi.String("string"),
},
ExpiresOn: pulumi.String("string"),
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
Metadata: pulumi.Any("any"),
AssignedComponent: &security.AssignedComponentItemArgs{
Key: pulumi.String("string"),
},
Scope: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var azure_nativeAssignmentResource = new Assignment("azure-nativeAssignmentResource", AssignmentArgs.builder()
.resourceGroupName("string")
.effect("string")
.assignedStandard(AssignedStandardItemArgs.builder()
.id("string")
.build())
.assignmentId("string")
.description("string")
.displayName("string")
.additionalData(AssignmentPropertiesAdditionalDataArgs.builder()
.exemptionCategory("string")
.build())
.expiresOn("string")
.kind("string")
.location("string")
.metadata("any")
.assignedComponent(AssignedComponentItemArgs.builder()
.key("string")
.build())
.scope("string")
.tags(Map.of("string", "string"))
.build());
azure_native_assignment_resource = azure_native.security.Assignment("azure-nativeAssignmentResource",
resource_group_name="string",
effect="string",
assigned_standard={
"id": "string",
},
assignment_id="string",
description="string",
display_name="string",
additional_data={
"exemption_category": "string",
},
expires_on="string",
kind="string",
location="string",
metadata="any",
assigned_component={
"key": "string",
},
scope="string",
tags={
"string": "string",
})
const azure_nativeAssignmentResource = new azure_native.security.Assignment("azure-nativeAssignmentResource", {
resourceGroupName: "string",
effect: "string",
assignedStandard: {
id: "string",
},
assignmentId: "string",
description: "string",
displayName: "string",
additionalData: {
exemptionCategory: "string",
},
expiresOn: "string",
kind: "string",
location: "string",
metadata: "any",
assignedComponent: {
key: "string",
},
scope: "string",
tags: {
string: "string",
},
});
type: azure-native:security:Assignment
properties:
additionalData:
exemptionCategory: string
assignedComponent:
key: string
assignedStandard:
id: string
assignmentId: string
description: string
displayName: string
effect: string
expiresOn: string
kind: string
location: string
metadata: any
resourceGroupName: string
scope: string
tags:
string: string
Assignment 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 Assignment resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Additional
Data Pulumi.Azure Native. Security. Inputs. Assignment Properties Additional Data - Additional data about the assignment
- Assigned
Component Pulumi.Azure Native. Security. Inputs. Assigned Component Item - Component item with key as applied to this standard assignment over the given scope
- Assigned
Standard Pulumi.Azure Native. Security. Inputs. Assigned Standard Item - Standard item with key as applied to this standard assignment over the given scope
- Assignment
Id string - The security assignment key - unique key for the standard assignment
- Description string
- description of the standardAssignment
- Display
Name string - display name of the standardAssignment
- Effect string
- expected effect of this assignment (Disable/Exempt/etc)
- Expires
On string - Expiration date of this assignment as a full ISO date
- Kind string
- Kind of the resource
- Location string
- Location where the resource is stored
- Metadata object
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- Scope string
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- Dictionary<string, string>
- A list of key value pairs that describe the resource.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Additional
Data AssignmentProperties Additional Data Args - Additional data about the assignment
- Assigned
Component AssignedComponent Item Args - Component item with key as applied to this standard assignment over the given scope
- Assigned
Standard AssignedStandard Item Args - Standard item with key as applied to this standard assignment over the given scope
- Assignment
Id string - The security assignment key - unique key for the standard assignment
- Description string
- description of the standardAssignment
- Display
Name string - display name of the standardAssignment
- Effect string
- expected effect of this assignment (Disable/Exempt/etc)
- Expires
On string - Expiration date of this assignment as a full ISO date
- Kind string
- Kind of the resource
- Location string
- Location where the resource is stored
- Metadata interface{}
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- Scope string
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- map[string]string
- A list of key value pairs that describe the resource.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- additional
Data AssignmentProperties Additional Data - Additional data about the assignment
- assigned
Component AssignedComponent Item - Component item with key as applied to this standard assignment over the given scope
- assigned
Standard AssignedStandard Item - Standard item with key as applied to this standard assignment over the given scope
- assignment
Id String - The security assignment key - unique key for the standard assignment
- description String
- description of the standardAssignment
- display
Name String - display name of the standardAssignment
- effect String
- expected effect of this assignment (Disable/Exempt/etc)
- expires
On String - Expiration date of this assignment as a full ISO date
- kind String
- Kind of the resource
- location String
- Location where the resource is stored
- metadata Object
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- scope String
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- Map<String,String>
- A list of key value pairs that describe the resource.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- additional
Data AssignmentProperties Additional Data - Additional data about the assignment
- assigned
Component AssignedComponent Item - Component item with key as applied to this standard assignment over the given scope
- assigned
Standard AssignedStandard Item - Standard item with key as applied to this standard assignment over the given scope
- assignment
Id string - The security assignment key - unique key for the standard assignment
- description string
- description of the standardAssignment
- display
Name string - display name of the standardAssignment
- effect string
- expected effect of this assignment (Disable/Exempt/etc)
- expires
On string - Expiration date of this assignment as a full ISO date
- kind string
- Kind of the resource
- location string
- Location where the resource is stored
- metadata any
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- scope string
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- {[key: string]: string}
- A list of key value pairs that describe the resource.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- additional_
data AssignmentProperties Additional Data Args - Additional data about the assignment
- assigned_
component AssignedComponent Item Args - Component item with key as applied to this standard assignment over the given scope
- assigned_
standard AssignedStandard Item Args - Standard item with key as applied to this standard assignment over the given scope
- assignment_
id str - The security assignment key - unique key for the standard assignment
- description str
- description of the standardAssignment
- display_
name str - display name of the standardAssignment
- effect str
- expected effect of this assignment (Disable/Exempt/etc)
- expires_
on str - Expiration date of this assignment as a full ISO date
- kind str
- Kind of the resource
- location str
- Location where the resource is stored
- metadata Any
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- scope str
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- Mapping[str, str]
- A list of key value pairs that describe the resource.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- additional
Data Property Map - Additional data about the assignment
- assigned
Component Property Map - Component item with key as applied to this standard assignment over the given scope
- assigned
Standard Property Map - Standard item with key as applied to this standard assignment over the given scope
- assignment
Id String - The security assignment key - unique key for the standard assignment
- description String
- description of the standardAssignment
- display
Name String - display name of the standardAssignment
- effect String
- expected effect of this assignment (Disable/Exempt/etc)
- expires
On String - Expiration date of this assignment as a full ISO date
- kind String
- Kind of the resource
- location String
- Location where the resource is stored
- metadata Any
- The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- scope String
- Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription
- Map<String>
- A list of key value pairs that describe the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Assignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- 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
AssignedComponentItem, AssignedComponentItemArgs
- Key string
- unique key to a security assessment object
- Key string
- unique key to a security assessment object
- key String
- unique key to a security assessment object
- key string
- unique key to a security assessment object
- key str
- unique key to a security assessment object
- key String
- unique key to a security assessment object
AssignedComponentItemResponse, AssignedComponentItemResponseArgs
- Key string
- unique key to a security assessment object
- Key string
- unique key to a security assessment object
- key String
- unique key to a security assessment object
- key string
- unique key to a security assessment object
- key str
- unique key to a security assessment object
- key String
- unique key to a security assessment object
AssignedStandardItem, AssignedStandardItemArgs
- Id string
- Full resourceId of the Microsoft.Security/standard object
- Id string
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
- id string
- Full resourceId of the Microsoft.Security/standard object
- id str
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
AssignedStandardItemResponse, AssignedStandardItemResponseArgs
- Id string
- Full resourceId of the Microsoft.Security/standard object
- Id string
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
- id string
- Full resourceId of the Microsoft.Security/standard object
- id str
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
AssignmentPropertiesAdditionalData, AssignmentPropertiesAdditionalDataArgs
- Exemption
Category string - Exemption category of this assignment
- Exemption
Category string - Exemption category of this assignment
- exemption
Category String - Exemption category of this assignment
- exemption
Category string - Exemption category of this assignment
- exemption_
category str - Exemption category of this assignment
- exemption
Category String - Exemption category of this assignment
AssignmentPropertiesResponseAdditionalData, AssignmentPropertiesResponseAdditionalDataArgs
- Exemption
Category string - Exemption category of this assignment
- Exemption
Category string - Exemption category of this assignment
- exemption
Category String - Exemption category of this assignment
- exemption
Category string - Exemption category of this assignment
- exemption_
category str - Exemption category of this assignment
- exemption
Category String - Exemption category of this assignment
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:Assignment 1f3afdf9-d0c9-4c3d-847f-89da613e70a8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/assignments/{assignmentId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0