共用方式為


DefinitionEndpointCreateParameters Class

Definition

Specifies an Endpoint configuration

public class DefinitionEndpointCreateParameters
type DefinitionEndpointCreateParameters = class
Public Class DefinitionEndpointCreateParameters
Inheritance
DefinitionEndpointCreateParameters

Constructors

DefinitionEndpointCreateParameters()

Initializes a new instance of the DefinitionEndpointCreateParameters class.

DefinitionEndpointCreateParameters(String, EndpointStatus)

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

Properties

DomainName

Required. Specifies the endpoint domain name.

Location

Optional. Specifies the location of an endpoint of type "Any". This is required for Performance policies. A list of possible values can be found under "Name" by calling List Locations: http://msdn.microsoft.com/en-us/library/gg441293.aspx

MinChildEndpoints

Optional. Specifies the minimum amount of child endpoints in a nested profile that has to be online for the endpoint to be considered online. The default is 1.

Status

Required. Specifies the status of the monitoring endpoint. If set to Enabled, the endpoint is considered by the load balancing method and is monitored.

Type

Optional. The type of endpoint being added to the definition. If there is more than one AzureWebsite endpoint, they must be in different datacenters. This limitation doesn’t apply to cloud services. The default value is "CloudService".

Weight

Optional. Specifies the weight of an endpoint in a weighted round robin policy. The valid range is for this value is [1, 1000]. The default is 1.

Applies to