Interface AdaptiveApplicationControlsClient


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

    • list

      Gets a list of application control machine groups for the subscription.
      Returns:
      a list of application control machine groups for the subscription.
      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.
    • listWithResponse

      com.azure.core.http.rest.Response<AdaptiveApplicationControlGroupsInner> listWithResponse(Boolean includePathRecommendations, Boolean summary, com.azure.core.util.Context context)
      Gets a list of application control machine groups for the subscription.
      Parameters:
      includePathRecommendations - Include the policy rules.
      summary - Return output in a summarized form.
      context - The context to associate with this operation.
      Returns:
      a list of application control machine groups for the subscription 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.
    • get

      AdaptiveApplicationControlGroupInner get(String ascLocation, String groupName)
      Gets an application control VM/server group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine group.
      Returns:
      an application control VM/server 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.
    • getWithResponse

      com.azure.core.http.rest.Response<AdaptiveApplicationControlGroupInner> getWithResponse(String ascLocation, String groupName, com.azure.core.util.Context context)
      Gets an application control VM/server group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine group.
      context - The context to associate with this operation.
      Returns:
      an application control VM/server 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.
    • put

      Update an application control machine group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine group.
      body - The body parameter.
      Returns:
      the 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.
    • putWithResponse

      com.azure.core.http.rest.Response<AdaptiveApplicationControlGroupInner> putWithResponse(String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body, com.azure.core.util.Context context)
      Update an application control machine group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine group.
      body - The body parameter.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • delete

      void delete(String ascLocation, String groupName)
      Delete an application control machine group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String ascLocation, String groupName, com.azure.core.util.Context context)
      Delete an application control machine group.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      groupName - Name of an application control machine group.
      context - The context to associate with this operation.
      Returns:
      the 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.