1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. TlsAccessLog
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 TlsAccessLog Resource

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

    Constructor syntax

    new TlsAccessLog(name: string, args: TlsAccessLogArgs, opts?: CustomResourceOptions);
    @overload
    def TlsAccessLog(resource_name: str,
                     args: TlsAccessLogArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def TlsAccessLog(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     load_balancer_id: Optional[str] = None,
                     project_id: Optional[str] = None,
                     topic_id: Optional[str] = None)
    func NewTlsAccessLog(ctx *Context, name string, args TlsAccessLogArgs, opts ...ResourceOption) (*TlsAccessLog, error)
    public TlsAccessLog(string name, TlsAccessLogArgs args, CustomResourceOptions? opts = null)
    public TlsAccessLog(String name, TlsAccessLogArgs args)
    public TlsAccessLog(String name, TlsAccessLogArgs args, CustomResourceOptions options)
    
    type: volcengine:alb:TlsAccessLog
    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 TlsAccessLogArgs
    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 TlsAccessLogArgs
    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 TlsAccessLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TlsAccessLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TlsAccessLogArgs
    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 tlsAccessLogResource = new Volcengine.Alb.TlsAccessLog("tlsAccessLogResource", new()
    {
        LoadBalancerId = "string",
        ProjectId = "string",
        TopicId = "string",
    });
    
    example, err := alb.NewTlsAccessLog(ctx, "tlsAccessLogResource", &alb.TlsAccessLogArgs{
    	LoadBalancerId: pulumi.String("string"),
    	ProjectId:      pulumi.String("string"),
    	TopicId:        pulumi.String("string"),
    })
    
    var tlsAccessLogResource = new TlsAccessLog("tlsAccessLogResource", TlsAccessLogArgs.builder()
        .loadBalancerId("string")
        .projectId("string")
        .topicId("string")
        .build());
    
    tls_access_log_resource = volcengine.alb.TlsAccessLog("tlsAccessLogResource",
        load_balancer_id="string",
        project_id="string",
        topic_id="string")
    
    const tlsAccessLogResource = new volcengine.alb.TlsAccessLog("tlsAccessLogResource", {
        loadBalancerId: "string",
        projectId: "string",
        topicId: "string",
    });
    
    type: volcengine:alb:TlsAccessLog
    properties:
        loadBalancerId: string
        projectId: string
        topicId: string
    

    TlsAccessLog 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 TlsAccessLog 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 TlsAccessLog 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 TlsAccessLog Resource

    Get an existing TlsAccessLog 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?: TlsAccessLogState, opts?: CustomResourceOptions): TlsAccessLog
    @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) -> TlsAccessLog
    func GetTlsAccessLog(ctx *Context, name string, id IDInput, state *TlsAccessLogState, opts ...ResourceOption) (*TlsAccessLog, error)
    public static TlsAccessLog Get(string name, Input<string> id, TlsAccessLogState? state, CustomResourceOptions? opts = null)
    public static TlsAccessLog get(String name, Output<String> id, TlsAccessLogState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:alb:TlsAccessLog    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