Sdílet prostřednictvím


ArmCosmosDBModelFactory.CosmosDBTableRoleAssignmentData Method

Definition

Initializes a new instance of CosmosDBTableRoleAssignmentData.

public static Azure.ResourceManager.CosmosDB.CosmosDBTableRoleAssignmentData CosmosDBTableRoleAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, Azure.Core.ResourceIdentifier scope = default, Guid? principalId = default, string provisioningState = default);
static member CosmosDBTableRoleAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Guid> * string -> Azure.ResourceManager.CosmosDB.CosmosDBTableRoleAssignmentData
Public Shared Function CosmosDBTableRoleAssignmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional scope As ResourceIdentifier = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional provisioningState As String = Nothing) As CosmosDBTableRoleAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

roleDefinitionId
ResourceIdentifier

The unique identifier for the associated Role Definition.

scope
ResourceIdentifier

The data plane resource path for which access is being granted through this Table Role Assignment.

principalId
Nullable<Guid>

The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Table Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.

provisioningState
String

Provisioning state of the resource.

Returns

A new CosmosDBTableRoleAssignmentData instance for mocking.

Applies to