Class HttpQueryProperties
Query properties applicable to HTTP type of collection method
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class HttpQueryProperties : MetricExtensionQueryProperties
Properties
ProtocolType
Declaration
[JsonProperty(PropertyName = "protocolType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public HttpProtocolTypes? ProtocolType { get; set; }
Property Value
Type | Description |
---|---|
HttpProtocolTypes? | Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL |
ResponseContentType
Declaration
[Required(ErrorMessage = "ResponseContentType is required.")]
[JsonProperty(PropertyName = "responseContentType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public HttpResponseContentTypes? ResponseContentType { get; set; }
Property Value
Type | Description |
---|---|
HttpResponseContentTypes? | Type of content response given by the http(s) URL |
Remarks
Required
ScriptDetails
Declaration
[Required(ErrorMessage = "ScriptDetails is required.")]
[JsonProperty(PropertyName = "scriptDetails")]
public HttpScriptFileDetails ScriptDetails { get; set; }
Property Value
Type | Description |
---|---|
HttpScriptFileDetails |
Remarks
Required
Url
Declaration
[Required(ErrorMessage = "Url is required.")]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string | Http(s) end point URL |
Remarks
Required