Udostępnij za pośrednictwem


ServerEndpointsOperationsExtensions.UpdateAsync Method

Definition

Patch a given ServerEndpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.ServerEndpoint> UpdateAsync (this Microsoft.Azure.Management.StorageSync.IServerEndpointsOperations operations, string resourceGroupName, string storageSyncServiceName, string syncGroupName, string serverEndpointName, Microsoft.Azure.Management.StorageSync.Models.ServerEndpointUpdateParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.StorageSync.IServerEndpointsOperations * string * string * string * string * Microsoft.Azure.Management.StorageSync.Models.ServerEndpointUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.ServerEndpoint>
<Extension()>
Public Function UpdateAsync (operations As IServerEndpointsOperations, resourceGroupName As String, storageSyncServiceName As String, syncGroupName As String, serverEndpointName As String, Optional parameters As ServerEndpointUpdateParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerEndpoint)

Parameters

operations
IServerEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

storageSyncServiceName
String

Name of Storage Sync Service resource.

syncGroupName
String

Name of Sync Group resource.

serverEndpointName
String

Name of Server Endpoint object.

parameters
ServerEndpointUpdateParameters

Any of the properties applicable in PUT request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to