Sdílet prostřednictvím


PublicIPAddressesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a static or dynamic public IP address.

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

Parameters

operations
IPublicIPAddressesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

publicIpAddressName
String

The name of the public IP address.

parameters
PublicIPAddressInner

Parameters supplied to the create or update public IP address operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to