Interface Account


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

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • sku

      AccountSku sku()
      Gets the sku property: Gets or sets the Sku.
      Returns:
      the sku value.
    • identity

      Identity identity()
      Gets the identity property: Identity Info on the tracked resource.
      Returns:
      the identity value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • cloudConnectors

      CloudConnectors cloudConnectors()
      Gets the cloudConnectors property: Cloud connectors. External cloud identifier used as part of scanning configuration.
      Returns:
      the cloudConnectors value.
    • createdAt

      OffsetDateTime createdAt()
      Gets the createdAt property: Gets the time at which the entity was created.
      Returns:
      the createdAt value.
    • createdBy

      String createdBy()
      Gets the createdBy property: Gets the creator of the entity.
      Returns:
      the createdBy value.
    • createdByObjectId

      String createdByObjectId()
      Gets the createdByObjectId property: Gets the creators of the entity's object id.
      Returns:
      the createdByObjectId value.
    • endpoints

      Gets the endpoints property: The URIs that are the public endpoints of the account.
      Returns:
      the endpoints value.
    • friendlyName

      String friendlyName()
      Gets the friendlyName property: Gets or sets the friendly name.
      Returns:
      the friendlyName value.
    • managedResourceGroupName

      String managedResourceGroupName()
      Gets the managedResourceGroupName property: Gets or sets the managed resource group name.
      Returns:
      the managedResourceGroupName value.
    • managedResources

      Gets the managedResources property: Gets the resource identifiers of the managed resources.
      Returns:
      the managedResources value.
    • privateEndpointConnections

      List<PrivateEndpointConnection> privateEndpointConnections()
      Gets the privateEndpointConnections property: Gets the private endpoint connections information.
      Returns:
      the privateEndpointConnections value.
    • provisioningState

      ProvisioningState provisioningState()
      Gets the provisioningState property: Gets or sets the state of the provisioning.
      Returns:
      the provisioningState value.
    • publicNetworkAccess

      PublicNetworkAccess publicNetworkAccess()
      Gets the publicNetworkAccess property: Gets or sets the public network access.
      Returns:
      the publicNetworkAccess value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      AccountInner innerModel()
      Gets the inner com.azure.resourcemanager.purview.fluent.models.AccountInner object.
      Returns:
      the inner object.
    • update

      Account.Update update()
      Begins update for the Account resource.
      Returns:
      the stage of resource update.
    • refresh

      Account refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Account 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.
    • listKeysWithResponse

      com.azure.core.http.rest.Response<AccessKeys> listKeysWithResponse(com.azure.core.util.Context context)
      Lists the keys asynchronous.

      List the authorization keys associated with this account.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      the Account access keys along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listKeys

      AccessKeys listKeys()
      Lists the keys asynchronous.

      List the authorization keys associated with this account.

      Returns:
      the Account access keys.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • addRootCollectionAdminWithResponse

      com.azure.core.http.rest.Response<Void> addRootCollectionAdminWithResponse(CollectionAdminUpdate collectionAdminUpdate, com.azure.core.util.Context context)
      Add the administrator for root collection.

      Add the administrator for root collection associated with this account.

      Parameters:
      collectionAdminUpdate - The collection admin update payload.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • addRootCollectionAdmin

      void addRootCollectionAdmin(CollectionAdminUpdate collectionAdminUpdate)
      Add the administrator for root collection.

      Add the administrator for root collection associated with this account.

      Parameters:
      collectionAdminUpdate - The collection admin update payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.