Documentation
¶
Index ¶
- type Alert
- type AlertArgs
- type AlertNotificationList
- type AlertNotificationListArgs
- type AlertNotificationListArray
- func (AlertNotificationListArray) ElementType() reflect.Type
- func (i AlertNotificationListArray) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput
- func (i AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput
- type AlertNotificationListArrayInput
- type AlertNotificationListArrayOutput
- func (AlertNotificationListArrayOutput) ElementType() reflect.Type
- func (o AlertNotificationListArrayOutput) Index(i pulumi.IntInput) AlertNotificationListOutput
- func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput
- func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput
- type AlertNotificationListInput
- type AlertNotificationListOutput
- func (o AlertNotificationListOutput) Content() pulumi.StringOutput
- func (AlertNotificationListOutput) ElementType() reflect.Type
- func (o AlertNotificationListOutput) EmailLists() pulumi.StringArrayOutput
- func (o AlertNotificationListOutput) MobileLists() pulumi.StringArrayOutput
- func (o AlertNotificationListOutput) ServiceUri() pulumi.StringPtrOutput
- func (o AlertNotificationListOutput) ToAlertNotificationListOutput() AlertNotificationListOutput
- func (o AlertNotificationListOutput) ToAlertNotificationListOutputWithContext(ctx context.Context) AlertNotificationListOutput
- func (o AlertNotificationListOutput) Type() pulumi.StringOutput
- type AlertQueryList
- type AlertQueryListArgs
- type AlertQueryListArray
- type AlertQueryListArrayInput
- type AlertQueryListArrayOutput
- func (AlertQueryListArrayOutput) ElementType() reflect.Type
- func (o AlertQueryListArrayOutput) Index(i pulumi.IntInput) AlertQueryListOutput
- func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput
- func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext(ctx context.Context) AlertQueryListArrayOutput
- type AlertQueryListInput
- type AlertQueryListOutput
- func (o AlertQueryListOutput) ChartTitle() pulumi.StringOutput
- func (AlertQueryListOutput) ElementType() reflect.Type
- func (o AlertQueryListOutput) End() pulumi.StringOutput
- func (o AlertQueryListOutput) Logstore() pulumi.StringOutput
- func (o AlertQueryListOutput) Query() pulumi.StringOutput
- func (o AlertQueryListOutput) Start() pulumi.StringOutput
- func (o AlertQueryListOutput) TimeSpanType() pulumi.StringPtrOutput
- func (o AlertQueryListOutput) ToAlertQueryListOutput() AlertQueryListOutput
- func (o AlertQueryListOutput) ToAlertQueryListOutputWithContext(ctx context.Context) AlertQueryListOutput
- type AlertState
- type Audit
- type AuditArgs
- type AuditState
- type Dashboard
- type DashboardArgs
- type DashboardState
- type LogTailAttachment
- type LogTailAttachmentArgs
- type LogTailAttachmentState
- type LogTailConfig
- type LogTailConfigArgs
- type LogTailConfigState
- type MachineGroup
- type MachineGroupArgs
- type MachineGroupState
- type Project
- type ProjectArgs
- type ProjectState
- type Store
- type StoreArgs
- type StoreIndex
- type StoreIndexArgs
- type StoreIndexFieldSearch
- type StoreIndexFieldSearchArgs
- type StoreIndexFieldSearchArray
- func (StoreIndexFieldSearchArray) ElementType() reflect.Type
- func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput
- func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput
- type StoreIndexFieldSearchArrayInput
- type StoreIndexFieldSearchArrayOutput
- func (StoreIndexFieldSearchArrayOutput) ElementType() reflect.Type
- func (o StoreIndexFieldSearchArrayOutput) Index(i pulumi.IntInput) StoreIndexFieldSearchOutput
- func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput
- func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput
- type StoreIndexFieldSearchInput
- type StoreIndexFieldSearchJsonKey
- type StoreIndexFieldSearchJsonKeyArgs
- func (StoreIndexFieldSearchJsonKeyArgs) ElementType() reflect.Type
- func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput
- func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput
- type StoreIndexFieldSearchJsonKeyArray
- func (StoreIndexFieldSearchJsonKeyArray) ElementType() reflect.Type
- func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput
- func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput
- type StoreIndexFieldSearchJsonKeyArrayInput
- type StoreIndexFieldSearchJsonKeyArrayOutput
- func (StoreIndexFieldSearchJsonKeyArrayOutput) ElementType() reflect.Type
- func (o StoreIndexFieldSearchJsonKeyArrayOutput) Index(i pulumi.IntInput) StoreIndexFieldSearchJsonKeyOutput
- func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput
- func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput
- type StoreIndexFieldSearchJsonKeyInput
- type StoreIndexFieldSearchJsonKeyOutput
- func (o StoreIndexFieldSearchJsonKeyOutput) Alias() pulumi.StringPtrOutput
- func (o StoreIndexFieldSearchJsonKeyOutput) DocValue() pulumi.BoolPtrOutput
- func (StoreIndexFieldSearchJsonKeyOutput) ElementType() reflect.Type
- func (o StoreIndexFieldSearchJsonKeyOutput) Name() pulumi.StringOutput
- func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput
- func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput
- func (o StoreIndexFieldSearchJsonKeyOutput) Type() pulumi.StringPtrOutput
- type StoreIndexFieldSearchOutput
- func (o StoreIndexFieldSearchOutput) Alias() pulumi.StringPtrOutput
- func (o StoreIndexFieldSearchOutput) CaseSensitive() pulumi.BoolPtrOutput
- func (StoreIndexFieldSearchOutput) ElementType() reflect.Type
- func (o StoreIndexFieldSearchOutput) EnableAnalytics() pulumi.BoolPtrOutput
- func (o StoreIndexFieldSearchOutput) IncludeChinese() pulumi.BoolPtrOutput
- func (o StoreIndexFieldSearchOutput) JsonKeys() StoreIndexFieldSearchJsonKeyArrayOutput
- func (o StoreIndexFieldSearchOutput) Name() pulumi.StringOutput
- func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput
- func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutputWithContext(ctx context.Context) StoreIndexFieldSearchOutput
- func (o StoreIndexFieldSearchOutput) Token() pulumi.StringPtrOutput
- func (o StoreIndexFieldSearchOutput) Type() pulumi.StringPtrOutput
- type StoreIndexFullText
- type StoreIndexFullTextArgs
- func (StoreIndexFullTextArgs) ElementType() reflect.Type
- func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput
- func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput
- func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
- func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
- type StoreIndexFullTextInput
- type StoreIndexFullTextOutput
- func (o StoreIndexFullTextOutput) CaseSensitive() pulumi.BoolPtrOutput
- func (StoreIndexFullTextOutput) ElementType() reflect.Type
- func (o StoreIndexFullTextOutput) IncludeChinese() pulumi.BoolPtrOutput
- func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput
- func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput
- func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
- func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
- func (o StoreIndexFullTextOutput) Token() pulumi.StringPtrOutput
- type StoreIndexFullTextPtrInput
- type StoreIndexFullTextPtrOutput
- func (o StoreIndexFullTextPtrOutput) CaseSensitive() pulumi.BoolPtrOutput
- func (o StoreIndexFullTextPtrOutput) Elem() StoreIndexFullTextOutput
- func (StoreIndexFullTextPtrOutput) ElementType() reflect.Type
- func (o StoreIndexFullTextPtrOutput) IncludeChinese() pulumi.BoolPtrOutput
- func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
- func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
- func (o StoreIndexFullTextPtrOutput) Token() pulumi.StringPtrOutput
- type StoreIndexState
- type StoreShard
- type StoreShardArgs
- type StoreShardArray
- type StoreShardArrayInput
- type StoreShardArrayOutput
- func (StoreShardArrayOutput) ElementType() reflect.Type
- func (o StoreShardArrayOutput) Index(i pulumi.IntInput) StoreShardOutput
- func (o StoreShardArrayOutput) ToStoreShardArrayOutput() StoreShardArrayOutput
- func (o StoreShardArrayOutput) ToStoreShardArrayOutputWithContext(ctx context.Context) StoreShardArrayOutput
- type StoreShardInput
- type StoreShardOutput
- func (o StoreShardOutput) BeginKey() pulumi.StringPtrOutput
- func (StoreShardOutput) ElementType() reflect.Type
- func (o StoreShardOutput) EndKey() pulumi.StringPtrOutput
- func (o StoreShardOutput) Id() pulumi.IntPtrOutput
- func (o StoreShardOutput) Status() pulumi.StringPtrOutput
- func (o StoreShardOutput) ToStoreShardOutput() StoreShardOutput
- func (o StoreShardOutput) ToStoreShardOutputWithContext(ctx context.Context) StoreShardOutput
- type StoreState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { pulumi.CustomResourceState // Alert description. AlertDescription pulumi.StringPtrOutput `pulumi:"alertDescription"` // Alert displayname. AlertDisplayname pulumi.StringOutput `pulumi:"alertDisplayname"` // Name of logstore for configuring alarm service. AlertName pulumi.StringOutput `pulumi:"alertName"` // Conditional expression, such as: count> 100. Condition pulumi.StringOutput `pulumi:"condition"` Dashboard pulumi.StringOutput `pulumi:"dashboard"` // Timestamp, notifications before closing again. MuteUntil pulumi.IntPtrOutput `pulumi:"muteUntil"` // Alarm information notification list. NotificationLists AlertNotificationListArrayOutput `pulumi:"notificationLists"` // Notification threshold, which is not notified until the number of triggers is reached. The default is 1. NotifyThreshold pulumi.IntPtrOutput `pulumi:"notifyThreshold"` // The project name. ProjectName pulumi.StringOutput `pulumi:"projectName"` // Multiple conditions for configured alarm query. QueryLists AlertQueryListArrayOutput `pulumi:"queryLists"` // Execution interval. 60 seconds minimum, such as 60s, 1h. ScheduleInterval pulumi.StringPtrOutput `pulumi:"scheduleInterval"` // Default FixedRate. No need to configure this parameter. ScheduleType pulumi.StringPtrOutput `pulumi:"scheduleType"` // Notification interval, default is no interval. Support number + unit type, for example 60s, 1h. Throttling pulumi.StringPtrOutput `pulumi:"throttling"` }
Log alert is a unit of log service, which is used to monitor and alert the user's logstore status information. Log Service enables you to configure alerts based on the charts in a dashboard to monitor the service status in real time.
> **NOTE:** Available in 1.78.0
func GetAlert ¶
func GetAlert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertState, opts ...pulumi.ResourceOption) (*Alert, error)
GetAlert gets an existing Alert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AlertArgs ¶
type AlertArgs struct { // Alert description. AlertDescription pulumi.StringPtrInput // Alert displayname. AlertDisplayname pulumi.StringInput // Name of logstore for configuring alarm service. AlertName pulumi.StringInput // Conditional expression, such as: count> 100. Condition pulumi.StringInput Dashboard pulumi.StringInput // Timestamp, notifications before closing again. MuteUntil pulumi.IntPtrInput // Alarm information notification list. NotificationLists AlertNotificationListArrayInput // Notification threshold, which is not notified until the number of triggers is reached. The default is 1. NotifyThreshold pulumi.IntPtrInput // The project name. ProjectName pulumi.StringInput // Multiple conditions for configured alarm query. QueryLists AlertQueryListArrayInput // Execution interval. 60 seconds minimum, such as 60s, 1h. ScheduleInterval pulumi.StringPtrInput // Default FixedRate. No need to configure this parameter. ScheduleType pulumi.StringPtrInput // Notification interval, default is no interval. Support number + unit type, for example 60s, 1h. Throttling pulumi.StringPtrInput }
The set of arguments for constructing a Alert resource.
func (AlertArgs) ElementType ¶
type AlertNotificationList ¶
type AlertNotificationList struct { // Notice content of alarm. Content string `pulumi:"content"` // Email address list. EmailLists []string `pulumi:"emailLists"` // SMS sending mobile number. MobileLists []string `pulumi:"mobileLists"` // Request address. ServiceUri *string `pulumi:"serviceUri"` // Notification type. support Email, SMS, DingTalk. Type string `pulumi:"type"` }
type AlertNotificationListArgs ¶
type AlertNotificationListArgs struct { // Notice content of alarm. Content pulumi.StringInput `pulumi:"content"` // Email address list. EmailLists pulumi.StringArrayInput `pulumi:"emailLists"` // SMS sending mobile number. MobileLists pulumi.StringArrayInput `pulumi:"mobileLists"` // Request address. ServiceUri pulumi.StringPtrInput `pulumi:"serviceUri"` // Notification type. support Email, SMS, DingTalk. Type pulumi.StringInput `pulumi:"type"` }
func (AlertNotificationListArgs) ElementType ¶
func (AlertNotificationListArgs) ElementType() reflect.Type
func (AlertNotificationListArgs) ToAlertNotificationListOutput ¶
func (i AlertNotificationListArgs) ToAlertNotificationListOutput() AlertNotificationListOutput
func (AlertNotificationListArgs) ToAlertNotificationListOutputWithContext ¶
func (i AlertNotificationListArgs) ToAlertNotificationListOutputWithContext(ctx context.Context) AlertNotificationListOutput
type AlertNotificationListArray ¶
type AlertNotificationListArray []AlertNotificationListInput
func (AlertNotificationListArray) ElementType ¶
func (AlertNotificationListArray) ElementType() reflect.Type
func (AlertNotificationListArray) ToAlertNotificationListArrayOutput ¶
func (i AlertNotificationListArray) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput
func (AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext ¶
func (i AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput
type AlertNotificationListArrayInput ¶
type AlertNotificationListArrayInput interface { pulumi.Input ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput ToAlertNotificationListArrayOutputWithContext(context.Context) AlertNotificationListArrayOutput }
AlertNotificationListArrayInput is an input type that accepts AlertNotificationListArray and AlertNotificationListArrayOutput values. You can construct a concrete instance of `AlertNotificationListArrayInput` via:
AlertNotificationListArray{ AlertNotificationListArgs{...} }
type AlertNotificationListArrayOutput ¶
type AlertNotificationListArrayOutput struct{ *pulumi.OutputState }
func (AlertNotificationListArrayOutput) ElementType ¶
func (AlertNotificationListArrayOutput) ElementType() reflect.Type
func (AlertNotificationListArrayOutput) Index ¶
func (o AlertNotificationListArrayOutput) Index(i pulumi.IntInput) AlertNotificationListOutput
func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput ¶
func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput
func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext ¶
func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput
type AlertNotificationListInput ¶
type AlertNotificationListInput interface { pulumi.Input ToAlertNotificationListOutput() AlertNotificationListOutput ToAlertNotificationListOutputWithContext(context.Context) AlertNotificationListOutput }
AlertNotificationListInput is an input type that accepts AlertNotificationListArgs and AlertNotificationListOutput values. You can construct a concrete instance of `AlertNotificationListInput` via:
AlertNotificationListArgs{...}
type AlertNotificationListOutput ¶
type AlertNotificationListOutput struct{ *pulumi.OutputState }
func (AlertNotificationListOutput) Content ¶
func (o AlertNotificationListOutput) Content() pulumi.StringOutput
Notice content of alarm.
func (AlertNotificationListOutput) ElementType ¶
func (AlertNotificationListOutput) ElementType() reflect.Type
func (AlertNotificationListOutput) EmailLists ¶
func (o AlertNotificationListOutput) EmailLists() pulumi.StringArrayOutput
Email address list.
func (AlertNotificationListOutput) MobileLists ¶
func (o AlertNotificationListOutput) MobileLists() pulumi.StringArrayOutput
SMS sending mobile number.
func (AlertNotificationListOutput) ServiceUri ¶
func (o AlertNotificationListOutput) ServiceUri() pulumi.StringPtrOutput
Request address.
func (AlertNotificationListOutput) ToAlertNotificationListOutput ¶
func (o AlertNotificationListOutput) ToAlertNotificationListOutput() AlertNotificationListOutput
func (AlertNotificationListOutput) ToAlertNotificationListOutputWithContext ¶
func (o AlertNotificationListOutput) ToAlertNotificationListOutputWithContext(ctx context.Context) AlertNotificationListOutput
func (AlertNotificationListOutput) Type ¶
func (o AlertNotificationListOutput) Type() pulumi.StringOutput
Notification type. support Email, SMS, DingTalk.
type AlertQueryList ¶
type AlertQueryList struct { // chart title ChartTitle string `pulumi:"chartTitle"` // end time. example: 20s. End string `pulumi:"end"` // Query logstore Logstore string `pulumi:"logstore"` // query corresponding to chart. example: * AND aliyun. Query string `pulumi:"query"` // begin time. example: -60s. Start string `pulumi:"start"` // default Custom. No need to configure this parameter. TimeSpanType *string `pulumi:"timeSpanType"` }
type AlertQueryListArgs ¶
type AlertQueryListArgs struct { // chart title ChartTitle pulumi.StringInput `pulumi:"chartTitle"` // end time. example: 20s. End pulumi.StringInput `pulumi:"end"` // Query logstore Logstore pulumi.StringInput `pulumi:"logstore"` // query corresponding to chart. example: * AND aliyun. Query pulumi.StringInput `pulumi:"query"` // begin time. example: -60s. Start pulumi.StringInput `pulumi:"start"` // default Custom. No need to configure this parameter. TimeSpanType pulumi.StringPtrInput `pulumi:"timeSpanType"` }
func (AlertQueryListArgs) ElementType ¶
func (AlertQueryListArgs) ElementType() reflect.Type
func (AlertQueryListArgs) ToAlertQueryListOutput ¶
func (i AlertQueryListArgs) ToAlertQueryListOutput() AlertQueryListOutput
func (AlertQueryListArgs) ToAlertQueryListOutputWithContext ¶
func (i AlertQueryListArgs) ToAlertQueryListOutputWithContext(ctx context.Context) AlertQueryListOutput
type AlertQueryListArray ¶
type AlertQueryListArray []AlertQueryListInput
func (AlertQueryListArray) ElementType ¶
func (AlertQueryListArray) ElementType() reflect.Type
func (AlertQueryListArray) ToAlertQueryListArrayOutput ¶
func (i AlertQueryListArray) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput
func (AlertQueryListArray) ToAlertQueryListArrayOutputWithContext ¶
func (i AlertQueryListArray) ToAlertQueryListArrayOutputWithContext(ctx context.Context) AlertQueryListArrayOutput
type AlertQueryListArrayInput ¶
type AlertQueryListArrayInput interface { pulumi.Input ToAlertQueryListArrayOutput() AlertQueryListArrayOutput ToAlertQueryListArrayOutputWithContext(context.Context) AlertQueryListArrayOutput }
AlertQueryListArrayInput is an input type that accepts AlertQueryListArray and AlertQueryListArrayOutput values. You can construct a concrete instance of `AlertQueryListArrayInput` via:
AlertQueryListArray{ AlertQueryListArgs{...} }
type AlertQueryListArrayOutput ¶
type AlertQueryListArrayOutput struct{ *pulumi.OutputState }
func (AlertQueryListArrayOutput) ElementType ¶
func (AlertQueryListArrayOutput) ElementType() reflect.Type
func (AlertQueryListArrayOutput) Index ¶
func (o AlertQueryListArrayOutput) Index(i pulumi.IntInput) AlertQueryListOutput
func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutput ¶
func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput
func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext ¶
func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext(ctx context.Context) AlertQueryListArrayOutput
type AlertQueryListInput ¶
type AlertQueryListInput interface { pulumi.Input ToAlertQueryListOutput() AlertQueryListOutput ToAlertQueryListOutputWithContext(context.Context) AlertQueryListOutput }
AlertQueryListInput is an input type that accepts AlertQueryListArgs and AlertQueryListOutput values. You can construct a concrete instance of `AlertQueryListInput` via:
AlertQueryListArgs{...}
type AlertQueryListOutput ¶
type AlertQueryListOutput struct{ *pulumi.OutputState }
func (AlertQueryListOutput) ChartTitle ¶
func (o AlertQueryListOutput) ChartTitle() pulumi.StringOutput
chart title
func (AlertQueryListOutput) ElementType ¶
func (AlertQueryListOutput) ElementType() reflect.Type
func (AlertQueryListOutput) End ¶
func (o AlertQueryListOutput) End() pulumi.StringOutput
end time. example: 20s.
func (AlertQueryListOutput) Logstore ¶
func (o AlertQueryListOutput) Logstore() pulumi.StringOutput
Query logstore
func (AlertQueryListOutput) Query ¶
func (o AlertQueryListOutput) Query() pulumi.StringOutput
query corresponding to chart. example: * AND aliyun.
func (AlertQueryListOutput) Start ¶
func (o AlertQueryListOutput) Start() pulumi.StringOutput
begin time. example: -60s.
func (AlertQueryListOutput) TimeSpanType ¶
func (o AlertQueryListOutput) TimeSpanType() pulumi.StringPtrOutput
default Custom. No need to configure this parameter.
func (AlertQueryListOutput) ToAlertQueryListOutput ¶
func (o AlertQueryListOutput) ToAlertQueryListOutput() AlertQueryListOutput
func (AlertQueryListOutput) ToAlertQueryListOutputWithContext ¶
func (o AlertQueryListOutput) ToAlertQueryListOutputWithContext(ctx context.Context) AlertQueryListOutput
type AlertState ¶
type AlertState struct { // Alert description. AlertDescription pulumi.StringPtrInput // Alert displayname. AlertDisplayname pulumi.StringPtrInput // Name of logstore for configuring alarm service. AlertName pulumi.StringPtrInput // Conditional expression, such as: count> 100. Condition pulumi.StringPtrInput Dashboard pulumi.StringPtrInput // Timestamp, notifications before closing again. MuteUntil pulumi.IntPtrInput // Alarm information notification list. NotificationLists AlertNotificationListArrayInput // Notification threshold, which is not notified until the number of triggers is reached. The default is 1. NotifyThreshold pulumi.IntPtrInput // The project name. ProjectName pulumi.StringPtrInput // Multiple conditions for configured alarm query. QueryLists AlertQueryListArrayInput // Execution interval. 60 seconds minimum, such as 60s, 1h. ScheduleInterval pulumi.StringPtrInput // Default FixedRate. No need to configure this parameter. ScheduleType pulumi.StringPtrInput // Notification interval, default is no interval. Support number + unit type, for example 60s, 1h. Throttling pulumi.StringPtrInput }
func (AlertState) ElementType ¶
func (AlertState) ElementType() reflect.Type
type Audit ¶ added in v2.3.3
type Audit struct { pulumi.CustomResourceState // Aliuid value of your account. Aliuid pulumi.StringOutput `pulumi:"aliuid"` // Name of SLS log audit. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Multi-account configuration, please fill in multiple aliuid. MultiAccounts pulumi.StringArrayOutput `pulumi:"multiAccounts"` // Log audit detailed configuration. VariableMap pulumi.MapOutput `pulumi:"variableMap"` }
SLS log audit exists in the form of log service app.
In addition to inheriting all SLS functions, it also enhances the real-time automatic centralized collection of audit related logs across multi cloud products under multi accounts, and provides support for storage, query and information summary required by audit. It covers actiontrail, OSS, NAS, SLB, API gateway, RDS, WAF, cloud firewall, cloud security center and other products.
> **NOTE:** Available in 1.81.0
func GetAudit ¶ added in v2.3.3
func GetAudit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AuditState, opts ...pulumi.ResourceOption) (*Audit, error)
GetAudit gets an existing Audit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AuditArgs ¶ added in v2.3.3
type AuditArgs struct { // Aliuid value of your account. Aliuid pulumi.StringInput // Name of SLS log audit. DisplayName pulumi.StringInput // Multi-account configuration, please fill in multiple aliuid. MultiAccounts pulumi.StringArrayInput // Log audit detailed configuration. VariableMap pulumi.MapInput }
The set of arguments for constructing a Audit resource.
func (AuditArgs) ElementType ¶ added in v2.3.3
type AuditState ¶ added in v2.3.3
type AuditState struct { // Aliuid value of your account. Aliuid pulumi.StringPtrInput // Name of SLS log audit. DisplayName pulumi.StringPtrInput // Multi-account configuration, please fill in multiple aliuid. MultiAccounts pulumi.StringArrayInput // Log audit detailed configuration. VariableMap pulumi.MapInput }
func (AuditState) ElementType ¶ added in v2.3.3
func (AuditState) ElementType() reflect.Type
type Dashboard ¶ added in v2.8.0
type Dashboard struct { pulumi.CustomResourceState // Configuration of charts in the dashboard. CharList pulumi.StringOutput `pulumi:"charList"` // The name of the Log Dashboard. DashboardName pulumi.StringOutput `pulumi:"dashboardName"` // Dashboard alias. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringOutput `pulumi:"projectName"` }
The dashboard is a real-time data analysis platform provided by the log service. You can display frequently used query and analysis statements in the form of charts and save statistical charts to the dashboard. [Refer to details](https://www.alibabacloud.com/help/doc-detail/102530.htm).
> **NOTE:** Available in 1.86.0
func GetDashboard ¶ added in v2.8.0
func GetDashboard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)
GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDashboard ¶ added in v2.8.0
func NewDashboard(ctx *pulumi.Context, name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)
NewDashboard registers a new resource with the given unique name, arguments, and options.
type DashboardArgs ¶ added in v2.8.0
type DashboardArgs struct { // Configuration of charts in the dashboard. CharList pulumi.StringInput // The name of the Log Dashboard. DashboardName pulumi.StringInput // Dashboard alias. DisplayName pulumi.StringPtrInput // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringInput }
The set of arguments for constructing a Dashboard resource.
func (DashboardArgs) ElementType ¶ added in v2.8.0
func (DashboardArgs) ElementType() reflect.Type
type DashboardState ¶ added in v2.8.0
type DashboardState struct { // Configuration of charts in the dashboard. CharList pulumi.StringPtrInput // The name of the Log Dashboard. DashboardName pulumi.StringPtrInput // Dashboard alias. DisplayName pulumi.StringPtrInput // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringPtrInput }
func (DashboardState) ElementType ¶ added in v2.8.0
func (DashboardState) ElementType() reflect.Type
type LogTailAttachment ¶
type LogTailAttachment struct { pulumi.CustomResourceState // The Logtail configuration name, which is unique in the same project. LogtailConfigName pulumi.StringOutput `pulumi:"logtailConfigName"` // The machine group name, which is unique in the same project. MachineGroupName pulumi.StringOutput `pulumi:"machineGroupName"` // The project name to the log store belongs. Project pulumi.StringOutput `pulumi:"project"` }
The Logtail access service is a log collection agent provided by Log Service. You can use Logtail to collect logs from servers such as Alibaba Cloud Elastic Compute Service (ECS) instances in real time in the Log Service console. [Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm)
This resource amis to attach one logtail configure to a machine group.
> **NOTE:** One logtail configure can be attached to multiple machine groups and one machine group can attach several logtail configures.
func GetLogTailAttachment ¶
func GetLogTailAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogTailAttachmentState, opts ...pulumi.ResourceOption) (*LogTailAttachment, error)
GetLogTailAttachment gets an existing LogTailAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogTailAttachment ¶
func NewLogTailAttachment(ctx *pulumi.Context, name string, args *LogTailAttachmentArgs, opts ...pulumi.ResourceOption) (*LogTailAttachment, error)
NewLogTailAttachment registers a new resource with the given unique name, arguments, and options.
type LogTailAttachmentArgs ¶
type LogTailAttachmentArgs struct { // The Logtail configuration name, which is unique in the same project. LogtailConfigName pulumi.StringInput // The machine group name, which is unique in the same project. MachineGroupName pulumi.StringInput // The project name to the log store belongs. Project pulumi.StringInput }
The set of arguments for constructing a LogTailAttachment resource.
func (LogTailAttachmentArgs) ElementType ¶
func (LogTailAttachmentArgs) ElementType() reflect.Type
type LogTailAttachmentState ¶
type LogTailAttachmentState struct { // The Logtail configuration name, which is unique in the same project. LogtailConfigName pulumi.StringPtrInput // The machine group name, which is unique in the same project. MachineGroupName pulumi.StringPtrInput // The project name to the log store belongs. Project pulumi.StringPtrInput }
func (LogTailAttachmentState) ElementType ¶
func (LogTailAttachmentState) ElementType() reflect.Type
type LogTailConfig ¶
type LogTailConfig struct { pulumi.CustomResourceState // The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm)) InputDetail pulumi.StringOutput `pulumi:"inputDetail"` // The input type. Currently only two types of files and plugin are supported. InputType pulumi.StringOutput `pulumi:"inputType"` // (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes. LogSample pulumi.StringPtrOutput `pulumi:"logSample"` // The log store name to the query index belongs. Logstore pulumi.StringOutput `pulumi:"logstore"` // The Logtail configuration name, which is unique in the same project. Name pulumi.StringOutput `pulumi:"name"` // The output type. Currently, only LogService is supported. OutputType pulumi.StringOutput `pulumi:"outputType"` // The project name to the log store belongs. Project pulumi.StringOutput `pulumi:"project"` }
func GetLogTailConfig ¶
func GetLogTailConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogTailConfigState, opts ...pulumi.ResourceOption) (*LogTailConfig, error)
GetLogTailConfig gets an existing LogTailConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogTailConfig ¶
func NewLogTailConfig(ctx *pulumi.Context, name string, args *LogTailConfigArgs, opts ...pulumi.ResourceOption) (*LogTailConfig, error)
NewLogTailConfig registers a new resource with the given unique name, arguments, and options.
type LogTailConfigArgs ¶
type LogTailConfigArgs struct { // The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm)) InputDetail pulumi.StringInput // The input type. Currently only two types of files and plugin are supported. InputType pulumi.StringInput // (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes. LogSample pulumi.StringPtrInput // The log store name to the query index belongs. Logstore pulumi.StringInput // The Logtail configuration name, which is unique in the same project. Name pulumi.StringPtrInput // The output type. Currently, only LogService is supported. OutputType pulumi.StringInput // The project name to the log store belongs. Project pulumi.StringInput }
The set of arguments for constructing a LogTailConfig resource.
func (LogTailConfigArgs) ElementType ¶
func (LogTailConfigArgs) ElementType() reflect.Type
type LogTailConfigState ¶
type LogTailConfigState struct { // The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm)) InputDetail pulumi.StringPtrInput // The input type. Currently only two types of files and plugin are supported. InputType pulumi.StringPtrInput // (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes. LogSample pulumi.StringPtrInput // The log store name to the query index belongs. Logstore pulumi.StringPtrInput // The Logtail configuration name, which is unique in the same project. Name pulumi.StringPtrInput // The output type. Currently, only LogService is supported. OutputType pulumi.StringPtrInput // The project name to the log store belongs. Project pulumi.StringPtrInput }
func (LogTailConfigState) ElementType ¶
func (LogTailConfigState) ElementType() reflect.Type
type MachineGroup ¶
type MachineGroup struct { pulumi.CustomResourceState // The specific machine identification, which can be an IP address or user-defined identity. IdentifyLists pulumi.StringArrayOutput `pulumi:"identifyLists"` // The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip". IdentifyType pulumi.StringPtrOutput `pulumi:"identifyType"` // The machine group name, which is unique in the same project. Name pulumi.StringOutput `pulumi:"name"` // The project name to the machine group belongs. Project pulumi.StringOutput `pulumi:"project"` // The topic of a machine group. Topic pulumi.StringPtrOutput `pulumi:"topic"` }
func GetMachineGroup ¶
func GetMachineGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MachineGroupState, opts ...pulumi.ResourceOption) (*MachineGroup, error)
GetMachineGroup gets an existing MachineGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMachineGroup ¶
func NewMachineGroup(ctx *pulumi.Context, name string, args *MachineGroupArgs, opts ...pulumi.ResourceOption) (*MachineGroup, error)
NewMachineGroup registers a new resource with the given unique name, arguments, and options.
type MachineGroupArgs ¶
type MachineGroupArgs struct { // The specific machine identification, which can be an IP address or user-defined identity. IdentifyLists pulumi.StringArrayInput // The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip". IdentifyType pulumi.StringPtrInput // The machine group name, which is unique in the same project. Name pulumi.StringPtrInput // The project name to the machine group belongs. Project pulumi.StringInput // The topic of a machine group. Topic pulumi.StringPtrInput }
The set of arguments for constructing a MachineGroup resource.
func (MachineGroupArgs) ElementType ¶
func (MachineGroupArgs) ElementType() reflect.Type
type MachineGroupState ¶
type MachineGroupState struct { // The specific machine identification, which can be an IP address or user-defined identity. IdentifyLists pulumi.StringArrayInput // The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip". IdentifyType pulumi.StringPtrInput // The machine group name, which is unique in the same project. Name pulumi.StringPtrInput // The project name to the machine group belongs. Project pulumi.StringPtrInput // The topic of a machine group. Topic pulumi.StringPtrInput }
func (MachineGroupState) ElementType ¶
func (MachineGroupState) ElementType() reflect.Type
type Project ¶
type Project struct { pulumi.CustomResourceState // Description of the log project. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the log project. It is the only in one Alicloud account. Name pulumi.StringOutput `pulumi:"name"` }
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
type ProjectArgs ¶
type ProjectArgs struct { // Description of the log project. Description pulumi.StringPtrInput // The name of the log project. It is the only in one Alicloud account. Name pulumi.StringPtrInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectState ¶
type ProjectState struct { // Description of the log project. Description pulumi.StringPtrInput // The name of the log project. It is the only in one Alicloud account. Name pulumi.StringPtrInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Store ¶
type Store struct { pulumi.CustomResourceState // Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true. AppendMeta pulumi.BoolPtrOutput `pulumi:"appendMeta"` // Determines whether to automatically split a shard. Default to true. AutoSplit pulumi.BoolPtrOutput `pulumi:"autoSplit"` // Determines whether to enable Web Tracking. Default false. EnableWebTracking pulumi.BoolPtrOutput `pulumi:"enableWebTracking"` // 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. MaxSplitShardCount pulumi.IntPtrOutput `pulumi:"maxSplitShardCount"` // The log store, which is unique in the same project. Name pulumi.StringOutput `pulumi:"name"` // The project name to the log store belongs. Project pulumi.StringOutput `pulumi:"project"` // 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". RetentionPeriod pulumi.IntPtrOutput `pulumi:"retentionPeriod"` // The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm) ShardCount pulumi.IntPtrOutput `pulumi:"shardCount"` Shards StoreShardArrayOutput `pulumi:"shards"` }
func GetStore ¶
func GetStore(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StoreState, opts ...pulumi.ResourceOption) (*Store, error)
GetStore gets an existing Store resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type StoreArgs ¶
type StoreArgs struct { // Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true. AppendMeta pulumi.BoolPtrInput // Determines whether to automatically split a shard. Default to true. AutoSplit pulumi.BoolPtrInput // Determines whether to enable Web Tracking. Default false. EnableWebTracking pulumi.BoolPtrInput // 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. MaxSplitShardCount pulumi.IntPtrInput // The log store, which is unique in the same project. Name pulumi.StringPtrInput // The project name to the log store belongs. Project pulumi.StringInput // 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". RetentionPeriod pulumi.IntPtrInput // The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm) ShardCount pulumi.IntPtrInput }
The set of arguments for constructing a Store resource.
func (StoreArgs) ElementType ¶
type StoreIndex ¶
type StoreIndex struct { pulumi.CustomResourceState // List configurations of field search index. Valid item as follows: FieldSearches StoreIndexFieldSearchArrayOutput `pulumi:"fieldSearches"` // The configuration of full text index. Valid item as follows: FullText StoreIndexFullTextPtrOutput `pulumi:"fullText"` // The log store name to the query index belongs. Logstore pulumi.StringOutput `pulumi:"logstore"` // The project name to the log store belongs. Project pulumi.StringOutput `pulumi:"project"` }
func GetStoreIndex ¶
func GetStoreIndex(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StoreIndexState, opts ...pulumi.ResourceOption) (*StoreIndex, error)
GetStoreIndex gets an existing StoreIndex resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewStoreIndex ¶
func NewStoreIndex(ctx *pulumi.Context, name string, args *StoreIndexArgs, opts ...pulumi.ResourceOption) (*StoreIndex, error)
NewStoreIndex registers a new resource with the given unique name, arguments, and options.
type StoreIndexArgs ¶
type StoreIndexArgs struct { // List configurations of field search index. Valid item as follows: FieldSearches StoreIndexFieldSearchArrayInput // The configuration of full text index. Valid item as follows: FullText StoreIndexFullTextPtrInput // The log store name to the query index belongs. Logstore pulumi.StringInput // The project name to the log store belongs. Project pulumi.StringInput }
The set of arguments for constructing a StoreIndex resource.
func (StoreIndexArgs) ElementType ¶
func (StoreIndexArgs) ElementType() reflect.Type
type StoreIndexFieldSearch ¶
type StoreIndexFieldSearch struct { // The alias of one field. Alias *string `pulumi:"alias"` // Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json". CaseSensitive *bool `pulumi:"caseSensitive"` // Whether to enable field analytics. Default to true. EnableAnalytics *bool `pulumi:"enableAnalytics"` // Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json". IncludeChinese *bool `pulumi:"includeChinese"` // Use nested index when type is json JsonKeys []StoreIndexFieldSearchJsonKey `pulumi:"jsonKeys"` // When using the jsonKeys field, this field is required. Name string `pulumi:"name"` // The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json". Token *string `pulumi:"token"` // The type of one field. Valid values: ["long", "text", "double"]. Default to "long" Type *string `pulumi:"type"` }
type StoreIndexFieldSearchArgs ¶
type StoreIndexFieldSearchArgs struct { // The alias of one field. Alias pulumi.StringPtrInput `pulumi:"alias"` // Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json". CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"` // Whether to enable field analytics. Default to true. EnableAnalytics pulumi.BoolPtrInput `pulumi:"enableAnalytics"` // Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json". IncludeChinese pulumi.BoolPtrInput `pulumi:"includeChinese"` // Use nested index when type is json JsonKeys StoreIndexFieldSearchJsonKeyArrayInput `pulumi:"jsonKeys"` // When using the jsonKeys field, this field is required. Name pulumi.StringInput `pulumi:"name"` // The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json". Token pulumi.StringPtrInput `pulumi:"token"` // The type of one field. Valid values: ["long", "text", "double"]. Default to "long" Type pulumi.StringPtrInput `pulumi:"type"` }
func (StoreIndexFieldSearchArgs) ElementType ¶
func (StoreIndexFieldSearchArgs) ElementType() reflect.Type
func (StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutput ¶
func (i StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput
func (StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutputWithContext ¶
func (i StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutputWithContext(ctx context.Context) StoreIndexFieldSearchOutput
type StoreIndexFieldSearchArray ¶
type StoreIndexFieldSearchArray []StoreIndexFieldSearchInput
func (StoreIndexFieldSearchArray) ElementType ¶
func (StoreIndexFieldSearchArray) ElementType() reflect.Type
func (StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutput ¶
func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput
func (StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutputWithContext ¶
func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput
type StoreIndexFieldSearchArrayInput ¶
type StoreIndexFieldSearchArrayInput interface { pulumi.Input ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput ToStoreIndexFieldSearchArrayOutputWithContext(context.Context) StoreIndexFieldSearchArrayOutput }
StoreIndexFieldSearchArrayInput is an input type that accepts StoreIndexFieldSearchArray and StoreIndexFieldSearchArrayOutput values. You can construct a concrete instance of `StoreIndexFieldSearchArrayInput` via:
StoreIndexFieldSearchArray{ StoreIndexFieldSearchArgs{...} }
type StoreIndexFieldSearchArrayOutput ¶
type StoreIndexFieldSearchArrayOutput struct{ *pulumi.OutputState }
func (StoreIndexFieldSearchArrayOutput) ElementType ¶
func (StoreIndexFieldSearchArrayOutput) ElementType() reflect.Type
func (StoreIndexFieldSearchArrayOutput) Index ¶
func (o StoreIndexFieldSearchArrayOutput) Index(i pulumi.IntInput) StoreIndexFieldSearchOutput
func (StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutput ¶
func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput
func (StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutputWithContext ¶
func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput
type StoreIndexFieldSearchInput ¶
type StoreIndexFieldSearchInput interface { pulumi.Input ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput ToStoreIndexFieldSearchOutputWithContext(context.Context) StoreIndexFieldSearchOutput }
StoreIndexFieldSearchInput is an input type that accepts StoreIndexFieldSearchArgs and StoreIndexFieldSearchOutput values. You can construct a concrete instance of `StoreIndexFieldSearchInput` via:
StoreIndexFieldSearchArgs{...}
type StoreIndexFieldSearchJsonKey ¶
type StoreIndexFieldSearchJsonKey struct { // The alias of one field. Alias *string `pulumi:"alias"` // Whether to enable statistics. default to true. DocValue *bool `pulumi:"docValue"` // When using the jsonKeys field, this field is required. Name string `pulumi:"name"` // The type of one field. Valid values: ["long", "text", "double"]. Default to "long" Type *string `pulumi:"type"` }
type StoreIndexFieldSearchJsonKeyArgs ¶
type StoreIndexFieldSearchJsonKeyArgs struct { // The alias of one field. Alias pulumi.StringPtrInput `pulumi:"alias"` // Whether to enable statistics. default to true. DocValue pulumi.BoolPtrInput `pulumi:"docValue"` // When using the jsonKeys field, this field is required. Name pulumi.StringInput `pulumi:"name"` // The type of one field. Valid values: ["long", "text", "double"]. Default to "long" Type pulumi.StringPtrInput `pulumi:"type"` }
func (StoreIndexFieldSearchJsonKeyArgs) ElementType ¶
func (StoreIndexFieldSearchJsonKeyArgs) ElementType() reflect.Type
func (StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutput ¶
func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput
func (StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutputWithContext ¶
func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput
type StoreIndexFieldSearchJsonKeyArray ¶
type StoreIndexFieldSearchJsonKeyArray []StoreIndexFieldSearchJsonKeyInput
func (StoreIndexFieldSearchJsonKeyArray) ElementType ¶
func (StoreIndexFieldSearchJsonKeyArray) ElementType() reflect.Type
func (StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutput ¶
func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput
func (StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext ¶
func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput
type StoreIndexFieldSearchJsonKeyArrayInput ¶
type StoreIndexFieldSearchJsonKeyArrayInput interface { pulumi.Input ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(context.Context) StoreIndexFieldSearchJsonKeyArrayOutput }
StoreIndexFieldSearchJsonKeyArrayInput is an input type that accepts StoreIndexFieldSearchJsonKeyArray and StoreIndexFieldSearchJsonKeyArrayOutput values. You can construct a concrete instance of `StoreIndexFieldSearchJsonKeyArrayInput` via:
StoreIndexFieldSearchJsonKeyArray{ StoreIndexFieldSearchJsonKeyArgs{...} }
type StoreIndexFieldSearchJsonKeyArrayOutput ¶
type StoreIndexFieldSearchJsonKeyArrayOutput struct{ *pulumi.OutputState }
func (StoreIndexFieldSearchJsonKeyArrayOutput) ElementType ¶
func (StoreIndexFieldSearchJsonKeyArrayOutput) ElementType() reflect.Type
func (StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutput ¶
func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput
func (StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext ¶
func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput
type StoreIndexFieldSearchJsonKeyInput ¶
type StoreIndexFieldSearchJsonKeyInput interface { pulumi.Input ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput ToStoreIndexFieldSearchJsonKeyOutputWithContext(context.Context) StoreIndexFieldSearchJsonKeyOutput }
StoreIndexFieldSearchJsonKeyInput is an input type that accepts StoreIndexFieldSearchJsonKeyArgs and StoreIndexFieldSearchJsonKeyOutput values. You can construct a concrete instance of `StoreIndexFieldSearchJsonKeyInput` via:
StoreIndexFieldSearchJsonKeyArgs{...}
type StoreIndexFieldSearchJsonKeyOutput ¶
type StoreIndexFieldSearchJsonKeyOutput struct{ *pulumi.OutputState }
func (StoreIndexFieldSearchJsonKeyOutput) Alias ¶
func (o StoreIndexFieldSearchJsonKeyOutput) Alias() pulumi.StringPtrOutput
The alias of one field.
func (StoreIndexFieldSearchJsonKeyOutput) DocValue ¶
func (o StoreIndexFieldSearchJsonKeyOutput) DocValue() pulumi.BoolPtrOutput
Whether to enable statistics. default to true.
func (StoreIndexFieldSearchJsonKeyOutput) ElementType ¶
func (StoreIndexFieldSearchJsonKeyOutput) ElementType() reflect.Type
func (StoreIndexFieldSearchJsonKeyOutput) Name ¶
func (o StoreIndexFieldSearchJsonKeyOutput) Name() pulumi.StringOutput
When using the jsonKeys field, this field is required.
func (StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutput ¶
func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput
func (StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutputWithContext ¶
func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput
func (StoreIndexFieldSearchJsonKeyOutput) Type ¶
func (o StoreIndexFieldSearchJsonKeyOutput) Type() pulumi.StringPtrOutput
The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
type StoreIndexFieldSearchOutput ¶
type StoreIndexFieldSearchOutput struct{ *pulumi.OutputState }
func (StoreIndexFieldSearchOutput) Alias ¶
func (o StoreIndexFieldSearchOutput) Alias() pulumi.StringPtrOutput
The alias of one field.
func (StoreIndexFieldSearchOutput) CaseSensitive ¶
func (o StoreIndexFieldSearchOutput) CaseSensitive() pulumi.BoolPtrOutput
Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFieldSearchOutput) ElementType ¶
func (StoreIndexFieldSearchOutput) ElementType() reflect.Type
func (StoreIndexFieldSearchOutput) EnableAnalytics ¶
func (o StoreIndexFieldSearchOutput) EnableAnalytics() pulumi.BoolPtrOutput
Whether to enable field analytics. Default to true.
func (StoreIndexFieldSearchOutput) IncludeChinese ¶
func (o StoreIndexFieldSearchOutput) IncludeChinese() pulumi.BoolPtrOutput
Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFieldSearchOutput) JsonKeys ¶
func (o StoreIndexFieldSearchOutput) JsonKeys() StoreIndexFieldSearchJsonKeyArrayOutput
Use nested index when type is json
func (StoreIndexFieldSearchOutput) Name ¶
func (o StoreIndexFieldSearchOutput) Name() pulumi.StringOutput
When using the jsonKeys field, this field is required.
func (StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutput ¶
func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput
func (StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutputWithContext ¶
func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutputWithContext(ctx context.Context) StoreIndexFieldSearchOutput
func (StoreIndexFieldSearchOutput) Token ¶
func (o StoreIndexFieldSearchOutput) Token() pulumi.StringPtrOutput
The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
func (StoreIndexFieldSearchOutput) Type ¶
func (o StoreIndexFieldSearchOutput) Type() pulumi.StringPtrOutput
The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
type StoreIndexFullText ¶
type StoreIndexFullText struct { // Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json". CaseSensitive *bool `pulumi:"caseSensitive"` // Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json". IncludeChinese *bool `pulumi:"includeChinese"` // The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json". Token *string `pulumi:"token"` }
type StoreIndexFullTextArgs ¶
type StoreIndexFullTextArgs struct { // Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json". CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"` // Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json". IncludeChinese pulumi.BoolPtrInput `pulumi:"includeChinese"` // The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json". Token pulumi.StringPtrInput `pulumi:"token"` }
func (StoreIndexFullTextArgs) ElementType ¶
func (StoreIndexFullTextArgs) ElementType() reflect.Type
func (StoreIndexFullTextArgs) ToStoreIndexFullTextOutput ¶
func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput
func (StoreIndexFullTextArgs) ToStoreIndexFullTextOutputWithContext ¶
func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput
func (StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutput ¶
func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
func (StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutputWithContext ¶
func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
type StoreIndexFullTextInput ¶
type StoreIndexFullTextInput interface { pulumi.Input ToStoreIndexFullTextOutput() StoreIndexFullTextOutput ToStoreIndexFullTextOutputWithContext(context.Context) StoreIndexFullTextOutput }
StoreIndexFullTextInput is an input type that accepts StoreIndexFullTextArgs and StoreIndexFullTextOutput values. You can construct a concrete instance of `StoreIndexFullTextInput` via:
StoreIndexFullTextArgs{...}
type StoreIndexFullTextOutput ¶
type StoreIndexFullTextOutput struct{ *pulumi.OutputState }
func (StoreIndexFullTextOutput) CaseSensitive ¶
func (o StoreIndexFullTextOutput) CaseSensitive() pulumi.BoolPtrOutput
Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFullTextOutput) ElementType ¶
func (StoreIndexFullTextOutput) ElementType() reflect.Type
func (StoreIndexFullTextOutput) IncludeChinese ¶
func (o StoreIndexFullTextOutput) IncludeChinese() pulumi.BoolPtrOutput
Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFullTextOutput) ToStoreIndexFullTextOutput ¶
func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput
func (StoreIndexFullTextOutput) ToStoreIndexFullTextOutputWithContext ¶
func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput
func (StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutput ¶
func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
func (StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutputWithContext ¶
func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
func (StoreIndexFullTextOutput) Token ¶
func (o StoreIndexFullTextOutput) Token() pulumi.StringPtrOutput
The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
type StoreIndexFullTextPtrInput ¶
type StoreIndexFullTextPtrInput interface { pulumi.Input ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput ToStoreIndexFullTextPtrOutputWithContext(context.Context) StoreIndexFullTextPtrOutput }
StoreIndexFullTextPtrInput is an input type that accepts StoreIndexFullTextArgs, StoreIndexFullTextPtr and StoreIndexFullTextPtrOutput values. You can construct a concrete instance of `StoreIndexFullTextPtrInput` via:
StoreIndexFullTextArgs{...} or: nil
func StoreIndexFullTextPtr ¶
func StoreIndexFullTextPtr(v *StoreIndexFullTextArgs) StoreIndexFullTextPtrInput
type StoreIndexFullTextPtrOutput ¶
type StoreIndexFullTextPtrOutput struct{ *pulumi.OutputState }
func (StoreIndexFullTextPtrOutput) CaseSensitive ¶
func (o StoreIndexFullTextPtrOutput) CaseSensitive() pulumi.BoolPtrOutput
Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFullTextPtrOutput) Elem ¶
func (o StoreIndexFullTextPtrOutput) Elem() StoreIndexFullTextOutput
func (StoreIndexFullTextPtrOutput) ElementType ¶
func (StoreIndexFullTextPtrOutput) ElementType() reflect.Type
func (StoreIndexFullTextPtrOutput) IncludeChinese ¶
func (o StoreIndexFullTextPtrOutput) IncludeChinese() pulumi.BoolPtrOutput
Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
func (StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutput ¶
func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
func (StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutputWithContext ¶
func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput
func (StoreIndexFullTextPtrOutput) Token ¶
func (o StoreIndexFullTextPtrOutput) Token() pulumi.StringPtrOutput
The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
type StoreIndexState ¶
type StoreIndexState struct { // List configurations of field search index. Valid item as follows: FieldSearches StoreIndexFieldSearchArrayInput // The configuration of full text index. Valid item as follows: FullText StoreIndexFullTextPtrInput // The log store name to the query index belongs. Logstore pulumi.StringPtrInput // The project name to the log store belongs. Project pulumi.StringPtrInput }
func (StoreIndexState) ElementType ¶
func (StoreIndexState) ElementType() reflect.Type
type StoreShard ¶
type StoreShardArgs ¶
type StoreShardArgs struct { BeginKey pulumi.StringPtrInput `pulumi:"beginKey"` EndKey pulumi.StringPtrInput `pulumi:"endKey"` // The ID of the log project. It formats of `<project>:<name>`. Id pulumi.IntPtrInput `pulumi:"id"` Status pulumi.StringPtrInput `pulumi:"status"` }
func (StoreShardArgs) ElementType ¶
func (StoreShardArgs) ElementType() reflect.Type
func (StoreShardArgs) ToStoreShardOutput ¶
func (i StoreShardArgs) ToStoreShardOutput() StoreShardOutput
func (StoreShardArgs) ToStoreShardOutputWithContext ¶
func (i StoreShardArgs) ToStoreShardOutputWithContext(ctx context.Context) StoreShardOutput
type StoreShardArray ¶
type StoreShardArray []StoreShardInput
func (StoreShardArray) ElementType ¶
func (StoreShardArray) ElementType() reflect.Type
func (StoreShardArray) ToStoreShardArrayOutput ¶
func (i StoreShardArray) ToStoreShardArrayOutput() StoreShardArrayOutput
func (StoreShardArray) ToStoreShardArrayOutputWithContext ¶
func (i StoreShardArray) ToStoreShardArrayOutputWithContext(ctx context.Context) StoreShardArrayOutput
type StoreShardArrayInput ¶
type StoreShardArrayInput interface { pulumi.Input ToStoreShardArrayOutput() StoreShardArrayOutput ToStoreShardArrayOutputWithContext(context.Context) StoreShardArrayOutput }
StoreShardArrayInput is an input type that accepts StoreShardArray and StoreShardArrayOutput values. You can construct a concrete instance of `StoreShardArrayInput` via:
StoreShardArray{ StoreShardArgs{...} }
type StoreShardArrayOutput ¶
type StoreShardArrayOutput struct{ *pulumi.OutputState }
func (StoreShardArrayOutput) ElementType ¶
func (StoreShardArrayOutput) ElementType() reflect.Type
func (StoreShardArrayOutput) Index ¶
func (o StoreShardArrayOutput) Index(i pulumi.IntInput) StoreShardOutput
func (StoreShardArrayOutput) ToStoreShardArrayOutput ¶
func (o StoreShardArrayOutput) ToStoreShardArrayOutput() StoreShardArrayOutput
func (StoreShardArrayOutput) ToStoreShardArrayOutputWithContext ¶
func (o StoreShardArrayOutput) ToStoreShardArrayOutputWithContext(ctx context.Context) StoreShardArrayOutput
type StoreShardInput ¶
type StoreShardInput interface { pulumi.Input ToStoreShardOutput() StoreShardOutput ToStoreShardOutputWithContext(context.Context) StoreShardOutput }
StoreShardInput is an input type that accepts StoreShardArgs and StoreShardOutput values. You can construct a concrete instance of `StoreShardInput` via:
StoreShardArgs{...}
type StoreShardOutput ¶
type StoreShardOutput struct{ *pulumi.OutputState }
func (StoreShardOutput) BeginKey ¶
func (o StoreShardOutput) BeginKey() pulumi.StringPtrOutput
func (StoreShardOutput) ElementType ¶
func (StoreShardOutput) ElementType() reflect.Type
func (StoreShardOutput) EndKey ¶
func (o StoreShardOutput) EndKey() pulumi.StringPtrOutput
func (StoreShardOutput) Id ¶
func (o StoreShardOutput) Id() pulumi.IntPtrOutput
The ID of the log project. It formats of `<project>:<name>`.
func (StoreShardOutput) Status ¶
func (o StoreShardOutput) Status() pulumi.StringPtrOutput
func (StoreShardOutput) ToStoreShardOutput ¶
func (o StoreShardOutput) ToStoreShardOutput() StoreShardOutput
func (StoreShardOutput) ToStoreShardOutputWithContext ¶
func (o StoreShardOutput) ToStoreShardOutputWithContext(ctx context.Context) StoreShardOutput
type StoreState ¶
type StoreState struct { // Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true. AppendMeta pulumi.BoolPtrInput // Determines whether to automatically split a shard. Default to true. AutoSplit pulumi.BoolPtrInput // Determines whether to enable Web Tracking. Default false. EnableWebTracking pulumi.BoolPtrInput // 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. MaxSplitShardCount pulumi.IntPtrInput // The log store, which is unique in the same project. Name pulumi.StringPtrInput // The project name to the log store belongs. Project pulumi.StringPtrInput // 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". RetentionPeriod pulumi.IntPtrInput // The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm) ShardCount pulumi.IntPtrInput Shards StoreShardArrayInput }
func (StoreState) ElementType ¶
func (StoreState) ElementType() reflect.Type