Interface SimGroupsClient
public interface SimGroupsClient
An instance of this class provides access to all the operations defined in SimGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SimGroupInner>,
SimGroupInner> beginCreateOrUpdate
(String resourceGroupName, String simGroupName, SimGroupInner parameters) Creates or updates a SIM group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SimGroupInner>,
SimGroupInner> beginCreateOrUpdate
(String resourceGroupName, String simGroupName, SimGroupInner parameters, com.azure.core.util.Context context) Creates or updates a SIM group.beginDelete
(String resourceGroupName, String simGroupName) Deletes the specified SIM group.beginDelete
(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Deletes the specified SIM group.createOrUpdate
(String resourceGroupName, String simGroupName, SimGroupInner parameters) Creates or updates a SIM group.createOrUpdate
(String resourceGroupName, String simGroupName, SimGroupInner parameters, com.azure.core.util.Context context) Creates or updates a SIM group.void
Deletes the specified SIM group.void
Deletes the specified SIM group.getByResourceGroup
(String resourceGroupName, String simGroupName) Gets information about the specified SIM group.com.azure.core.http.rest.Response<SimGroupInner>
getByResourceGroupWithResponse
(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Gets information about the specified SIM group.com.azure.core.http.rest.PagedIterable<SimGroupInner>
list()
Gets all the SIM groups in a subscription.com.azure.core.http.rest.PagedIterable<SimGroupInner>
list
(com.azure.core.util.Context context) Gets all the SIM groups in a subscription.com.azure.core.http.rest.PagedIterable<SimGroupInner>
listByResourceGroup
(String resourceGroupName) Gets all the SIM groups in a resource group.com.azure.core.http.rest.PagedIterable<SimGroupInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all the SIM groups in a resource group.updateTags
(String resourceGroupName, String simGroupName, TagsObject parameters) Updates SIM group tags.com.azure.core.http.rest.Response<SimGroupInner>
updateTagsWithResponse
(String resourceGroupName, String simGroupName, TagsObject parameters, com.azure.core.util.Context context) Updates SIM group tags.
-
Method Details
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String simGroupName) Deletes the specified SIM group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.simGroupName
- The name of the SIM Group.- 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, com.azure.core.util.Context context) Deletes the specified 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:
- 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 group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.simGroupName
- The name of the SIM Group.- 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 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.- 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<SimGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Gets information about the specified 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:
- information about the specified SIM group 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.
-
getByResourceGroup
Gets information about the specified SIM group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.simGroupName
- The name of the SIM Group.- Returns:
- information about the specified SIM group.
- 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<SimGroupInner>,SimGroupInner> beginCreateOrUpdate(String resourceGroupName, String simGroupName, SimGroupInner parameters) Creates or updates 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 create or update SIM group operation.- Returns:
- the
SyncPoller
for polling of sIM group 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<SimGroupInner>,SimGroupInner> beginCreateOrUpdate(String resourceGroupName, String simGroupName, SimGroupInner parameters, com.azure.core.util.Context context) Creates or updates 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 create or update SIM group operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of sIM group 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
SimGroupInner createOrUpdate(String resourceGroupName, String simGroupName, SimGroupInner parameters) Creates or updates 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 create or update SIM group operation.- Returns:
- sIM group 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
SimGroupInner createOrUpdate(String resourceGroupName, String simGroupName, SimGroupInner parameters, com.azure.core.util.Context context) Creates or updates 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 create or update SIM group operation.context
- The context to associate with this operation.- Returns:
- sIM group 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<SimGroupInner> updateTagsWithResponse(String resourceGroupName, String simGroupName, TagsObject parameters, com.azure.core.util.Context context) Updates SIM group tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.simGroupName
- The name of the SIM Group.parameters
- Parameters supplied to update SIM group tags.context
- The context to associate with this operation.- Returns:
- sIM group 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.
-
updateTags
Updates SIM group tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.simGroupName
- The name of the SIM Group.parameters
- Parameters supplied to update SIM group tags.- Returns:
- sIM group 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.
-
list
com.azure.core.http.rest.PagedIterable<SimGroupInner> list()Gets all the SIM groups in a subscription.- Returns:
- all the SIM groups 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
Gets all the SIM groups in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all the SIM groups 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
Gets all the SIM groups in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all the SIM groups in a resource 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SimGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the SIM groups in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- all the SIM groups in a resource 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.
-