Aracılığıyla paylaş


PublicIPPrefixesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a static or dynamic public IP prefix.

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

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
PublicIPPrefix

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to