Interface Sims
public interface Sims
Resource collection API of Sims.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Sim resource.void
Deletes the specified SIM.void
delete
(String resourceGroupName, String simGroupName, String simName, com.azure.core.util.Context context) Deletes the specified SIM.void
deleteById
(String id) Deletes the specified SIM.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified SIM.Gets information about the specified SIM.Gets information about the specified SIM.com.azure.core.http.rest.Response<Sim>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets information about the specified SIM.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.com.azure.core.http.rest.PagedIterable<Sim>
listBySimGroup
(String resourceGroupName, String simGroupName) Gets all the SIMs in a SIM group.com.azure.core.http.rest.PagedIterable<Sim>
listBySimGroup
(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Gets all the SIMs in a SIM group.
-
Method Details
-
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.
-
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.
-
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.
-
listBySimGroup
com.azure.core.http.rest.PagedIterable<Sim> 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<Sim> 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.
-
getById
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
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
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.
-