azure-native.security.CustomEntityStoreAssignment

Custom entity store assignment API Version: 2021-07-01-preview.

Example Usage

Create a custom entity store assignment

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var customEntityStoreAssignment = new AzureNative.Security.CustomEntityStoreAssignment("customEntityStoreAssignment", new()
    {
        CustomEntityStoreAssignmentName = "33e7cc6e-a139-4723-a0e5-76993aee0771",
        Principal = "aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
        ResourceGroupName = "TestResourceGroup",
    });

});
package main

import (
	security "github.com/pulumi/pulumi-azure-native/sdk/go/azure/security"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewCustomEntityStoreAssignment(ctx, "customEntityStoreAssignment", &security.CustomEntityStoreAssignmentArgs{
			CustomEntityStoreAssignmentName: pulumi.String("33e7cc6e-a139-4723-a0e5-76993aee0771"),
			Principal:                       pulumi.String("aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47"),
			ResourceGroupName:               pulumi.String("TestResourceGroup"),
		})
		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.CustomEntityStoreAssignment;
import com.pulumi.azurenative.security.CustomEntityStoreAssignmentArgs;
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 customEntityStoreAssignment = new CustomEntityStoreAssignment("customEntityStoreAssignment", CustomEntityStoreAssignmentArgs.builder()        
            .customEntityStoreAssignmentName("33e7cc6e-a139-4723-a0e5-76993aee0771")
            .principal("aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47")
            .resourceGroupName("TestResourceGroup")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

custom_entity_store_assignment = azure_native.security.CustomEntityStoreAssignment("customEntityStoreAssignment",
    custom_entity_store_assignment_name="33e7cc6e-a139-4723-a0e5-76993aee0771",
    principal="aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
    resource_group_name="TestResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const customEntityStoreAssignment = new azure_native.security.CustomEntityStoreAssignment("customEntityStoreAssignment", {
    customEntityStoreAssignmentName: "33e7cc6e-a139-4723-a0e5-76993aee0771",
    principal: "aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
    resourceGroupName: "TestResourceGroup",
});
resources:
  customEntityStoreAssignment:
    type: azure-native:security:CustomEntityStoreAssignment
    properties:
      customEntityStoreAssignmentName: 33e7cc6e-a139-4723-a0e5-76993aee0771
      principal: aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47
      resourceGroupName: TestResourceGroup

Create CustomEntityStoreAssignment Resource

new CustomEntityStoreAssignment(name: string, args: CustomEntityStoreAssignmentArgs, opts?: CustomResourceOptions);
@overload
def CustomEntityStoreAssignment(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                custom_entity_store_assignment_name: Optional[str] = None,
                                principal: Optional[str] = None,
                                resource_group_name: Optional[str] = None)
@overload
def CustomEntityStoreAssignment(resource_name: str,
                                args: CustomEntityStoreAssignmentArgs,
                                opts: Optional[ResourceOptions] = None)
func NewCustomEntityStoreAssignment(ctx *Context, name string, args CustomEntityStoreAssignmentArgs, opts ...ResourceOption) (*CustomEntityStoreAssignment, error)
public CustomEntityStoreAssignment(string name, CustomEntityStoreAssignmentArgs args, CustomResourceOptions? opts = null)
public CustomEntityStoreAssignment(String name, CustomEntityStoreAssignmentArgs args)
public CustomEntityStoreAssignment(String name, CustomEntityStoreAssignmentArgs args, CustomResourceOptions options)
type: azure-native:security:CustomEntityStoreAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CustomEntityStoreAssignmentArgs
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 CustomEntityStoreAssignmentArgs
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 CustomEntityStoreAssignmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomEntityStoreAssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CustomEntityStoreAssignmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CustomEntityStoreAssignment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CustomEntityStoreAssignment resource accepts the following input properties:

ResourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

CustomEntityStoreAssignmentName string

Name of the custom entity store assignment. Generated name is GUID.

Principal string

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

ResourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

CustomEntityStoreAssignmentName string

Name of the custom entity store assignment. Generated name is GUID.

Principal string

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

resourceGroupName String

The name of the resource group within the user's subscription. The name is case insensitive.

customEntityStoreAssignmentName String

Name of the custom entity store assignment. Generated name is GUID.

principal String

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

resourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

customEntityStoreAssignmentName string

Name of the custom entity store assignment. Generated name is GUID.

principal string

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

resource_group_name str

The name of the resource group within the user's subscription. The name is case insensitive.

custom_entity_store_assignment_name str

Name of the custom entity store assignment. Generated name is GUID.

principal str

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

resourceGroupName String

The name of the resource group within the user's subscription. The name is case insensitive.

customEntityStoreAssignmentName String

Name of the custom entity store assignment. Generated name is GUID.

principal String

The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomEntityStoreAssignment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

SystemData Pulumi.AzureNative.Security.Outputs.SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

Resource type

EntityStoreDatabaseLink string

The link to entity store database.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

SystemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

Resource type

EntityStoreDatabaseLink string

The link to entity store database.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

Resource type

entityStoreDatabaseLink String

The link to entity store database.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type string

Resource type

entityStoreDatabaseLink string

The link to entity store database.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name

system_data SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type str

Resource type

entity_store_database_link str

The link to entity store database.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

systemData Property Map

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

Resource type

entityStoreDatabaseLink String

The link to entity store database.

Supporting Types

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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:CustomEntityStoreAssignment 33e7cc6e-a139-4723-a0e5-76993aee0771 /subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customEntityStoreAssignments/33e7cc6e-a139-4723-a0e5-76993aee0771 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0