Interface AdaptiveApplicationControls
public interface AdaptiveApplicationControls
Resource collection API of AdaptiveApplicationControls.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AdaptiveApplicationControlGroup resource.void
deleteById
(String id) Delete an application control machine group.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete an application control machine group.void
deleteByResourceGroup
(String ascLocation, String groupName) 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.Gets an application control VM/server group.com.azure.core.http.rest.Response<AdaptiveApplicationControlGroup>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets an application control VM/server group.com.azure.core.http.rest.Response<AdaptiveApplicationControlGroup>
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<AdaptiveApplicationControlGroups>
listWithResponse
(Boolean includePathRecommendations, Boolean summary, com.azure.core.util.Context context) Gets a list of application control machine groups for the subscription.
-
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<AdaptiveApplicationControlGroups> 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<AdaptiveApplicationControlGroup> 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.
-
deleteByResourceGroup
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.
-
getById
Gets an application control VM/server group.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AdaptiveApplicationControlGroup> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an application control VM/server group.- Parameters:
id
- the resource ID.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.
-
deleteById
Delete an application control machine group.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete an application control machine group.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new AdaptiveApplicationControlGroup resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AdaptiveApplicationControlGroup definition.
-