ScriptCmdletsOperationsExtensions.GetAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回私人雲端上特定套件中腳本 Cmdlet 資源的相關資訊
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptCmdlet> GetAsync(this Microsoft.Azure.Management.Avs.IScriptCmdletsOperations operations, string resourceGroupName, string privateCloudName, string scriptPackageName, string scriptCmdletName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Avs.IScriptCmdletsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptCmdlet>
<Extension()>
Public Function GetAsync (operations As IScriptCmdletsOperations, resourceGroupName As String, privateCloudName As String, scriptPackageName As String, scriptCmdletName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptCmdlet)
參數
- operations
- IScriptCmdletsOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
資源群組的名稱。 名稱不區分大小寫。
- privateCloudName
- String
私人雲端的名稱
- scriptPackageName
- String
私人雲端中的腳本套件名稱
- scriptCmdletName
- String
私人雲端中腳本套件中的腳本 Cmdlet 資源名稱
- cancellationToken
- CancellationToken
取消語彙基元。