FabricClient.ServiceGroupManagementClient.UpdateServiceGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET