Interface NetworkFunctions


public interface NetworkFunctions
Resource collection API of NetworkFunctions.
  • Method Details

    • deleteByResourceGroup

      void deleteByResourceGroup(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<NetworkFunction> 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

      NetworkFunction 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.
    • list

      com.azure.core.http.rest.PagedIterable<NetworkFunction> 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<NetworkFunction> 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<NetworkFunction> 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<NetworkFunction> 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.
    • getById

      NetworkFunction getById(String id)
      Gets information about the specified network function resource.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<NetworkFunction> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets information about the specified network function resource.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the specified network function resource. This operation can take up to 1 hour to complete. This is expected service behavior.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, 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:
      id - the resource ID.
      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.
    • define

      Begins definition for a new NetworkFunction resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new NetworkFunction definition.