Interface SimPoliciesClient


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

    • 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 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.
      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 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.
      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 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.
      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 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.
      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)
      Updates 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)
      Updates 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 SIM policies 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 SIM policies 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 SIM policies 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 SIM policies 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.