CustomAssessmentAutomationsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.CustomAssessmentAutomation> CreateAsync (this Microsoft.Azure.Management.Security.ICustomAssessmentAutomationsOperations operations, string resourceGroupName, string customAssessmentAutomationName, Microsoft.Azure.Management.Security.Models.CustomAssessmentAutomationRequest customAssessmentAutomationBody, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Security.ICustomAssessmentAutomationsOperations * string * string * Microsoft.Azure.Management.Security.Models.CustomAssessmentAutomationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.CustomAssessmentAutomation>
<Extension()>
Public Function CreateAsync (operations As ICustomAssessmentAutomationsOperations, resourceGroupName As String, customAssessmentAutomationName As String, customAssessmentAutomationBody As CustomAssessmentAutomationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CustomAssessmentAutomation)
Parameters
- operations
- ICustomAssessmentAutomationsOperations
The operations group for this extension method.
- 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
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
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.