共用方式為


PrivateLinkResourcesOperationsExtensions.AutomationMethodAsync 方法

定義

取得需要為自動化帳戶建立的私人連結資源。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Automation.Models.PrivateLinkResource>> AutomationMethodAsync(this Microsoft.Azure.Management.Automation.IPrivateLinkResourcesOperations operations, string resourceGroupName, string automationAccountName, System.Threading.CancellationToken cancellationToken = default);
static member AutomationMethodAsync : Microsoft.Azure.Management.Automation.IPrivateLinkResourcesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Automation.Models.PrivateLinkResource>>
<Extension()>
Public Function AutomationMethodAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, automationAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of PrivateLinkResource))

參數

operations
IPrivateLinkResourcesOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於