TableRoleDefinitionResource Constructors

Definition

Overloads

Name Description
TableRoleDefinitionResource()

Initializes a new instance of the TableRoleDefinitionResource class.

TableRoleDefinitionResource(String, String, String, SystemData, String, String, Nullable<RoleDefinitionType>, IList<String>, IList<PermissionAutoGenerated>)

Initializes a new instance of the TableRoleDefinitionResource class.

TableRoleDefinitionResource()

Initializes a new instance of the TableRoleDefinitionResource class.

public TableRoleDefinitionResource();
Public Sub New ()

Applies to

TableRoleDefinitionResource(String, String, String, SystemData, String, String, Nullable<RoleDefinitionType>, IList<String>, IList<PermissionAutoGenerated>)

Initializes a new instance of the TableRoleDefinitionResource class.

public TableRoleDefinitionResource(string id = default, string name = default, string type = default, Microsoft.Azure.Management.CosmosDB.Models.SystemData systemData = default, string propertiesId = default, string roleName = default, Microsoft.Azure.Management.CosmosDB.Models.RoleDefinitionType? propertiesType = default, System.Collections.Generic.IList<string> assignableScopes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.PermissionAutoGenerated> permissions = default);
new Microsoft.Azure.Management.CosmosDB.Models.TableRoleDefinitionResource : string * string * string * Microsoft.Azure.Management.CosmosDB.Models.SystemData * string * string * Nullable<Microsoft.Azure.Management.CosmosDB.Models.RoleDefinitionType> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.PermissionAutoGenerated> -> Microsoft.Azure.Management.CosmosDB.Models.TableRoleDefinitionResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional propertiesId As String = Nothing, Optional roleName As String = Nothing, Optional propertiesType As Nullable(Of RoleDefinitionType) = Nothing, Optional assignableScopes As IList(Of String) = Nothing, Optional permissions As IList(Of PermissionAutoGenerated) = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

propertiesId
String

The path id for the Role Definition.

roleName
String

A user-friendly name for the Role Definition. Must be unique for the database account.

propertiesType
Nullable<RoleDefinitionType>

Indicates whether the Role Definition was built-in or user created. Possible values include: 'BuiltInRole', 'CustomRole'

assignableScopes
IList<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.

permissions
IList<PermissionAutoGenerated>

The set of operations allowed through this Role Definition.

Applies to