PublicIPAddressesOperationsExtensions.CreateOrUpdateAsync(IPublicIPAddressesOperations, String, String, PublicIPAddress, CancellationToken) Method

Definition

Creates or updates a static or dynamic public IP address.

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

Parameters

operations
IPublicIPAddressesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

publicIpAddressName
System.String

The name of the public IP address.

parameters
PublicIPAddress

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PublicIPAddress>

Applies to