Share via


IHostedServiceOperations.UpdateAsync Method (String, HostedServiceUpdateParameters, CancellationToken)

 

Asynchronously updates the label or description of a cloud service in a subscription.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

Task<AzureOperationResponse> UpdateAsync(
    string serviceName,
    HostedServiceUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ UpdateAsync(
    String^ serviceName,
    HostedServiceUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract UpdateAsync : 
        serviceName:string *
        parameters:HostedServiceUpdateParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function UpdateAsync (
    serviceName As String,
    parameters As HostedServiceUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service to update.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

An OperationResponse object that includes an HTTP status code and request ID.

Remarks

For more information about updating cloud services properties, see the following resources:

See Also

IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top