UpdateEntityConfiguration Constructor |
This API is preliminary and subject to change.
Namespace: net.openstack.Providers.Rackspace.Objects.MonitoringAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public UpdateEntityConfiguration(
string label = null,
AgentId agentId = null,
IDictionary<string, IPAddress> ipAddresses = null,
IDictionary<string, string> metadata = null
)
Public Sub New (
Optional label As String = Nothing,
Optional agentId As AgentId = Nothing,
Optional ipAddresses As IDictionary(Of String, IPAddress) = Nothing,
Optional metadata As IDictionary(Of String, String) = Nothing
)
public:
UpdateEntityConfiguration(
String^ label = nullptr,
AgentId^ agentId = nullptr,
IDictionary<String^, IPAddress^>^ ipAddresses = nullptr,
IDictionary<String^, String^>^ metadata = nullptr
)
new :
?label : string *
?agentId : AgentId *
?ipAddresses : IDictionary<string, IPAddress> *
?metadata : IDictionary<string, string>
(* Defaults:
let _label = defaultArg label null
let _agentId = defaultArg agentId null
let _ipAddresses = defaultArg ipAddresses null
let _metadata = defaultArg metadata null
*)
-> UpdateEntityConfiguration
Parameters
- label (Optional)
- Type: SystemString
The name for the entity. If this parameter is , the name for the entity is not changed. - agentId (Optional)
- Type: net.openstack.Providers.Rackspace.Objects.MonitoringAgentId
The agent which this entity is bound to. If this parameter is , the agent for the entity is not changed. - ipAddresses (Optional)
- Type: System.Collections.GenericIDictionaryString, IPAddress
The IP addresses which can be referenced by checks on this entity. If this parameter is , the IP addresses for the entity are not changed. - metadata (Optional)
- Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the entity. If this parameter is , the metadata for the entity is not changed.
Exceptions Exception | Condition |
---|
ArgumentException |
If label is empty.
-or- If ipAddresses contains any empty keys, or any values. -or- If metadata contains any empty keys, or any values. |
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also