Interface Slices


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

      • delete

        void delete​(String resourceGroupName,
                    String mobileNetworkName,
                    String sliceName)
        Deletes the specified mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile network slice.
        Returns:
        information about the specified mobile 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 mobile 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 mobile network slice.
        context - The context to associate with this operation.
        Returns:
        information about the specified mobile 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 attached 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<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 attached 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

        Slice getById​(String id)
        Gets information about the specified mobile network slice.
        Parameters:
        id - the resource ID.
        Returns:
        information about the specified mobile 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 mobile network slice.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        information about the specified mobile 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 mobile 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 mobile 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

        Slice.DefinitionStages.Blank define​(String name)
        Begins definition for a new Slice resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new Slice definition.