Share via


HostedServiceOperationsExtensions.UpdateAsync Method (IHostedServiceOperations, String, HostedServiceUpdateParameters)

 

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

public static Task<AzureOperationResponse> UpdateAsync(
    this IHostedServiceOperations operations,
    string serviceName,
    HostedServiceUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ UpdateAsync(
    IHostedServiceOperations^ operations,
    String^ serviceName,
    HostedServiceUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IHostedServiceOperations *
        serviceName:string *
        parameters:HostedServiceUpdateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IHostedServiceOperations,
    serviceName As String,
    parameters As HostedServiceUpdateParameters
) 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

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top