SALES: 1-800-867-1380

Update Cloud Service

Updated: August 21, 2014

The Update Cloud Service operation updates the label or description of a cloud service.

The Update Cloud Service request may be specified as follows. Replace <subscription-id> with your subscription ID, and <cloudservice-name> with the name of the cloud service.

 

Method Request URI

PUT

https://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

 

Request Header Description

Content-Type

Required. Set this header to application/xml.

x-ms-version

Required. Specifies the version of the operation to use for this request. This header should be set to 2010-10-28 or higher. For more information about versioning headers, see Service Management Versioning.

The format of the request body is as follows:

<?xml version="1.0" encoding="utf-8"?>
<UpdateHostedService xmlns="http://schemas.microsoft.com/windowsazure">
  <Label>base64-encoded-label-of-cloud-service</Label>
  <Description>description-of-cloud-service</Description>
  <ExtendedProperties>
    <ExtendedProperty>
      <Name>name-of-property</Name>
      <Value>value-of-property</Value>
    </ExtendedProperty>
  </ExtendedProperties>  
  <ReverseDnsFqdn>reverse-dns-fqdn</ReverseDnsFqdn>
</UpdateHostedService>

The following table describes the elements of the request body.

 

Element Name Description

Label

Optional if Description is specified. Specifies the base-64-encoded identifier for the cloud service. The identifier can be up to 100 characters long. It is recommended that the label be unique within the subscription. The label can be used for your tracking purposes.

Description

Optional if Label is specified. Specifies the description of the cloud service. The description can be up to 1024 characters long.

Name

Optional. Specifies the name of an extended cloud service property. You must provide a name and value for each property. A maximum of 50 extended properties is allowed. The name can be up to 64 characters long. Only alphanumeric characters and underscores are valid in the name, and it must start with a letter.

The Name element is only available using version 2012-03-01 or higher.

Value

Optional. Specifies the value of an extended cloud service property. Each extended property must have both a defined name and value. The value can be up to 255 characters long. You can delete an existing property by setting the value to NULL.

The Value element is only available using version 2012-03-01 or higher.

ReverseDnsFqdn

Optional. Specifies the DNS address to which the IP address of the cloud service resolves when queried using a reverse DNS query.

The ReverseDnsFqdn element is only available using version 2014-06-01 or higher.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the Management service.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft