Interface SimGroups


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

    • deleteByResourceGroup

      void deleteByResourceGroup(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.
      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, 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.
      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

      SimGroup getByResourceGroup(String resourceGroupName, String simGroupName)
      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

      com.azure.core.http.rest.PagedIterable<SimGroup> list(com.azure.core.util.Context context)
      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

      com.azure.core.http.rest.PagedIterable<SimGroup> listByResourceGroup(String resourceGroupName)
      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

      SimGroup getById(String id)
      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

      void deleteById(String id)
      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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      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.