Freigeben über


DscConfigurationOperationsExtensions.GetAsync Methode

Definition

Überlädt

GetAsync(IDscConfigurationOperations, String, String, String)
GetAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

Rufen Sie die mit dem Konfigurationsnamen identifizierte Konfiguration ab. http://aka.ms/azureautomationsdk/configurationoperations

GetAsync(IDscConfigurationOperations, String, String, String)

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

Parameter

resourceGroupName
String
automationAccount
String
configurationName
String

Gibt zurück

Gilt für:

GetAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

Rufen Sie die mit dem Konfigurationsnamen identifizierte Konfiguration ab. http://aka.ms/azureautomationsdk/configurationoperations

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

Parameter

operations
IDscConfigurationOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

configurationName
String

Der Konfigurationsname.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: