LabPlansOperationsExtensions.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.
Updates or creates a Lab Plan resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan> CreateOrUpdateAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, Microsoft.Azure.Management.LabServices.Models.LabPlan body, string resourceGroupName, string labPlanName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * Microsoft.Azure.Management.LabServices.Models.LabPlan * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ILabPlansOperations, body As LabPlan, resourceGroupName As String, labPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LabPlan)
Parameters
- operations
- ILabPlansOperations
The operations group for this extension method.
- body
- LabPlan
The request body.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- labPlanName
- String
The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Operation to create or update a Lab Plan resource.
Applies to
Azure SDK for .NET