다음을 통해 공유


DscConfigurationOperationsExtensions.GetContentAsync 메서드

정의

오버로드

GetContentAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

구성 이름으로 식별된 구성 스크립트를 검색합니다. http://aka.ms/azureautomationsdk/configurationoperations

GetContentAsync(IDscConfigurationOperations, String, String, String)

GetContentAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

구성 이름으로 식별된 구성 스크립트를 검색합니다. http://aka.ms/azureautomationsdk/configurationoperations

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

매개 변수

operations
IDscConfigurationOperations

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

resourceGroupName
String

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

automationAccountName
String

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

configurationName
String

구성 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상

GetContentAsync(IDscConfigurationOperations, String, String, String)

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

매개 변수

resourceGroupName
String
automationAccount
String
configurationName
String

반환

적용 대상