UpdateCheckConfiguration 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 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
)
Public Sub New (
Optional label As String = Nothing,
Optional checkTypeId As CheckTypeId = Nothing,
Optional details As CheckDetails = Nothing,
Optional monitoringZonesPoll As IEnumerable(Of MonitoringZoneId) = Nothing,
Optional timeout As Nullable(Of TimeSpan) = Nothing,
Optional period As Nullable(Of TimeSpan) = Nothing,
Optional targetAlias As String = Nothing,
Optional targetHostname As String = Nothing,
Optional resolverType As TargetResolverType = Nothing,
Optional metadata As IDictionary(Of String, String) = Nothing
)
public:
UpdateCheckConfiguration(
String^ label = nullptr,
CheckTypeId^ checkTypeId = nullptr,
CheckDetails^ details = nullptr,
IEnumerable<MonitoringZoneId^>^ monitoringZonesPoll = nullptr,
Nullable<TimeSpan> timeout = nullptr,
Nullable<TimeSpan> period = nullptr,
String^ targetAlias = nullptr,
String^ targetHostname = nullptr,
TargetResolverType^ resolverType = nullptr,
IDictionary<String^, String^>^ metadata = nullptr
)
new :
?label : string *
?checkTypeId : CheckTypeId *
?details : CheckDetails *
?monitoringZonesPoll : IEnumerable<MonitoringZoneId> *
?timeout : Nullable<TimeSpan> *
?period : Nullable<TimeSpan> *
?targetAlias : string *
?targetHostname : string *
?resolverType : TargetResolverType *
?metadata : IDictionary<string, string>
(* Defaults:
let _label = defaultArg label null
let _checkTypeId = defaultArg checkTypeId null
let _details = defaultArg details null
let _monitoringZonesPoll = defaultArg monitoringZonesPoll null
let _timeout = defaultArg timeout null
let _period = defaultArg period null
let _targetAlias = defaultArg targetAlias null
let _targetHostname = defaultArg targetHostname null
let _resolverType = defaultArg resolverType null
let _metadata = defaultArg metadata null
*)
-> UpdateCheckConfiguration
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 Exception | Condition |
---|
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