다음을 통해 공유


VirtualHubIpConfigurationOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration.

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

Parameters

operations
IVirtualHubIpConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

ipConfigName
String

The name of the ipconfig.

parameters
HubIpConfiguration

Hub Ip Configuration parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to