你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
- cancellationToken
- CancellationToken
The cancellation token.