public interface Sims
Resource collection API of Sims.
  • Method Details

    • 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.
    • getWithResponse

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

      Sim 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.
    • listByGroup

      com.azure.core.http.rest.PagedIterable<Sim> listByGroup(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.
    • listByGroup

      com.azure.core.http.rest.PagedIterable<Sim> listByGroup(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.
    • bulkUpload

      AsyncOperationStatus bulkUpload(String resourceGroupName, String simGroupName, SimUploadList parameters)
      Bulk upload SIMs to a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the bulk SIM upload operation.
      Returns:
      the current status of an async 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.
    • bulkUpload

      AsyncOperationStatus bulkUpload(String resourceGroupName, String simGroupName, SimUploadList parameters, com.azure.core.util.Context context)
      Bulk upload SIMs to a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the bulk SIM upload operation.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.
    • bulkDelete

      AsyncOperationStatus bulkDelete(String resourceGroupName, String simGroupName, SimDeleteList parameters)
      Bulk delete SIMs from a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the bulk SIM delete operation.
      Returns:
      the current status of an async 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.
    • bulkDelete

      AsyncOperationStatus bulkDelete(String resourceGroupName, String simGroupName, SimDeleteList parameters, com.azure.core.util.Context context)
      Bulk delete SIMs from a SIM group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the bulk SIM delete operation.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.
    • bulkUploadEncrypted

      AsyncOperationStatus bulkUploadEncrypted(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters)
      Bulk upload SIMs in encrypted form to a SIM group. The SIM credentials must be encrypted.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the encrypted SIMs upload operation.
      Returns:
      the current status of an async 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.
    • bulkUploadEncrypted

      AsyncOperationStatus bulkUploadEncrypted(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters, com.azure.core.util.Context context)
      Bulk upload SIMs in encrypted form to a SIM group. The SIM credentials must be encrypted.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      simGroupName - The name of the SIM Group.
      parameters - Parameters supplied to the encrypted SIMs upload operation.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.
    • getById

      Sim getById(String id)
      Gets information about the specified SIM.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Sim> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets information about the specified SIM.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the specified SIM.
      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 SIM.
      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 Sim resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Sim definition.