Interface SimGroups
public interface SimGroups
Resource collection API of SimGroups.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new SimGroup resource.void
Deletes the specified SIM group.void
deleteById
(String id) Deletes the specified SIM group.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified SIM group.void
deleteByResourceGroup
(String resourceGroupName, String simGroupName) Deletes the specified SIM group.Gets information about the specified SIM group.com.azure.core.http.rest.Response<SimGroup>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets information about the specified SIM group.getByResourceGroup
(String resourceGroupName, String simGroupName) Gets information about the specified SIM group.com.azure.core.http.rest.Response<SimGroup>
getByResourceGroupWithResponse
(String resourceGroupName, String simGroupName, com.azure.core.util.Context context) Gets information about the specified SIM group.com.azure.core.http.rest.PagedIterable<SimGroup>
list()
Gets all the SIM groups in a subscription.com.azure.core.http.rest.PagedIterable<SimGroup>
list
(com.azure.core.util.Context context) Gets all the SIM groups in a subscription.com.azure.core.http.rest.PagedIterable<SimGroup>
listByResourceGroup
(String resourceGroupName) Gets all the SIM groups in a resource group.com.azure.core.http.rest.PagedIterable<SimGroup>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all the SIM groups in a resource group.
-
Method Details
-
deleteByResourceGroup
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.
-
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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SimGroup> 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.
-
list
com.azure.core.http.rest.PagedIterable<SimGroup> 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<SimGroup> 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.
-
getById
Gets information about the specified SIM group.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<SimGroup> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about the specified SIM group.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes the specified SIM group.- 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 group.- 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 SimGroup resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SimGroup definition.
-