WebAppsOperationsExtensions.UpdateRelayServiceConnectionAsync(IWebAppsOperations, String, String, String, RelayServiceConnectionEntity, CancellationToken) Method

Definition

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity> UpdateRelayServiceConnectionAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string entityName, Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity connectionEnvelope, System.Threading.CancellationToken cancellationToken = null);
static member UpdateRelayServiceConnectionAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

entityName
System.String

Name of the hybrid connection configuration.

connectionEnvelope
RelayServiceConnectionEntity

Details of the hybrid connection configuration.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<RelayServiceConnectionEntity>

Remarks

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

Applies to