Show / Hide Table of Contents

Class Store

Inheritance
System.Object
Resource
CustomResource
Store
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class Store : CustomResource

Constructors

View Source

Store(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 Source

AppendMeta

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>>
View Source

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>>
View Source

EnableWebTracking

Determines whether to enable Web Tracking. Default false.

Declaration
public Output<bool?> EnableWebTracking { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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>>
View Source

Name

The log store, which is unique in the same project.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The project name to the log store belongs.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>>
View Source

Shards

Declaration
public Output<ImmutableArray<StoreShard>> Shards { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<StoreShard>>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.