다음을 통해 공유


ConnectionOperationsExtensions.GetAsync 메서드

정의

오버로드

GetAsync(IConnectionOperations, String, String, String)
GetAsync(IConnectionOperations, String, String, String, CancellationToken)

연결 이름으로 식별된 연결을 검색합니다. http://aka.ms/azureautomationsdk/connectionoperations

GetAsync(IConnectionOperations, String, String, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ConnectionGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IConnectionOperations operations, string resourceGroupName, string automationAccount, string connectionName);
static member GetAsync : Microsoft.Azure.Management.Automation.IConnectionOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ConnectionGetResponse>
<Extension()>
Public Function GetAsync (operations As IConnectionOperations, resourceGroupName As String, automationAccount As String, connectionName As String) As Task(Of ConnectionGetResponse)

매개 변수

resourceGroupName
String
automationAccount
String
connectionName
String

반환

적용 대상

GetAsync(IConnectionOperations, String, String, String, CancellationToken)

연결 이름으로 식별된 연결을 검색합니다. http://aka.ms/azureautomationsdk/connectionoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Connection> GetAsync (this Microsoft.Azure.Management.Automation.IConnectionOperations operations, string resourceGroupName, string automationAccountName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IConnectionOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Connection>
<Extension()>
Public Function GetAsync (operations As IConnectionOperations, resourceGroupName As String, automationAccountName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Connection)

매개 변수

operations
IConnectionOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

connectionName
String

연결 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상