azure-native.documentdb.TableResourceTableRoleDefinition
Explore with Pulumi AI
Parameters to create and update an Azure Cosmos DB Table Role Definition. 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.DocumentDB.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.DocumentDB.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.DocumentDB.RoleDefinitionType.CustomRole,
});
});
package main
import (
documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := documentdb.NewTableResourceTableRoleDefinition(ctx, "tableResourceTableRoleDefinition", &documentdb.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: documentdb.PermissionArray{
&documentdb.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: documentdb.RoleDefinitionTypeCustomRole,
})
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.documentdb.TableResourceTableRoleDefinition;
import com.pulumi.azurenative.documentdb.TableResourceTableRoleDefinitionArgs;
import com.pulumi.azurenative.documentdb.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());
}
}
import pulumi
import pulumi_azure_native as azure_native
table_resource_table_role_definition = azure_native.documentdb.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.documentdb.RoleDefinitionType.CUSTOM_ROLE)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const tableResourceTableRoleDefinition = new azure_native.documentdb.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.documentdb.RoleDefinitionType.CustomRole,
});
resources:
tableResourceTableRoleDefinition:
type: azure-native:documentdb: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
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:documentdb:TableResourceTableRoleDefinition
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 TableResourceTableRoleDefinitionArgs
- 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 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 string
- The unique name of the resource.
- args TableResourceTableRoleDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableResourceTableRoleDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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.DocumentDB.TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
AssignableScopes = new[]
{
"string",
},
Id = "string",
Permissions = new[]
{
new AzureNative.DocumentDB.Inputs.PermissionArgs
{
DataActions = new[]
{
"string",
},
Id = "string",
NotDataActions = new[]
{
"string",
},
},
},
RoleDefinitionId = "string",
RoleName = "string",
Type = AzureNative.DocumentDB.RoleDefinitionType.BuiltInRole,
});
example, err := documentdb.NewTableResourceTableRoleDefinition(ctx, "tableResourceTableRoleDefinitionResource", &documentdb.TableResourceTableRoleDefinitionArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AssignableScopes: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.String("string"),
Permissions: documentdb.PermissionArray{
&documentdb.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: documentdb.RoleDefinitionTypeBuiltInRole,
})
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());
table_resource_table_role_definition_resource = azure_native.documentdb.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.documentdb.RoleDefinitionType.BUILT_IN_ROLE)
const tableResourceTableRoleDefinitionResource = new azure_native.documentdb.TableResourceTableRoleDefinition("tableResourceTableRoleDefinitionResource", {
accountName: "string",
resourceGroupName: "string",
assignableScopes: ["string"],
id: "string",
permissions: [{
dataActions: ["string"],
id: "string",
notDataActions: ["string"],
}],
roleDefinitionId: "string",
roleName: "string",
type: azure_native.documentdb.RoleDefinitionType.BuiltInRole,
});
type: azure-native:documentdb:TableResourceTableRoleDefinition
properties:
accountName: string
assignableScopes:
- string
id: string
permissions:
- dataActions:
- string
id: string
notDataActions:
- string
resourceGroupName: string
roleDefinitionId: string
roleName: string
type: BuiltInRole
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:
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Assignable
Scopes 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.
Azure Native. Document DB. Inputs. Permission> - The set of operations allowed through this Role Definition.
- Role
Definition stringId - The GUID for the Role Definition.
- Role
Name string - A user-friendly name for the Role Definition. Must be unique for the database account.
- Type
Pulumi.
Azure Native. Document DB. Role Definition Type - Indicates whether the Role Definition was built-in or user created.
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Assignable
Scopes []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
Args - The set of operations allowed through this Role Definition.
- Role
Definition stringId - The GUID for the Role Definition.
- Role
Name string - A user-friendly name for the Role Definition. Must be unique for the database account.
- Type
Role
Definition Type - Indicates whether the Role Definition was built-in or user created.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- assignable
Scopes 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.
- role
Definition StringId - The GUID for the Role Definition.
- role
Name String - A user-friendly name for the Role Definition. Must be unique for the database account.
- type
Role
Definition Type - Indicates whether the Role Definition was built-in or user created.
- account
Name string - Cosmos DB database account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- assignable
Scopes 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.
- role
Definition stringId - The GUID for the Role Definition.
- role
Name string - A user-friendly name for the Role Definition. Must be unique for the database account.
- type
Role
Definition Type - Indicates whether the Role Definition was built-in or user created.
- account_
name str - Cosmos DB database account name.
- resource_
group_ strname - 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[Permission
Args] - The set of operations allowed through this Role Definition.
- role_
definition_ strid - 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
Role
Definition Type - Indicates whether the Role Definition was built-in or user created.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- assignable
Scopes 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.
- role
Definition StringId - The GUID for the Role Definition.
- role
Name String - A user-friendly name for the Role Definition. Must be unique for the database account.
- type
"Built
In Role" | "Custom Role" - 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Document DB. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
Supporting Types
Permission, PermissionArgs
- Data
Actions List<string> - An array of data actions that are allowed.
- Id string
- The id for the permission.
- Not
Data List<string>Actions - An array of data actions that are denied.
- Data
Actions []string - An array of data actions that are allowed.
- Id string
- The id for the permission.
- Not
Data []stringActions - An array of data actions that are denied.
- data
Actions List<String> - An array of data actions that are allowed.
- id String
- The id for the permission.
- not
Data List<String>Actions - An array of data actions that are denied.
- data
Actions string[] - An array of data actions that are allowed.
- id string
- The id for the permission.
- not
Data string[]Actions - 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_ Sequence[str]actions - An array of data actions that are denied.
- data
Actions List<String> - An array of data actions that are allowed.
- id String
- The id for the permission.
- not
Data List<String>Actions - An array of data actions that are denied.
PermissionResponse, PermissionResponseArgs
- Data
Actions List<string> - An array of data actions that are allowed.
- Id string
- The id for the permission.
- Not
Data List<string>Actions - An array of data actions that are denied.
- Data
Actions []string - An array of data actions that are allowed.
- Id string
- The id for the permission.
- Not
Data []stringActions - An array of data actions that are denied.
- data
Actions List<String> - An array of data actions that are allowed.
- id String
- The id for the permission.
- not
Data List<String>Actions - An array of data actions that are denied.
- data
Actions string[] - An array of data actions that are allowed.
- id string
- The id for the permission.
- not
Data string[]Actions - 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_ Sequence[str]actions - An array of data actions that are denied.
- data
Actions List<String> - An array of data actions that are allowed.
- id String
- The id for the permission.
- not
Data List<String>Actions - An array of data actions that are denied.
RoleDefinitionType, RoleDefinitionTypeArgs
- Built
In Role - BuiltInRole
- Custom
Role - CustomRole
- Role
Definition Type Built In Role - BuiltInRole
- Role
Definition Type Custom Role - CustomRole
- Built
In Role - BuiltInRole
- Custom
Role - CustomRole
- Built
In Role - BuiltInRole
- Custom
Role - CustomRole
- BUILT_IN_ROLE
- BuiltInRole
- CUSTOM_ROLE
- CustomRole
- "Built
In Role" - BuiltInRole
- "Custom
Role" - CustomRole
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:documentdb:TableResourceTableRoleDefinition myRoleDefinitionId /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleDefinitions/{roleDefinitionId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0