Compartilhar via


VirtualHubRouteTableV2sOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria um recurso VirtualHubRouteTableV2 se ele não existir, atualizando o VirtualHubRouteTableV2 existente.

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

Parâmetros

operations
IVirtualHubRouteTableV2sOperations

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.

routeTableName
String

O nome do VirtualHubRouteTableV2.

virtualHubRouteTableV2Parameters
VirtualHubRouteTableV2

Parâmetros fornecidos para criar ou atualizar o VirtualHubRouteTableV2.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a