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

opentelekomcloud.LtsTransferV2

Explore with Pulumi AI

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

    Up-to-date reference of API arguments for LTS log transfer you can get at documentation portal

    Manages an LTS transfer task resource within OpenTelekomCloud.

    Example Usage

    Create an OBS transfer task

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const ltsGroupId = config.requireObject("ltsGroupId");
    const ltsStreamId = config.requireObject("ltsStreamId");
    const obsBuket = config.requireObject("obsBuket");
    const test = new opentelekomcloud.LtsTransferV2("test", {
        logGroupId: ltsGroupId,
        logStreams: [{
            logStreamId: ltsStreamId,
        }],
        logTransferInfo: {
            logTransferType: "OBS",
            logTransferMode: "cycle",
            logStorageFormat: "RAW",
            logTransferStatus: "ENABLE",
            logTransferDetail: {
                obsPeriod: 3,
                obsPeriodUnit: "hour",
                obsBucketName: obsBuket,
                obsDirPrefixName: "dir_prefix_",
                obsPrefixName: "prefix_",
                obsTimeZone: "UTC",
                obsTimeZoneId: "Etc/GMT",
            },
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    lts_group_id = config.require_object("ltsGroupId")
    lts_stream_id = config.require_object("ltsStreamId")
    obs_buket = config.require_object("obsBuket")
    test = opentelekomcloud.LtsTransferV2("test",
        log_group_id=lts_group_id,
        log_streams=[{
            "log_stream_id": lts_stream_id,
        }],
        log_transfer_info={
            "log_transfer_type": "OBS",
            "log_transfer_mode": "cycle",
            "log_storage_format": "RAW",
            "log_transfer_status": "ENABLE",
            "log_transfer_detail": {
                "obs_period": 3,
                "obs_period_unit": "hour",
                "obs_bucket_name": obs_buket,
                "obs_dir_prefix_name": "dir_prefix_",
                "obs_prefix_name": "prefix_",
                "obs_time_zone": "UTC",
                "obs_time_zone_id": "Etc/GMT",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		ltsGroupId := cfg.RequireObject("ltsGroupId")
    		ltsStreamId := cfg.RequireObject("ltsStreamId")
    		obsBuket := cfg.RequireObject("obsBuket")
    		_, err := opentelekomcloud.NewLtsTransferV2(ctx, "test", &opentelekomcloud.LtsTransferV2Args{
    			LogGroupId: pulumi.Any(ltsGroupId),
    			LogStreams: opentelekomcloud.LtsTransferV2LogStreamArray{
    				&opentelekomcloud.LtsTransferV2LogStreamArgs{
    					LogStreamId: pulumi.Any(ltsStreamId),
    				},
    			},
    			LogTransferInfo: &opentelekomcloud.LtsTransferV2LogTransferInfoArgs{
    				LogTransferType:   pulumi.String("OBS"),
    				LogTransferMode:   pulumi.String("cycle"),
    				LogStorageFormat:  pulumi.String("RAW"),
    				LogTransferStatus: pulumi.String("ENABLE"),
    				LogTransferDetail: &opentelekomcloud.LtsTransferV2LogTransferInfoLogTransferDetailArgs{
    					ObsPeriod:        pulumi.Float64(3),
    					ObsPeriodUnit:    pulumi.String("hour"),
    					ObsBucketName:    pulumi.Any(obsBuket),
    					ObsDirPrefixName: pulumi.String("dir_prefix_"),
    					ObsPrefixName:    pulumi.String("prefix_"),
    					ObsTimeZone:      pulumi.String("UTC"),
    					ObsTimeZoneId:    pulumi.String("Etc/GMT"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var ltsGroupId = config.RequireObject<dynamic>("ltsGroupId");
        var ltsStreamId = config.RequireObject<dynamic>("ltsStreamId");
        var obsBuket = config.RequireObject<dynamic>("obsBuket");
        var test = new Opentelekomcloud.LtsTransferV2("test", new()
        {
            LogGroupId = ltsGroupId,
            LogStreams = new[]
            {
                new Opentelekomcloud.Inputs.LtsTransferV2LogStreamArgs
                {
                    LogStreamId = ltsStreamId,
                },
            },
            LogTransferInfo = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoArgs
            {
                LogTransferType = "OBS",
                LogTransferMode = "cycle",
                LogStorageFormat = "RAW",
                LogTransferStatus = "ENABLE",
                LogTransferDetail = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoLogTransferDetailArgs
                {
                    ObsPeriod = 3,
                    ObsPeriodUnit = "hour",
                    ObsBucketName = obsBuket,
                    ObsDirPrefixName = "dir_prefix_",
                    ObsPrefixName = "prefix_",
                    ObsTimeZone = "UTC",
                    ObsTimeZoneId = "Etc/GMT",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LtsTransferV2;
    import com.pulumi.opentelekomcloud.LtsTransferV2Args;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogStreamArgs;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogTransferInfoArgs;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogTransferInfoLogTransferDetailArgs;
    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) {
            final var config = ctx.config();
            final var ltsGroupId = config.get("ltsGroupId");
            final var ltsStreamId = config.get("ltsStreamId");
            final var obsBuket = config.get("obsBuket");
            var test = new LtsTransferV2("test", LtsTransferV2Args.builder()
                .logGroupId(ltsGroupId)
                .logStreams(LtsTransferV2LogStreamArgs.builder()
                    .logStreamId(ltsStreamId)
                    .build())
                .logTransferInfo(LtsTransferV2LogTransferInfoArgs.builder()
                    .logTransferType("OBS")
                    .logTransferMode("cycle")
                    .logStorageFormat("RAW")
                    .logTransferStatus("ENABLE")
                    .logTransferDetail(LtsTransferV2LogTransferInfoLogTransferDetailArgs.builder()
                        .obsPeriod(3)
                        .obsPeriodUnit("hour")
                        .obsBucketName(obsBuket)
                        .obsDirPrefixName("dir_prefix_")
                        .obsPrefixName("prefix_")
                        .obsTimeZone("UTC")
                        .obsTimeZoneId("Etc/GMT")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    configuration:
      ltsGroupId:
        type: dynamic
      ltsStreamId:
        type: dynamic
      obsBuket:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:LtsTransferV2
        properties:
          logGroupId: ${ltsGroupId}
          logStreams:
            - logStreamId: ${ltsStreamId}
          logTransferInfo:
            logTransferType: OBS
            logTransferMode: cycle
            logStorageFormat: RAW
            logTransferStatus: ENABLE
            logTransferDetail:
              obsPeriod: 3
              obsPeriodUnit: hour
              obsBucketName: ${obsBuket}
              obsDirPrefixName: dir_prefix_
              obsPrefixName: prefix_
              obsTimeZone: UTC
              obsTimeZoneId: Etc/GMT
    

    Create a delegated OBS transfer task

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const ltsGroupId = config.requireObject("ltsGroupId");
    const ltsStreamId = config.requireObject("ltsStreamId");
    const obsBuket = config.requireObject("obsBuket");
    const agencyDomainId = config.requireObject("agencyDomainId");
    const agencyDomainName = config.requireObject("agencyDomainName");
    const agencyName = config.requireObject("agencyName");
    const agencyProjectId = config.requireObject("agencyProjectId");
    const obsAgency = new opentelekomcloud.LtsTransferV2("obsAgency", {
        logGroupId: ltsGroupId,
        logStreams: [{
            logStreamId: ltsStreamId,
        }],
        logTransferInfo: {
            logTransferType: "OBS",
            logTransferMode: "cycle",
            logStorageFormat: "RAW",
            logTransferStatus: "ENABLE",
            logTransferDetail: {
                obsPeriod: 3,
                obsPeriodUnit: "hour",
                obsBucketName: obsBuket,
                obsDirPrefixName: "dir_prefix_",
                obsPrefixName: "prefix_",
                obsTimeZone: "UTC",
                obsTimeZoneId: "Etc/GMT",
            },
            logAgencyTransfer: {
                agencyDomainId: agencyDomainId,
                agencyDomainName: agencyDomainName,
                agencyName: agencyName,
                agencyProjectId: agencyProjectId,
            },
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    lts_group_id = config.require_object("ltsGroupId")
    lts_stream_id = config.require_object("ltsStreamId")
    obs_buket = config.require_object("obsBuket")
    agency_domain_id = config.require_object("agencyDomainId")
    agency_domain_name = config.require_object("agencyDomainName")
    agency_name = config.require_object("agencyName")
    agency_project_id = config.require_object("agencyProjectId")
    obs_agency = opentelekomcloud.LtsTransferV2("obsAgency",
        log_group_id=lts_group_id,
        log_streams=[{
            "log_stream_id": lts_stream_id,
        }],
        log_transfer_info={
            "log_transfer_type": "OBS",
            "log_transfer_mode": "cycle",
            "log_storage_format": "RAW",
            "log_transfer_status": "ENABLE",
            "log_transfer_detail": {
                "obs_period": 3,
                "obs_period_unit": "hour",
                "obs_bucket_name": obs_buket,
                "obs_dir_prefix_name": "dir_prefix_",
                "obs_prefix_name": "prefix_",
                "obs_time_zone": "UTC",
                "obs_time_zone_id": "Etc/GMT",
            },
            "log_agency_transfer": {
                "agency_domain_id": agency_domain_id,
                "agency_domain_name": agency_domain_name,
                "agency_name": agency_name,
                "agency_project_id": agency_project_id,
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		ltsGroupId := cfg.RequireObject("ltsGroupId")
    		ltsStreamId := cfg.RequireObject("ltsStreamId")
    		obsBuket := cfg.RequireObject("obsBuket")
    		agencyDomainId := cfg.RequireObject("agencyDomainId")
    		agencyDomainName := cfg.RequireObject("agencyDomainName")
    		agencyName := cfg.RequireObject("agencyName")
    		agencyProjectId := cfg.RequireObject("agencyProjectId")
    		_, err := opentelekomcloud.NewLtsTransferV2(ctx, "obsAgency", &opentelekomcloud.LtsTransferV2Args{
    			LogGroupId: pulumi.Any(ltsGroupId),
    			LogStreams: opentelekomcloud.LtsTransferV2LogStreamArray{
    				&opentelekomcloud.LtsTransferV2LogStreamArgs{
    					LogStreamId: pulumi.Any(ltsStreamId),
    				},
    			},
    			LogTransferInfo: &opentelekomcloud.LtsTransferV2LogTransferInfoArgs{
    				LogTransferType:   pulumi.String("OBS"),
    				LogTransferMode:   pulumi.String("cycle"),
    				LogStorageFormat:  pulumi.String("RAW"),
    				LogTransferStatus: pulumi.String("ENABLE"),
    				LogTransferDetail: &opentelekomcloud.LtsTransferV2LogTransferInfoLogTransferDetailArgs{
    					ObsPeriod:        pulumi.Float64(3),
    					ObsPeriodUnit:    pulumi.String("hour"),
    					ObsBucketName:    pulumi.Any(obsBuket),
    					ObsDirPrefixName: pulumi.String("dir_prefix_"),
    					ObsPrefixName:    pulumi.String("prefix_"),
    					ObsTimeZone:      pulumi.String("UTC"),
    					ObsTimeZoneId:    pulumi.String("Etc/GMT"),
    				},
    				LogAgencyTransfer: &opentelekomcloud.LtsTransferV2LogTransferInfoLogAgencyTransferArgs{
    					AgencyDomainId:   pulumi.Any(agencyDomainId),
    					AgencyDomainName: pulumi.Any(agencyDomainName),
    					AgencyName:       pulumi.Any(agencyName),
    					AgencyProjectId:  pulumi.Any(agencyProjectId),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var ltsGroupId = config.RequireObject<dynamic>("ltsGroupId");
        var ltsStreamId = config.RequireObject<dynamic>("ltsStreamId");
        var obsBuket = config.RequireObject<dynamic>("obsBuket");
        var agencyDomainId = config.RequireObject<dynamic>("agencyDomainId");
        var agencyDomainName = config.RequireObject<dynamic>("agencyDomainName");
        var agencyName = config.RequireObject<dynamic>("agencyName");
        var agencyProjectId = config.RequireObject<dynamic>("agencyProjectId");
        var obsAgency = new Opentelekomcloud.LtsTransferV2("obsAgency", new()
        {
            LogGroupId = ltsGroupId,
            LogStreams = new[]
            {
                new Opentelekomcloud.Inputs.LtsTransferV2LogStreamArgs
                {
                    LogStreamId = ltsStreamId,
                },
            },
            LogTransferInfo = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoArgs
            {
                LogTransferType = "OBS",
                LogTransferMode = "cycle",
                LogStorageFormat = "RAW",
                LogTransferStatus = "ENABLE",
                LogTransferDetail = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoLogTransferDetailArgs
                {
                    ObsPeriod = 3,
                    ObsPeriodUnit = "hour",
                    ObsBucketName = obsBuket,
                    ObsDirPrefixName = "dir_prefix_",
                    ObsPrefixName = "prefix_",
                    ObsTimeZone = "UTC",
                    ObsTimeZoneId = "Etc/GMT",
                },
                LogAgencyTransfer = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoLogAgencyTransferArgs
                {
                    AgencyDomainId = agencyDomainId,
                    AgencyDomainName = agencyDomainName,
                    AgencyName = agencyName,
                    AgencyProjectId = agencyProjectId,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LtsTransferV2;
    import com.pulumi.opentelekomcloud.LtsTransferV2Args;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogStreamArgs;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogTransferInfoArgs;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogTransferInfoLogTransferDetailArgs;
    import com.pulumi.opentelekomcloud.inputs.LtsTransferV2LogTransferInfoLogAgencyTransferArgs;
    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) {
            final var config = ctx.config();
            final var ltsGroupId = config.get("ltsGroupId");
            final var ltsStreamId = config.get("ltsStreamId");
            final var obsBuket = config.get("obsBuket");
            final var agencyDomainId = config.get("agencyDomainId");
            final var agencyDomainName = config.get("agencyDomainName");
            final var agencyName = config.get("agencyName");
            final var agencyProjectId = config.get("agencyProjectId");
            var obsAgency = new LtsTransferV2("obsAgency", LtsTransferV2Args.builder()
                .logGroupId(ltsGroupId)
                .logStreams(LtsTransferV2LogStreamArgs.builder()
                    .logStreamId(ltsStreamId)
                    .build())
                .logTransferInfo(LtsTransferV2LogTransferInfoArgs.builder()
                    .logTransferType("OBS")
                    .logTransferMode("cycle")
                    .logStorageFormat("RAW")
                    .logTransferStatus("ENABLE")
                    .logTransferDetail(LtsTransferV2LogTransferInfoLogTransferDetailArgs.builder()
                        .obsPeriod(3)
                        .obsPeriodUnit("hour")
                        .obsBucketName(obsBuket)
                        .obsDirPrefixName("dir_prefix_")
                        .obsPrefixName("prefix_")
                        .obsTimeZone("UTC")
                        .obsTimeZoneId("Etc/GMT")
                        .build())
                    .logAgencyTransfer(LtsTransferV2LogTransferInfoLogAgencyTransferArgs.builder()
                        .agencyDomainId(agencyDomainId)
                        .agencyDomainName(agencyDomainName)
                        .agencyName(agencyName)
                        .agencyProjectId(agencyProjectId)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    configuration:
      ltsGroupId:
        type: dynamic
      ltsStreamId:
        type: dynamic
      obsBuket:
        type: dynamic
      agencyDomainId:
        type: dynamic
      agencyDomainName:
        type: dynamic
      agencyName:
        type: dynamic
      agencyProjectId:
        type: dynamic
    resources:
      obsAgency:
        type: opentelekomcloud:LtsTransferV2
        properties:
          logGroupId: ${ltsGroupId}
          logStreams:
            - logStreamId: ${ltsStreamId}
          logTransferInfo:
            logTransferType: OBS
            logTransferMode: cycle
            logStorageFormat: RAW
            logTransferStatus: ENABLE
            logTransferDetail:
              obsPeriod: 3
              obsPeriodUnit: hour
              obsBucketName: ${obsBuket}
              obsDirPrefixName: dir_prefix_
              obsPrefixName: prefix_
              obsTimeZone: UTC
              obsTimeZoneId: Etc/GMT
            logAgencyTransfer:
              agencyDomainId: ${agencyDomainId}
              agencyDomainName: ${agencyDomainName}
              agencyName: ${agencyName}
              agencyProjectId: ${agencyProjectId}
    

    Create LtsTransferV2 Resource

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

    Constructor syntax

    new LtsTransferV2(name: string, args: LtsTransferV2Args, opts?: CustomResourceOptions);
    @overload
    def LtsTransferV2(resource_name: str,
                      args: LtsTransferV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def LtsTransferV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      log_group_id: Optional[str] = None,
                      log_streams: Optional[Sequence[LtsTransferV2LogStreamArgs]] = None,
                      log_transfer_info: Optional[LtsTransferV2LogTransferInfoArgs] = None,
                      lts_transfer_v2_id: Optional[str] = None)
    func NewLtsTransferV2(ctx *Context, name string, args LtsTransferV2Args, opts ...ResourceOption) (*LtsTransferV2, error)
    public LtsTransferV2(string name, LtsTransferV2Args args, CustomResourceOptions? opts = null)
    public LtsTransferV2(String name, LtsTransferV2Args args)
    public LtsTransferV2(String name, LtsTransferV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:LtsTransferV2
    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 LtsTransferV2Args
    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 LtsTransferV2Args
    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 LtsTransferV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LtsTransferV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LtsTransferV2Args
    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 ltsTransferV2Resource = new Opentelekomcloud.LtsTransferV2("ltsTransferV2Resource", new()
    {
        LogGroupId = "string",
        LogStreams = new[]
        {
            new Opentelekomcloud.Inputs.LtsTransferV2LogStreamArgs
            {
                LogStreamId = "string",
                LogStreamName = "string",
            },
        },
        LogTransferInfo = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoArgs
        {
            LogStorageFormat = "string",
            LogTransferDetail = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoLogTransferDetailArgs
            {
                ObsBucketName = "string",
                ObsDirPrefixName = "string",
                ObsEncryptedEnable = false,
                ObsEncryptedId = "string",
                ObsEpsId = "string",
                ObsPeriod = 0,
                ObsPeriodUnit = "string",
                ObsPrefixName = "string",
                ObsTimeZone = "string",
                ObsTimeZoneId = "string",
                ObsTransferPath = "string",
                Tags = new[]
                {
                    "string",
                },
            },
            LogTransferMode = "string",
            LogTransferStatus = "string",
            LogTransferType = "string",
            LogAgencyTransfer = new Opentelekomcloud.Inputs.LtsTransferV2LogTransferInfoLogAgencyTransferArgs
            {
                AgencyDomainId = "string",
                AgencyDomainName = "string",
                AgencyName = "string",
                AgencyProjectId = "string",
            },
            LogCreatedAt = "string",
        },
        LtsTransferV2Id = "string",
    });
    
    example, err := opentelekomcloud.NewLtsTransferV2(ctx, "ltsTransferV2Resource", &opentelekomcloud.LtsTransferV2Args{
    	LogGroupId: pulumi.String("string"),
    	LogStreams: opentelekomcloud.LtsTransferV2LogStreamArray{
    		&opentelekomcloud.LtsTransferV2LogStreamArgs{
    			LogStreamId:   pulumi.String("string"),
    			LogStreamName: pulumi.String("string"),
    		},
    	},
    	LogTransferInfo: &opentelekomcloud.LtsTransferV2LogTransferInfoArgs{
    		LogStorageFormat: pulumi.String("string"),
    		LogTransferDetail: &opentelekomcloud.LtsTransferV2LogTransferInfoLogTransferDetailArgs{
    			ObsBucketName:      pulumi.String("string"),
    			ObsDirPrefixName:   pulumi.String("string"),
    			ObsEncryptedEnable: pulumi.Bool(false),
    			ObsEncryptedId:     pulumi.String("string"),
    			ObsEpsId:           pulumi.String("string"),
    			ObsPeriod:          pulumi.Float64(0),
    			ObsPeriodUnit:      pulumi.String("string"),
    			ObsPrefixName:      pulumi.String("string"),
    			ObsTimeZone:        pulumi.String("string"),
    			ObsTimeZoneId:      pulumi.String("string"),
    			ObsTransferPath:    pulumi.String("string"),
    			Tags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		LogTransferMode:   pulumi.String("string"),
    		LogTransferStatus: pulumi.String("string"),
    		LogTransferType:   pulumi.String("string"),
    		LogAgencyTransfer: &opentelekomcloud.LtsTransferV2LogTransferInfoLogAgencyTransferArgs{
    			AgencyDomainId:   pulumi.String("string"),
    			AgencyDomainName: pulumi.String("string"),
    			AgencyName:       pulumi.String("string"),
    			AgencyProjectId:  pulumi.String("string"),
    		},
    		LogCreatedAt: pulumi.String("string"),
    	},
    	LtsTransferV2Id: pulumi.String("string"),
    })
    
    var ltsTransferV2Resource = new LtsTransferV2("ltsTransferV2Resource", LtsTransferV2Args.builder()
        .logGroupId("string")
        .logStreams(LtsTransferV2LogStreamArgs.builder()
            .logStreamId("string")
            .logStreamName("string")
            .build())
        .logTransferInfo(LtsTransferV2LogTransferInfoArgs.builder()
            .logStorageFormat("string")
            .logTransferDetail(LtsTransferV2LogTransferInfoLogTransferDetailArgs.builder()
                .obsBucketName("string")
                .obsDirPrefixName("string")
                .obsEncryptedEnable(false)
                .obsEncryptedId("string")
                .obsEpsId("string")
                .obsPeriod(0)
                .obsPeriodUnit("string")
                .obsPrefixName("string")
                .obsTimeZone("string")
                .obsTimeZoneId("string")
                .obsTransferPath("string")
                .tags("string")
                .build())
            .logTransferMode("string")
            .logTransferStatus("string")
            .logTransferType("string")
            .logAgencyTransfer(LtsTransferV2LogTransferInfoLogAgencyTransferArgs.builder()
                .agencyDomainId("string")
                .agencyDomainName("string")
                .agencyName("string")
                .agencyProjectId("string")
                .build())
            .logCreatedAt("string")
            .build())
        .ltsTransferV2Id("string")
        .build());
    
    lts_transfer_v2_resource = opentelekomcloud.LtsTransferV2("ltsTransferV2Resource",
        log_group_id="string",
        log_streams=[{
            "log_stream_id": "string",
            "log_stream_name": "string",
        }],
        log_transfer_info={
            "log_storage_format": "string",
            "log_transfer_detail": {
                "obs_bucket_name": "string",
                "obs_dir_prefix_name": "string",
                "obs_encrypted_enable": False,
                "obs_encrypted_id": "string",
                "obs_eps_id": "string",
                "obs_period": 0,
                "obs_period_unit": "string",
                "obs_prefix_name": "string",
                "obs_time_zone": "string",
                "obs_time_zone_id": "string",
                "obs_transfer_path": "string",
                "tags": ["string"],
            },
            "log_transfer_mode": "string",
            "log_transfer_status": "string",
            "log_transfer_type": "string",
            "log_agency_transfer": {
                "agency_domain_id": "string",
                "agency_domain_name": "string",
                "agency_name": "string",
                "agency_project_id": "string",
            },
            "log_created_at": "string",
        },
        lts_transfer_v2_id="string")
    
    const ltsTransferV2Resource = new opentelekomcloud.LtsTransferV2("ltsTransferV2Resource", {
        logGroupId: "string",
        logStreams: [{
            logStreamId: "string",
            logStreamName: "string",
        }],
        logTransferInfo: {
            logStorageFormat: "string",
            logTransferDetail: {
                obsBucketName: "string",
                obsDirPrefixName: "string",
                obsEncryptedEnable: false,
                obsEncryptedId: "string",
                obsEpsId: "string",
                obsPeriod: 0,
                obsPeriodUnit: "string",
                obsPrefixName: "string",
                obsTimeZone: "string",
                obsTimeZoneId: "string",
                obsTransferPath: "string",
                tags: ["string"],
            },
            logTransferMode: "string",
            logTransferStatus: "string",
            logTransferType: "string",
            logAgencyTransfer: {
                agencyDomainId: "string",
                agencyDomainName: "string",
                agencyName: "string",
                agencyProjectId: "string",
            },
            logCreatedAt: "string",
        },
        ltsTransferV2Id: "string",
    });
    
    type: opentelekomcloud:LtsTransferV2
    properties:
        logGroupId: string
        logStreams:
            - logStreamId: string
              logStreamName: string
        logTransferInfo:
            logAgencyTransfer:
                agencyDomainId: string
                agencyDomainName: string
                agencyName: string
                agencyProjectId: string
            logCreatedAt: string
            logStorageFormat: string
            logTransferDetail:
                obsBucketName: string
                obsDirPrefixName: string
                obsEncryptedEnable: false
                obsEncryptedId: string
                obsEpsId: string
                obsPeriod: 0
                obsPeriodUnit: string
                obsPrefixName: string
                obsTimeZone: string
                obsTimeZoneId: string
                obsTransferPath: string
                tags:
                    - string
            logTransferMode: string
            logTransferStatus: string
            logTransferType: string
        ltsTransferV2Id: string
    

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

    LogGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    LogStreams List<LtsTransferV2LogStream>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    LogTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    LtsTransferV2Id string
    The resource ID.
    LogGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    LogStreams []LtsTransferV2LogStreamArgs

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    LogTransferInfo LtsTransferV2LogTransferInfoArgs

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    LtsTransferV2Id string
    The resource ID.
    logGroupId String

    Log group ID.

    Changing this parameter will create a new resource.

    logStreams List<LtsTransferV2LogStream>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id String
    The resource ID.
    logGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    logStreams LtsTransferV2LogStream[]

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id string
    The resource ID.
    log_group_id str

    Log group ID.

    Changing this parameter will create a new resource.

    log_streams Sequence[LtsTransferV2LogStreamArgs]

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    log_transfer_info LtsTransferV2LogTransferInfoArgs

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    lts_transfer_v2_id str
    The resource ID.
    logGroupId String

    Log group ID.

    Changing this parameter will create a new resource.

    logStreams List<Property Map>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo Property Map

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id String
    The resource ID.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LogGroupName string
    Log group name.
    Region string
    Shows the region in the log group resource created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogGroupName string
    Log group name.
    Region string
    Shows the region in the log group resource created.
    id String
    The provider-assigned unique ID for this managed resource.
    logGroupName String
    Log group name.
    region String
    Shows the region in the log group resource created.
    id string
    The provider-assigned unique ID for this managed resource.
    logGroupName string
    Log group name.
    region string
    Shows the region in the log group resource created.
    id str
    The provider-assigned unique ID for this managed resource.
    log_group_name str
    Log group name.
    region str
    Shows the region in the log group resource created.
    id String
    The provider-assigned unique ID for this managed resource.
    logGroupName String
    Log group name.
    region String
    Shows the region in the log group resource created.

    Look up Existing LtsTransferV2 Resource

    Get an existing LtsTransferV2 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?: LtsTransferV2State, opts?: CustomResourceOptions): LtsTransferV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            log_group_id: Optional[str] = None,
            log_group_name: Optional[str] = None,
            log_streams: Optional[Sequence[LtsTransferV2LogStreamArgs]] = None,
            log_transfer_info: Optional[LtsTransferV2LogTransferInfoArgs] = None,
            lts_transfer_v2_id: Optional[str] = None,
            region: Optional[str] = None) -> LtsTransferV2
    func GetLtsTransferV2(ctx *Context, name string, id IDInput, state *LtsTransferV2State, opts ...ResourceOption) (*LtsTransferV2, error)
    public static LtsTransferV2 Get(string name, Input<string> id, LtsTransferV2State? state, CustomResourceOptions? opts = null)
    public static LtsTransferV2 get(String name, Output<String> id, LtsTransferV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:LtsTransferV2    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:
    LogGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    LogGroupName string
    Log group name.
    LogStreams List<LtsTransferV2LogStream>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    LogTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    LtsTransferV2Id string
    The resource ID.
    Region string
    Shows the region in the log group resource created.
    LogGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    LogGroupName string
    Log group name.
    LogStreams []LtsTransferV2LogStreamArgs

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    LogTransferInfo LtsTransferV2LogTransferInfoArgs

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    LtsTransferV2Id string
    The resource ID.
    Region string
    Shows the region in the log group resource created.
    logGroupId String

    Log group ID.

    Changing this parameter will create a new resource.

    logGroupName String
    Log group name.
    logStreams List<LtsTransferV2LogStream>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id String
    The resource ID.
    region String
    Shows the region in the log group resource created.
    logGroupId string

    Log group ID.

    Changing this parameter will create a new resource.

    logGroupName string
    Log group name.
    logStreams LtsTransferV2LogStream[]

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo LtsTransferV2LogTransferInfo

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id string
    The resource ID.
    region string
    Shows the region in the log group resource created.
    log_group_id str

    Log group ID.

    Changing this parameter will create a new resource.

    log_group_name str
    Log group name.
    log_streams Sequence[LtsTransferV2LogStreamArgs]

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    log_transfer_info LtsTransferV2LogTransferInfoArgs

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    lts_transfer_v2_id str
    The resource ID.
    region str
    Shows the region in the log group resource created.
    logGroupId String

    Log group ID.

    Changing this parameter will create a new resource.

    logGroupName String
    Log group name.
    logStreams List<Property Map>

    The list of log streams.

    Changing this parameter will create a new resource. The log_streams structure is documented below.

    logTransferInfo Property Map

    Log transfer information. The log_transfer_info structure is documented below.

    The log_streams block supports:

    ltsTransferV2Id String
    The resource ID.
    region String
    Shows the region in the log group resource created.

    Supporting Types

    LtsTransferV2LogStream, LtsTransferV2LogStreamArgs

    LogStreamId string

    Log stream ID.

    Changing this parameter will create a new resource.

    LogStreamName string

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    LogStreamId string

    Log stream ID.

    Changing this parameter will create a new resource.

    LogStreamName string

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    logStreamId String

    Log stream ID.

    Changing this parameter will create a new resource.

    logStreamName String

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    logStreamId string

    Log stream ID.

    Changing this parameter will create a new resource.

    logStreamName string

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    log_stream_id str

    Log stream ID.

    Changing this parameter will create a new resource.

    log_stream_name str

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    logStreamId String

    Log stream ID.

    Changing this parameter will create a new resource.

    logStreamName String

    Log stream name.

    Changing this parameter will create a new resource.

    The log_transfer_info block supports:

    LtsTransferV2LogTransferInfo, LtsTransferV2LogTransferInfoArgs

    LogStorageFormat string
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    LogTransferDetail LtsTransferV2LogTransferInfoLogTransferDetail

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    LogTransferMode string
    Log transfer mode. Value options are as follows:
    LogTransferStatus string
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    LogTransferType string

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    LogAgencyTransfer LtsTransferV2LogTransferInfoLogAgencyTransfer

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    LogCreatedAt string
    LogStorageFormat string
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    LogTransferDetail LtsTransferV2LogTransferInfoLogTransferDetail

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    LogTransferMode string
    Log transfer mode. Value options are as follows:
    LogTransferStatus string
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    LogTransferType string

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    LogAgencyTransfer LtsTransferV2LogTransferInfoLogAgencyTransfer

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    LogCreatedAt string
    logStorageFormat String
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    logTransferDetail LtsTransferV2LogTransferInfoLogTransferDetail

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    logTransferMode String
    Log transfer mode. Value options are as follows:
    logTransferStatus String
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    logTransferType String

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    logAgencyTransfer LtsTransferV2LogTransferInfoLogAgencyTransfer

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    logCreatedAt String
    logStorageFormat string
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    logTransferDetail LtsTransferV2LogTransferInfoLogTransferDetail

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    logTransferMode string
    Log transfer mode. Value options are as follows:
    logTransferStatus string
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    logTransferType string

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    logAgencyTransfer LtsTransferV2LogTransferInfoLogAgencyTransfer

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    logCreatedAt string
    log_storage_format str
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    log_transfer_detail LtsTransferV2LogTransferInfoLogTransferDetail

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    log_transfer_mode str
    Log transfer mode. Value options are as follows:
    log_transfer_status str
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    log_transfer_type str

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    log_agency_transfer LtsTransferV2LogTransferInfoLogAgencyTransfer

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    log_created_at str
    logStorageFormat String
    Log transfer format. Value options are as follows:

    • JSON: JSON format.
    • RAW: Raw log format.
    logTransferDetail Property Map

    Log transfer details. The log_transfer_detail structure is documented below.

    The log_agency_transfer block supports:

    logTransferMode String
    Log transfer mode. Value options are as follows:
    logTransferStatus String
    Log transfer status. Value options are as follows:

    • ENABLE: Log transfer is enabled.
    • DISABLE: Log transfer is disabled
    logTransferType String

    Log transfer type. The valid values are OBS.

    Changing this parameter will create a new resource.

    logAgencyTransfer Property Map

    Information about agency which lets an account delegate resource management to other accounts. This parameter is mandatory if you transfer logs for another account. The log_agency_transfer structure is documented below.

    Changing this parameter will create a new resource.

    logCreatedAt String

    LtsTransferV2LogTransferInfoLogAgencyTransfer, LtsTransferV2LogTransferInfoLogAgencyTransferArgs

    AgencyDomainId string

    Delegator account ID.

    Changing this parameter will create a new resource.

    AgencyDomainName string

    Delegator account name.

    Changing this parameter will create a new resource.

    AgencyName string

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    AgencyProjectId string

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    AgencyDomainId string

    Delegator account ID.

    Changing this parameter will create a new resource.

    AgencyDomainName string

    Delegator account name.

    Changing this parameter will create a new resource.

    AgencyName string

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    AgencyProjectId string

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    agencyDomainId String

    Delegator account ID.

    Changing this parameter will create a new resource.

    agencyDomainName String

    Delegator account name.

    Changing this parameter will create a new resource.

    agencyName String

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    agencyProjectId String

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    agencyDomainId string

    Delegator account ID.

    Changing this parameter will create a new resource.

    agencyDomainName string

    Delegator account name.

    Changing this parameter will create a new resource.

    agencyName string

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    agencyProjectId string

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    agency_domain_id str

    Delegator account ID.

    Changing this parameter will create a new resource.

    agency_domain_name str

    Delegator account name.

    Changing this parameter will create a new resource.

    agency_name str

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    agency_project_id str

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    agencyDomainId String

    Delegator account ID.

    Changing this parameter will create a new resource.

    agencyDomainName String

    Delegator account name.

    Changing this parameter will create a new resource.

    agencyName String

    The agency name created by the delegator.

    Changing this parameter will create a new resource.

    agencyProjectId String

    Project ID of the delegator.

    Changing this parameter will create a new resource.

    The log_transfer_detail block supports:

    LtsTransferV2LogTransferInfoLogTransferDetail, LtsTransferV2LogTransferInfoLogTransferDetailArgs

    ObsBucketName string
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    ObsDirPrefixName string
    Custom transfer path of an OBS transfer task.
    ObsEncryptedEnable bool
    Whether OBS bucket encryption is enabled.
    ObsEncryptedId string
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    ObsEpsId string
    Enterprise project ID of an OBS transfer task.
    ObsPeriod double
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    ObsPeriodUnit string
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    ObsPrefixName string
    Transfer file prefix of an OBS transfer task.
    ObsTimeZone string
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    ObsTimeZoneId string
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    ObsTransferPath string
    OBS bucket path, which is the log transfer destination.
    Tags List<string>
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.
    ObsBucketName string
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    ObsDirPrefixName string
    Custom transfer path of an OBS transfer task.
    ObsEncryptedEnable bool
    Whether OBS bucket encryption is enabled.
    ObsEncryptedId string
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    ObsEpsId string
    Enterprise project ID of an OBS transfer task.
    ObsPeriod float64
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    ObsPeriodUnit string
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    ObsPrefixName string
    Transfer file prefix of an OBS transfer task.
    ObsTimeZone string
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    ObsTimeZoneId string
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    ObsTransferPath string
    OBS bucket path, which is the log transfer destination.
    Tags []string
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.
    obsBucketName String
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    obsDirPrefixName String
    Custom transfer path of an OBS transfer task.
    obsEncryptedEnable Boolean
    Whether OBS bucket encryption is enabled.
    obsEncryptedId String
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    obsEpsId String
    Enterprise project ID of an OBS transfer task.
    obsPeriod Double
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPeriodUnit String
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPrefixName String
    Transfer file prefix of an OBS transfer task.
    obsTimeZone String
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    obsTimeZoneId String
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    obsTransferPath String
    OBS bucket path, which is the log transfer destination.
    tags List<String>
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.
    obsBucketName string
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    obsDirPrefixName string
    Custom transfer path of an OBS transfer task.
    obsEncryptedEnable boolean
    Whether OBS bucket encryption is enabled.
    obsEncryptedId string
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    obsEpsId string
    Enterprise project ID of an OBS transfer task.
    obsPeriod number
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPeriodUnit string
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPrefixName string
    Transfer file prefix of an OBS transfer task.
    obsTimeZone string
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    obsTimeZoneId string
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    obsTransferPath string
    OBS bucket path, which is the log transfer destination.
    tags string[]
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.
    obs_bucket_name str
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    obs_dir_prefix_name str
    Custom transfer path of an OBS transfer task.
    obs_encrypted_enable bool
    Whether OBS bucket encryption is enabled.
    obs_encrypted_id str
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    obs_eps_id str
    Enterprise project ID of an OBS transfer task.
    obs_period float
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obs_period_unit str
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obs_prefix_name str
    Transfer file prefix of an OBS transfer task.
    obs_time_zone str
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    obs_time_zone_id str
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    obs_transfer_path str
    OBS bucket path, which is the log transfer destination.
    tags Sequence[str]
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.
    obsBucketName String
    OBS bucket name. This parameter is mandatory when you create an OBS transfer task.
    obsDirPrefixName String
    Custom transfer path of an OBS transfer task.
    obsEncryptedEnable Boolean
    Whether OBS bucket encryption is enabled.
    obsEncryptedId String
    KMS key ID for an OBS transfer task. This parameter is mandatory if encryption is enabled for the target OBS bucket.
    obsEpsId String
    Enterprise project ID of an OBS transfer task.
    obsPeriod Number
    Length of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPeriodUnit String
    Unit of the transfer interval for an OBS transfer task. This parameter is mandatory when you create an OBS transfer task. The log transfer interval is specified by the combination of the values of obs_period and obs_period_unit, and must be set to one of the following: 2 min, 5 min, 30 min, 1 hour, 3 hours, 6 hours, and 12 hours. Value options are as follows:
    obsPrefixName String
    Transfer file prefix of an OBS transfer task.
    obsTimeZone String
    Time zone for an OBS transfer task. If this parameter is specified, obs_time_zone_id must also be specified.
    obsTimeZoneId String
    ID of the time zone for an OBS transfer task. If this parameter is specified, obs_time_zone must also be specified.
    obsTransferPath String
    OBS bucket path, which is the log transfer destination.
    tags List<String>
    The list of tag fields will be delivered when transferring. This field must contain the following host information: hostIP, hostId, hostName, pathFile, and collectTime. The common fields include logStreamName, regionName, logGroupName, and projectId, which are optional. The transfer tag: streamTag, which is optional.

    Import

    The LTS transfer task can be imported using the id, e.g.

    bash

    $ pulumi import opentelekomcloud:index/ltsTransferV2:LtsTransferV2 test <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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