Interface ProximityPlacementGroupsClient

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ProximityPlacementGroupInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>

public interface ProximityPlacementGroupsClient extends com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ProximityPlacementGroupInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ProximityPlacementGroupsClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listAsync()
      Lists all proximity placement groups in a subscription.
      Specified by:
      listAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedFlux.
      Throws:
      ApiErrorException - 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<ProximityPlacementGroupInner> list()
      Lists all proximity placement groups in a subscription.
      Specified by:
      list in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedIterable.
      Throws:
      ApiErrorException - 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<ProximityPlacementGroupInner> list(com.azure.core.util.Context context)
      Lists all proximity placement groups in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all proximity placement groups in a resource group.
      Specified by:
      listByResourceGroupAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - 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<ProximityPlacementGroupInner> listByResourceGroup(String resourceGroupName)
      Lists all proximity placement groups in a resource group.
      Specified by:
      listByResourceGroup in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ProximityPlacementGroupInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - 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<ProximityPlacementGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all proximity placement groups in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the List Proximity Placement Group operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus)
      Retrieves information about a proximity placement group .
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      includeColocationStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
      Returns:
      specifies information about the proximity placement group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<ProximityPlacementGroupInner> getByResourceGroupAsync(String resourceGroupName, String proximityPlacementGroupName)
      Retrieves information about a proximity placement group .
      Specified by:
      getByResourceGroupAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ProximityPlacementGroupInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      Returns:
      specifies information about the proximity placement group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - 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<ProximityPlacementGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus, com.azure.core.util.Context context)
      Retrieves information about a proximity placement group .
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      includeColocationStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
      context - The context to associate with this operation.
      Returns:
      specifies information about the proximity placement group along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      ProximityPlacementGroupInner getByResourceGroup(String resourceGroupName, String proximityPlacementGroupName)
      Retrieves information about a proximity placement group .
      Specified by:
      getByResourceGroup in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ProximityPlacementGroupInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      Returns:
      specifies information about the proximity placement group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
      Create or update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Create Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<ProximityPlacementGroupInner> createOrUpdateAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
      Create or update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Create Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ProximityPlacementGroupInner> createOrUpdateWithResponse(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters, com.azure.core.util.Context context)
      Create or update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Create Proximity Placement Group operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the proximity placement group along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ProximityPlacementGroupInner createOrUpdate(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
      Create or update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Create Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> updateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters)
      Update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Update Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<ProximityPlacementGroupInner> updateAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters)
      Update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Update Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - 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<ProximityPlacementGroupInner> updateWithResponse(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters, com.azure.core.util.Context context)
      Update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Update Proximity Placement Group operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the proximity placement group along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ProximityPlacementGroupInner update(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters)
      Update a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      parameters - Parameters supplied to the Update Proximity Placement Group operation.
      Returns:
      specifies information about the proximity placement group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName)
      Delete a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String proximityPlacementGroupName)
      Delete a proximity placement group.
      Specified by:
      deleteAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String proximityPlacementGroupName, com.azure.core.util.Context context)
      Delete a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - 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 proximityPlacementGroupName)
      Delete a proximity placement group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      proximityPlacementGroupName - The name of the proximity placement group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.