1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. HealthLog
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
volcengine logo
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine

    Create HealthLog Resource

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

    Constructor syntax

    new HealthLog(name: string, args: HealthLogArgs, opts?: CustomResourceOptions);
    @overload
    def HealthLog(resource_name: str,
                  args: HealthLogArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def HealthLog(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  load_balancer_id: Optional[str] = None,
                  project_id: Optional[str] = None,
                  topic_id: Optional[str] = None)
    func NewHealthLog(ctx *Context, name string, args HealthLogArgs, opts ...ResourceOption) (*HealthLog, error)
    public HealthLog(string name, HealthLogArgs args, CustomResourceOptions? opts = null)
    public HealthLog(String name, HealthLogArgs args)
    public HealthLog(String name, HealthLogArgs args, CustomResourceOptions options)
    
    type: volcengine:alb:HealthLog
    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 HealthLogArgs
    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 HealthLogArgs
    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 HealthLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HealthLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HealthLogArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var healthLogResource = new Volcengine.Alb.HealthLog("healthLogResource", new()
    {
        LoadBalancerId = "string",
        ProjectId = "string",
        TopicId = "string",
    });
    
    example, err := alb.NewHealthLog(ctx, "healthLogResource", &alb.HealthLogArgs{
    	LoadBalancerId: pulumi.String("string"),
    	ProjectId:      pulumi.String("string"),
    	TopicId:        pulumi.String("string"),
    })
    
    var healthLogResource = new HealthLog("healthLogResource", HealthLogArgs.builder()
        .loadBalancerId("string")
        .projectId("string")
        .topicId("string")
        .build());
    
    health_log_resource = volcengine.alb.HealthLog("healthLogResource",
        load_balancer_id="string",
        project_id="string",
        topic_id="string")
    
    const healthLogResource = new volcengine.alb.HealthLog("healthLogResource", {
        loadBalancerId: "string",
        projectId: "string",
        topicId: "string",
    });
    
    type: volcengine:alb:HealthLog
    properties:
        loadBalancerId: string
        projectId: string
        topicId: string
    

    HealthLog Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The HealthLog resource accepts the following input properties:

    LoadBalancerId string
    The ID of the LoadBalancer.
    ProjectId string
    The project ID of the Topic.
    TopicId string
    The ID of the Topic.
    LoadBalancerId string
    The ID of the LoadBalancer.
    ProjectId string
    The project ID of the Topic.
    TopicId string
    The ID of the Topic.
    loadBalancerId String
    The ID of the LoadBalancer.
    projectId String
    The project ID of the Topic.
    topicId String
    The ID of the Topic.
    loadBalancerId string
    The ID of the LoadBalancer.
    projectId string
    The project ID of the Topic.
    topicId string
    The ID of the Topic.
    load_balancer_id str
    The ID of the LoadBalancer.
    project_id str
    The project ID of the Topic.
    topic_id str
    The ID of the Topic.
    loadBalancerId String
    The ID of the LoadBalancer.
    projectId String
    The project ID of the Topic.
    topicId String
    The ID of the Topic.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing HealthLog Resource

    Get an existing HealthLog 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?: HealthLogState, opts?: CustomResourceOptions): HealthLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            load_balancer_id: Optional[str] = None,
            project_id: Optional[str] = None,
            topic_id: Optional[str] = None) -> HealthLog
    func GetHealthLog(ctx *Context, name string, id IDInput, state *HealthLogState, opts ...ResourceOption) (*HealthLog, error)
    public static HealthLog Get(string name, Input<string> id, HealthLogState? state, CustomResourceOptions? opts = null)
    public static HealthLog get(String name, Output<String> id, HealthLogState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:alb:HealthLog    get:      id: ${id}
    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:
    LoadBalancerId string
    The ID of the LoadBalancer.
    ProjectId string
    The project ID of the Topic.
    TopicId string
    The ID of the Topic.
    LoadBalancerId string
    The ID of the LoadBalancer.
    ProjectId string
    The project ID of the Topic.
    TopicId string
    The ID of the Topic.
    loadBalancerId String
    The ID of the LoadBalancer.
    projectId String
    The project ID of the Topic.
    topicId String
    The ID of the Topic.
    loadBalancerId string
    The ID of the LoadBalancer.
    projectId string
    The project ID of the Topic.
    topicId string
    The ID of the Topic.
    load_balancer_id str
    The ID of the LoadBalancer.
    project_id str
    The project ID of the Topic.
    topic_id str
    The ID of the Topic.
    loadBalancerId String
    The ID of the LoadBalancer.
    projectId String
    The project ID of the Topic.
    topicId String
    The ID of the Topic.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate