CustomAssessmentAutomations interface
Interface representing a CustomAssessmentAutomations.
Methods
create(string, string, Custom |
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, Custom |
Deletes a custom assessment automation by name for a provided subscription |
get(string, string, Custom |
Gets a single custom assessment automation by name for the provided subscription and resource group. |
list |
List custom assessment automations by provided subscription and resource group |
list |
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
The options parameters.
Returns
Promise<CustomAssessmentAutomation>
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.
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.
The options parameters.
Returns
Promise<CustomAssessmentAutomation>
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.
The options parameters.
Returns
listBySubscription(CustomAssessmentAutomationsListBySubscriptionOptionalParams)
List custom assessment automations by provided subscription
function listBySubscription(options?: CustomAssessmentAutomationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation, CustomAssessmentAutomation[], PageSettings>
Parameters
The options parameters.