Interface NetworkFunctionsClient


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

    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkFunctionName)
      Deletes the specified network function resource. This operation can take up to 1 hour to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function.
      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 networkFunctionName, com.azure.core.util.Context context)
      Deletes the specified network function resource. This operation can take up to 1 hour to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function.
      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.
    • delete

      void delete(String resourceGroupName, String networkFunctionName)
      Deletes the specified network function resource. This operation can take up to 1 hour to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function.
      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 networkFunctionName, com.azure.core.util.Context context)
      Deletes the specified network function resource. This operation can take up to 1 hour to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<NetworkFunctionInner> getByResourceGroupWithResponse(String resourceGroupName, String networkFunctionName, com.azure.core.util.Context context)
      Gets information about the specified network function resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function resource.
      context - The context to associate with this operation.
      Returns:
      information about the specified network function 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.
    • getByResourceGroup

      NetworkFunctionInner getByResourceGroup(String resourceGroupName, String networkFunctionName)
      Gets information about the specified network function resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - The name of the network function resource.
      Returns:
      information about the specified network function 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<NetworkFunctionInner>,NetworkFunctionInner> beginCreateOrUpdate(String resourceGroupName, String networkFunctionName, NetworkFunctionInner parameters)
      Creates or updates a network function resource. This operation can take up to 6 hours to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied in the body to the create or update network function operation.
      Returns:
      the SyncPoller for polling of network function resource 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkFunctionInner>,NetworkFunctionInner> beginCreateOrUpdate(String resourceGroupName, String networkFunctionName, NetworkFunctionInner parameters, com.azure.core.util.Context context)
      Creates or updates a network function resource. This operation can take up to 6 hours to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied in the body to the create or update network function operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of network function resource 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

      NetworkFunctionInner createOrUpdate(String resourceGroupName, String networkFunctionName, NetworkFunctionInner parameters)
      Creates or updates a network function resource. This operation can take up to 6 hours to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied in the body to the create or update network function operation.
      Returns:
      network function resource 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

      NetworkFunctionInner createOrUpdate(String resourceGroupName, String networkFunctionName, NetworkFunctionInner parameters, com.azure.core.util.Context context)
      Creates or updates a network function resource. This operation can take up to 6 hours to complete. This is expected service behavior.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied in the body to the create or update network function operation.
      context - The context to associate with this operation.
      Returns:
      network function resource 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<NetworkFunctionInner> updateTagsWithResponse(String resourceGroupName, String networkFunctionName, TagsObject parameters, com.azure.core.util.Context context)
      Updates the tags for the network function resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied to the update network function tags operation.
      context - The context to associate with this operation.
      Returns:
      network function resource response 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

      NetworkFunctionInner updateTags(String resourceGroupName, String networkFunctionName, TagsObject parameters)
      Updates the tags for the network function resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      networkFunctionName - Resource name for the network function resource.
      parameters - Parameters supplied to the update network function tags operation.
      Returns:
      network function resource 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.
    • list

      com.azure.core.http.rest.PagedIterable<NetworkFunctionInner> list()
      Lists all the network functions in a subscription.
      Returns:
      response for network function API service call 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<NetworkFunctionInner> list(com.azure.core.util.Context context)
      Lists all the network functions in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      response for network function API service call 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<NetworkFunctionInner> listByResourceGroup(String resourceGroupName)
      Lists all the network function resources in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      response for network function API service call 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<NetworkFunctionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all the network function resources in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      response for network function API service call 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.