Share via


RoutingIntentOperationsExtensions.CreateOrUpdate Method

Definition

Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.

public static Microsoft.Azure.Management.Network.Models.RoutingIntent CreateOrUpdate (this Microsoft.Azure.Management.Network.IRoutingIntentOperations operations, string resourceGroupName, string virtualHubName, string routingIntentName, Microsoft.Azure.Management.Network.Models.RoutingIntent routingIntentParameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IRoutingIntentOperations * string * string * string * Microsoft.Azure.Management.Network.Models.RoutingIntent -> Microsoft.Azure.Management.Network.Models.RoutingIntent
<Extension()>
Public Function CreateOrUpdate (operations As IRoutingIntentOperations, resourceGroupName As String, virtualHubName As String, routingIntentName As String, routingIntentParameters As RoutingIntent) As RoutingIntent

Parameters

operations
IRoutingIntentOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the RoutingIntent.

virtualHubName
String

The name of the VirtualHub.

routingIntentName
String

The name of the per VirtualHub singleton Routing Intent resource.

routingIntentParameters
RoutingIntent

Parameters supplied to create or update RoutingIntent.

Returns

Applies to