Interface SimsClient
public interface SimsClient
An instance of this class provides access to all the operations defined in SimsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkDelete
(String resourceGroupName, String simGroupName, SimDeleteList parameters) Bulk delete SIMs from a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkDelete
(String resourceGroupName, String simGroupName, SimDeleteList parameters, com.azure.core.util.Context context) Bulk delete SIMs from a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkUpload
(String resourceGroupName, String simGroupName, SimUploadList parameters) Bulk upload SIMs to a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkUpload
(String resourceGroupName, String simGroupName, SimUploadList parameters, com.azure.core.util.Context context) Bulk upload SIMs to a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkUploadEncrypted
(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters) Bulk upload SIMs in encrypted form to a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,
AsyncOperationStatusInner> beginBulkUploadEncrypted
(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters, com.azure.core.util.Context context) Bulk upload SIMs in encrypted form to a SIM group.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.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.beginDelete
(String resourceGroupName, String simGroupName, String simName) Deletes the specified SIM.beginDelete
(String resourceGroupName, String simGroupName, String simName, com.azure.core.util.Context context) Deletes the specified SIM.bulkDelete
(String resourceGroupName, String simGroupName, SimDeleteList parameters) Bulk delete SIMs from a SIM group.bulkDelete
(String resourceGroupName, String simGroupName, SimDeleteList parameters, com.azure.core.util.Context context) Bulk delete SIMs from a SIM group.bulkUpload
(String resourceGroupName, String simGroupName, SimUploadList parameters) Bulk upload SIMs to a SIM group.bulkUpload
(String resourceGroupName, String simGroupName, SimUploadList parameters, com.azure.core.util.Context context) Bulk upload SIMs to a SIM group.bulkUploadEncrypted
(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters) Bulk upload SIMs in encrypted form to a SIM group.bulkUploadEncrypted
(String resourceGroupName, String simGroupName, EncryptedSimUploadList parameters, com.azure.core.util.Context context) Bulk upload SIMs in encrypted form to a SIM group.createOrUpdate
(String resourceGroupName, String simGroupName, String simName, SimInner parameters) Creates or updates a SIM.createOrUpdate
(String resourceGroupName, String simGroupName, String simName, SimInner parameters, com.azure.core.util.Context context) Creates or updates a SIM.void
Deletes the specified SIM.void
delete
(String resourceGroupName, String simGroupName, String simName, com.azure.core.util.Context context) Deletes the specified SIM.Gets information about the specified SIM.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.com.azure.core.http.rest.PagedIterable<SimInner>
listByGroup
(String resourceGroupName, String simGroupName) Gets all the SIMs in a SIM group.com.azure.core.http.rest.PagedIterable<SimInner>
listByGroup
(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Gets all the SIMs in a SIM group.
-
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
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<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.
-
get
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.
-
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.
-
listByGroup
com.azure.core.http.rest.PagedIterable<SimInner> 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<SimInner> 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.
-
beginBulkUpload
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkUpload(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
SyncPoller
for polling of 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.
-
beginBulkUpload
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkUpload(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
SyncPoller
for polling of 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
AsyncOperationStatusInner 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
AsyncOperationStatusInner 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.
-
beginBulkDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkDelete(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
SyncPoller
for polling of 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.
-
beginBulkDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkDelete(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
SyncPoller
for polling of 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
AsyncOperationStatusInner 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
AsyncOperationStatusInner 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.
-
beginBulkUploadEncrypted
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkUploadEncrypted(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
SyncPoller
for polling of 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.
-
beginBulkUploadEncrypted
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AsyncOperationStatusInner>,AsyncOperationStatusInner> beginBulkUploadEncrypted(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
SyncPoller
for polling of 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
AsyncOperationStatusInner 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
AsyncOperationStatusInner 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.
-