Interface IpAllocationsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<IpAllocationInner>,InnerSupportsListing<IpAllocationInner>
public interface IpAllocationsClient
extends InnerSupportsGet<IpAllocationInner>, InnerSupportsListing<IpAllocationInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in IpAllocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpAllocationInner>, IpAllocationInner> beginCreateOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpAllocationInner>, IpAllocationInner> beginCreateOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters, com.azure.core.util.Context context) Creates or updates an IpAllocation in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<IpAllocationInner>, IpAllocationInner> beginCreateOrUpdateAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.beginDelete(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.beginDelete(String resourceGroupName, String ipAllocationName, com.azure.core.util.Context context) Deletes the specified IpAllocation.beginDeleteAsync(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.createOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.createOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters, com.azure.core.util.Context context) Creates or updates an IpAllocation in the specified resource group.createOrUpdateAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.voidDeletes the specified IpAllocation.voidDeletes the specified IpAllocation.deleteAsync(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.getByResourceGroup(String resourceGroupName, String ipAllocationName) Gets the specified IpAllocation by resource group.getByResourceGroupAsync(String resourceGroupName, String ipAllocationName) Gets the specified IpAllocation by resource group.com.azure.core.http.rest.Response<IpAllocationInner> getByResourceGroupWithResponse(String resourceGroupName, String ipAllocationName, String expand, com.azure.core.util.Context context) Gets the specified IpAllocation by resource group.Mono<com.azure.core.http.rest.Response<IpAllocationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ipAllocationName, String expand) Gets the specified IpAllocation by resource group.com.azure.core.http.rest.PagedIterable<IpAllocationInner> list()Gets all IpAllocations in a subscription.com.azure.core.http.rest.PagedIterable<IpAllocationInner> list(com.azure.core.util.Context context) Gets all IpAllocations in a subscription.com.azure.core.http.rest.PagedFlux<IpAllocationInner> Gets all IpAllocations in a subscription.com.azure.core.http.rest.PagedIterable<IpAllocationInner> listByResourceGroup(String resourceGroupName) Gets all IpAllocations in a resource group.com.azure.core.http.rest.PagedIterable<IpAllocationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all IpAllocations in a resource group.com.azure.core.http.rest.PagedFlux<IpAllocationInner> listByResourceGroupAsync(String resourceGroupName) Gets all IpAllocations in a resource group.updateTags(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.updateTagsAsync(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.com.azure.core.http.rest.Response<IpAllocationInner> updateTagsWithResponse(String resourceGroupName, String ipAllocationName, TagsObject parameters, com.azure.core.util.Context context) Updates a IpAllocation tags.Mono<com.azure.core.http.rest.Response<IpAllocationInner>> updateTagsWithResponseAsync(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName) Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- the
PollerFluxfor 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 ipAllocationName) Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- the
SyncPollerfor 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 ipAllocationName, com.azure.core.util.Context context) Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.
-
deleteAsync
Deletes the specified IpAllocation.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- A
Monothat completes when a successful response is received. - 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
Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- 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
Deletes the specified IpAllocation.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<IpAllocationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ipAllocationName, String expand) Gets the specified IpAllocation by resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.expand- Expands referenced resources.- Returns:
- the specified IpAllocation by resource group along with
Responseon successful completion ofMono. - 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.
-
getByResourceGroupAsync
Gets the specified IpAllocation by resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<IpAllocationInner>- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- the specified IpAllocation by resource group on successful completion of
Mono. - 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<IpAllocationInner> getByResourceGroupWithResponse(String resourceGroupName, String ipAllocationName, String expand, com.azure.core.util.Context context) Gets the specified IpAllocation by resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified IpAllocation by resource group 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.
-
getByResourceGroup
Gets the specified IpAllocation by resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<IpAllocationInner>- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.- Returns:
- the specified IpAllocation by resource group.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.- Returns:
- ipAllocation resource along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<IpAllocationInner>,IpAllocationInner> beginCreateOrUpdateAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.- Returns:
- the
PollerFluxfor polling of ipAllocation resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpAllocationInner>,IpAllocationInner> beginCreateOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.- Returns:
- the
SyncPollerfor polling of ipAllocation resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpAllocationInner>,IpAllocationInner> beginCreateOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters, com.azure.core.util.Context context) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of ipAllocation resource. - 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.
-
createOrUpdateAsync
Mono<IpAllocationInner> createOrUpdateAsync(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.- Returns:
- ipAllocation resource on successful completion of
Mono. - 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.
-
createOrUpdate
IpAllocationInner createOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.- Returns:
- ipAllocation resource.
- 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.
-
createOrUpdate
IpAllocationInner createOrUpdate(String resourceGroupName, String ipAllocationName, IpAllocationInner parameters, com.azure.core.util.Context context) Creates or updates an IpAllocation in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to the create or update virtual network operation.context- The context to associate with this operation.- Returns:
- ipAllocation resource.
- 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<IpAllocationInner>> updateTagsWithResponseAsync(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to update IpAllocation tags.- Returns:
- ipAllocation resource along with
Responseon successful completion ofMono. - 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.
-
updateTagsAsync
Mono<IpAllocationInner> updateTagsAsync(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to update IpAllocation tags.- Returns:
- ipAllocation resource on successful completion of
Mono. - 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<IpAllocationInner> updateTagsWithResponse(String resourceGroupName, String ipAllocationName, TagsObject parameters, com.azure.core.util.Context context) Updates a IpAllocation tags.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to update IpAllocation tags.context- The context to associate with this operation.- Returns:
- ipAllocation resource 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.
-
updateTags
IpAllocationInner updateTags(String resourceGroupName, String ipAllocationName, TagsObject parameters) Updates a IpAllocation tags.- Parameters:
resourceGroupName- The name of the resource group.ipAllocationName- The name of the IpAllocation.parameters- Parameters supplied to update IpAllocation tags.- Returns:
- ipAllocation resource.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<IpAllocationInner> listAsync()Gets all IpAllocations in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<IpAllocationInner>- Returns:
- all IpAllocations in a subscription as paginated response with
PagedFlux. - 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<IpAllocationInner> list()Gets all IpAllocations in a subscription.- Specified by:
listin interfaceInnerSupportsListing<IpAllocationInner>- Returns:
- all IpAllocations in a subscription 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
Gets all IpAllocations in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all IpAllocations in a subscription 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<IpAllocationInner> listByResourceGroupAsync(String resourceGroupName) Gets all IpAllocations in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<IpAllocationInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all IpAllocations in a resource group as paginated response with
PagedFlux. - 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<IpAllocationInner> listByResourceGroup(String resourceGroupName) Gets all IpAllocations in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<IpAllocationInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all IpAllocations in a resource group 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<IpAllocationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all IpAllocations in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all IpAllocations in a resource group 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.
-