Share via


HubRouteTablesOperationsExtensions.CreateOrUpdate Method

Definition

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

public static Microsoft.Azure.Management.Network.Models.HubRouteTable CreateOrUpdate (this Microsoft.Azure.Management.Network.IHubRouteTablesOperations operations, string resourceGroupName, string virtualHubName, string routeTableName, Microsoft.Azure.Management.Network.Models.HubRouteTable routeTableParameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IHubRouteTablesOperations * string * string * string * Microsoft.Azure.Management.Network.Models.HubRouteTable -> Microsoft.Azure.Management.Network.Models.HubRouteTable
<Extension()>
Public Function CreateOrUpdate (operations As IHubRouteTablesOperations, resourceGroupName As String, virtualHubName As String, routeTableName As String, routeTableParameters As HubRouteTable) As HubRouteTable

Parameters

operations
IHubRouteTablesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

routeTableName
String

The name of the RouteTable.

routeTableParameters
HubRouteTable

Parameters supplied to create or update RouteTable.

Returns

Applies to