Interface AdaptiveApplicationControlsClient
public interface AdaptiveApplicationControlsClient
An instance of this class provides access to all the operations defined in AdaptiveApplicationControlsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete an application control machine group.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String ascLocation, String groupName, com.azure.core.util.Context context) Delete an application control machine group.Gets an application control VM/server group.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.list()
Gets a list of application control machine groups for the subscription.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.put
(String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body) Update an application control machine group.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.
-
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
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
AdaptiveApplicationControlGroupInner put(String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body) 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
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.
-