HostedServiceOperationsExtensions.Update Method (IHostedServiceOperations, String, HostedServiceUpdateParameters)
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 AzureOperationResponse Update(
this IHostedServiceOperations operations,
string serviceName,
HostedServiceUpdateParameters parameters
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Update(
IHostedServiceOperations^ operations,
String^ serviceName,
HostedServiceUpdateParameters^ parameters
)
static member Update :
operations:IHostedServiceOperations *
serviceName:string *
parameters:HostedServiceUpdateParameters -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Update (
operations As IHostedServiceOperations,
serviceName As String,
parameters As HostedServiceUpdateParameters
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperationsThe IHostedServiceOperations object that specifies the cloud service operations.
serviceName
Type: System.StringThe name of the cloud service to update.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceUpdateParametersThe HostedServiceUpdateParameters object that contains the parameters that are used to update the cloud service.
Return Value
Type: Microsoft.Azure.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