1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. log
  5. Store
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.log.Store

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    Provides a SLS Log Store resource.

    For information about SLS Log Store and how to use it, see What is Log Store.

    NOTE: Available since v1.0.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const _default = new random.RandomInteger("default", {
        max: 99999,
        min: 10000,
    });
    const exampleProject = new alicloud.log.Project("exampleProject", {description: "terraform-example"});
    const exampleStore = new alicloud.log.Store("exampleStore", {
        project: exampleProject.name,
        shardCount: 3,
        autoSplit: true,
        maxSplitShardCount: 60,
        appendMeta: true,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    default = random.RandomInteger("default",
        max=99999,
        min=10000)
    example_project = alicloud.log.Project("exampleProject", description="terraform-example")
    example_store = alicloud.log.Store("exampleStore",
        project=example_project.name,
        shard_count=3,
        auto_split=True,
        max_split_shard_count=60,
        append_meta=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := random.NewRandomInteger(ctx, "default", &random.RandomIntegerArgs{
    			Max: pulumi.Int(99999),
    			Min: pulumi.Int(10000),
    		})
    		if err != nil {
    			return err
    		}
    		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
    			Description: pulumi.String("terraform-example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{
    			Project:            exampleProject.Name,
    			ShardCount:         pulumi.Int(3),
    			AutoSplit:          pulumi.Bool(true),
    			MaxSplitShardCount: pulumi.Int(60),
    			AppendMeta:         pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Random.RandomInteger("default", new()
        {
            Max = 99999,
            Min = 10000,
        });
    
        var exampleProject = new AliCloud.Log.Project("exampleProject", new()
        {
            Description = "terraform-example",
        });
    
        var exampleStore = new AliCloud.Log.Store("exampleStore", new()
        {
            Project = exampleProject.Name,
            ShardCount = 3,
            AutoSplit = true,
            MaxSplitShardCount = 60,
            AppendMeta = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.RandomInteger;
    import com.pulumi.random.RandomIntegerArgs;
    import com.pulumi.alicloud.log.Project;
    import com.pulumi.alicloud.log.ProjectArgs;
    import com.pulumi.alicloud.log.Store;
    import com.pulumi.alicloud.log.StoreArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new RandomInteger("default", RandomIntegerArgs.builder()        
                .max(99999)
                .min(10000)
                .build());
    
            var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .description("terraform-example")
                .build());
    
            var exampleStore = new Store("exampleStore", StoreArgs.builder()        
                .project(exampleProject.name())
                .shardCount(3)
                .autoSplit(true)
                .maxSplitShardCount(60)
                .appendMeta(true)
                .build());
    
        }
    }
    
    resources:
      default:
        type: random:RandomInteger
        properties:
          max: 99999
          min: 10000
      exampleProject:
        type: alicloud:log:Project
        properties:
          description: terraform-example
      exampleStore:
        type: alicloud:log:Store
        properties:
          project: ${exampleProject.name}
          shardCount: 3
          autoSplit: true
          maxSplitShardCount: 60
          appendMeta: true
    

    Encrypt Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const region = config.get("region") || "cn-hangzhou";
    const exampleAccount = alicloud.getAccount({});
    const _default = new random.RandomInteger("default", {
        max: 99999,
        min: 10000,
    });
    const exampleKey = new alicloud.kms.Key("exampleKey", {
        description: "terraform-example",
        pendingWindowInDays: 7,
        status: "Enabled",
    });
    const exampleProject = new alicloud.log.Project("exampleProject", {description: "terraform-example"});
    const exampleStore = new alicloud.log.Store("exampleStore", {
        project: exampleProject.name,
        shardCount: 1,
        autoSplit: true,
        maxSplitShardCount: 60,
        encryptConf: {
            enable: true,
            encryptType: "default",
            userCmkInfo: {
                cmkKeyId: exampleKey.id,
                arn: exampleAccount.then(exampleAccount => `acs:ram::${exampleAccount.id}:role/aliyunlogdefaultrole`),
                regionId: region,
            },
        },
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    region = config.get("region")
    if region is None:
        region = "cn-hangzhou"
    example_account = alicloud.get_account()
    default = random.RandomInteger("default",
        max=99999,
        min=10000)
    example_key = alicloud.kms.Key("exampleKey",
        description="terraform-example",
        pending_window_in_days=7,
        status="Enabled")
    example_project = alicloud.log.Project("exampleProject", description="terraform-example")
    example_store = alicloud.log.Store("exampleStore",
        project=example_project.name,
        shard_count=1,
        auto_split=True,
        max_split_shard_count=60,
        encrypt_conf=alicloud.log.StoreEncryptConfArgs(
            enable=True,
            encrypt_type="default",
            user_cmk_info=alicloud.log.StoreEncryptConfUserCmkInfoArgs(
                cmk_key_id=example_key.id,
                arn=f"acs:ram::{example_account.id}:role/aliyunlogdefaultrole",
                region_id=region,
            ),
        ))
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/kms"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"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, "")
    		region := "cn-hangzhou"
    		if param := cfg.Get("region"); param != "" {
    			region = param
    		}
    		exampleAccount, err := alicloud.GetAccount(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = random.NewRandomInteger(ctx, "default", &random.RandomIntegerArgs{
    			Max: pulumi.Int(99999),
    			Min: pulumi.Int(10000),
    		})
    		if err != nil {
    			return err
    		}
    		exampleKey, err := kms.NewKey(ctx, "exampleKey", &kms.KeyArgs{
    			Description:         pulumi.String("terraform-example"),
    			PendingWindowInDays: pulumi.Int(7),
    			Status:              pulumi.String("Enabled"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
    			Description: pulumi.String("terraform-example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{
    			Project:            exampleProject.Name,
    			ShardCount:         pulumi.Int(1),
    			AutoSplit:          pulumi.Bool(true),
    			MaxSplitShardCount: pulumi.Int(60),
    			EncryptConf: &log.StoreEncryptConfArgs{
    				Enable:      pulumi.Bool(true),
    				EncryptType: pulumi.String("default"),
    				UserCmkInfo: &log.StoreEncryptConfUserCmkInfoArgs{
    					CmkKeyId: exampleKey.ID(),
    					Arn:      pulumi.String(fmt.Sprintf("acs:ram::%v:role/aliyunlogdefaultrole", exampleAccount.Id)),
    					RegionId: pulumi.String(region),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var region = config.Get("region") ?? "cn-hangzhou";
        var exampleAccount = AliCloud.GetAccount.Invoke();
    
        var @default = new Random.RandomInteger("default", new()
        {
            Max = 99999,
            Min = 10000,
        });
    
        var exampleKey = new AliCloud.Kms.Key("exampleKey", new()
        {
            Description = "terraform-example",
            PendingWindowInDays = 7,
            Status = "Enabled",
        });
    
        var exampleProject = new AliCloud.Log.Project("exampleProject", new()
        {
            Description = "terraform-example",
        });
    
        var exampleStore = new AliCloud.Log.Store("exampleStore", new()
        {
            Project = exampleProject.Name,
            ShardCount = 1,
            AutoSplit = true,
            MaxSplitShardCount = 60,
            EncryptConf = new AliCloud.Log.Inputs.StoreEncryptConfArgs
            {
                Enable = true,
                EncryptType = "default",
                UserCmkInfo = new AliCloud.Log.Inputs.StoreEncryptConfUserCmkInfoArgs
                {
                    CmkKeyId = exampleKey.Id,
                    Arn = $"acs:ram::{exampleAccount.Apply(getAccountResult => getAccountResult.Id)}:role/aliyunlogdefaultrole",
                    RegionId = region,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.random.RandomInteger;
    import com.pulumi.random.RandomIntegerArgs;
    import com.pulumi.alicloud.kms.Key;
    import com.pulumi.alicloud.kms.KeyArgs;
    import com.pulumi.alicloud.log.Project;
    import com.pulumi.alicloud.log.ProjectArgs;
    import com.pulumi.alicloud.log.Store;
    import com.pulumi.alicloud.log.StoreArgs;
    import com.pulumi.alicloud.log.inputs.StoreEncryptConfArgs;
    import com.pulumi.alicloud.log.inputs.StoreEncryptConfUserCmkInfoArgs;
    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 region = config.get("region").orElse("cn-hangzhou");
            final var exampleAccount = AlicloudFunctions.getAccount();
    
            var default_ = new RandomInteger("default", RandomIntegerArgs.builder()        
                .max(99999)
                .min(10000)
                .build());
    
            var exampleKey = new Key("exampleKey", KeyArgs.builder()        
                .description("terraform-example")
                .pendingWindowInDays("7")
                .status("Enabled")
                .build());
    
            var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .description("terraform-example")
                .build());
    
            var exampleStore = new Store("exampleStore", StoreArgs.builder()        
                .project(exampleProject.name())
                .shardCount(1)
                .autoSplit(true)
                .maxSplitShardCount(60)
                .encryptConf(StoreEncryptConfArgs.builder()
                    .enable(true)
                    .encryptType("default")
                    .userCmkInfo(StoreEncryptConfUserCmkInfoArgs.builder()
                        .cmkKeyId(exampleKey.id())
                        .arn(String.format("acs:ram::%s:role/aliyunlogdefaultrole", exampleAccount.applyValue(getAccountResult -> getAccountResult.id())))
                        .regionId(region)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    configuration:
      region:
        type: string
        default: cn-hangzhou
    resources:
      default:
        type: random:RandomInteger
        properties:
          max: 99999
          min: 10000
      exampleKey:
        type: alicloud:kms:Key
        properties:
          description: terraform-example
          pendingWindowInDays: '7'
          status: Enabled
      exampleProject:
        type: alicloud:log:Project
        properties:
          description: terraform-example
      exampleStore:
        type: alicloud:log:Store
        properties:
          project: ${exampleProject.name}
          shardCount: 1
          autoSplit: true
          maxSplitShardCount: 60
          encryptConf:
            enable: true
            encryptType: default
            userCmkInfo:
              cmkKeyId: ${exampleKey.id}
              arn: acs:ram::${exampleAccount.id}:role/aliyunlogdefaultrole
              regionId: ${region}
    variables:
      exampleAccount:
        fn::invoke:
          Function: alicloud:getAccount
          Arguments: {}
    

    Module Support

    You can use the existing sls module to create SLS project, store and store index one-click, like ECS instances.

    Create Store Resource

    new Store(name: string, args?: StoreArgs, opts?: CustomResourceOptions);
    @overload
    def Store(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              append_meta: Optional[bool] = None,
              auto_split: Optional[bool] = None,
              enable_web_tracking: Optional[bool] = None,
              encrypt_conf: Optional[StoreEncryptConfArgs] = None,
              hot_ttl: Optional[int] = None,
              logstore_name: Optional[str] = None,
              max_split_shard_count: Optional[int] = None,
              metering_mode: Optional[str] = None,
              mode: Optional[str] = None,
              name: Optional[str] = None,
              project: Optional[str] = None,
              project_name: Optional[str] = None,
              retention_period: Optional[int] = None,
              shard_count: Optional[int] = None,
              telemetry_type: Optional[str] = None)
    @overload
    def Store(resource_name: str,
              args: Optional[StoreArgs] = None,
              opts: Optional[ResourceOptions] = None)
    func NewStore(ctx *Context, name string, args *StoreArgs, opts ...ResourceOption) (*Store, error)
    public Store(string name, StoreArgs? args = null, CustomResourceOptions? opts = null)
    public Store(String name, StoreArgs args)
    public Store(String name, StoreArgs args, CustomResourceOptions options)
    
    type: alicloud:log:Store
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args StoreArgs
    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 StoreArgs
    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 StoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Store Resource Properties

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

    Inputs

    The Store resource accepts the following input properties:

    AppendMeta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    AutoSplit bool
    Determines whether to automatically split a shard. Default to false.
    EnableWebTracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    EncryptConf Pulumi.AliCloud.Log.Inputs.StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    HotTtl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    LogstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    MaxSplitShardCount int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    MeteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    Mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    Name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    Project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    ProjectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    RetentionPeriod int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    ShardCount int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    TelemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    AppendMeta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    AutoSplit bool
    Determines whether to automatically split a shard. Default to false.
    EnableWebTracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    EncryptConf StoreEncryptConfArgs
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    HotTtl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    LogstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    MaxSplitShardCount int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    MeteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    Mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    Name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    Project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    ProjectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    RetentionPeriod int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    ShardCount int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    TelemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta Boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit Boolean
    Determines whether to automatically split a shard. Default to false.
    enableWebTracking Boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl Integer
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName String
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount Integer
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode String
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode String
    The mode of storage. Default to standard, must be standard or query, lite.
    name String
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project String
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName String
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod Integer
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount Integer
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    telemetryType String

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit boolean
    Determines whether to automatically split a shard. Default to false.
    enableWebTracking boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl number
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount number
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod number
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount number
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    telemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    append_meta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    auto_split bool
    Determines whether to automatically split a shard. Default to false.
    enable_web_tracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encrypt_conf StoreEncryptConfArgs
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hot_ttl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstore_name str
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    max_split_shard_count int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    metering_mode str
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode str
    The mode of storage. Default to standard, must be standard or query, lite.
    name str
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project str
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    project_name str
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retention_period int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shard_count int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    telemetry_type str

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta Boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit Boolean
    Determines whether to automatically split a shard. Default to false.
    enableWebTracking Boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf Property Map
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl Number
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName String
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount Number
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode String
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode String
    The mode of storage. Default to standard, must be standard or query, lite.
    name String
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project String
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName String
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod Number
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount Number
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    telemetryType String

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Outputs

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

    CreateTime int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Shards List<Pulumi.AliCloud.Log.Outputs.StoreShard>
    The shard attribute.
    CreateTime int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Shards []StoreShard
    The shard attribute.
    createTime Integer
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    id String
    The provider-assigned unique ID for this managed resource.
    shards List<StoreShard>
    The shard attribute.
    createTime number
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    id string
    The provider-assigned unique ID for this managed resource.
    shards StoreShard[]
    The shard attribute.
    create_time int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    id str
    The provider-assigned unique ID for this managed resource.
    shards Sequence[StoreShard]
    The shard attribute.
    createTime Number
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    id String
    The provider-assigned unique ID for this managed resource.
    shards List<Property Map>
    The shard attribute.

    Look up Existing Store Resource

    Get an existing Store 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?: StoreState, opts?: CustomResourceOptions): Store
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            append_meta: Optional[bool] = None,
            auto_split: Optional[bool] = None,
            create_time: Optional[int] = None,
            enable_web_tracking: Optional[bool] = None,
            encrypt_conf: Optional[StoreEncryptConfArgs] = None,
            hot_ttl: Optional[int] = None,
            logstore_name: Optional[str] = None,
            max_split_shard_count: Optional[int] = None,
            metering_mode: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            project_name: Optional[str] = None,
            retention_period: Optional[int] = None,
            shard_count: Optional[int] = None,
            shards: Optional[Sequence[StoreShardArgs]] = None,
            telemetry_type: Optional[str] = None) -> Store
    func GetStore(ctx *Context, name string, id IDInput, state *StoreState, opts ...ResourceOption) (*Store, error)
    public static Store Get(string name, Input<string> id, StoreState? state, CustomResourceOptions? opts = null)
    public static Store get(String name, Output<String> id, StoreState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AppendMeta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    AutoSplit bool
    Determines whether to automatically split a shard. Default to false.
    CreateTime int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    EnableWebTracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    EncryptConf Pulumi.AliCloud.Log.Inputs.StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    HotTtl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    LogstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    MaxSplitShardCount int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    MeteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    Mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    Name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    Project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    ProjectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    RetentionPeriod int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    ShardCount int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    Shards List<Pulumi.AliCloud.Log.Inputs.StoreShard>
    The shard attribute.
    TelemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    AppendMeta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    AutoSplit bool
    Determines whether to automatically split a shard. Default to false.
    CreateTime int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    EnableWebTracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    EncryptConf StoreEncryptConfArgs
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    HotTtl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    LogstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    MaxSplitShardCount int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    MeteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    Mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    Name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    Project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    ProjectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    RetentionPeriod int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    ShardCount int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    Shards []StoreShardArgs
    The shard attribute.
    TelemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta Boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit Boolean
    Determines whether to automatically split a shard. Default to false.
    createTime Integer
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    enableWebTracking Boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl Integer
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName String
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount Integer
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode String
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode String
    The mode of storage. Default to standard, must be standard or query, lite.
    name String
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project String
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName String
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod Integer
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount Integer
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    shards List<StoreShard>
    The shard attribute.
    telemetryType String

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit boolean
    Determines whether to automatically split a shard. Default to false.
    createTime number
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    enableWebTracking boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf StoreEncryptConf
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl number
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName string
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount number
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode string
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode string
    The mode of storage. Default to standard, must be standard or query, lite.
    name string
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project string
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName string
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod number
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount number
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    shards StoreShard[]
    The shard attribute.
    telemetryType string

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    append_meta bool
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    auto_split bool
    Determines whether to automatically split a shard. Default to false.
    create_time int
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    enable_web_tracking bool
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encrypt_conf StoreEncryptConfArgs
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hot_ttl int
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstore_name str
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    max_split_shard_count int
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    metering_mode str
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode str
    The mode of storage. Default to standard, must be standard or query, lite.
    name str
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project str
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    project_name str
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retention_period int
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shard_count int
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    shards Sequence[StoreShardArgs]
    The shard attribute.
    telemetry_type str

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    appendMeta Boolean
    Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
    autoSplit Boolean
    Determines whether to automatically split a shard. Default to false.
    createTime Number
    Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
    enableWebTracking Boolean
    Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
    encryptConf Property Map
    Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See encrypt_conf below.
    hotTtl Number
    The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
    logstoreName String
    The log store, which is unique in the same project. You need to specify one of the attributes: logstore_name, name.
    maxSplitShardCount Number
    The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
    meteringMode String
    Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
    mode String
    The mode of storage. Default to standard, must be standard or query, lite.
    name String
    . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.

    Deprecated:Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.

    project String
    . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.

    Deprecated:Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.

    projectName String
    The project name to the log store belongs. You need to specify one of the attributes: project_name, project.
    retentionPeriod Number
    The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
    shardCount Number
    The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details.
    shards List<Property Map>
    The shard attribute.
    telemetryType String

    Determines whether store type is metric. Metrics means metric store, empty means log store.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Supporting Types

    StoreEncryptConf, StoreEncryptConfArgs

    Enable bool
    Enable encryption. Default false.
    EncryptType string
    Supported encryption type, only supports default(AES), m4.
    UserCmkInfo Pulumi.AliCloud.Log.Inputs.StoreEncryptConfUserCmkInfo
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.
    Enable bool
    Enable encryption. Default false.
    EncryptType string
    Supported encryption type, only supports default(AES), m4.
    UserCmkInfo StoreEncryptConfUserCmkInfo
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.
    enable Boolean
    Enable encryption. Default false.
    encryptType String
    Supported encryption type, only supports default(AES), m4.
    userCmkInfo StoreEncryptConfUserCmkInfo
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.
    enable boolean
    Enable encryption. Default false.
    encryptType string
    Supported encryption type, only supports default(AES), m4.
    userCmkInfo StoreEncryptConfUserCmkInfo
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.
    enable bool
    Enable encryption. Default false.
    encrypt_type str
    Supported encryption type, only supports default(AES), m4.
    user_cmk_info StoreEncryptConfUserCmkInfo
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.
    enable Boolean
    Enable encryption. Default false.
    encryptType String
    Supported encryption type, only supports default(AES), m4.
    userCmkInfo Property Map
    User bring your own key (BYOK) encryption Refer to details, the format is as follows. See user_cmk_info below. { "cmk_key_id": "your_cmk_key_id", "arn": "your_role_arn", "region_id": "you_cmk_region_id" }. See user_cmk_info below.

    StoreEncryptConfUserCmkInfo, StoreEncryptConfUserCmkInfoArgs

    Arn string
    Role arn.
    CmkKeyId string
    User master key id.
    RegionId string
    Region id where the user master key id is located.
    Arn string
    Role arn.
    CmkKeyId string
    User master key id.
    RegionId string
    Region id where the user master key id is located.
    arn String
    Role arn.
    cmkKeyId String
    User master key id.
    regionId String
    Region id where the user master key id is located.
    arn string
    Role arn.
    cmkKeyId string
    User master key id.
    regionId string
    Region id where the user master key id is located.
    arn str
    Role arn.
    cmk_key_id str
    User master key id.
    region_id str
    Region id where the user master key id is located.
    arn String
    Role arn.
    cmkKeyId String
    User master key id.
    regionId String
    Region id where the user master key id is located.

    StoreShard, StoreShardArgs

    BeginKey string
    The begin value of the shard range(MD5), included in the shard range.
    EndKey string
    The end value of the shard range(MD5), not included in shard range.
    Id int
    The ID of the shard.
    Status string
    Shard status, only two status of readwrite and readonly.
    BeginKey string
    The begin value of the shard range(MD5), included in the shard range.
    EndKey string
    The end value of the shard range(MD5), not included in shard range.
    Id int
    The ID of the shard.
    Status string
    Shard status, only two status of readwrite and readonly.
    beginKey String
    The begin value of the shard range(MD5), included in the shard range.
    endKey String
    The end value of the shard range(MD5), not included in shard range.
    id Integer
    The ID of the shard.
    status String
    Shard status, only two status of readwrite and readonly.
    beginKey string
    The begin value of the shard range(MD5), included in the shard range.
    endKey string
    The end value of the shard range(MD5), not included in shard range.
    id number
    The ID of the shard.
    status string
    Shard status, only two status of readwrite and readonly.
    begin_key str
    The begin value of the shard range(MD5), included in the shard range.
    end_key str
    The end value of the shard range(MD5), not included in shard range.
    id int
    The ID of the shard.
    status str
    Shard status, only two status of readwrite and readonly.
    beginKey String
    The begin value of the shard range(MD5), included in the shard range.
    endKey String
    The end value of the shard range(MD5), not included in shard range.
    id Number
    The ID of the shard.
    status String
    Shard status, only two status of readwrite and readonly.

    Import

    SLS Log Store can be imported using the id, e.g.

    $ pulumi import alicloud:log/store:Store example <project_name>:<logstore_name>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi