Share via


StaticMembersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a static member.

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

Parameters

operations
IStaticMembersOperations

The operations group for this extension method.

parameters
StaticMember

Parameters supplied to the specify the static member to create

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

networkGroupName
String

The name of the network group.

staticMemberName
String

The name of the static member.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to