VirtualHubRouteTableV2sOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubRouteTableV2Inner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualHubRouteTableV2sOperations operations, string resourceGroupName, string virtualHubName, string routeTableName, Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualHubRouteTableV2sOperations * string * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubRouteTableV2Inner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualHubRouteTableV2Inner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVirtualHubRouteTableV2sOperations, resourceGroupName As String, virtualHubName As String, routeTableName As String, virtualHubRouteTableV2Parameters As VirtualHubRouteTableV2Inner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualHubRouteTableV2Inner)
Parameters
- operations
- IVirtualHubRouteTableV2sOperations
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 VirtualHubRouteTableV2.
- virtualHubRouteTableV2Parameters
- VirtualHubRouteTableV2Inner
Parameters supplied to create or update VirtualHubRouteTableV2.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET