Compartir a través de


HubRouteTablesOperationsExtensions.CreateOrUpdateAsync Método

Definición

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

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

resourceGroupName
String

Nombre del grupo de recursos de VirtualHub.

virtualHubName
String

Nombre de VirtualHub.

routeTableName
String

Nombre de routeTable.

routeTableParameters
HubRouteTable

Parámetros proporcionados para crear o actualizar RouteTable.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a