Udostępnij za pośrednictwem


PublicIPPrefixesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a static or dynamic public IP prefix.

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

Parameters

operations
IPublicIPPrefixesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

publicIpPrefixName
String

The name of the public IP prefix.

parameters
PublicIPPrefixInner

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to