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 Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters) Create or update a proximity placement group.createOrUpdateAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters) Create or update a proximity placement group.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.Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters) Create or update a proximity placement group.voidDelete a proximity placement group.deleteAsync(String resourceGroupName, String proximityPlacementGroupName) Delete a proximity placement group.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String proximityPlacementGroupName, com.azure.core.util.Context context) Delete a proximity placement group.deleteWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName) Delete a proximity placement group.getByResourceGroup(String resourceGroupName, String proximityPlacementGroupName) Retrieves information about a proximity placement group .getByResourceGroupAsync(String resourceGroupName, String proximityPlacementGroupName) Retrieves information about a proximity placement group .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 .Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus) Retrieves information about a proximity placement group .com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> list()Lists all proximity placement groups in a subscription.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> list(com.azure.core.util.Context context) Lists all proximity placement groups in a subscription.com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> Lists all proximity placement groups in a subscription.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> listByResourceGroup(String resourceGroupName) Lists all proximity placement groups in a resource group.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.com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listByResourceGroupAsync(String resourceGroupName) Lists all proximity placement groups in a resource group.update(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters) Update a proximity placement group.updateAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters) Update a proximity placement group.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.Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> updateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupUpdate parameters) Update a proximity placement group.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listAsync()Lists all proximity placement groups in a subscription.- Specified by:
listAsyncin interfacecom.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:
listin interfacecom.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:
listByResourceGroupAsyncin interfacecom.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:
listByResourceGroupin interfacecom.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
Responseon successful completion ofMono. - 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:
getByResourceGroupAsyncin interfacecom.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:
getByResourceGroupin interfacecom.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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Delete a proximity placement group.- Specified by:
deleteAsyncin interfacecom.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
Monothat 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
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.
-