Compartir a través de


VirtualHubsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Crea un recurso de VirtualHub si no existe, actualiza el centro virtual existente.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubInner> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubInner virtualHubParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualHubsOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubInner>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IVirtualHubsOperations, resourceGroupName As String, virtualHubName As String, virtualHubParameters As VirtualHubInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualHubInner)

Parámetros

operations
IVirtualHubsOperations

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

resourceGroupName
String

Nombre del grupo de recursos de VirtualHub.

virtualHubName
String

Nombre de VirtualHub.

virtualHubParameters
VirtualHubInner

Parámetros proporcionados para crear o actualizar VirtualHub.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a