Interface CustomAssessmentAutomations
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new CustomAssessmentAutomation resource.void
deleteById
(String id) Deletes a custom assessment automationcom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a custom assessment automationvoid
deleteByResourceGroup
(String resourceGroupName, String customAssessmentAutomationName) Deletes a custom assessment automationcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String customAssessmentAutomationName, com.azure.core.util.Context context) Deletes a custom assessment automationGets a custom assessment automationcom.azure.core.http.rest.Response<CustomAssessmentAutomation>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets a custom assessment automationgetByResourceGroup
(String resourceGroupName, String customAssessmentAutomationName) Gets a custom assessment automationcom.azure.core.http.rest.Response<CustomAssessmentAutomation>
getByResourceGroupWithResponse
(String resourceGroupName, String customAssessmentAutomationName, com.azure.core.util.Context context) Gets a custom assessment automationcom.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation>
list()
List custom assessment automations in a subscriptioncom.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation>
list
(com.azure.core.util.Context context) List custom assessment automations in a subscriptioncom.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation>
listByResourceGroup
(String resourceGroupName) List custom assessment automations in a subscription and a resource groupcom.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List custom assessment automations in a subscription and a resource group
-
Method Details
-
getByResourceGroup
CustomAssessmentAutomation getByResourceGroup(String resourceGroupName, String customAssessmentAutomationName) Gets a custom assessment automationGets a single custom assessment automation by name for the provided subscription and resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.customAssessmentAutomationName
- Name of the Custom Assessment Automation.- Returns:
- a single custom assessment automation by name for the provided subscription and resource 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CustomAssessmentAutomation> getByResourceGroupWithResponse(String resourceGroupName, String customAssessmentAutomationName, com.azure.core.util.Context context) Gets a custom assessment automationGets a single custom assessment automation by name for the provided subscription and resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.customAssessmentAutomationName
- Name of the Custom Assessment Automation.context
- The context to associate with this operation.- Returns:
- a single custom assessment automation by name for the provided subscription and resource 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
Deletes a custom assessment automationDeletes a custom assessment automation by name for a provided subscription.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.customAssessmentAutomationName
- Name of the Custom Assessment Automation.- 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 resourceGroupName, String customAssessmentAutomationName, com.azure.core.util.Context context) Deletes a custom assessment automationDeletes a custom assessment automation by name for a provided subscription.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.customAssessmentAutomationName
- Name of the Custom Assessment Automation.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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation> listByResourceGroup(String resourceGroupName) List custom assessment automations in a subscription and a resource groupList custom assessment automations by provided subscription and resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.- Returns:
- a list of Custom Assessment Automations 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List custom assessment automations in a subscription and a resource groupList custom assessment automations by provided subscription and resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a list of Custom Assessment Automations 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.
-
list
com.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation> list()List custom assessment automations in a subscriptionList custom assessment automations by provided subscription.
- Returns:
- a list of Custom Assessment Automations as paginated response with
PagedIterable
. - 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.
-
list
com.azure.core.http.rest.PagedIterable<CustomAssessmentAutomation> list(com.azure.core.util.Context context) List custom assessment automations in a subscriptionList custom assessment automations by provided subscription.
- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of Custom Assessment Automations 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.
-
getById
Gets a custom assessment automationGets a single custom assessment automation by name for the provided subscription and resource group.
- Parameters:
id
- the resource ID.- Returns:
- a single custom assessment automation by name for the provided subscription and resource 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<CustomAssessmentAutomation> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a custom assessment automationGets a single custom assessment automation by name for the provided subscription and resource group.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a single custom assessment automation by name for the provided subscription and resource 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
Deletes a custom assessment automationDeletes a custom assessment automation by name for a provided subscription.
- 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) Deletes a custom assessment automationDeletes a custom assessment automation by name for a provided subscription.
- 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 CustomAssessmentAutomation resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new CustomAssessmentAutomation definition.
-