次の方法で共有


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

Automation アカウントの名前。

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

戻り値

適用対象