Interface MobileNetworksClient


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

      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String mobileNetworkName)
        Deletes the specified mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        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,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified 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:
        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)
        Deletes the specified mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile 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,
                    com.azure.core.util.Context context)
        Deletes the specified 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.
        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.
      • getByResourceGroup

        MobileNetworkInner getByResourceGroup​(String resourceGroupName,
                                              String mobileNetworkName)
        Gets information about the specified mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        Returns:
        information about the specified mobile 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<MobileNetworkInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                             String mobileNetworkName,
                                                                                             com.azure.core.util.Context context)
        Gets information about the specified 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:
        information about the specified mobile 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MobileNetworkInner>,​MobileNetworkInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String mobileNetworkName,
                                                                                                                                                              MobileNetworkInner parameters)
        Creates or updates a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to the create or update mobile network operation.
        Returns:
        the SyncPoller for polling of mobile network 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<MobileNetworkInner>,​MobileNetworkInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String mobileNetworkName,
                                                                                                                                                              MobileNetworkInner parameters,
                                                                                                                                                              com.azure.core.util.Context context)
        Creates or updates a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to the create or update mobile network operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of mobile network 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

        MobileNetworkInner createOrUpdate​(String resourceGroupName,
                                          String mobileNetworkName,
                                          MobileNetworkInner parameters)
        Creates or updates a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to the create or update mobile network operation.
        Returns:
        mobile network 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

        MobileNetworkInner createOrUpdate​(String resourceGroupName,
                                          String mobileNetworkName,
                                          MobileNetworkInner parameters,
                                          com.azure.core.util.Context context)
        Creates or updates a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to the create or update mobile network operation.
        context - The context to associate with this operation.
        Returns:
        mobile network 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.
      • updateTags

        MobileNetworkInner updateTags​(String resourceGroupName,
                                      String mobileNetworkName,
                                      TagsObject parameters)
        Updates a mobile network update tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to update mobile network tags.
        Returns:
        mobile network 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<MobileNetworkInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                     String mobileNetworkName,
                                                                                     TagsObject parameters,
                                                                                     com.azure.core.util.Context context)
        Updates a mobile network update tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        parameters - Parameters supplied to update mobile network tags.
        context - The context to associate with this operation.
        Returns:
        mobile network 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.
      • list

        com.azure.core.http.rest.PagedIterable<MobileNetworkInner> list()
        Lists all the mobile networks in a subscription.
        Returns:
        response for mobile networks API service call as paginated response with PagedIterable.
        Throws:
        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.
      • list

        com.azure.core.http.rest.PagedIterable<MobileNetworkInner> list​(com.azure.core.util.Context context)
        Lists all the mobile networks in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        response for mobile networks 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<MobileNetworkInner> listByResourceGroup​(String resourceGroupName)
        Lists all the mobile networks in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        Returns:
        response for mobile networks 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.
      • listByResourceGroup

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

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SimIdListResultInner>,​SimIdListResultInner> beginListSimIds​(String resourceGroupName,
                                                                                                                                                              String mobileNetworkName)
        List sim ids under a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        Returns:
        the SyncPoller for polling of response for list sim ids API service call.
        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.
      • beginListSimIds

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SimIdListResultInner>,​SimIdListResultInner> beginListSimIds​(String resourceGroupName,
                                                                                                                                                              String mobileNetworkName,
                                                                                                                                                              com.azure.core.util.Context context)
        List sim ids under a 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:
        the SyncPoller for polling of response for list sim ids API service call.
        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.
      • listSimIds

        SimIdListResultInner listSimIds​(String resourceGroupName,
                                        String mobileNetworkName)
        List sim ids under a 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 list sim ids API service call.
        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.
      • listSimIds

        SimIdListResultInner listSimIds​(String resourceGroupName,
                                        String mobileNetworkName,
                                        com.azure.core.util.Context context)
        List sim ids under a 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 list sim ids API service call.
        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.