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

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

    • delete

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

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

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