Click or drag to resize
NewEntityConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the NewEntityConfiguration class with the specified values.

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public NewEntityConfiguration(
	string label,
	AgentId agentId,
	IDictionary<string, IPAddress> ipAddresses,
	IDictionary<string, string> metadata
)

Parameters

label
Type: SystemString
The name for the entity.
agentId
Type: net.openstack.Providers.Rackspace.Objects.MonitoringAgentId
The agent which this entity is bound to. If this parameter is , placeholder.
ipAddresses
Type: System.Collections.GenericIDictionaryString, IPAddress
The IP addresses which can be referenced by checks on this entity. If this parameter is , placeholder.
metadata
Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the entity. If this parameter is , the entity is created without any custom metadata.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf label is .
ArgumentException If label is empty.

-or-

If ipAddresses contains any empty keys.

-or-

If metadata contains any empty keys.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also