ConnectionOperationsExtensions.GetAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GetAsync(IConnectionOperations, String, String, String) | |
GetAsync(IConnectionOperations, String, String, String, CancellationToken) |
Recuperare la connessione identificata dal nome della connessione. 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)
Parametri
- operations
- IConnectionOperations
- resourceGroupName
- String
- automationAccount
- String
- connectionName
- String
Restituisce
Si applica a
GetAsync(IConnectionOperations, String, String, String, CancellationToken)
Recuperare la connessione identificata dal nome della connessione. 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)
Parametri
- operations
- IConnectionOperations
Gruppo di operazioni per questo metodo di estensione.
- resourceGroupName
- String
Nome di un gruppo di risorse di Azure.
- automationAccountName
- String
Nome dell'account di automazione.
- connectionName
- String
Nome della connessione.
- cancellationToken
- CancellationToken
Token di annullamento.