You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/corelib/Providers/Rackspace/Objects/Monitoring/HttpCheckDetails.cs
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,8 +88,8 @@ protected HttpCheckDetails()
88
88
/// <param name="url">The target URI.</param>
89
89
/// <param name="authUser">The username of the user to authenticate over HTTP.</param>
90
90
/// <param name="authPassword">The password of the user to authenticate over HTTP.</param>
91
-
/// <param name="body">The regular expression to match against the body of the reply.</param>
92
-
/// <param name="bodyMatches">A collection of named regular expressions to match against the body of the reply.</param>
91
+
/// <param name="body">The regular expression to match against the body of the reply. For more information, see <see cref="Body"/>.</param>
92
+
/// <param name="bodyMatches">A collection of named regular expressions to match against the body of the reply. For more information, see <see cref="BodyMatches"/>.</param>
93
93
/// <param name="followRedirects"><see langword="true"/> to follow redirects; otherwise, <see langword="false"/>.</param>
94
94
/// <param name="headers">A collection of additional HTTP headers which are sent with the request.</param>
95
95
/// <param name="method">The HTTP method to use for the request.</param>
@@ -159,6 +159,10 @@ public string AuthUser
159
159
/// <summary>
160
160
/// Gets the regular expression to match against the body of the reply.
161
161
/// </summary>
162
+
/// <remarks>
163
+
/// The data matched by this regular expression is provided by the
164
+
/// <c>body_match</c> metric in the alarm criteria.
165
+
/// </remarks>
162
166
publicstringBody
163
167
{
164
168
get
@@ -171,6 +175,16 @@ public string Body
171
175
/// Gets a collection of named regular expressions to match against the
172
176
/// body of the reply.
173
177
/// </summary>
178
+
/// <remarks>
179
+
/// When this property is specified, a metric will be available for each of
180
+
/// the named regular expressions. The keys of this dictionary provide the
181
+
/// names for each of the regular expressions and determine the names of
182
+
/// alarm criteria metrics which provide the data matched by the expression.
183
+
/// For example, if <see cref="BodyMatches"/> contains a key
184
+
/// <c><em>helloworld</em></c>, the metric
185
+
/// <c>body_match_<em>helloworld</em></c> provides the data in the body
0 commit comments