Interface NetworkProfilesClient

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

An instance of this class provides access to all the operations defined in NetworkProfilesClient.
  • Method Details

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkProfileName)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName, com.azure.core.util.Context context)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName)
      Deletes the specified network profile.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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 networkProfileName, com.azure.core.util.Context context)
      Deletes the specified network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the NetworkProfile.
      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<NetworkProfileInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkProfileName, String expand)
      Gets the specified network profile in a specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the public IP prefix.
      expand - Expands referenced resources.
      Returns:
      the specified network profile 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<NetworkProfileInner> getByResourceGroupAsync(String resourceGroupName, String networkProfileName)
      Gets the specified network profile in a specified resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<NetworkProfileInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the public IP prefix.
      Returns:
      the specified network profile 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<NetworkProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String networkProfileName, String expand, com.azure.core.util.Context context)
      Gets the specified network profile in a specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the public IP prefix.
      expand - Expands referenced resources.
      context - The context to associate with this operation.
      Returns:
      the specified network profile 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

      NetworkProfileInner getByResourceGroup(String resourceGroupName, String networkProfileName)
      Gets the specified network profile in a specified resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<NetworkProfileInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the public IP prefix.
      Returns:
      the specified network profile 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<NetworkProfileInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
      Creates or updates a network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to the create or update network profile operation.
      Returns:
      network profile 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.
    • createOrUpdateAsync

      Mono<NetworkProfileInner> createOrUpdateAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
      Creates or updates a network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to the create or update network profile operation.
      Returns:
      network profile 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<NetworkProfileInner> createOrUpdateWithResponse(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters, com.azure.core.util.Context context)
      Creates or updates a network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to the create or update network profile operation.
      context - The context to associate with this operation.
      Returns:
      network profile 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.
    • createOrUpdate

      NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
      Creates or updates a network profile.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to the create or update network profile operation.
      Returns:
      network profile 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<NetworkProfileInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)
      Updates network profile tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to update network profile tags.
      Returns:
      network profile 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<NetworkProfileInner> updateTagsAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)
      Updates network profile tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to update network profile tags.
      Returns:
      network profile 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<NetworkProfileInner> updateTagsWithResponse(String resourceGroupName, String networkProfileName, TagsObject parameters, com.azure.core.util.Context context)
      Updates network profile tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to update network profile tags.
      context - The context to associate with this operation.
      Returns:
      network profile 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

      NetworkProfileInner updateTags(String resourceGroupName, String networkProfileName, TagsObject parameters)
      Updates network profile tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkProfileName - The name of the network profile.
      parameters - Parameters supplied to update network profile tags.
      Returns:
      network profile 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<NetworkProfileInner> listAsync()
      Gets all the network profiles in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<NetworkProfileInner>
      Returns:
      all the network profiles 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<NetworkProfileInner> list()
      Gets all the network profiles in a subscription.
      Specified by:
      list in interface InnerSupportsListing<NetworkProfileInner>
      Returns:
      all the network profiles 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<NetworkProfileInner> list(com.azure.core.util.Context context)
      Gets all the network profiles in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the network profiles 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<NetworkProfileInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all network profiles in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<NetworkProfileInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all network profiles 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<NetworkProfileInner> listByResourceGroup(String resourceGroupName)
      Gets all network profiles in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<NetworkProfileInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all network profiles 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<NetworkProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all network profiles in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all network profiles 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.