Interface SimPoliciesClient


  • public interface SimPoliciesClient
    An instance of this class provides access to all the operations defined in SimPoliciesClient.
    • Method Detail

      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String mobileNetworkName,
                                                                                                                          String simPolicyName)
        Deletes the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        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 mobileNetworkName,
                                                                                                                          String simPolicyName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        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

        void delete​(String resourceGroupName,
                    String mobileNetworkName,
                    String simPolicyName)
        Deletes the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        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 mobileNetworkName,
                    String simPolicyName,
                    com.azure.core.util.Context context)
        Deletes the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        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

        SimPolicyInner get​(String resourceGroupName,
                           String mobileNetworkName,
                           String simPolicyName)
        Gets information about the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        Returns:
        information about the specified sim policy.
        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<SimPolicyInner> getWithResponse​(String resourceGroupName,
                                                                          String mobileNetworkName,
                                                                          String simPolicyName,
                                                                          com.azure.core.util.Context context)
        Gets information about the specified sim policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        context - The context to associate with this operation.
        Returns:
        information about the specified sim policy 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SimPolicyInner>,​SimPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                      String mobileNetworkName,
                                                                                                                                                      String simPolicyName,
                                                                                                                                                      SimPolicyInner parameters)
        Creates or updates a SimPolicy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to the create or update sim policy operation.
        Returns:
        the SyncPoller for polling of sim policy 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<SimPolicyInner>,​SimPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                      String mobileNetworkName,
                                                                                                                                                      String simPolicyName,
                                                                                                                                                      SimPolicyInner parameters,
                                                                                                                                                      com.azure.core.util.Context context)
        Creates or updates a SimPolicy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to the create or update sim policy operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of sim policy 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

        SimPolicyInner createOrUpdate​(String resourceGroupName,
                                      String mobileNetworkName,
                                      String simPolicyName,
                                      SimPolicyInner parameters)
        Creates or updates a SimPolicy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to the create or update sim policy operation.
        Returns:
        sim policy 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

        SimPolicyInner createOrUpdate​(String resourceGroupName,
                                      String mobileNetworkName,
                                      String simPolicyName,
                                      SimPolicyInner parameters,
                                      com.azure.core.util.Context context)
        Creates or updates a SimPolicy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to the create or update sim policy operation.
        context - The context to associate with this operation.
        Returns:
        sim policy 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.
      • updateTags

        SimPolicyInner updateTags​(String resourceGroupName,
                                  String mobileNetworkName,
                                  String simPolicyName,
                                  TagsObject parameters)
        Update sim policy tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to update Sim Policy tags.
        Returns:
        sim policy 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<SimPolicyInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                 String mobileNetworkName,
                                                                                 String simPolicyName,
                                                                                 TagsObject parameters,
                                                                                 com.azure.core.util.Context context)
        Update sim policy tags.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        simPolicyName - The name of the SIM policy.
        parameters - Parameters supplied to update Sim Policy tags.
        context - The context to associate with this operation.
        Returns:
        sim policy 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.
      • listByMobileNetwork

        com.azure.core.http.rest.PagedIterable<SimPolicyInner> listByMobileNetwork​(String resourceGroupName,
                                                                                   String mobileNetworkName)
        Gets all the simPolicies in a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        Returns:
        all the simPolicies in a mobile network 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.
      • listByMobileNetwork

        com.azure.core.http.rest.PagedIterable<SimPolicyInner> listByMobileNetwork​(String resourceGroupName,
                                                                                   String mobileNetworkName,
                                                                                   com.azure.core.util.Context context)
        Gets all the simPolicies in a mobile network.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        mobileNetworkName - The name of the mobile network.
        context - The context to associate with this operation.
        Returns:
        all the simPolicies in a mobile network 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.