Interface ProximityPlacementGroupsClient

    • Method Detail

      • 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.
        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.
        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.
      • createOrUpdate

        ProximityPlacementGroupInner createOrUpdate​(String resourceGroupName,
                                                    String proximityPlacementGroupName,
                                                    ProximityPlacementGroupInner parameters)
        Create or update a proximity placement group.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        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.
      • 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.
        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.
        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.
      • update

        ProximityPlacementGroupInner update​(String resourceGroupName,
                                            String proximityPlacementGroupName,
                                            ProximityPlacementGroupUpdate parameters)
        Update a proximity placement group.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        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.
      • 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.
        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 InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String proximityPlacementGroupName)
        Delete a proximity placement group.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        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.
      • 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.
        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,
                                                                   String includeColocationStatus)
        Retrieves information about a proximity placement group .
        Parameters:
        resourceGroupName - The name of the resource group.
        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 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.
        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.
      • 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.
      • 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.
        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.