public interface ProximityPlacementGroupsClient extends InnerSupportsGet<ProximityPlacementGroupInner>, InnerSupportsListing<ProximityPlacementGroupInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
ProximityPlacementGroupInner |
createOrUpdate(String resourceGroupName,
String proximityPlacementGroupName,
ProximityPlacementGroupInner parameters)
Create or update a proximity placement group.
|
Mono<ProximityPlacementGroupInner> |
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.
|
void |
delete(String resourceGroupName,
String proximityPlacementGroupName)
Delete a proximity placement group.
|
Mono<Void> |
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.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String proximityPlacementGroupName)
Delete a proximity placement group.
|
ProximityPlacementGroupInner |
getByResourceGroup(String resourceGroupName,
String proximityPlacementGroupName)
Retrieves information about a proximity placement group .
|
Mono<ProximityPlacementGroupInner> |
getByResourceGroupAsync(String resourceGroupName,
String proximityPlacementGroupName)
Retrieves information about a proximity placement group .
|
Mono<ProximityPlacementGroupInner> |
getByResourceGroupAsync(String resourceGroupName,
String proximityPlacementGroupName,
String includeColocationStatus)
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> |
listAsync()
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.
|
ProximityPlacementGroupInner |
update(String resourceGroupName,
String proximityPlacementGroupName)
Update a proximity placement group.
|
Mono<ProximityPlacementGroupInner> |
updateAsync(String resourceGroupName,
String proximityPlacementGroupName)
Update a proximity placement group.
|
Mono<ProximityPlacementGroupInner> |
updateAsync(String resourceGroupName,
String proximityPlacementGroupName,
Map<String,String> tags)
Update a proximity placement group.
|
com.azure.core.http.rest.Response<ProximityPlacementGroupInner> |
updateWithResponse(String resourceGroupName,
String proximityPlacementGroupName,
Map<String,String> tags,
com.azure.core.util.Context context)
Update a proximity placement group.
|
Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> |
updateWithResponseAsync(String resourceGroupName,
String proximityPlacementGroupName,
Map<String,String> tags)
Update a proximity placement group.
|
Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.parameters
- Specifies information about the proximity placement group.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.Mono<ProximityPlacementGroupInner> createOrUpdateAsync(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.parameters
- Specifies information about the proximity placement group.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.ProximityPlacementGroupInner createOrUpdate(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.parameters
- Specifies information about the proximity placement group.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.com.azure.core.http.rest.Response<ProximityPlacementGroupInner> createOrUpdateWithResponse(String resourceGroupName, String proximityPlacementGroupName, ProximityPlacementGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.parameters
- Specifies information about the proximity placement group.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> updateWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, Map<String,String> tags)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.tags
- Resource tags.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.Mono<ProximityPlacementGroupInner> updateAsync(String resourceGroupName, String proximityPlacementGroupName, Map<String,String> tags)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.tags
- Resource tags.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.Mono<ProximityPlacementGroupInner> updateAsync(String resourceGroupName, String proximityPlacementGroupName)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.ProximityPlacementGroupInner update(String resourceGroupName, String proximityPlacementGroupName)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.com.azure.core.http.rest.Response<ProximityPlacementGroupInner> updateWithResponse(String resourceGroupName, String proximityPlacementGroupName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.tags
- Resource tags.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.Mono<Void> deleteAsync(String resourceGroupName, String proximityPlacementGroupName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.void delete(String resourceGroupName, String proximityPlacementGroupName)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String proximityPlacementGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ProximityPlacementGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus)
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.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.Mono<ProximityPlacementGroupInner> getByResourceGroupAsync(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus)
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.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.Mono<ProximityPlacementGroupInner> getByResourceGroupAsync(String resourceGroupName, String proximityPlacementGroupName)
getByResourceGroupAsync
in interface InnerSupportsGet<ProximityPlacementGroupInner>
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.ProximityPlacementGroupInner getByResourceGroup(String resourceGroupName, String proximityPlacementGroupName)
getByResourceGroup
in interface InnerSupportsGet<ProximityPlacementGroupInner>
resourceGroupName
- The name of the resource group.proximityPlacementGroupName
- The name of the proximity placement group.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.com.azure.core.http.rest.Response<ProximityPlacementGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String proximityPlacementGroupName, String includeColocationStatus, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listAsync()
listAsync
in interface InnerSupportsListing<ProximityPlacementGroupInner>
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.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> list()
list
in interface InnerSupportsListing<ProximityPlacementGroupInner>
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.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ProximityPlacementGroupInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<ProximityPlacementGroupInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<ProximityPlacementGroupInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ProximityPlacementGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.