SecurityContactsOperationsExtensions.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.
Create security contact configurations for the subscription
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityContact> CreateAsync(this Microsoft.Azure.Management.Security.ISecurityContactsOperations operations, string securityContactName, Microsoft.Azure.Management.Security.Models.SecurityContact securityContact, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Security.ISecurityContactsOperations * string * Microsoft.Azure.Management.Security.Models.SecurityContact * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityContact>
<Extension()>
Public Function CreateAsync (operations As ISecurityContactsOperations, securityContactName As String, securityContact As SecurityContact, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityContact)
Parameters
- operations
- ISecurityContactsOperations
The operations group for this extension method.
- securityContactName
- String
Name of the security contact object
- securityContact
- SecurityContact
- cancellationToken
- CancellationToken
The cancellation token.