Compartir a través de


VirtualHubIpConfigurationOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea un recurso VirtualHubIpConfiguration si no existe, actualiza la 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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos de VirtualHub.

virtualHubName
String

Nombre de VirtualHub.

ipConfigName
String

Nombre de ipconfig.

parameters
HubIpConfiguration

Parámetros de configuración ip del centro de conectividad.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a