Probe
Manages a LoadBalancer Probe Resource.
NOTE When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
Create a Probe Resource
new Probe(name: string, args: ProbeArgs, opts?: CustomResourceOptions);def Probe(resource_name, opts=None, interval_in_seconds=None, loadbalancer_id=None, name=None, number_of_probes=None, port=None, protocol=None, request_path=None, resource_group_name=None, __props__=None);public Probe(string name, ProbeArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProbeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProbeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProbeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Probe Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Probe resource accepts the following input properties:
- Loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- Resource
Group stringName The name of the resource group in which to create the resource.
- Interval
In intSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- Name string
Specifies the name of the Probe.
- Number
Of intProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- Protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- Request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- Loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- Resource
Group stringName The name of the resource group in which to create the resource.
- Interval
In intSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- Name string
Specifies the name of the Probe.
- Number
Of intProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- Protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- Request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- port number
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- resource
Group stringName The name of the resource group in which to create the resource.
- interval
In numberSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- name string
Specifies the name of the Probe.
- number
Of numberProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- loadbalancer_
id str The ID of the LoadBalancer in which to create the NAT Rule.
- port float
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- resource_
group_ strname The name of the resource group in which to create the resource.
- interval_
in_ floatseconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- name str
Specifies the name of the Probe.
- number_
of_ floatprobes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- protocol str
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- request_
path str The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the Probe resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancer List<string>Rules
- Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancer []stringRules
- id string
- The provider-assigned unique ID for this managed resource.
- load
Balancer string[]Rules
- id str
- The provider-assigned unique ID for this managed resource.
- load_
balancer_ List[str]rules
Look up an Existing Probe Resource
Get an existing Probe 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?: ProbeState, opts?: CustomResourceOptions): Probestatic get(resource_name, id, opts=None, interval_in_seconds=None, load_balancer_rules=None, loadbalancer_id=None, name=None, number_of_probes=None, port=None, protocol=None, request_path=None, resource_group_name=None, __props__=None);func GetProbe(ctx *Context, name string, id IDInput, state *ProbeState, opts ...ResourceOption) (*Probe, error)public static Probe Get(string name, Input<string> id, ProbeState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Interval
In intSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- Load
Balancer List<string>Rules - Loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- Name string
Specifies the name of the Probe.
- Number
Of intProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- Protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- Request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- Resource
Group stringName The name of the resource group in which to create the resource.
- Interval
In intSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- Load
Balancer []stringRules - Loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- Name string
Specifies the name of the Probe.
- Number
Of intProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- Protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- Request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- Resource
Group stringName The name of the resource group in which to create the resource.
- interval
In numberSeconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- load
Balancer string[]Rules - loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule.
- name string
Specifies the name of the Probe.
- number
Of numberProbes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- port number
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- protocol string
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- request
Path string The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- resource
Group stringName The name of the resource group in which to create the resource.
- interval_
in_ floatseconds The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
- load_
balancer_ List[str]rules - loadbalancer_
id str The ID of the LoadBalancer in which to create the NAT Rule.
- name str
Specifies the name of the Probe.
- number_
of_ floatprobes The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
- port float
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- protocol str
Specifies the protocol of the end point. Possible values are
Http,HttpsorTcp. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.- request_
path str The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
- resource_
group_ strname The name of the resource group in which to create the resource.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.