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)

<ExtensionAttribute>
Public Shared Function UpdateAsync (
	operations As IHostedServiceOperations,
	serviceName As String,
	parameters As HostedServiceUpdateParameters
) As Task(Of AzureOperationResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations

The IHostedServiceOperations object that specifies the cloud service operations.

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.

Return Value

Type: System.Threading.Tasks.Task(Of 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:

Return to top
Show: