LabsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a lab resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Lab> CreateOrUpdateAsync (this Microsoft.Azure.Management.LabServices.ILabsOperations operations, Microsoft.Azure.Management.LabServices.Models.Lab body, string resourceGroupName, string labName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.LabServices.ILabsOperations * Microsoft.Azure.Management.LabServices.Models.Lab * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Lab>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ILabsOperations, body As Lab, resourceGroupName As String, labName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Lab)

Parameters

operations
ILabsOperations

The operations group for this extension method.

body
Lab

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Operation to create or update a lab resource.

Applies to