Compartilhar via


VirtualHubIpConfigurationOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria um recurso VirtualHubIpConfiguration se ele não existir, atualiza o VirtualHubIpConfiguration existente.

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)

Parâmetros

operations
IVirtualHubIpConfigurationOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do VirtualHub.

virtualHubName
String

O nome do VirtualHub.

ipConfigName
String

O nome do ipconfig.

parameters
HubIpConfiguration

Parâmetros de Configuração de Ip do Hub.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a