CustomAssessmentAutomations interface

Interface representing a CustomAssessmentAutomations.

Methods

create(string, string, CustomAssessmentAutomationRequest, CustomAssessmentAutomationsCreateOptionalParams)

Creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record.

delete(string, string, CustomAssessmentAutomationsDeleteOptionalParams)

Deletes a custom assessment automation by name for a provided subscription

get(string, string, CustomAssessmentAutomationsGetOptionalParams)

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

listByResourceGroup(string, CustomAssessmentAutomationsListByResourceGroupOptionalParams)

List custom assessment automations by provided subscription and resource group

listBySubscription(CustomAssessmentAutomationsListBySubscriptionOptionalParams)

List custom assessment automations by provided subscription

Method Details

create(string, string, CustomAssessmentAutomationRequest, CustomAssessmentAutomationsCreateOptionalParams)

Creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record.

function create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: CustomAssessmentAutomationRequest, options?: CustomAssessmentAutomationsCreateOptionalParams): Promise<CustomAssessmentAutomation>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

customAssessmentAutomationName

string

Name of the Custom Assessment Automation.

customAssessmentAutomationBody
CustomAssessmentAutomationRequest

Custom Assessment Automation body

options
CustomAssessmentAutomationsCreateOptionalParams

The options parameters.

Returns

delete(string, string, CustomAssessmentAutomationsDeleteOptionalParams)

Deletes a custom assessment automation by name for a provided subscription

function delete(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

customAssessmentAutomationName

string

Name of the Custom Assessment Automation.

options
CustomAssessmentAutomationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, CustomAssessmentAutomationsGetOptionalParams)

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

function get(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsGetOptionalParams): Promise<CustomAssessmentAutomation>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

customAssessmentAutomationName

string

Name of the Custom Assessment Automation.

options
CustomAssessmentAutomationsGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, CustomAssessmentAutomationsListByResourceGroupOptionalParams)

List custom assessment automations by provided subscription and resource group

function listByResourceGroup(resourceGroupName: string, options?: CustomAssessmentAutomationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation, CustomAssessmentAutomation[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

Returns

listBySubscription(CustomAssessmentAutomationsListBySubscriptionOptionalParams)

List custom assessment automations by provided subscription

function listBySubscription(options?: CustomAssessmentAutomationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation, CustomAssessmentAutomation[], PageSettings>

Parameters

Returns