Interface SitesClient


public interface SitesClient
An instance of this class provides access to all the operations defined in SitesClient.
  • Method Details

    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String mobileNetworkName, String siteName)
      Deletes the specified mobile network site. This will also delete any network functions that are a part of this 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:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String mobileNetworkName, String siteName, com.azure.core.util.Context context)
      Deletes the specified mobile network site. This will also delete any network functions that are a part of this 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:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String mobileNetworkName, String siteName)
      Deletes the specified mobile network site. This will also delete any network functions that are a part of this 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. This will also delete any network functions that are a part of this 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.
    • getWithResponse

      com.azure.core.http.rest.Response<SiteInner> 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.
    • get

      SiteInner 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SiteInner>,SiteInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String siteName, SiteInner parameters)
      Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
      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.
      parameters - Parameters supplied to the create or update mobile network site operation.
      Returns:
      the SyncPoller for polling of site 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SiteInner>,SiteInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String siteName, SiteInner parameters, com.azure.core.util.Context context)
      Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
      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.
      parameters - Parameters supplied to the create or update mobile network site operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of site 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.
    • createOrUpdate

      SiteInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String siteName, SiteInner parameters)
      Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
      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.
      parameters - Parameters supplied to the create or update mobile network site operation.
      Returns:
      site 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.
    • createOrUpdate

      SiteInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String siteName, SiteInner parameters, com.azure.core.util.Context context)
      Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.
      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.
      parameters - Parameters supplied to the create or update mobile network site operation.
      context - The context to associate with this operation.
      Returns:
      site 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<SiteInner> updateTagsWithResponse(String resourceGroupName, String mobileNetworkName, String siteName, TagsObject parameters, com.azure.core.util.Context context)
      Updates site tags.
      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.
      parameters - Parameters supplied to update network site tags.
      context - The context to associate with this operation.
      Returns:
      site 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.
    • updateTags

      SiteInner updateTags(String resourceGroupName, String mobileNetworkName, String siteName, TagsObject parameters)
      Updates site tags.
      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.
      parameters - Parameters supplied to update network site tags.
      Returns:
      site 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.
    • listByMobileNetwork

      com.azure.core.http.rest.PagedIterable<SiteInner> 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<SiteInner> 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.