Compartilhar via


HubRouteTablesOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criará um recurso RouteTable se ele não existir, atualizará a RouteTable existente.

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

Parâmetros

operations
IHubRouteTablesOperations

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 da RouteTable.

routeTableParameters
HubRouteTable

Parâmetros fornecidos para criar ou atualizar RouteTable.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a