Partager via


DscConfigurationOperationsExtensions.GetAsync Méthode

Définition

Surcharges

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

Récupérez la configuration identifiée par le nom de la configuration. 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)

Paramètres

resourceGroupName
String
automationAccount
String
configurationName
String

Retours

S’applique à

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

Récupérez la configuration identifiée par le nom de la configuration. 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)

Paramètres

operations
IDscConfigurationOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

configurationName
String

Nom de la configuration.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à