Interface CustomIpPrefixesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<CustomIpPrefixInner>,InnerSupportsListing<CustomIpPrefixInner>
public interface CustomIpPrefixesClient
extends InnerSupportsGet<CustomIpPrefixInner>, InnerSupportsListing<CustomIpPrefixInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in CustomIpPrefixesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomIpPrefixInner>, CustomIpPrefixInner> beginCreateOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomIpPrefixInner>, CustomIpPrefixInner> beginCreateOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters, com.azure.core.util.Context context) Creates or updates a custom IP prefix.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CustomIpPrefixInner>, CustomIpPrefixInner> beginCreateOrUpdateAsync(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.beginDelete(String resourceGroupName, String customIpPrefixName) Deletes the specified custom IP prefix.beginDelete(String resourceGroupName, String customIpPrefixName, com.azure.core.util.Context context) Deletes the specified custom IP prefix.beginDeleteAsync(String resourceGroupName, String customIpPrefixName) Deletes the specified custom IP prefix.createOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.createOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters, com.azure.core.util.Context context) Creates or updates a custom IP prefix.createOrUpdateAsync(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.voidDeletes the specified custom IP prefix.voidDeletes the specified custom IP prefix.deleteAsync(String resourceGroupName, String customIpPrefixName) Deletes the specified custom IP prefix.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String customIpPrefixName) Deletes the specified custom IP prefix.getByResourceGroup(String resourceGroupName, String customIpPrefixName) Gets the specified custom IP prefix in a specified resource group.getByResourceGroupAsync(String resourceGroupName, String customIpPrefixName) Gets the specified custom IP prefix in a specified resource group.com.azure.core.http.rest.Response<CustomIpPrefixInner> getByResourceGroupWithResponse(String resourceGroupName, String customIpPrefixName, String expand, com.azure.core.util.Context context) Gets the specified custom IP prefix in a specified resource group.Mono<com.azure.core.http.rest.Response<CustomIpPrefixInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String customIpPrefixName, String expand) Gets the specified custom IP prefix in a specified resource group.com.azure.core.http.rest.PagedIterable<CustomIpPrefixInner> list()Gets all the custom IP prefixes in a subscription.com.azure.core.http.rest.PagedIterable<CustomIpPrefixInner> list(com.azure.core.util.Context context) Gets all the custom IP prefixes in a subscription.com.azure.core.http.rest.PagedFlux<CustomIpPrefixInner> Gets all the custom IP prefixes in a subscription.com.azure.core.http.rest.PagedIterable<CustomIpPrefixInner> listByResourceGroup(String resourceGroupName) Gets all custom IP prefixes in a resource group.com.azure.core.http.rest.PagedIterable<CustomIpPrefixInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all custom IP prefixes in a resource group.com.azure.core.http.rest.PagedFlux<CustomIpPrefixInner> listByResourceGroupAsync(String resourceGroupName) Gets all custom IP prefixes in a resource group.updateTags(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.updateTagsAsync(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.com.azure.core.http.rest.Response<CustomIpPrefixInner> updateTagsWithResponse(String resourceGroupName, String customIpPrefixName, TagsObject parameters, com.azure.core.util.Context context) Updates custom IP prefix tags.Mono<com.azure.core.http.rest.Response<CustomIpPrefixInner>> updateTagsWithResponseAsync(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String customIpPrefixName) Deletes the specified custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.- 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 customIpPrefixName) Deletes the specified custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.- 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 customIpPrefixName) Deletes the specified custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.- 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 customIpPrefixName, com.azure.core.util.Context context) Deletes the specified custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.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 custom IP prefix.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.- 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 custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.- 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
void delete(String resourceGroupName, String customIpPrefixName, com.azure.core.util.Context context) Deletes the specified custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the CustomIpPrefix.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<CustomIpPrefixInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String customIpPrefixName, String expand) Gets the specified custom IP prefix in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.expand- Expands referenced resources.- Returns:
- the specified custom IP prefix in a specified 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
Mono<CustomIpPrefixInner> getByResourceGroupAsync(String resourceGroupName, String customIpPrefixName) Gets the specified custom IP prefix in a specified resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<CustomIpPrefixInner>- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.- Returns:
- the specified custom IP prefix in a specified 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<CustomIpPrefixInner> getByResourceGroupWithResponse(String resourceGroupName, String customIpPrefixName, String expand, com.azure.core.util.Context context) Gets the specified custom IP prefix in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified custom IP prefix in a specified 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 custom IP prefix in a specified resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<CustomIpPrefixInner>- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.- Returns:
- the specified custom IP prefix in a specified 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 customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.- Returns:
- custom IP prefix 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<CustomIpPrefixInner>,CustomIpPrefixInner> beginCreateOrUpdateAsync(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.- Returns:
- the
PollerFluxfor polling of custom IP prefix 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<CustomIpPrefixInner>,CustomIpPrefixInner> beginCreateOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.- Returns:
- the
SyncPollerfor polling of custom IP prefix 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<CustomIpPrefixInner>,CustomIpPrefixInner> beginCreateOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters, com.azure.core.util.Context context) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of custom IP prefix 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<CustomIpPrefixInner> createOrUpdateAsync(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.- Returns:
- custom IP prefix 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
CustomIpPrefixInner createOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.- Returns:
- custom IP prefix 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
CustomIpPrefixInner createOrUpdate(String resourceGroupName, String customIpPrefixName, CustomIpPrefixInner parameters, com.azure.core.util.Context context) Creates or updates a custom IP prefix.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to the create or update custom IP prefix operation.context- The context to associate with this operation.- Returns:
- custom IP prefix 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<CustomIpPrefixInner>> updateTagsWithResponseAsync(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to update custom IP prefix tags.- Returns:
- custom IP prefix 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<CustomIpPrefixInner> updateTagsAsync(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to update custom IP prefix tags.- Returns:
- custom IP prefix 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<CustomIpPrefixInner> updateTagsWithResponse(String resourceGroupName, String customIpPrefixName, TagsObject parameters, com.azure.core.util.Context context) Updates custom IP prefix tags.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to update custom IP prefix tags.context- The context to associate with this operation.- Returns:
- custom IP prefix 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
CustomIpPrefixInner updateTags(String resourceGroupName, String customIpPrefixName, TagsObject parameters) Updates custom IP prefix tags.- Parameters:
resourceGroupName- The name of the resource group.customIpPrefixName- The name of the custom IP prefix.parameters- Parameters supplied to update custom IP prefix tags.- Returns:
- custom IP prefix 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<CustomIpPrefixInner> listAsync()Gets all the custom IP prefixes in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<CustomIpPrefixInner>- Returns:
- all the custom IP prefixes 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<CustomIpPrefixInner> list()Gets all the custom IP prefixes in a subscription.- Specified by:
listin interfaceInnerSupportsListing<CustomIpPrefixInner>- Returns:
- all the custom IP prefixes 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
com.azure.core.http.rest.PagedIterable<CustomIpPrefixInner> list(com.azure.core.util.Context context) Gets all the custom IP prefixes in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroupAsync(String resourceGroupName) Gets all custom IP prefixes in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<CustomIpPrefixInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroup(String resourceGroupName) Gets all custom IP prefixes in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<CustomIpPrefixInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all custom IP prefixes in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all custom IP prefixes 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.
-