Interface Sims


  • public interface Sims
    Resource collection API of Sims.
    • Method Detail

      • deleteByResourceGroup

        void deleteByResourceGroup​(String resourceGroupName,
                                   String simName)
        Deletes the specified sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        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 simName,
                    com.azure.core.util.Context context)
        Deletes the specified sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        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.
      • getByResourceGroup

        Sim getByResourceGroup​(String resourceGroupName,
                               String simName)
        Gets information about the specified sim.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<Sim> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                              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.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<Sim> list()
        Gets all the sims in a subscription.
        Returns:
        all the sims 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<Sim> list​(com.azure.core.util.Context context)
        Gets all the sims in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all the sims 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<Sim> listByResourceGroup​(String resourceGroupName)
        Gets all the Sims in a subscription.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        Returns:
        all the Sims 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<Sim> listByResourceGroup​(String resourceGroupName,
                                                                        com.azure.core.util.Context context)
        Gets all the Sims in a subscription.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        context - The context to associate with this operation.
        Returns:
        all the Sims 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.
      • getById

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

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

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

        Sim.DefinitionStages.Blank define​(String name)
        Begins definition for a new Sim resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new Sim definition.