CustomAssessmentAutomations Interface

public interface CustomAssessmentAutomations

Resource collection API of CustomAssessmentAutomations.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new CustomAssessmentAutomation resource.

abstract void deleteById(String id)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

abstract void deleteByResourceGroup(String resourceGroupName, String customAssessmentAutomationName)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String customAssessmentAutomationName, Context context)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

abstract CustomAssessmentAutomation getById(String id)

Gets a custom assessment automation Gets a single custom assessment automation by name for the provided subscription and resource group.

abstract Response<CustomAssessmentAutomation> getByIdWithResponse(String id, Context context)

Gets a custom assessment automation Gets a single custom assessment automation by name for the provided subscription and resource group.

abstract CustomAssessmentAutomation getByResourceGroup(String resourceGroupName, String customAssessmentAutomationName)

Gets a custom assessment automation Gets a single custom assessment automation by name for the provided subscription and resource group.

abstract Response<CustomAssessmentAutomation> getByResourceGroupWithResponse(String resourceGroupName, String customAssessmentAutomationName, Context context)

Gets a custom assessment automation Gets a single custom assessment automation by name for the provided subscription and resource group.

abstract PagedIterable<CustomAssessmentAutomation> list()

List custom assessment automations in a subscription List custom assessment automations by provided subscription.

abstract PagedIterable<CustomAssessmentAutomation> list(Context context)

List custom assessment automations in a subscription List custom assessment automations by provided subscription.

abstract PagedIterable<CustomAssessmentAutomation> listByResourceGroup(String resourceGroupName)

List custom assessment automations in a subscription and a resource group List custom assessment automations by provided subscription and resource group.

abstract PagedIterable<CustomAssessmentAutomation> listByResourceGroup(String resourceGroupName, Context context)

List custom assessment automations in a subscription and a resource group List custom assessment automations by provided subscription and resource group.

Method Details

define

public abstract CustomAssessmentAutomation.DefinitionStages.Blank define(String name)

Begins definition for a new CustomAssessmentAutomation resource.

Parameters:

name - resource name.

Returns:

the first stage of the new CustomAssessmentAutomation definition.

deleteById

public abstract void deleteById(String id)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Deletes a custom assessment automation Deletes a custom assessment automation by name for a provided subscription.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String customAssessmentAutomationName)

Deletes a custom assessment automation Deletes 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.

deleteByResourceGroupWithResponse

public abstract Response deleteByResourceGroupWithResponse(String resourceGroupName, String customAssessmentAutomationName, Context context)

Deletes a custom assessment automation Deletes 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:

getById

public abstract CustomAssessmentAutomation getById(String id)

Gets a custom assessment automation Gets 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<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Gets a custom assessment automation Gets 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<T>.

getByResourceGroup

public abstract CustomAssessmentAutomation getByResourceGroup(String resourceGroupName, String customAssessmentAutomationName)

Gets a custom assessment automation Gets 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.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String customAssessmentAutomationName, Context context)

Gets a custom assessment automation Gets 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<T>.

list

public abstract PagedIterable list()

List custom assessment automations in a subscription List custom assessment automations by provided subscription.

Returns:

a list of Custom Assessment Automations as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

List custom assessment automations in a subscription List 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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

List custom assessment automations in a subscription and a resource group List 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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

List custom assessment automations in a subscription and a resource group List 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<T>.

Applies to