Compartir a través de


RoutingIntentOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea un recurso RoutingIntent si no existe, actualiza el elemento RoutingIntent existente.

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

Parámetros

operations
IRoutingIntentOperations

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

resourceGroupName
String

Nombre del grupo de recursos de RoutingIntent.

virtualHubName
String

Nombre de VirtualHub.

routingIntentName
String

Nombre del recurso de intención de enrutamiento de singleton por instancia de VirtualHub.

routingIntentParameters
RoutingIntent

Parámetros proporcionados para crear o actualizar RoutingIntent.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a