Interface DataNetworks


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

    • delete

      void delete(String resourceGroupName, String mobileNetworkName, String dataNetworkName)
      Deletes the specified data network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      dataNetworkName - The name of the data network.
      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 mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context)
      Deletes the specified data network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      dataNetworkName - The name of the data network.
      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.
    • get

      DataNetwork get(String resourceGroupName, String mobileNetworkName, String dataNetworkName)
      Gets information about the specified data network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      dataNetworkName - The name of the data network.
      Returns:
      information about the specified data network.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<DataNetwork> getWithResponse(String resourceGroupName, String mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context)
      Gets information about the specified data network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      dataNetworkName - The name of the data network.
      context - The context to associate with this operation.
      Returns:
      information about the specified data network 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.
    • listByMobileNetwork

      com.azure.core.http.rest.PagedIterable<DataNetwork> listByMobileNetwork(String resourceGroupName, String mobileNetworkName)
      Lists all data networks in the mobile network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      Returns:
      response for data network 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.
    • listByMobileNetwork

      com.azure.core.http.rest.PagedIterable<DataNetwork> listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
      Lists all data networks in the mobile network.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      context - The context to associate with this operation.
      Returns:
      response for data network 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

      DataNetwork getById(String id)
      Gets information about the specified data network.
      Parameters:
      id - the resource ID.
      Returns:
      information about the specified data network 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<DataNetwork> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets information about the specified data network.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      information about the specified data network 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 data network.
      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 data network.
      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 DataNetwork resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new DataNetwork definition.