Interface SimsClient


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

      • beginDelete

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

        SimInner getByResourceGroup​(String resourceGroupName,
                                    String simName)
        Gets information about the specified sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        Returns:
        information about the specified sim.
        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<SimInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                   String simName,
                                                                                   com.azure.core.util.Context context)
        Gets information about the specified sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        context - The context to associate with this operation.
        Returns:
        information about the specified sim 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<SimInner>,​SimInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                          String simName,
                                                                                                                                          SimInner parameters)
        Creates or updates a Sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        parameters - Parameters supplied to the create or update sim operation.
        Returns:
        the SyncPoller for polling of sim 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<SimInner>,​SimInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                          String simName,
                                                                                                                                          SimInner parameters,
                                                                                                                                          com.azure.core.util.Context context)
        Creates or updates a Sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        parameters - Parameters supplied to the create or update sim operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of sim 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

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

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

        SimInner updateTags​(String resourceGroupName,
                            String simName,
                            TagsObject parameters)
        Updates a sim update tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        parameters - Parameters supplied to update sim tags.
        Returns:
        sim 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<SimInner> updateTagsWithResponse​(String resourceGroupName,
                                                                           String simName,
                                                                           TagsObject parameters,
                                                                           com.azure.core.util.Context context)
        Updates a sim update tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        simName - The name of the SIM.
        parameters - Parameters supplied to update sim tags.
        context - The context to associate with this operation.
        Returns:
        sim 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<SimInner> list()
        Gets all the sims in a subscription.
        Returns:
        all the sims in a subscription 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<SimInner> list​(com.azure.core.util.Context context)
        Gets all the sims in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all the sims in a subscription 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<SimInner> listByResourceGroup​(String resourceGroupName)
        Gets all the Sims in a subscription.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        Returns:
        all the Sims in a subscription 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<SimInner> listByResourceGroup​(String resourceGroupName,
                                                                             com.azure.core.util.Context context)
        Gets all the Sims in a subscription.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        context - The context to associate with this operation.
        Returns:
        all the Sims in a subscription 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.