Show / Hide Table of Contents

Class RestMonitorConfiguration

Request configuration details for the REST monitor type.

Inheritance
object
MonitorConfiguration
RestMonitorConfiguration
Inherited Members
MonitorConfiguration.IsFailureRetried
MonitorConfiguration.DnsConfiguration
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApmsyntheticsService.Models
Assembly: OCI.DotNetSDK.Apmsynthetics.dll
Syntax
public class RestMonitorConfiguration : MonitorConfiguration

Properties

ClientCertificateDetails

Declaration
[JsonProperty(PropertyName = "clientCertificateDetails")]
public ClientCertificateDetails ClientCertificateDetails { get; set; }
Property Value
Type Description
ClientCertificateDetails

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
Type Description
NetworkConfiguration

ReqAuthenticationDetails

Declaration
[JsonProperty(PropertyName = "reqAuthenticationDetails")]
public RequestAuthenticationDetails ReqAuthenticationDetails { get; set; }
Property Value
Type Description
RequestAuthenticationDetails

ReqAuthenticationScheme

Declaration
[JsonProperty(PropertyName = "reqAuthenticationScheme")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RequestAuthenticationSchemes? ReqAuthenticationScheme { get; set; }
Property Value
Type Description
RequestAuthenticationSchemes?

Request HTTP authentication scheme.

RequestHeaders

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
Type Description
RequestMethods?

Request HTTP method.

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.

In this article
Back to top