1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LogtankGroupV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.LogtankGroupV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Create LogtankGroupV2 Resource

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

    Constructor syntax

    new LogtankGroupV2(name: string, args: LogtankGroupV2Args, opts?: CustomResourceOptions);
    @overload
    def LogtankGroupV2(resource_name: str,
                       args: LogtankGroupV2Args,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogtankGroupV2(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       group_name: Optional[str] = None,
                       ttl_in_days: Optional[float] = None,
                       logtank_group_v2_id: Optional[str] = None)
    func NewLogtankGroupV2(ctx *Context, name string, args LogtankGroupV2Args, opts ...ResourceOption) (*LogtankGroupV2, error)
    public LogtankGroupV2(string name, LogtankGroupV2Args args, CustomResourceOptions? opts = null)
    public LogtankGroupV2(String name, LogtankGroupV2Args args)
    public LogtankGroupV2(String name, LogtankGroupV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:LogtankGroupV2
    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 LogtankGroupV2Args
    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 LogtankGroupV2Args
    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 LogtankGroupV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogtankGroupV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogtankGroupV2Args
    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 logtankGroupV2Resource = new Opentelekomcloud.LogtankGroupV2("logtankGroupV2Resource", new()
    {
        GroupName = "string",
        TtlInDays = 0,
        LogtankGroupV2Id = "string",
    });
    
    example, err := opentelekomcloud.NewLogtankGroupV2(ctx, "logtankGroupV2Resource", &opentelekomcloud.LogtankGroupV2Args{
    	GroupName:        pulumi.String("string"),
    	TtlInDays:        pulumi.Float64(0),
    	LogtankGroupV2Id: pulumi.String("string"),
    })
    
    var logtankGroupV2Resource = new LogtankGroupV2("logtankGroupV2Resource", LogtankGroupV2Args.builder()
        .groupName("string")
        .ttlInDays(0)
        .logtankGroupV2Id("string")
        .build());
    
    logtank_group_v2_resource = opentelekomcloud.LogtankGroupV2("logtankGroupV2Resource",
        group_name="string",
        ttl_in_days=0,
        logtank_group_v2_id="string")
    
    const logtankGroupV2Resource = new opentelekomcloud.LogtankGroupV2("logtankGroupV2Resource", {
        groupName: "string",
        ttlInDays: 0,
        logtankGroupV2Id: "string",
    });
    
    type: opentelekomcloud:LogtankGroupV2
    properties:
        groupName: string
        logtankGroupV2Id: string
        ttlInDays: 0
    

    LogtankGroupV2 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 LogtankGroupV2 resource accepts the following input properties:

    Outputs

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

    CreationTime double
    Id string
    The provider-assigned unique ID for this managed resource.
    CreationTime float64
    Id string
    The provider-assigned unique ID for this managed resource.
    creationTime Double
    id String
    The provider-assigned unique ID for this managed resource.
    creationTime number
    id string
    The provider-assigned unique ID for this managed resource.
    creation_time float
    id str
    The provider-assigned unique ID for this managed resource.
    creationTime Number
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LogtankGroupV2 Resource

    Get an existing LogtankGroupV2 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?: LogtankGroupV2State, opts?: CustomResourceOptions): LogtankGroupV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_time: Optional[float] = None,
            group_name: Optional[str] = None,
            logtank_group_v2_id: Optional[str] = None,
            ttl_in_days: Optional[float] = None) -> LogtankGroupV2
    func GetLogtankGroupV2(ctx *Context, name string, id IDInput, state *LogtankGroupV2State, opts ...ResourceOption) (*LogtankGroupV2, error)
    public static LogtankGroupV2 Get(string name, Input<string> id, LogtankGroupV2State? state, CustomResourceOptions? opts = null)
    public static LogtankGroupV2 get(String name, Output<String> id, LogtankGroupV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:LogtankGroupV2    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:

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud