IHostedServiceOperations::UpdateAsync Method (String^, HostedServiceUpdateParameters^, CancellationToken)
Asynchronously updates the label or description of a cloud service in a subscription.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Task<AzureOperationResponse^>^ UpdateAsync( String^ serviceName, HostedServiceUpdateParameters^ parameters, CancellationToken cancellationToken )
Parameters
- serviceName
-
Type:
System::String^
The name of the cloud service to update.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models::HostedServiceUpdateParameters^
The HostedServiceUpdateParameters object that contains the parameters that are used to update the cloud service.
- cancellationToken
-
Type:
System.Threading::CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks::Task<AzureOperationResponse^>^An OperationResponse object that includes an HTTP status code and request ID.
For more information about updating cloud services properties, see the following resources:
Show: