TableRoleAssignmentResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. TableRoleAssignmentResourceInner
- com.
- com.
public final class TableRoleAssignmentResourceInner
extends ProxyResource
Parameters to create and update an Azure Cosmos DB Table Role Assignment.
Constructor Summary
| Constructor | Description |
|---|---|
| TableRoleAssignmentResourceInner() |
Creates an instance of Table |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Table |
fromJson(JsonReader jsonReader)
Reads an instance of Table |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
principalId()
Get the principal |
| String |
provisioningState()
Get the provisioning |
| String |
roleDefinitionId()
Get the role |
| String |
scope()
Get the scope property: The data plane resource path for which access is being granted through this Table Role Assignment. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Table |
withPrincipalId(String principalId)
Set the principal |
|
Table |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
|
Table |
withScope(String scope)
Set the scope property: The data plane resource path for which access is being granted through this Table Role Assignment. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
TableRoleAssignmentResourceInner
public TableRoleAssignmentResourceInner()
Creates an instance of TableRoleAssignmentResourceInner class.
Method Details
fromJson
public static TableRoleAssignmentResourceInner fromJson(JsonReader jsonReader)
Reads an instance of TableRoleAssignmentResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TableRoleAssignmentResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TableRoleAssignmentResourceInner.name()Returns:
principalId
public String principalId()
Get the principalId property: 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.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The unique identifier for the associated Role Definition.
Returns:
scope
public String scope()
Get the scope property: The data plane resource path for which access is being granted through this Table Role Assignment.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TableRoleAssignmentResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TableRoleAssignmentResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withPrincipalId
public TableRoleAssignmentResourceInner withPrincipalId(String principalId)
Set the principalId property: 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.
Parameters:
Returns:
withRoleDefinitionId
public TableRoleAssignmentResourceInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The unique identifier for the associated Role Definition.
Parameters:
Returns:
withScope
public TableRoleAssignmentResourceInner withScope(String scope)
Set the scope property: The data plane resource path for which access is being granted through this Table Role Assignment.
Parameters:
Returns: