Class RestMonitorConfiguration
Request configuration details for the REST monitor type.
Inheritance
RestMonitorConfiguration
Assembly: OCI.DotNetSDK.Apmsynthetics.dll
Syntax
public class RestMonitorConfiguration : MonitorConfiguration
Properties
ClientCertificateDetails
Declaration
[JsonProperty(PropertyName = "clientCertificateDetails")]
public ClientCertificateDetails ClientCertificateDetails { get; set; }
Property Value
IsCertificateValidationEnabled
Declaration
[JsonProperty(PropertyName = "isCertificateValidationEnabled")]
public bool? IsCertificateValidationEnabled { get; set; }
Property Value
Type |
Description |
bool? |
If certificate validation is enabled, then call will fail for certificate errors.
|
IsRedirectionEnabled
Declaration
[JsonProperty(PropertyName = "isRedirectionEnabled")]
public bool? IsRedirectionEnabled { get; set; }
Property Value
Type |
Description |
bool? |
If redirection is enabled, then redirects will be allowed while accessing target URL.
|
NetworkConfiguration
Declaration
[JsonProperty(PropertyName = "networkConfiguration")]
public NetworkConfiguration NetworkConfiguration { get; set; }
Property Value
ReqAuthenticationDetails
Declaration
[JsonProperty(PropertyName = "reqAuthenticationDetails")]
public RequestAuthenticationDetails ReqAuthenticationDetails { get; set; }
Property Value
ReqAuthenticationScheme
Declaration
[JsonProperty(PropertyName = "reqAuthenticationScheme")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RequestAuthenticationSchemes? ReqAuthenticationScheme { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "requestHeaders")]
public List<Header> RequestHeaders { get; set; }
Property Value
Type |
Description |
List<Header> |
List of request headers. Example: [{"headerName": "content-type", "headerValue":"json"}]
|
RequestMethod
Declaration
[JsonProperty(PropertyName = "requestMethod")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RequestMethods? RequestMethod { get; set; }
Property Value
RequestPostBody
Declaration
[JsonProperty(PropertyName = "requestPostBody")]
public string RequestPostBody { get; set; }
Property Value
Type |
Description |
string |
Request post body content.
|
RequestQueryParams
Declaration
[JsonProperty(PropertyName = "requestQueryParams")]
public List<RequestQueryParam> RequestQueryParams { get; set; }
Property Value
Type |
Description |
List<RequestQueryParam> |
List of request query params. Example: [{"paramName": "sortOrder", "paramValue": "asc"}]
|
VerifyResponseCodes
Declaration
[JsonProperty(PropertyName = "verifyResponseCodes")]
public List<string> VerifyResponseCodes { get; set; }
Property Value
Type |
Description |
List<string> |
Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
|
VerifyResponseContent
Declaration
[JsonProperty(PropertyName = "verifyResponseContent")]
public string VerifyResponseContent { get; set; }
Property Value
Type |
Description |
string |
Verify response content against regular expression based string.
If response content does not match the verifyResponseContent value, then it will be considered a failure.
|