Interface DatabasePrincipalAssignment
public interface DatabasePrincipalAssignment
An immutable client-side representation of DatabasePrincipalAssignment.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the DatabasePrincipalAssignment definition.static interface
The DatabasePrincipalAssignment definition stages.static interface
The template for DatabasePrincipalAssignment update.static interface
The DatabasePrincipalAssignment update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the aadObjectId property: The service principal object id in AAD (Azure active directory).id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.kusto.fluent.models.DatabasePrincipalAssignmentInner object.name()
Gets the name property: The name of the resource.Gets the principalId property: The principal ID assigned to the database principal.Gets the principalName property: The principal name.Gets the principalType property: Principal type.Gets the provisioningState property: The provisioned state of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.role()
Gets the role property: Database principal role.tenantId()
Gets the tenantId property: The tenant id of the principal.Gets the tenantName property: The tenant name of the principal.type()
Gets the type property: The type of the resource.update()
Begins update for the DatabasePrincipalAssignment resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
principalId
String principalId()Gets the principalId property: The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.- Returns:
- the principalId value.
-
role
DatabasePrincipalRole role()Gets the role property: Database principal role.- Returns:
- the role value.
-
tenantId
String tenantId()Gets the tenantId property: The tenant id of the principal.- Returns:
- the tenantId value.
-
principalType
PrincipalType principalType()Gets the principalType property: Principal type.- Returns:
- the principalType value.
-
tenantName
String tenantName()Gets the tenantName property: The tenant name of the principal.- Returns:
- the tenantName value.
-
principalName
String principalName()Gets the principalName property: The principal name.- Returns:
- the principalName value.
-
provisioningState
ProvisioningState provisioningState()Gets the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
aadObjectId
String aadObjectId()Gets the aadObjectId property: The service principal object id in AAD (Azure active directory).- Returns:
- the aadObjectId value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
DatabasePrincipalAssignmentInner innerModel()Gets the inner com.azure.resourcemanager.kusto.fluent.models.DatabasePrincipalAssignmentInner object.- Returns:
- the inner object.
-
update
DatabasePrincipalAssignment.Update update()Begins update for the DatabasePrincipalAssignment resource.- Returns:
- the stage of resource update.
-
refresh
DatabasePrincipalAssignment refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-