Health Check Template
Provides a Application Load Balancer (ALB) Health Check Template resource. For information about Application Load Balancer (ALB) Health Check Template and how to use it, see What is Health Check Template.
NOTE: Available since v1.134.0.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.alb.HealthCheckTemplate;
import com.pulumi.alicloud.alb.HealthCheckTemplateArgs;
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 example = new HealthCheckTemplate("example", HealthCheckTemplateArgs.builder()
.healthCheckTemplateName("example_name")
.build());
}
}
Import
Application Load Balancer (ALB) Health Check Template can be imported using the id, e.g.
$ pulumi import alicloud:alb/healthCheckTemplate:HealthCheckTemplate example <id>
Properties
The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). NOTE: The attribute HealthCheckProtocol
is valid when the attribute is HTTP
.