ArmCosmosDBModelFactory.CosmosDBTableRoleAssignmentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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
Azure SDK for .NET