Interface VCentersClient


public interface VCentersClient
An instance of this class provides access to all the operations defined in VCentersClient.
  • Method Details

    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body)
      Implements vCenter PUT method.

      Create Or Update vCenter.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      body - Request payload.
      Returns:
      the SyncPoller for polling of defines the vCenter.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VCenterInner>,VCenterInner> beginCreate(String resourceGroupName, String vcenterName, VCenterInner body, com.azure.core.util.Context context)
      Implements vCenter PUT method.

      Create Or Update vCenter.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      body - Request payload.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of defines the vCenter.
      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.
    • create

      VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body)
      Implements vCenter PUT method.

      Create Or Update vCenter.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      body - Request payload.
      Returns:
      defines the vCenter.
      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.
    • create

      VCenterInner create(String resourceGroupName, String vcenterName)
      Implements vCenter PUT method.

      Create Or Update vCenter.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      Returns:
      defines the vCenter.
      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.
    • create

      VCenterInner create(String resourceGroupName, String vcenterName, VCenterInner body, com.azure.core.util.Context context)
      Implements vCenter PUT method.

      Create Or Update vCenter.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      body - Request payload.
      context - The context to associate with this operation.
      Returns:
      defines the vCenter.
      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.
    • getByResourceGroup

      VCenterInner getByResourceGroup(String resourceGroupName, String vcenterName)
      Gets a vCenter.

      Implements vCenter GET method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      Returns:
      defines the vCenter.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<VCenterInner> getByResourceGroupWithResponse(String resourceGroupName, String vcenterName, com.azure.core.util.Context context)
      Gets a vCenter.

      Implements vCenter GET method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      context - The context to associate with this operation.
      Returns:
      defines the vCenter 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.
    • update

      VCenterInner update(String resourceGroupName, String vcenterName)
      Updates a vCenter.

      API to update certain properties of the vCenter resource.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      Returns:
      defines the vCenter.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<VCenterInner> updateWithResponse(String resourceGroupName, String vcenterName, ResourcePatch body, com.azure.core.util.Context context)
      Updates a vCenter.

      API to update certain properties of the vCenter resource.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      body - Resource properties to update.
      context - The context to associate with this operation.
      Returns:
      defines the vCenter 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vcenterName, Boolean force)
      Deletes an vCenter.

      Implements vCenter DELETE method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      force - Whether force delete was specified.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vcenterName, Boolean force, com.azure.core.util.Context context)
      Deletes an vCenter.

      Implements vCenter DELETE method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      force - Whether force delete was specified.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • delete

      void delete(String resourceGroupName, String vcenterName, Boolean force)
      Deletes an vCenter.

      Implements vCenter DELETE method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      force - Whether force delete was specified.
      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.
    • delete

      void delete(String resourceGroupName, String vcenterName)
      Deletes an vCenter.

      Implements vCenter DELETE method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      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.
    • delete

      void delete(String resourceGroupName, String vcenterName, Boolean force, com.azure.core.util.Context context)
      Deletes an vCenter.

      Implements vCenter DELETE method.

      Parameters:
      resourceGroupName - The Resource Group Name.
      vcenterName - Name of the vCenter.
      force - Whether force delete was specified.
      context - The context to associate with this operation.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<VCenterInner> list()
      Implements GET vCenters in a subscription.

      List of vCenters in a subscription.

      Returns:
      list of VCenters as paginated response with PagedIterable.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<VCenterInner> list(com.azure.core.util.Context context)
      Implements GET vCenters in a subscription.

      List of vCenters in a subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      list of VCenters as paginated response with PagedIterable.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VCenterInner> listByResourceGroup(String resourceGroupName)
      Implements GET vCenters in a resource group.

      List of vCenters in a resource group.

      Parameters:
      resourceGroupName - The Resource Group Name.
      Returns:
      list of VCenters as paginated response with PagedIterable.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VCenterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Implements GET vCenters in a resource group.

      List of vCenters in a resource group.

      Parameters:
      resourceGroupName - The Resource Group Name.
      context - The context to associate with this operation.
      Returns:
      list of VCenters as paginated response with PagedIterable.
      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.