Delen via


FabricClient.ServiceGroupManagementClient.UpdateServiceGroupAsync Method

Definition

Overloads

UpdateServiceGroupAsync(Uri, ServiceGroupUpdateDescription)

Asynchronously updates a service group with the specified description.

UpdateServiceGroupAsync(Uri, ServiceGroupUpdateDescription, TimeSpan, CancellationToken)

Asynchronously updates a service group with specified description.

UpdateServiceGroupAsync(Uri, ServiceGroupUpdateDescription)

Asynchronously updates a service group with the specified description.

public System.Threading.Tasks.Task UpdateServiceGroupAsync (Uri name, System.Fabric.Description.ServiceGroupUpdateDescription updateDescription);
member this.UpdateServiceGroupAsync : Uri * System.Fabric.Description.ServiceGroupUpdateDescription -> System.Threading.Tasks.Task
Public Function UpdateServiceGroupAsync (name As Uri, updateDescription As ServiceGroupUpdateDescription) As Task

Parameters

name
Uri

The URI name of the service group being updated.

updateDescription
ServiceGroupUpdateDescription

The ServiceGroupUpdateDescription that specifies the updated configuration for the service group.

Returns

The task representing the asynchronous service group update operation.

Applies to

UpdateServiceGroupAsync(Uri, ServiceGroupUpdateDescription, TimeSpan, CancellationToken)

Asynchronously updates a service group with specified description.

public System.Threading.Tasks.Task UpdateServiceGroupAsync (Uri name, System.Fabric.Description.ServiceGroupUpdateDescription updateDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdateServiceGroupAsync : Uri * System.Fabric.Description.ServiceGroupUpdateDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateServiceGroupAsync (name As Uri, updateDescription As ServiceGroupUpdateDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

name
Uri

The URI name of the service being updated.

updateDescription
ServiceGroupUpdateDescription

The ServiceGroupUpdateDescription that specifies the updated configuration for the service.

timeout
TimeSpan

The maximum amount of time the system will allow this API to take before returning TimeoutException.

cancellationToken
CancellationToken

The CancellationToken that the operation is observing. It can be used to propagate notification that the operation should be canceled.

Returns

The task representing the asynchronous service group update operation.

Applies to