Interface PublicIpPrefixesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<PublicIpPrefixInner>, InnerSupportsListing<PublicIpPrefixInner>

An instance of this class provides access to all the operations defined in PublicIpPrefixesClient.
  • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<Void> deleteAsync(String resourceGroupName, String publicIpPrefixName)
      Deletes the specified public IP prefix.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      publicIpPrefixName - The name of the PublicIpPrefix.
      Returns:
      A Mono that 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

      void delete(String resourceGroupName, String publicIpPrefixName)
      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 Response 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.
    • getByResourceGroupAsync

      Mono<PublicIpPrefixInner> getByResourceGroupAsync(String resourceGroupName, String publicIpPrefixName)
      Gets the specified public IP prefix in a specified resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      PublicIpPrefixInner getByResourceGroup(String resourceGroupName, String publicIpPrefixName)
      Gets the specified public IP prefix in a specified resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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.