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

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public UpdateCheckConfiguration(
	string label = null,
	CheckTypeId checkTypeId = null,
	CheckDetails details = null,
	IEnumerable<MonitoringZoneId> monitoringZonesPoll = null,
	Nullable<TimeSpan> timeout = null,
	Nullable<TimeSpan> period = null,
	string targetAlias = null,
	string targetHostname = null,
	TargetResolverType resolverType = null,
	IDictionary<string, string> metadata = null
)

Parameters

label (Optional)
Type: SystemString
The friendly name of the check. If this value is , the existing value for the check is not changed.
checkTypeId (Optional)
Type: net.openstack.Providers.Rackspace.Objects.MonitoringCheckTypeId
The check type ID. This is obtained from CheckType.Id, or from the predefined values in CheckTypeId. If this value is , the existing value for the check is not changed.
details (Optional)
Type: net.openstack.Providers.Rackspace.Objects.MonitoringCheckDetails
A CheckDetails object containing detailed configuration information for the specific check type. If this value is , the existing value for the check is not changed.
monitoringZonesPoll (Optional)
Type: System.Collections.GenericIEnumerableMonitoringZoneId
A collection of MonitoringZoneId objects identifying the monitoring zones to poll from. If this value is , the existing value for the check is not changed.
timeout (Optional)
Type: SystemNullableTimeSpan
The timeout of a check operation. If this value is , the existing value for the check is not changed.
period (Optional)
Type: SystemNullableTimeSpan
The period between check operations. If this value is , the existing value for the check is not changed.
targetAlias (Optional)
Type: SystemString
The alias of the target for this check in the associated entity's IPAddresses map. If this value is , the existing value for the check is not changed.
targetHostname (Optional)
Type: SystemString
The hostname this check should target. If this value is , the existing value for the check is not changed.
resolverType (Optional)
Type: net.openstack.Providers.Rackspace.Objects.MonitoringTargetResolverType
The type of resolver to use for converting targetHostname to an IP address. If this value is , the existing value for the check is not changed.
metadata (Optional)
Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the check. If this value is , the existing value for the check is not changed.
Exceptions
ExceptionCondition
ArgumentException If label is non- but empty.

-or-

If the specified details object does support checks of type checkTypeId.

-or-

If monitoringZonesPoll contains any values.

-or-

If period is less than or equal to timeout.

-or-

If targetAlias is non- but empty.

-or-

If targetHostname is non- but empty.

-or-

If metadata contains any empty keys.

ArgumentOutOfRangeException If timeout is less than or equal to Zero.

-or-

If period is less than or equal to Zero.

InvalidOperationException If targetAlias and targetHostname are both non-.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

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