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