LabsOperationsExtensions.PublishAsync 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.
Publish or re-publish a lab.
public static System.Threading.Tasks.Task PublishAsync (this Microsoft.Azure.Management.LabServices.ILabsOperations operations, string resourceGroupName, string labName, System.Threading.CancellationToken cancellationToken = default);
static member PublishAsync : Microsoft.Azure.Management.LabServices.ILabsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function PublishAsync (operations As ILabsOperations, resourceGroupName As String, labName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ILabsOperations
The operations group for this extension method.
- 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
Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
Applies to
Azure SDK for .NET