Interface DatabasePrincipalAssignment
-
public interface DatabasePrincipalAssignment
An immutable client-side representation of DatabasePrincipalAssignment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DatabasePrincipalAssignment.Definition
The entirety of the DatabasePrincipalAssignment definition.static interface
DatabasePrincipalAssignment.DefinitionStages
The DatabasePrincipalAssignment definition stages.static interface
DatabasePrincipalAssignment.Update
The template for DatabasePrincipalAssignment update.static interface
DatabasePrincipalAssignment.UpdateStages
The DatabasePrincipalAssignment update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
aadObjectId()
Gets the aadObjectId property: The service principal object id in AAD (Azure active directory).String
id()
Gets the id property: Fully qualified resource Id for the resource.DatabasePrincipalAssignmentInner
innerModel()
Gets the inner com.azure.resourcemanager.kusto.fluent.models.DatabasePrincipalAssignmentInner object.String
name()
Gets the name property: The name of the resource.String
principalId()
Gets the principalId property: The principal ID assigned to the database principal.String
principalName()
Gets the principalName property: The principal name.PrincipalType
principalType()
Gets the principalType property: Principal type.ProvisioningState
provisioningState()
Gets the provisioningState property: The provisioned state of the resource.DatabasePrincipalAssignment
refresh()
Refreshes the resource to sync with Azure.DatabasePrincipalAssignment
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.DatabasePrincipalRole
role()
Gets the role property: Database principal role.String
tenantId()
Gets the tenantId property: The tenant id of the principal.String
tenantName()
Gets the tenantName property: The tenant name of the principal.String
type()
Gets the type property: The type of the resource.DatabasePrincipalAssignment.Update
update()
Begins update for the DatabasePrincipalAssignment resource.
-
-
-
Method Detail
-
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.
-
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
DatabasePrincipalAssignment refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-