Interface SimsClient


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

    • beginDelete

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

      SimInner get(String resourceGroupName, String simGroupName, String simName)
      Gets information about the specified SIM.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<SimInner> getWithResponse(String resourceGroupName, String simGroupName, 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.
      simGroupName - The name of the SIM Group.
      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 simGroupName, String simName, SimInner parameters)
      Creates or updates a SIM.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      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 simGroupName, 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.
      simGroupName - The name of the SIM Group.
      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 simGroupName, String simName, SimInner parameters)
      Creates or updates a SIM.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      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 simGroupName, 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.
      simGroupName - The name of the SIM Group.
      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.
    • listBySimGroup

      com.azure.core.http.rest.PagedIterable<SimInner> listBySimGroup(String resourceGroupName, String simGroupName)
      Gets all the SIMs in a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      Returns:
      all the SIMs in a SIM group 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.
    • listBySimGroup

      com.azure.core.http.rest.PagedIterable<SimInner> listBySimGroup(String resourceGroupName, String simGroupName, com.azure.core.util.Context context)
      Gets all the SIMs in a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      context - The context to associate with this operation.
      Returns:
      all the SIMs in a SIM group 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.