Store
Create a Store Resource
new Store(name: string, args: StoreArgs, opts?: CustomResourceOptions);def Store(resource_name, opts=None, append_meta=None, auto_split=None, enable_web_tracking=None, max_split_shard_count=None, name=None, project=None, retention_period=None, shard_count=None, __props__=None);public Store(string name, StoreArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Store Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Store resource accepts the following input properties:
- Project string
The project name to the log store belongs.
- 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 true.
- Enable
Web boolTracking Determines whether to enable Web Tracking. Default false.
- Max
Split intShard Count 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.
- Name string
The log store, which is unique in the same 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”.
- int
The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
- Project string
The project name to the log store belongs.
- 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 true.
- Enable
Web boolTracking Determines whether to enable Web Tracking. Default false.
- Max
Split intShard Count 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.
- Name string
The log store, which is unique in the same 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”.
- int
The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
- project string
The project name to the log store belongs.
- append
Meta boolean Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
- auto
Split boolean Determines whether to automatically split a shard. Default to true.
- enable
Web booleanTracking Determines whether to enable Web Tracking. Default false.
- max
Split numberShard Count 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.
- name string
The log store, which is unique in the same project.
- retention
Period 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”.
- number
The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
- project str
The project name to the log store belongs.
- 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 true.
- enable_
web_ booltracking Determines whether to enable Web Tracking. Default false.
- max_
split_ floatshard_ count 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.
- name str
The log store, which is unique in the same project.
- retention_
period float 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”.
- float
The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
Outputs
All input properties are implicitly available as output properties. Additionally, the Store resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
-
List<Pulumi.
Ali Cloud. Log. Outputs. Store Shard>
- Id string
- The provider-assigned unique ID for this managed resource.
-
[]Store
Shard
- id string
- The provider-assigned unique ID for this managed resource.
-
Store
Shard[]
- id str
- The provider-assigned unique ID for this managed resource.
-
List[Store
Shard]
Look up an 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): Storestatic get(resource_name, id, opts=None, append_meta=None, auto_split=None, enable_web_tracking=None, max_split_shard_count=None, name=None, project=None, retention_period=None, shard_count=None, shards=None, __props__=None);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)- 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.
The following state arguments are supported:
- 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 true.
- Enable
Web boolTracking Determines whether to enable Web Tracking. Default false.
- Max
Split intShard Count 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.
- Name string
The log store, which is unique in the same project.
- Project string
The project name to the log store belongs.
- 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
List<Pulumi.
Ali Cloud. Log. Inputs. Store Shard Args>
- 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 true.
- Enable
Web boolTracking Determines whether to enable Web Tracking. Default false.
- Max
Split intShard Count 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.
- Name string
The log store, which is unique in the same project.
- Project string
The project name to the log store belongs.
- 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
[]Store
Shard
- append
Meta boolean Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
- auto
Split boolean Determines whether to automatically split a shard. Default to true.
- enable
Web booleanTracking Determines whether to enable Web Tracking. Default false.
- max
Split numberShard Count 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.
- name string
The log store, which is unique in the same project.
- project string
The project name to the log store belongs.
- retention
Period 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”.
- shard
Count 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
Store
Shard[]
- 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 true.
- enable_
web_ booltracking Determines whether to enable Web Tracking. Default false.
- max_
split_ floatshard_ count 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.
- name str
The log store, which is unique in the same project.
- project str
The project name to the log store belongs.
- retention_
period float 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 float 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[Store
Shard]
Supporting Types
StoreShard
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.