共用方式為


HostedServiceProperties Class

Definition

The properties that are assigned to the cloud service.

public class HostedServiceProperties
type HostedServiceProperties = class
Public Class HostedServiceProperties
Inheritance
HostedServiceProperties

Constructors

HostedServiceProperties()

Initializes a new instance of the HostedServiceProperties class.

Properties

AffinityGroup

Optional. The affinity group with which this cloud service is associated, if any. If the service is associated with an affinity group, the Location element is not returned.

DateCreated

Optional. The date that the cloud service was created, in [4DigitYear]-[2DigitMonth]-[2DigitDay]T[2DigitHour]:[2DigitMinute]:[2DigitSecond]Z format. The date 2011-05-11T16:15:26Z is an example that could be returned by the DateCreated or DateLastModified elements.

DateLastModified

Optional. The date that the cloud service was last updated, in [4DigitYear]-[2DigitMonth]-[2DigitDay]T[2DigitHour]:[2DigitMinute]:[2DigitSecond]Z format. The date 2011-05-11T16:15:26Z is an example that could be returned by the DateCreated or DateLastModified elements.

Description

Optional. The description for the cloud service.

ExtendedProperties

Optional. Represents the name of an extended cloud service property. Each extended property must have a defined name and a value. You can have a maximum of 50 extended property name and value pairs. The maximum length of the name element is 64 characters, only alphanumeric characters and underscores are valid in the name, and it must start with a letter. Attempting to use other characters, starting with a non-letter character, or entering a name that is identical to that of another extended property owned by the same service will result in a status code 400 (Bad Request) error. Each extended property value has a maximum length of 255 characters.

Label

Optional. The user-supplied name of the cloud service. This name can be used identify the service for your tracking purposes.

Location

Optional. The geo-location of the cloud service in Windows Azure, if the service is not associated with an affinity group. If a location has been specified, the AffinityGroup element is not returned.

ReverseDnsFqdn

Optional. Dns address to which the cloud service's IP address resolves when queried using a reverse Dns query.

Status

Optional. The status of the cloud service.

Applies to