Class Store
Inherited Members
Namespace: Pulumi.AliCloud.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class Store : CustomResource
Constructors
View SourceStore(String, StoreArgs, CustomResourceOptions)
Create a Store resource with the given unique name, arguments, and options.
Declaration
public Store(string name, StoreArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| StoreArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppendMeta
Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
Declaration
public Output<bool?> AppendMeta { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
AutoSplit
Determines whether to automatically split a shard. Default to true.
Declaration
public Output<bool?> AutoSplit { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
EnableWebTracking
Determines whether to enable Web Tracking. Default false.
Declaration
public Output<bool?> EnableWebTracking { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
MaxSplitShardCount
The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
Declaration
public Output<int?> MaxSplitShardCount { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Name
The log store, which is unique in the same project.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The project name to the log store belongs.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RetentionPeriod
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".
Declaration
public Output<int?> RetentionPeriod { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ShardCount
The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. Refer to details
Declaration
public Output<int?> ShardCount { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Shards
Declaration
public Output<ImmutableArray<StoreShard>> Shards { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<StoreShard>> |
Methods
View SourceGet(String, Input<String>, StoreState, CustomResourceOptions)
Get an existing Store resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Store Get(string name, Input<string> id, StoreState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| StoreState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Store |