azure.lb.Probe
Manages a LoadBalancer Probe Resource.
NOTE When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var examplePublicIp = new Azure.Network.PublicIp("examplePublicIp", new()
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
AllocationMethod = "Static",
});
var exampleLoadBalancer = new Azure.Lb.LoadBalancer("exampleLoadBalancer", new()
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
FrontendIpConfigurations = new[]
{
new Azure.Lb.Inputs.LoadBalancerFrontendIpConfigurationArgs
{
Name = "PublicIPAddress",
PublicIpAddressId = examplePublicIp.Id,
},
},
});
var exampleProbe = new Azure.Lb.Probe("exampleProbe", new()
{
LoadbalancerId = exampleLoadBalancer.Id,
Port = 22,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lb"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
examplePublicIp, err := network.NewPublicIp(ctx, "examplePublicIp", &network.PublicIpArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
AllocationMethod: pulumi.String("Static"),
})
if err != nil {
return err
}
exampleLoadBalancer, err := lb.NewLoadBalancer(ctx, "exampleLoadBalancer", &lb.LoadBalancerArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
FrontendIpConfigurations: lb.LoadBalancerFrontendIpConfigurationArray{
&lb.LoadBalancerFrontendIpConfigurationArgs{
Name: pulumi.String("PublicIPAddress"),
PublicIpAddressId: examplePublicIp.ID(),
},
},
})
if err != nil {
return err
}
_, err = lb.NewProbe(ctx, "exampleProbe", &lb.ProbeArgs{
LoadbalancerId: exampleLoadBalancer.ID(),
Port: pulumi.Int(22),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.network.PublicIp;
import com.pulumi.azure.network.PublicIpArgs;
import com.pulumi.azure.lb.LoadBalancer;
import com.pulumi.azure.lb.LoadBalancerArgs;
import com.pulumi.azure.lb.inputs.LoadBalancerFrontendIpConfigurationArgs;
import com.pulumi.azure.lb.Probe;
import com.pulumi.azure.lb.ProbeArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var examplePublicIp = new PublicIp("examplePublicIp", PublicIpArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.allocationMethod("Static")
.build());
var exampleLoadBalancer = new LoadBalancer("exampleLoadBalancer", LoadBalancerArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
.name("PublicIPAddress")
.publicIpAddressId(examplePublicIp.id())
.build())
.build());
var exampleProbe = new Probe("exampleProbe", ProbeArgs.builder()
.loadbalancerId(exampleLoadBalancer.id())
.port(22)
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_public_ip = azure.network.PublicIp("examplePublicIp",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
allocation_method="Static")
example_load_balancer = azure.lb.LoadBalancer("exampleLoadBalancer",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
frontend_ip_configurations=[azure.lb.LoadBalancerFrontendIpConfigurationArgs(
name="PublicIPAddress",
public_ip_address_id=example_public_ip.id,
)])
example_probe = azure.lb.Probe("exampleProbe",
loadbalancer_id=example_load_balancer.id,
port=22)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const examplePublicIp = new azure.network.PublicIp("examplePublicIp", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
allocationMethod: "Static",
});
const exampleLoadBalancer = new azure.lb.LoadBalancer("exampleLoadBalancer", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
frontendIpConfigurations: [{
name: "PublicIPAddress",
publicIpAddressId: examplePublicIp.id,
}],
});
const exampleProbe = new azure.lb.Probe("exampleProbe", {
loadbalancerId: exampleLoadBalancer.id,
port: 22,
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
examplePublicIp:
type: azure:network:PublicIp
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
allocationMethod: Static
exampleLoadBalancer:
type: azure:lb:LoadBalancer
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
frontendIpConfigurations:
- name: PublicIPAddress
publicIpAddressId: ${examplePublicIp.id}
exampleProbe:
type: azure:lb:Probe
properties:
loadbalancerId: ${exampleLoadBalancer.id}
port: 22
Create Probe Resource
new Probe(name: string, args: ProbeArgs, opts?: CustomResourceOptions);
@overload
def Probe(resource_name: str,
opts: Optional[ResourceOptions] = None,
interval_in_seconds: Optional[int] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
number_of_probes: Optional[int] = None,
port: Optional[int] = None,
probe_threshold: Optional[int] = None,
protocol: Optional[str] = None,
request_path: Optional[str] = None)
@overload
def Probe(resource_name: str,
args: ProbeArgs,
opts: Optional[ResourceOptions] = None)
func NewProbe(ctx *Context, name string, args ProbeArgs, opts ...ResourceOption) (*Probe, error)
public Probe(string name, ProbeArgs args, CustomResourceOptions? opts = null)
type: azure:lb:Probe
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args ProbeArgs
- 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 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.
- name String
- The unique name of the resource.
- args ProbeArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts 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. Changing this forces a new resource to be created.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- 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. Changing this forces a new resource to be created.
- 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.
- Probe
Threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- Protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- Loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- Port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- 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. Changing this forces a new resource to be created.
- 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.
- Probe
Threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- Protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- loadbalancer
Id String The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- port Integer
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- interval
In IntegerSeconds 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. Changing this forces a new resource to be created.
- number
Of IntegerProbes 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.
- probe
Threshold Integer The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol String
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- loadbalancer
Id string The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- port number
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- 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. Changing this forces a new resource to be created.
- 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.
- probe
Threshold number The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- loadbalancer_
id str The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- port int
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- 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 str
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- probe_
threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol str
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- loadbalancer
Id String The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- port Number
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- 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. Changing this forces a new resource to be created.
- 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.
- probe
Threshold Number The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol String
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. 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 List<String>Rules
- 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_ Sequence[str]rules
- id String
The provider-assigned unique ID for this managed resource.
- load
Balancer List<String>Rules
Look up 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): Probe
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
interval_in_seconds: Optional[int] = None,
load_balancer_rules: Optional[Sequence[str]] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
number_of_probes: Optional[int] = None,
port: Optional[int] = None,
probe_threshold: Optional[int] = None,
protocol: Optional[str] = None,
request_path: Optional[str] = None) -> Probe
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)
public static Probe get(String name, Output<String> id, ProbeState 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.
- 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. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- Probe
Threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- Protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- 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. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- Probe
Threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- Protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- interval
In IntegerSeconds 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. Changing this forces a new resource to be created.
- name String
Specifies the name of the Probe. Changing this forces a new resource to be created.
- number
Of IntegerProbes 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 Integer
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
- probe
Threshold Integer The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol String
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- 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. Changing this forces a new resource to be created.
- name string
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- probe
Threshold number The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol string
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- 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_ Sequence[str]rules - loadbalancer_
id str The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- name str
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- probe_
threshold int The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol str
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
- 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 List<String>Rules - loadbalancer
Id String The ID of the LoadBalancer in which to create the NAT Rule. Changing this forces a new resource to be created.
- name String
Specifies the name of the Probe. Changing this forces a new resource to be created.
- 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.
- probe
Threshold Number The number of consecutive successful or failed probes that allow or deny traffic to this endpoint. Possible values range from
1
to100
. The default value is1
.- protocol String
Specifies the protocol of the end point. Possible values are
Http
,Https
orTcp
. 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
orHttps
. Otherwise, it is not allowed.
Import
Load Balancer Probes can be imported using the resource id
, e.g.
$ pulumi import azure:lb/probe:Probe example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.