1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. HealthChecks
  5. HttpProbe
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.HealthChecks.HttpProbe

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    This resource provides the Http Probe resource in Oracle Cloud Infrastructure Health Checks service.

    Creates an on-demand HTTP probe. The location response header contains the URL for fetching the probe results.

    Note: On-demand probe configurations are not saved.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHttpProbe = new oci.healthchecks.HttpProbe("testHttpProbe", {
        compartmentId: _var.compartment_id,
        protocol: _var.http_probe_protocol,
        targets: _var.http_probe_targets,
        headers: _var.http_probe_headers,
        method: _var.http_probe_method,
        path: _var.http_probe_path,
        port: _var.http_probe_port,
        timeoutInSeconds: _var.http_probe_timeout_in_seconds,
        vantagePointNames: _var.http_probe_vantage_point_names,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_http_probe = oci.health_checks.HttpProbe("testHttpProbe",
        compartment_id=var["compartment_id"],
        protocol=var["http_probe_protocol"],
        targets=var["http_probe_targets"],
        headers=var["http_probe_headers"],
        method=var["http_probe_method"],
        path=var["http_probe_path"],
        port=var["http_probe_port"],
        timeout_in_seconds=var["http_probe_timeout_in_seconds"],
        vantage_point_names=var["http_probe_vantage_point_names"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/HealthChecks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := HealthChecks.NewHttpProbe(ctx, "testHttpProbe", &HealthChecks.HttpProbeArgs{
    			CompartmentId:     pulumi.Any(_var.Compartment_id),
    			Protocol:          pulumi.Any(_var.Http_probe_protocol),
    			Targets:           pulumi.Any(_var.Http_probe_targets),
    			Headers:           pulumi.Any(_var.Http_probe_headers),
    			Method:            pulumi.Any(_var.Http_probe_method),
    			Path:              pulumi.Any(_var.Http_probe_path),
    			Port:              pulumi.Any(_var.Http_probe_port),
    			TimeoutInSeconds:  pulumi.Any(_var.Http_probe_timeout_in_seconds),
    			VantagePointNames: pulumi.Any(_var.Http_probe_vantage_point_names),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testHttpProbe = new Oci.HealthChecks.HttpProbe("testHttpProbe", new()
        {
            CompartmentId = @var.Compartment_id,
            Protocol = @var.Http_probe_protocol,
            Targets = @var.Http_probe_targets,
            Headers = @var.Http_probe_headers,
            Method = @var.Http_probe_method,
            Path = @var.Http_probe_path,
            Port = @var.Http_probe_port,
            TimeoutInSeconds = @var.Http_probe_timeout_in_seconds,
            VantagePointNames = @var.Http_probe_vantage_point_names,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.HealthChecks.HttpProbe;
    import com.pulumi.oci.HealthChecks.HttpProbeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testHttpProbe = new HttpProbe("testHttpProbe", HttpProbeArgs.builder()        
                .compartmentId(var_.compartment_id())
                .protocol(var_.http_probe_protocol())
                .targets(var_.http_probe_targets())
                .headers(var_.http_probe_headers())
                .method(var_.http_probe_method())
                .path(var_.http_probe_path())
                .port(var_.http_probe_port())
                .timeoutInSeconds(var_.http_probe_timeout_in_seconds())
                .vantagePointNames(var_.http_probe_vantage_point_names())
                .build());
    
        }
    }
    
    resources:
      testHttpProbe:
        type: oci:HealthChecks:HttpProbe
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          protocol: ${var.http_probe_protocol}
          targets: ${var.http_probe_targets}
          #Optional
          headers: ${var.http_probe_headers}
          method: ${var.http_probe_method}
          path: ${var.http_probe_path}
          port: ${var.http_probe_port}
          timeoutInSeconds: ${var.http_probe_timeout_in_seconds}
          vantagePointNames: ${var.http_probe_vantage_point_names}
    

    Create HttpProbe Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HttpProbe(name: string, args: HttpProbeArgs, opts?: CustomResourceOptions);
    @overload
    def HttpProbe(resource_name: str,
                  args: HttpProbeArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def HttpProbe(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  compartment_id: Optional[str] = None,
                  protocol: Optional[str] = None,
                  targets: Optional[Sequence[str]] = None,
                  headers: Optional[Mapping[str, Any]] = None,
                  method: Optional[str] = None,
                  path: Optional[str] = None,
                  port: Optional[int] = None,
                  timeout_in_seconds: Optional[int] = None,
                  vantage_point_names: Optional[Sequence[str]] = None)
    func NewHttpProbe(ctx *Context, name string, args HttpProbeArgs, opts ...ResourceOption) (*HttpProbe, error)
    public HttpProbe(string name, HttpProbeArgs args, CustomResourceOptions? opts = null)
    public HttpProbe(String name, HttpProbeArgs args)
    public HttpProbe(String name, HttpProbeArgs args, CustomResourceOptions options)
    
    type: oci:HealthChecks:HttpProbe
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args HttpProbeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HttpProbeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HttpProbeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HttpProbeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HttpProbeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var httpProbeResource = new Oci.HealthChecks.HttpProbe("httpProbeResource", new()
    {
        CompartmentId = "string",
        Protocol = "string",
        Targets = new[]
        {
            "string",
        },
        Headers = 
        {
            { "string", "any" },
        },
        Method = "string",
        Path = "string",
        Port = 0,
        TimeoutInSeconds = 0,
        VantagePointNames = new[]
        {
            "string",
        },
    });
    
    example, err := HealthChecks.NewHttpProbe(ctx, "httpProbeResource", &HealthChecks.HttpProbeArgs{
    	CompartmentId: pulumi.String("string"),
    	Protocol:      pulumi.String("string"),
    	Targets: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Headers: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Method:           pulumi.String("string"),
    	Path:             pulumi.String("string"),
    	Port:             pulumi.Int(0),
    	TimeoutInSeconds: pulumi.Int(0),
    	VantagePointNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var httpProbeResource = new HttpProbe("httpProbeResource", HttpProbeArgs.builder()        
        .compartmentId("string")
        .protocol("string")
        .targets("string")
        .headers(Map.of("string", "any"))
        .method("string")
        .path("string")
        .port(0)
        .timeoutInSeconds(0)
        .vantagePointNames("string")
        .build());
    
    http_probe_resource = oci.health_checks.HttpProbe("httpProbeResource",
        compartment_id="string",
        protocol="string",
        targets=["string"],
        headers={
            "string": "any",
        },
        method="string",
        path="string",
        port=0,
        timeout_in_seconds=0,
        vantage_point_names=["string"])
    
    const httpProbeResource = new oci.healthchecks.HttpProbe("httpProbeResource", {
        compartmentId: "string",
        protocol: "string",
        targets: ["string"],
        headers: {
            string: "any",
        },
        method: "string",
        path: "string",
        port: 0,
        timeoutInSeconds: 0,
        vantagePointNames: ["string"],
    });
    
    type: oci:HealthChecks:HttpProbe
    properties:
        compartmentId: string
        headers:
            string: any
        method: string
        path: string
        port: 0
        protocol: string
        targets:
            - string
        timeoutInSeconds: 0
        vantagePointNames:
            - string
    

    HttpProbe Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The HttpProbe resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment.
    Protocol string
    The supported protocols available for HTTP probes.
    Targets List<string>
    A list of targets (hostnames or IP addresses) of the probe.
    Headers Dictionary<string, object>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    Method string
    The supported HTTP methods available for probes.
    Path string
    The optional URL path to probe, including query parameters.
    Port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    TimeoutInSeconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    VantagePointNames List<string>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    The OCID of the compartment.
    Protocol string
    The supported protocols available for HTTP probes.
    Targets []string
    A list of targets (hostnames or IP addresses) of the probe.
    Headers map[string]interface{}

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    Method string
    The supported HTTP methods available for probes.
    Path string
    The optional URL path to probe, including query parameters.
    Port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    TimeoutInSeconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    VantagePointNames []string

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment.
    protocol String
    The supported protocols available for HTTP probes.
    targets List<String>
    A list of targets (hostnames or IP addresses) of the probe.
    headers Map<String,Object>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    method String
    The supported HTTP methods available for probes.
    path String
    The optional URL path to probe, including query parameters.
    port Integer
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    timeoutInSeconds Integer
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames List<String>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    The OCID of the compartment.
    protocol string
    The supported protocols available for HTTP probes.
    targets string[]
    A list of targets (hostnames or IP addresses) of the probe.
    headers {[key: string]: any}

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    method string
    The supported HTTP methods available for probes.
    path string
    The optional URL path to probe, including query parameters.
    port number
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    timeoutInSeconds number
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames string[]

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    The OCID of the compartment.
    protocol str
    The supported protocols available for HTTP probes.
    targets Sequence[str]
    A list of targets (hostnames or IP addresses) of the probe.
    headers Mapping[str, Any]

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    method str
    The supported HTTP methods available for probes.
    path str
    The optional URL path to probe, including query parameters.
    port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    timeout_in_seconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantage_point_names Sequence[str]

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment.
    protocol String
    The supported protocols available for HTTP probes.
    targets List<String>
    A list of targets (hostnames or IP addresses) of the probe.
    headers Map<Any>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    method String
    The supported HTTP methods available for probes.
    path String
    The optional URL path to probe, including query parameters.
    port Number
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    timeoutInSeconds Number
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames List<String>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HttpProbe resource produces the following output properties:

    HomeRegion string
    The region where updates must be made and where results must be fetched from.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResultsUrl string
    A URL for fetching the probe results.
    TimeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    HomeRegion string
    The region where updates must be made and where results must be fetched from.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResultsUrl string
    A URL for fetching the probe results.
    TimeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    homeRegion String
    The region where updates must be made and where results must be fetched from.
    id String
    The provider-assigned unique ID for this managed resource.
    resultsUrl String
    A URL for fetching the probe results.
    timeCreated String
    The RFC 3339-formatted creation date and time of the probe.
    homeRegion string
    The region where updates must be made and where results must be fetched from.
    id string
    The provider-assigned unique ID for this managed resource.
    resultsUrl string
    A URL for fetching the probe results.
    timeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    home_region str
    The region where updates must be made and where results must be fetched from.
    id str
    The provider-assigned unique ID for this managed resource.
    results_url str
    A URL for fetching the probe results.
    time_created str
    The RFC 3339-formatted creation date and time of the probe.
    homeRegion String
    The region where updates must be made and where results must be fetched from.
    id String
    The provider-assigned unique ID for this managed resource.
    resultsUrl String
    A URL for fetching the probe results.
    timeCreated String
    The RFC 3339-formatted creation date and time of the probe.

    Look up Existing HttpProbe Resource

    Get an existing HttpProbe resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HttpProbeState, opts?: CustomResourceOptions): HttpProbe
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            headers: Optional[Mapping[str, Any]] = None,
            home_region: Optional[str] = None,
            method: Optional[str] = None,
            path: Optional[str] = None,
            port: Optional[int] = None,
            protocol: Optional[str] = None,
            results_url: Optional[str] = None,
            targets: Optional[Sequence[str]] = None,
            time_created: Optional[str] = None,
            timeout_in_seconds: Optional[int] = None,
            vantage_point_names: Optional[Sequence[str]] = None) -> HttpProbe
    func GetHttpProbe(ctx *Context, name string, id IDInput, state *HttpProbeState, opts ...ResourceOption) (*HttpProbe, error)
    public static HttpProbe Get(string name, Input<string> id, HttpProbeState? state, CustomResourceOptions? opts = null)
    public static HttpProbe get(String name, Output<String> id, HttpProbeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment.
    Headers Dictionary<string, object>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    HomeRegion string
    The region where updates must be made and where results must be fetched from.
    Method string
    The supported HTTP methods available for probes.
    Path string
    The optional URL path to probe, including query parameters.
    Port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    Protocol string
    The supported protocols available for HTTP probes.
    ResultsUrl string
    A URL for fetching the probe results.
    Targets List<string>
    A list of targets (hostnames or IP addresses) of the probe.
    TimeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    TimeoutInSeconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    VantagePointNames List<string>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    The OCID of the compartment.
    Headers map[string]interface{}

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    HomeRegion string
    The region where updates must be made and where results must be fetched from.
    Method string
    The supported HTTP methods available for probes.
    Path string
    The optional URL path to probe, including query parameters.
    Port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    Protocol string
    The supported protocols available for HTTP probes.
    ResultsUrl string
    A URL for fetching the probe results.
    Targets []string
    A list of targets (hostnames or IP addresses) of the probe.
    TimeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    TimeoutInSeconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    VantagePointNames []string

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment.
    headers Map<String,Object>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    homeRegion String
    The region where updates must be made and where results must be fetched from.
    method String
    The supported HTTP methods available for probes.
    path String
    The optional URL path to probe, including query parameters.
    port Integer
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    protocol String
    The supported protocols available for HTTP probes.
    resultsUrl String
    A URL for fetching the probe results.
    targets List<String>
    A list of targets (hostnames or IP addresses) of the probe.
    timeCreated String
    The RFC 3339-formatted creation date and time of the probe.
    timeoutInSeconds Integer
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames List<String>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    The OCID of the compartment.
    headers {[key: string]: any}

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    homeRegion string
    The region where updates must be made and where results must be fetched from.
    method string
    The supported HTTP methods available for probes.
    path string
    The optional URL path to probe, including query parameters.
    port number
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    protocol string
    The supported protocols available for HTTP probes.
    resultsUrl string
    A URL for fetching the probe results.
    targets string[]
    A list of targets (hostnames or IP addresses) of the probe.
    timeCreated string
    The RFC 3339-formatted creation date and time of the probe.
    timeoutInSeconds number
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames string[]

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    The OCID of the compartment.
    headers Mapping[str, Any]

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    home_region str
    The region where updates must be made and where results must be fetched from.
    method str
    The supported HTTP methods available for probes.
    path str
    The optional URL path to probe, including query parameters.
    port int
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    protocol str
    The supported protocols available for HTTP probes.
    results_url str
    A URL for fetching the probe results.
    targets Sequence[str]
    A list of targets (hostnames or IP addresses) of the probe.
    time_created str
    The RFC 3339-formatted creation date and time of the probe.
    timeout_in_seconds int
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantage_point_names Sequence[str]

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment.
    headers Map<Any>

    A dictionary of HTTP request headers.

    Note: Monitors and probes do not support the use of the Authorization HTTP header.

    homeRegion String
    The region where updates must be made and where results must be fetched from.
    method String
    The supported HTTP methods available for probes.
    path String
    The optional URL path to probe, including query parameters.
    port Number
    The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
    protocol String
    The supported protocols available for HTTP probes.
    resultsUrl String
    A URL for fetching the probe results.
    targets List<String>
    A list of targets (hostnames or IP addresses) of the probe.
    timeCreated String
    The RFC 3339-formatted creation date and time of the probe.
    timeoutInSeconds Number
    The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors.
    vantagePointNames List<String>

    A list of names of vantage points from which to execute the probe.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    HttpProbes can be imported using the id, e.g.

    $ pulumi import oci:HealthChecks/httpProbe:HttpProbe test_http_probe "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi