共用方式為


HostedServiceCreateParameters Class

Definition

Parameters supplied to the Create Hosted Service operation.

public class HostedServiceCreateParameters
type HostedServiceCreateParameters = class
Public Class HostedServiceCreateParameters
Inheritance
HostedServiceCreateParameters

Constructors

HostedServiceCreateParameters()

Initializes a new instance of the HostedServiceCreateParameters class.

HostedServiceCreateParameters(String, String)

Initializes a new instance of the HostedServiceCreateParameters class with required arguments.

Properties

AffinityGroup

Optional. The name of an existing affinity group associated with this subscription. Required if Location is not specified. This name is a GUID and can be retrieved by examining the name element of the response body returned by the List Affinity Groups operation. Specify either Location or AffinityGroup, but not both. To list available affinity groups, use the List Affinity Groups operation.

Description

Optional. A description for the cloud service. The description can be up to 1024 characters in length.

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

Required. A name for the cloud service. The name can be up to 100 characters in length. The name can be used to identify the storage account for your tracking purposes.

Location

Optional. The location where the cloud service will be created. Required if AffinityGroup is not specified. Specify either Location or AffinityGroup, but not both. To list available locations, use the List Locations operation.

ReverseDnsFqdn

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

ServiceName

Required. A name for the cloud service that is unique within Azure. This name is the DNS prefix name and can be used to access the service.

Applies to