public interface Slices
Resource collection API of Slices.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new Slice resource.
    void
    delete(String resourceGroupName, String mobileNetworkName, String sliceName)
    Deletes the specified network slice.
    void
    delete(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
    Deletes the specified network slice.
    void
    Deletes the specified network slice.
    void
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Deletes the specified network slice.
    get(String resourceGroupName, String mobileNetworkName, String sliceName)
    Gets information about the specified network slice.
    Gets information about the specified network slice.
    com.azure.core.http.rest.Response<Slice>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets information about the specified network slice.
    com.azure.core.http.rest.Response<Slice>
    getWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
    Gets information about the specified network slice.
    com.azure.core.http.rest.PagedIterable<Slice>
    listByMobileNetwork(String resourceGroupName, String mobileNetworkName)
    Lists all slices in the mobile network.
    com.azure.core.http.rest.PagedIterable<Slice>
    listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
    Lists all slices in the mobile network.
  • Method Details

    • delete

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

      Slice get(String resourceGroupName, String mobileNetworkName, String sliceName)
      Gets information about the specified network slice.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      sliceName - The name of the network slice.
      Returns:
      information about the specified network slice.
      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<Slice> getWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
      Gets information about the specified network slice.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      mobileNetworkName - The name of the mobile network.
      sliceName - The name of the network slice.
      context - The context to associate with this operation.
      Returns:
      information about the specified network slice 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<Slice> listByMobileNetwork(String resourceGroupName, String mobileNetworkName)
      Lists all slices 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 network slice 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<Slice> listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
      Lists all slices 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 network slice 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

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