NodeConfiguration Constructor (String, Int32, NodeCondition, NodeType, NullableInt32) |
This API is preliminary and subject to change.
Namespace: net.openstack.Providers.Rackspace.Objects.LoadBalancersAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public NodeConfiguration(
string hostDomain,
int port,
NodeCondition condition,
NodeType type,
Nullable<int> weight
)
Public Sub New (
hostDomain As String,
port As Integer,
condition As NodeCondition,
type As NodeType,
weight As Nullable(Of Integer)
)
public:
NodeConfiguration(
String^ hostDomain,
int port,
NodeCondition^ condition,
NodeType^ type,
Nullable<int> weight
)
new :
hostDomain : string *
port : int *
condition : NodeCondition *
type : NodeType *
weight : Nullable<int> -> NodeConfiguration
Parameters
- hostDomain
- Type: SystemString
The domain name of the node. - port
- Type: SystemInt32
The port number for the load balanced service. - condition
- Type: net.openstack.Providers.Rackspace.Objects.LoadBalancersNodeCondition
The condition for the node, which determines its role within the load balancer. - type
- Type: net.openstack.Providers.Rackspace.Objects.LoadBalancersNodeType
The node type. If this value is , a provider-specific default value will be used. - weight
- Type: SystemNullableInt32
The weight of the node.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also