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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應