Share via


SecurityAdminConfigurationsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a network manager security admin configuration.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.SecurityAdminConfiguration> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.ISecurityAdminConfigurationsOperations operations, Microsoft.Azure.Management.Network.Models.SecurityAdminConfiguration securityAdminConfiguration, string resourceGroupName, string networkManagerName, string configurationName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.ISecurityAdminConfigurationsOperations * Microsoft.Azure.Management.Network.Models.SecurityAdminConfiguration * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.SecurityAdminConfiguration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISecurityAdminConfigurationsOperations, securityAdminConfiguration As SecurityAdminConfiguration, resourceGroupName As String, networkManagerName As String, configurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityAdminConfiguration)

Parameters

operations
ISecurityAdminConfigurationsOperations

The operations group for this extension method.

securityAdminConfiguration
SecurityAdminConfiguration

The security admin configuration to create or update

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

configurationName
String

The name of the network manager Security Configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to