1. Packages
  2. Azure Native
  3. API Docs
  4. cosmosdb
  5. TableResourceTableRoleDefinition
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.cosmosdb.TableResourceTableRoleDefinition

Explore with Pulumi AI

Parameters to create and update an Azure Cosmos DB Table Role Definition.

Uses Azure REST API version 2024-12-01-preview.

Example Usage

CosmosDBTableRoleDefinitionCreateUpdate

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

return await Deployment.RunAsync(() => 
{
    var tableResourceTableRoleDefinition = new AzureNative.CosmosDB.TableResourceTableRoleDefinition("tableResourceTableRoleDefinition", new()
    {
        AccountName = "myAccountName",
        AssignableScopes = new[]
        {
            "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales",
            "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases",
        },
        Permissions = new[]
        {
            new AzureNative.CosmosDB.Inputs.PermissionArgs
            {
                DataActions = new[]
                {
                    "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create",
                    "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read",
                },
                NotDataActions = new() { },
            },
        },
        ResourceGroupName = "myResourceGroupName",
        RoleDefinitionId = "myRoleDefinitionId",
        RoleName = "myRoleName",
        Type = AzureNative.CosmosDB.RoleDefinitionType.CustomRole,
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cosmosdb.NewTableResourceTableRoleDefinition(ctx, "tableResourceTableRoleDefinition", &cosmosdb.TableResourceTableRoleDefinitionArgs{
			AccountName: pulumi.String("myAccountName"),
			AssignableScopes: pulumi.StringArray{
				pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales"),
				pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases"),
			},
			Permissions: cosmosdb.PermissionArray{
				&cosmosdb.PermissionArgs{
					DataActions: pulumi.StringArray{
						pulumi.String("Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create"),
						pulumi.String("Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read"),
					},
					NotDataActions: pulumi.StringArray{},
				},
			},
			ResourceGroupName: pulumi.String("myResourceGroupName"),
			RoleDefinitionId:  pulumi.String("myRoleDefinitionId"),
			RoleName:          pulumi.String("myRoleName"),
			Type:              cosmosdb.RoleDefinitionTypeCustomRole,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cosmosdb.TableResourceTableRoleDefinition;
import com.pulumi.azurenative.cosmosdb.TableResourceTableRoleDefinitionArgs;
import com.pulumi.azurenative.cosmosdb.inputs.PermissionArgs;
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 tableResourceTableRoleDefinition = new TableResourceTableRoleDefinition("tableResourceTableRoleDefinition", TableResourceTableRoleDefinitionArgs.builder()
            .accountName("myAccountName")
            .assignableScopes(            
                "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales",
                "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases")
            .permissions(PermissionArgs.builder()
                .dataActions(                
                    "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create",
                    "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read")
                .notDataActions()
                .build())
            .resourceGroupName("myResourceGroupName")
            .roleDefinitionId("myRoleDefinitionId")
            .roleName("myRoleName")
            .type("CustomRole")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const tableResourceTableRoleDefinition = new azure_native.cosmosdb.TableResourceTableRoleDefinition("tableResourceTableRoleDefinition", {
    accountName: "myAccountName",
    assignableScopes: [
        "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales",
        "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases",
    ],
    permissions: [{
        dataActions: [
            "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create",
            "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read",
        ],
        notDataActions: [],
    }],
    resourceGroupName: "myResourceGroupName",
    roleDefinitionId: "myRoleDefinitionId",
    roleName: "myRoleName",
    type: azure_native.cosmosdb.RoleDefinitionType.CustomRole,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

table_resource_table_role_definition = azure_native.cosmosdb.TableResourceTableRoleDefinition("tableResourceTableRoleDefinition",
    account_name="myAccountName",
    assignable_scopes=[
        "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales",
        "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases",
    ],
    permissions=[{
        "data_actions": [
            "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create",
            "Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read",
        ],
        "not_data_actions": [],
    }],
    resource_group_name="myResourceGroupName",
    role_definition_id="myRoleDefinitionId",
    role_name="myRoleName",
    type=azure_native.cosmosdb.RoleDefinitionType.CUSTOM_ROLE)
Copy
resources:
  tableResourceTableRoleDefinition:
    type: azure-native:cosmosdb:TableResourceTableRoleDefinition
    properties:
      accountName: myAccountName
      assignableScopes:
        - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/sales
        - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases
      permissions:
        - dataActions:
            - Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/create
            - Microsoft.DocumentDB/databaseAccounts/tableDatabases/containers/entities/read
          notDataActions: []
      resourceGroupName: myResourceGroupName
      roleDefinitionId: myRoleDefinitionId
      roleName: myRoleName
      type: CustomRole
Copy

Create TableResourceTableRoleDefinition Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TableResourceTableRoleDefinition(name: string, args: TableResourceTableRoleDefinitionArgs, opts?: CustomResourceOptions);
@overload
def TableResourceTableRoleDefinition(resource_name: str,
                                     args: TableResourceTableRoleDefinitionArgs,
                                     opts: Optional[ResourceOptions] = None)

@overload
def TableResourceTableRoleDefinition(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     account_name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     assignable_scopes: Optional[Sequence[str]] = None,
                                     id: Optional[str] = None,
                                     permissions: Optional[Sequence[PermissionArgs]] = None,
                                     role_definition_id: Optional[str] = None,
                                     role_name: Optional[str] = None,
                                     type: Optional[RoleDefinitionType] = None)
func NewTableResourceTableRoleDefinition(ctx *Context, name string, args TableResourceTableRoleDefinitionArgs, opts ...ResourceOption) (*TableResourceTableRoleDefinition, error)
public TableResourceTableRoleDefinition(string name, TableResourceTableRoleDefinitionArgs args, CustomResourceOptions? opts = null)
public TableResourceTableRoleDefinition(String name, TableResourceTableRoleDefinitionArgs args)
public TableResourceTableRoleDefinition(String name, TableResourceTableRoleDefinitionArgs args, CustomResourceOptions options)
type: azure-native:cosmosdb:TableResourceTableRoleDefinition
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. TableResourceTableRoleDefinitionArgs
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. TableResourceTableRoleDefinitionArgs
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. TableResourceTableRoleDefinitionArgs
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. TableResourceTableRoleDefinitionArgs
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. TableResourceTableRoleDefinitionArgs
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 tableResourceTableRoleDefinitionResource = new AzureNative.CosmosDB.TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    AssignableScopes = new[]
    {
        "string",
    },
    Id = "string",
    Permissions = new[]
    {
        new AzureNative.CosmosDB.Inputs.PermissionArgs
        {
            DataActions = new[]
            {
                "string",
            },
            Id = "string",
            NotDataActions = new[]
            {
                "string",
            },
        },
    },
    RoleDefinitionId = "string",
    RoleName = "string",
    Type = AzureNative.CosmosDB.RoleDefinitionType.BuiltInRole,
});
Copy
example, err := cosmosdb.NewTableResourceTableRoleDefinition(ctx, "tableResourceTableRoleDefinitionResource", &cosmosdb.TableResourceTableRoleDefinitionArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	AssignableScopes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Id: pulumi.String("string"),
	Permissions: cosmosdb.PermissionArray{
		&cosmosdb.PermissionArgs{
			DataActions: pulumi.StringArray{
				pulumi.String("string"),
			},
			Id: pulumi.String("string"),
			NotDataActions: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	RoleDefinitionId: pulumi.String("string"),
	RoleName:         pulumi.String("string"),
	Type:             cosmosdb.RoleDefinitionTypeBuiltInRole,
})
Copy
var tableResourceTableRoleDefinitionResource = new TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource", TableResourceTableRoleDefinitionArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .assignableScopes("string")
    .id("string")
    .permissions(PermissionArgs.builder()
        .dataActions("string")
        .id("string")
        .notDataActions("string")
        .build())
    .roleDefinitionId("string")
    .roleName("string")
    .type("BuiltInRole")
    .build());
Copy
table_resource_table_role_definition_resource = azure_native.cosmosdb.TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource",
    account_name="string",
    resource_group_name="string",
    assignable_scopes=["string"],
    id="string",
    permissions=[{
        "data_actions": ["string"],
        "id": "string",
        "not_data_actions": ["string"],
    }],
    role_definition_id="string",
    role_name="string",
    type=azure_native.cosmosdb.RoleDefinitionType.BUILT_IN_ROLE)
Copy
const tableResourceTableRoleDefinitionResource = new azure_native.cosmosdb.TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource", {
    accountName: "string",
    resourceGroupName: "string",
    assignableScopes: ["string"],
    id: "string",
    permissions: [{
        dataActions: ["string"],
        id: "string",
        notDataActions: ["string"],
    }],
    roleDefinitionId: "string",
    roleName: "string",
    type: azure_native.cosmosdb.RoleDefinitionType.BuiltInRole,
});
Copy
type: azure-native:cosmosdb:TableResourceTableRoleDefinition
properties:
    accountName: string
    assignableScopes:
        - string
    id: string
    permissions:
        - dataActions:
            - string
          id: string
          notDataActions:
            - string
    resourceGroupName: string
    roleDefinitionId: string
    roleName: string
    type: BuiltInRole
Copy

TableResourceTableRoleDefinition 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 TableResourceTableRoleDefinition resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AssignableScopes List<string>
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
Id string
The path id for the Role Definition.
Permissions List<Pulumi.AzureNative.CosmosDB.Inputs.Permission>
The set of operations allowed through this Role Definition.
RoleDefinitionId Changes to this property will trigger replacement. string
The GUID for the Role Definition.
RoleName string
A user-friendly name for the Role Definition. Must be unique for the database account.
Type Pulumi.AzureNative.CosmosDB.RoleDefinitionType
Indicates whether the Role Definition was built-in or user created.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AssignableScopes []string
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
Id string
The path id for the Role Definition.
Permissions []PermissionArgs
The set of operations allowed through this Role Definition.
RoleDefinitionId Changes to this property will trigger replacement. string
The GUID for the Role Definition.
RoleName string
A user-friendly name for the Role Definition. Must be unique for the database account.
Type RoleDefinitionType
Indicates whether the Role Definition was built-in or user created.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
assignableScopes List<String>
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
id String
The path id for the Role Definition.
permissions List<Permission>
The set of operations allowed through this Role Definition.
roleDefinitionId Changes to this property will trigger replacement. String
The GUID for the Role Definition.
roleName String
A user-friendly name for the Role Definition. Must be unique for the database account.
type RoleDefinitionType
Indicates whether the Role Definition was built-in or user created.
accountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
assignableScopes string[]
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
id string
The path id for the Role Definition.
permissions Permission[]
The set of operations allowed through this Role Definition.
roleDefinitionId Changes to this property will trigger replacement. string
The GUID for the Role Definition.
roleName string
A user-friendly name for the Role Definition. Must be unique for the database account.
type RoleDefinitionType
Indicates whether the Role Definition was built-in or user created.
account_name
This property is required.
Changes to this property will trigger replacement.
str
Cosmos DB database account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
assignable_scopes Sequence[str]
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
id str
The path id for the Role Definition.
permissions Sequence[PermissionArgs]
The set of operations allowed through this Role Definition.
role_definition_id Changes to this property will trigger replacement. str
The GUID for the Role Definition.
role_name str
A user-friendly name for the Role Definition. Must be unique for the database account.
type RoleDefinitionType
Indicates whether the Role Definition was built-in or user created.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
assignableScopes List<String>
A set of fully qualified Scopes at or below which Table Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.
id String
The path id for the Role Definition.
permissions List<Property Map>
The set of operations allowed through this Role Definition.
roleDefinitionId Changes to this property will trigger replacement. String
The GUID for the Role Definition.
roleName String
A user-friendly name for the Role Definition. Must be unique for the database account.
type "BuiltInRole" | "CustomRole"
Indicates whether the Role Definition was built-in or user created.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.CosmosDB.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.

Supporting Types

Permission
, PermissionArgs

DataActions List<string>
An array of data actions that are allowed.
Id string
The id for the permission.
NotDataActions List<string>
An array of data actions that are denied.
DataActions []string
An array of data actions that are allowed.
Id string
The id for the permission.
NotDataActions []string
An array of data actions that are denied.
dataActions List<String>
An array of data actions that are allowed.
id String
The id for the permission.
notDataActions List<String>
An array of data actions that are denied.
dataActions string[]
An array of data actions that are allowed.
id string
The id for the permission.
notDataActions string[]
An array of data actions that are denied.
data_actions Sequence[str]
An array of data actions that are allowed.
id str
The id for the permission.
not_data_actions Sequence[str]
An array of data actions that are denied.
dataActions List<String>
An array of data actions that are allowed.
id String
The id for the permission.
notDataActions List<String>
An array of data actions that are denied.

PermissionResponse
, PermissionResponseArgs

DataActions List<string>
An array of data actions that are allowed.
Id string
The id for the permission.
NotDataActions List<string>
An array of data actions that are denied.
DataActions []string
An array of data actions that are allowed.
Id string
The id for the permission.
NotDataActions []string
An array of data actions that are denied.
dataActions List<String>
An array of data actions that are allowed.
id String
The id for the permission.
notDataActions List<String>
An array of data actions that are denied.
dataActions string[]
An array of data actions that are allowed.
id string
The id for the permission.
notDataActions string[]
An array of data actions that are denied.
data_actions Sequence[str]
An array of data actions that are allowed.
id str
The id for the permission.
not_data_actions Sequence[str]
An array of data actions that are denied.
dataActions List<String>
An array of data actions that are allowed.
id String
The id for the permission.
notDataActions List<String>
An array of data actions that are denied.

RoleDefinitionType
, RoleDefinitionTypeArgs

BuiltInRole
BuiltInRole
CustomRole
CustomRole
RoleDefinitionTypeBuiltInRole
BuiltInRole
RoleDefinitionTypeCustomRole
CustomRole
BuiltInRole
BuiltInRole
CustomRole
CustomRole
BuiltInRole
BuiltInRole
CustomRole
CustomRole
BUILT_IN_ROLE
BuiltInRole
CUSTOM_ROLE
CustomRole
"BuiltInRole"
BuiltInRole
"CustomRole"
CustomRole

SystemDataResponse
, SystemDataResponseArgs

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:cosmosdb:TableResourceTableRoleDefinition myRoleDefinitionId /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleDefinitions/{roleDefinitionId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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