Share via


WebAppsOperationsExtensions.GetRelayServiceConnectionAsync Method

Definition

Gets a hybrid connection configuration by its name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity> GetRelayServiceConnectionAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string entityName, System.Threading.CancellationToken cancellationToken = default);
static member GetRelayServiceConnectionAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity>
<Extension()>
Public Function GetRelayServiceConnectionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, entityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RelayServiceConnectionEntity)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

entityName
String

Name of the hybrid connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Gets a hybrid connection configuration by its name.

Applies to