Interface DatabasePrincipalAssignment


public interface DatabasePrincipalAssignment
An immutable client-side representation of DatabasePrincipalAssignment.
  • 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

      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

      Gets the inner com.azure.resourcemanager.kusto.fluent.models.DatabasePrincipalAssignmentInner object.
      Returns:
      the inner object.
    • update

      Begins update for the DatabasePrincipalAssignment resource.
      Returns:
      the stage of resource update.
    • 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.