azure-native.security.CustomEntityStoreAssignment
Explore with Pulumi AI
Custom entity store assignment
Uses Azure REST API version 2021-07-01-preview. In version 1.x of the Azure Native provider, it used API version 2021-07-01-preview.
Create CustomEntityStoreAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomEntityStoreAssignment(name: string, args: CustomEntityStoreAssignmentArgs, opts?: CustomResourceOptions);
@overload
def CustomEntityStoreAssignment(resource_name: str,
args: CustomEntityStoreAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomEntityStoreAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
custom_entity_store_assignment_name: Optional[str] = None,
principal: Optional[str] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CustomEntityStoreAssignmentArgs - 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. 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
This property is required. string - The unique name of the resource.
- args
This property is required. CustomEntityStoreAssignmentArgs - 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. CustomEntityStoreAssignmentArgs - 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. CustomEntityStoreAssignmentArgs - 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 customEntityStoreAssignmentResource = new AzureNative.Security.CustomEntityStoreAssignment("customEntityStoreAssignmentResource", new()
{
ResourceGroupName = "string",
CustomEntityStoreAssignmentName = "string",
Principal = "string",
});
example, err := security.NewCustomEntityStoreAssignment(ctx, "customEntityStoreAssignmentResource", &security.CustomEntityStoreAssignmentArgs{
ResourceGroupName: pulumi.String("string"),
CustomEntityStoreAssignmentName: pulumi.String("string"),
Principal: pulumi.String("string"),
})
var customEntityStoreAssignmentResource = new CustomEntityStoreAssignment("customEntityStoreAssignmentResource", CustomEntityStoreAssignmentArgs.builder()
.resourceGroupName("string")
.customEntityStoreAssignmentName("string")
.principal("string")
.build());
custom_entity_store_assignment_resource = azure_native.security.CustomEntityStoreAssignment("customEntityStoreAssignmentResource",
resource_group_name="string",
custom_entity_store_assignment_name="string",
principal="string")
const customEntityStoreAssignmentResource = new azure_native.security.CustomEntityStoreAssignment("customEntityStoreAssignmentResource", {
resourceGroupName: "string",
customEntityStoreAssignmentName: "string",
principal: "string",
});
type: azure-native:security:CustomEntityStoreAssignment
properties:
customEntityStoreAssignmentName: string
principal: string
resourceGroupName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CustomEntityStoreAssignment 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.
- Custom
Entity Store Assignment Name Changes to this property will trigger replacement.
- 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 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.
- Custom
Entity Store Assignment Name Changes to this property will trigger replacement.
- 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 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.
- custom
Entity Store Assignment Name Changes to this property will trigger replacement.
- 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 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.
- custom
Entity Store Assignment Name Changes to this property will trigger replacement.
- 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 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.
- custom_
entity_ store_ assignment_ name Changes to this property will trigger replacement.
- 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]
- 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.
- custom
Entity Store Assignment Name Changes to this property will trigger replacement.
- 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
- System
Data Pulumi.Azure Native. Security. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Resource type
- Entity
Store stringDatabase Link - The link to entity store database.
- 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
- Entity
Store stringDatabase Link - The link to entity store database.
- 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
- entity
Store StringDatabase Link - The link to entity store database.
- 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
- entity
Store stringDatabase Link - The link to entity store database.
- 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
- entity_
store_ strdatabase_ link - The link to entity store database.
- 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
- entity
Store StringDatabase Link - The link to entity store database.
Supporting Types
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:CustomEntityStoreAssignment 33e7cc6e-a139-4723-a0e5-76993aee0771 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0