Documentation
¶
Index ¶
- type Alert
- type AlertArgs
- type AlertArray
- type AlertArrayInput
- type AlertArrayOutput
- type AlertInput
- type AlertMap
- type AlertMapInput
- type AlertMapOutput
- 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 AlertOutput
- func (AlertOutput) ElementType() reflect.Type
- func (o AlertOutput) ToAlertOutput() AlertOutput
- func (o AlertOutput) ToAlertOutputWithContext(ctx context.Context) AlertOutput
- func (o AlertOutput) ToAlertPtrOutput() AlertPtrOutput
- func (o AlertOutput) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput
- type AlertPtrInput
- type AlertPtrOutput
- 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 AuditArray
- type AuditArrayInput
- type AuditArrayOutput
- type AuditInput
- type AuditMap
- type AuditMapInput
- type AuditMapOutput
- type AuditOutput
- func (AuditOutput) ElementType() reflect.Type
- func (o AuditOutput) ToAuditOutput() AuditOutput
- func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
- func (o AuditOutput) ToAuditPtrOutput() AuditPtrOutput
- func (o AuditOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
- type AuditPtrInput
- type AuditPtrOutput
- type AuditState
- type Dashboard
- func (*Dashboard) ElementType() reflect.Type
- func (i *Dashboard) ToDashboardOutput() DashboardOutput
- func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
- func (i *Dashboard) ToDashboardPtrOutput() DashboardPtrOutput
- func (i *Dashboard) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
- type DashboardArgs
- type DashboardArray
- type DashboardArrayInput
- type DashboardArrayOutput
- func (DashboardArrayOutput) ElementType() reflect.Type
- func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
- type DashboardInput
- type DashboardMap
- type DashboardMapInput
- type DashboardMapOutput
- type DashboardOutput
- func (DashboardOutput) ElementType() reflect.Type
- func (o DashboardOutput) ToDashboardOutput() DashboardOutput
- func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
- func (o DashboardOutput) ToDashboardPtrOutput() DashboardPtrOutput
- func (o DashboardOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
- type DashboardPtrInput
- type DashboardPtrOutput
- type DashboardState
- type Etl
- type EtlArgs
- type EtlArray
- type EtlArrayInput
- type EtlArrayOutput
- type EtlEtlSink
- type EtlEtlSinkArgs
- type EtlEtlSinkArray
- type EtlEtlSinkArrayInput
- type EtlEtlSinkArrayOutput
- func (EtlEtlSinkArrayOutput) ElementType() reflect.Type
- func (o EtlEtlSinkArrayOutput) Index(i pulumi.IntInput) EtlEtlSinkOutput
- func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput
- func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutputWithContext(ctx context.Context) EtlEtlSinkArrayOutput
- type EtlEtlSinkInput
- type EtlEtlSinkOutput
- func (o EtlEtlSinkOutput) AccessKeyId() pulumi.StringPtrOutput
- func (o EtlEtlSinkOutput) AccessKeySecret() pulumi.StringPtrOutput
- func (EtlEtlSinkOutput) ElementType() reflect.Type
- func (o EtlEtlSinkOutput) Endpoint() pulumi.StringOutput
- func (o EtlEtlSinkOutput) KmsEncryptedAccessKeyId() pulumi.StringPtrOutput
- func (o EtlEtlSinkOutput) KmsEncryptedAccessKeySecret() pulumi.StringPtrOutput
- func (o EtlEtlSinkOutput) Logstore() pulumi.StringOutput
- func (o EtlEtlSinkOutput) Name() pulumi.StringOutput
- func (o EtlEtlSinkOutput) Project() pulumi.StringOutput
- func (o EtlEtlSinkOutput) RoleArn() pulumi.StringPtrOutput
- func (o EtlEtlSinkOutput) ToEtlEtlSinkOutput() EtlEtlSinkOutput
- func (o EtlEtlSinkOutput) ToEtlEtlSinkOutputWithContext(ctx context.Context) EtlEtlSinkOutput
- func (o EtlEtlSinkOutput) Type() pulumi.StringPtrOutput
- type EtlInput
- type EtlMap
- type EtlMapInput
- type EtlMapOutput
- type EtlOutput
- type EtlPtrInput
- type EtlPtrOutput
- type EtlState
- type GetServiceArgs
- type GetServiceResult
- type LogTailAttachment
- func (*LogTailAttachment) ElementType() reflect.Type
- func (i *LogTailAttachment) ToLogTailAttachmentOutput() LogTailAttachmentOutput
- func (i *LogTailAttachment) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput
- func (i *LogTailAttachment) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
- func (i *LogTailAttachment) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
- type LogTailAttachmentArgs
- type LogTailAttachmentArray
- type LogTailAttachmentArrayInput
- type LogTailAttachmentArrayOutput
- func (LogTailAttachmentArrayOutput) ElementType() reflect.Type
- func (o LogTailAttachmentArrayOutput) Index(i pulumi.IntInput) LogTailAttachmentOutput
- func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput
- func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutputWithContext(ctx context.Context) LogTailAttachmentArrayOutput
- type LogTailAttachmentInput
- type LogTailAttachmentMap
- type LogTailAttachmentMapInput
- type LogTailAttachmentMapOutput
- func (LogTailAttachmentMapOutput) ElementType() reflect.Type
- func (o LogTailAttachmentMapOutput) MapIndex(k pulumi.StringInput) LogTailAttachmentOutput
- func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput
- func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutputWithContext(ctx context.Context) LogTailAttachmentMapOutput
- type LogTailAttachmentOutput
- func (LogTailAttachmentOutput) ElementType() reflect.Type
- func (o LogTailAttachmentOutput) ToLogTailAttachmentOutput() LogTailAttachmentOutput
- func (o LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput
- func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
- func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
- type LogTailAttachmentPtrInput
- type LogTailAttachmentPtrOutput
- type LogTailAttachmentState
- type LogTailConfig
- func (*LogTailConfig) ElementType() reflect.Type
- func (i *LogTailConfig) ToLogTailConfigOutput() LogTailConfigOutput
- func (i *LogTailConfig) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput
- func (i *LogTailConfig) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
- func (i *LogTailConfig) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
- type LogTailConfigArgs
- type LogTailConfigArray
- type LogTailConfigArrayInput
- type LogTailConfigArrayOutput
- func (LogTailConfigArrayOutput) ElementType() reflect.Type
- func (o LogTailConfigArrayOutput) Index(i pulumi.IntInput) LogTailConfigOutput
- func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutput() LogTailConfigArrayOutput
- func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutputWithContext(ctx context.Context) LogTailConfigArrayOutput
- type LogTailConfigInput
- type LogTailConfigMap
- type LogTailConfigMapInput
- type LogTailConfigMapOutput
- func (LogTailConfigMapOutput) ElementType() reflect.Type
- func (o LogTailConfigMapOutput) MapIndex(k pulumi.StringInput) LogTailConfigOutput
- func (o LogTailConfigMapOutput) ToLogTailConfigMapOutput() LogTailConfigMapOutput
- func (o LogTailConfigMapOutput) ToLogTailConfigMapOutputWithContext(ctx context.Context) LogTailConfigMapOutput
- type LogTailConfigOutput
- func (LogTailConfigOutput) ElementType() reflect.Type
- func (o LogTailConfigOutput) ToLogTailConfigOutput() LogTailConfigOutput
- func (o LogTailConfigOutput) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput
- func (o LogTailConfigOutput) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
- func (o LogTailConfigOutput) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
- type LogTailConfigPtrInput
- type LogTailConfigPtrOutput
- type LogTailConfigState
- type MachineGroup
- func (*MachineGroup) ElementType() reflect.Type
- func (i *MachineGroup) ToMachineGroupOutput() MachineGroupOutput
- func (i *MachineGroup) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput
- func (i *MachineGroup) ToMachineGroupPtrOutput() MachineGroupPtrOutput
- func (i *MachineGroup) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
- type MachineGroupArgs
- type MachineGroupArray
- type MachineGroupArrayInput
- type MachineGroupArrayOutput
- func (MachineGroupArrayOutput) ElementType() reflect.Type
- func (o MachineGroupArrayOutput) Index(i pulumi.IntInput) MachineGroupOutput
- func (o MachineGroupArrayOutput) ToMachineGroupArrayOutput() MachineGroupArrayOutput
- func (o MachineGroupArrayOutput) ToMachineGroupArrayOutputWithContext(ctx context.Context) MachineGroupArrayOutput
- type MachineGroupInput
- type MachineGroupMap
- type MachineGroupMapInput
- type MachineGroupMapOutput
- func (MachineGroupMapOutput) ElementType() reflect.Type
- func (o MachineGroupMapOutput) MapIndex(k pulumi.StringInput) MachineGroupOutput
- func (o MachineGroupMapOutput) ToMachineGroupMapOutput() MachineGroupMapOutput
- func (o MachineGroupMapOutput) ToMachineGroupMapOutputWithContext(ctx context.Context) MachineGroupMapOutput
- type MachineGroupOutput
- func (MachineGroupOutput) ElementType() reflect.Type
- func (o MachineGroupOutput) ToMachineGroupOutput() MachineGroupOutput
- func (o MachineGroupOutput) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput
- func (o MachineGroupOutput) ToMachineGroupPtrOutput() MachineGroupPtrOutput
- func (o MachineGroupOutput) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
- type MachineGroupPtrInput
- type MachineGroupPtrOutput
- type MachineGroupState
- type OssShipper
- func (*OssShipper) ElementType() reflect.Type
- func (i *OssShipper) ToOssShipperOutput() OssShipperOutput
- func (i *OssShipper) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput
- func (i *OssShipper) ToOssShipperPtrOutput() OssShipperPtrOutput
- func (i *OssShipper) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
- type OssShipperArgs
- type OssShipperArray
- type OssShipperArrayInput
- type OssShipperArrayOutput
- func (OssShipperArrayOutput) ElementType() reflect.Type
- func (o OssShipperArrayOutput) Index(i pulumi.IntInput) OssShipperOutput
- func (o OssShipperArrayOutput) ToOssShipperArrayOutput() OssShipperArrayOutput
- func (o OssShipperArrayOutput) ToOssShipperArrayOutputWithContext(ctx context.Context) OssShipperArrayOutput
- type OssShipperInput
- type OssShipperMap
- type OssShipperMapInput
- type OssShipperMapOutput
- func (OssShipperMapOutput) ElementType() reflect.Type
- func (o OssShipperMapOutput) MapIndex(k pulumi.StringInput) OssShipperOutput
- func (o OssShipperMapOutput) ToOssShipperMapOutput() OssShipperMapOutput
- func (o OssShipperMapOutput) ToOssShipperMapOutputWithContext(ctx context.Context) OssShipperMapOutput
- type OssShipperOutput
- func (OssShipperOutput) ElementType() reflect.Type
- func (o OssShipperOutput) ToOssShipperOutput() OssShipperOutput
- func (o OssShipperOutput) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput
- func (o OssShipperOutput) ToOssShipperPtrOutput() OssShipperPtrOutput
- func (o OssShipperOutput) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
- type OssShipperParquetConfig
- type OssShipperParquetConfigArgs
- type OssShipperParquetConfigArray
- func (OssShipperParquetConfigArray) ElementType() reflect.Type
- func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput
- func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput
- type OssShipperParquetConfigArrayInput
- type OssShipperParquetConfigArrayOutput
- func (OssShipperParquetConfigArrayOutput) ElementType() reflect.Type
- func (o OssShipperParquetConfigArrayOutput) Index(i pulumi.IntInput) OssShipperParquetConfigOutput
- func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput
- func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput
- type OssShipperParquetConfigInput
- type OssShipperParquetConfigOutput
- func (OssShipperParquetConfigOutput) ElementType() reflect.Type
- func (o OssShipperParquetConfigOutput) Name() pulumi.StringOutput
- func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput
- func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutputWithContext(ctx context.Context) OssShipperParquetConfigOutput
- func (o OssShipperParquetConfigOutput) Type() pulumi.StringOutput
- type OssShipperPtrInput
- type OssShipperPtrOutput
- type OssShipperState
- type Project
- func (*Project) ElementType() reflect.Type
- func (i *Project) ToProjectOutput() ProjectOutput
- func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
- func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
- func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectPtrInput
- type ProjectPtrOutput
- type ProjectState
- type Store
- type StoreArgs
- type StoreArray
- type StoreArrayInput
- type StoreArrayOutput
- type StoreIndex
- func (*StoreIndex) ElementType() reflect.Type
- func (i *StoreIndex) ToStoreIndexOutput() StoreIndexOutput
- func (i *StoreIndex) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput
- func (i *StoreIndex) ToStoreIndexPtrOutput() StoreIndexPtrOutput
- func (i *StoreIndex) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
- type StoreIndexArgs
- type StoreIndexArray
- type StoreIndexArrayInput
- type StoreIndexArrayOutput
- func (StoreIndexArrayOutput) ElementType() reflect.Type
- func (o StoreIndexArrayOutput) Index(i pulumi.IntInput) StoreIndexOutput
- func (o StoreIndexArrayOutput) ToStoreIndexArrayOutput() StoreIndexArrayOutput
- func (o StoreIndexArrayOutput) ToStoreIndexArrayOutputWithContext(ctx context.Context) StoreIndexArrayOutput
- 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 StoreIndexInput
- type StoreIndexMap
- type StoreIndexMapInput
- type StoreIndexMapOutput
- func (StoreIndexMapOutput) ElementType() reflect.Type
- func (o StoreIndexMapOutput) MapIndex(k pulumi.StringInput) StoreIndexOutput
- func (o StoreIndexMapOutput) ToStoreIndexMapOutput() StoreIndexMapOutput
- func (o StoreIndexMapOutput) ToStoreIndexMapOutputWithContext(ctx context.Context) StoreIndexMapOutput
- type StoreIndexOutput
- func (StoreIndexOutput) ElementType() reflect.Type
- func (o StoreIndexOutput) ToStoreIndexOutput() StoreIndexOutput
- func (o StoreIndexOutput) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput
- func (o StoreIndexOutput) ToStoreIndexPtrOutput() StoreIndexPtrOutput
- func (o StoreIndexOutput) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
- type StoreIndexPtrInput
- type StoreIndexPtrOutput
- type StoreIndexState
- type StoreInput
- type StoreMap
- type StoreMapInput
- type StoreMapOutput
- type StoreOutput
- func (StoreOutput) ElementType() reflect.Type
- func (o StoreOutput) ToStoreOutput() StoreOutput
- func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput
- func (o StoreOutput) ToStorePtrOutput() StorePtrOutput
- func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
- type StorePtrInput
- type StorePtrOutput
- 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
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{ Description: pulumi.String("create by terraform"), }) if err != nil { return err } _, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{ Project: exampleProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } _, err = log.NewAlert(ctx, "exampleAlert", &log.AlertArgs{ ProjectName: exampleProject.Name, AlertName: pulumi.String("tf-test-alert"), AlertDisplayname: pulumi.String("tf-test-alert-displayname"), Condition: pulumi.String("count> 100"), Dashboard: pulumi.String("tf-test-dashboard"), QueryLists: log.AlertQueryListArray{ &log.AlertQueryListArgs{ Logstore: pulumi.String("tf-test-logstore"), ChartTitle: pulumi.String("chart_title"), Start: pulumi.String("-60s"), End: pulumi.String("20s"), Query: pulumi.String("* AND aliyun"), }, }, NotificationLists: log.AlertNotificationListArray{ &log.AlertNotificationListArgs{ Type: pulumi.String("SMS"), MobileLists: pulumi.StringArray{ pulumi.String("12345678"), pulumi.String("87654321"), }, Content: pulumi.String("alert content"), }, &log.AlertNotificationListArgs{ Type: pulumi.String("Email"), EmailLists: pulumi.StringArray{ pulumi.String("aliyun@alibaba-inc.com"), pulumi.String("tf-test@123.com"), }, Content: pulumi.String("alert content"), }, &log.AlertNotificationListArgs{ Type: pulumi.String("DingTalk"), ServiceUri: pulumi.String("www.aliyun.com"), Content: pulumi.String("alert content"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Log alert can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/alert:Alert example tf-log:tf-log-alert
```
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).
func NewAlert ¶
func NewAlert(ctx *pulumi.Context, name string, args *AlertArgs, opts ...pulumi.ResourceOption) (*Alert, error)
NewAlert registers a new resource with the given unique name, arguments, and options.
func (*Alert) ElementType ¶ added in v2.25.1
func (*Alert) ToAlertOutput ¶ added in v2.25.1
func (i *Alert) ToAlertOutput() AlertOutput
func (*Alert) ToAlertOutputWithContext ¶ added in v2.25.1
func (i *Alert) ToAlertOutputWithContext(ctx context.Context) AlertOutput
func (*Alert) ToAlertPtrOutput ¶ added in v2.35.1
func (i *Alert) ToAlertPtrOutput() AlertPtrOutput
func (*Alert) ToAlertPtrOutputWithContext ¶ added in v2.35.1
func (i *Alert) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput
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 AlertArray ¶ added in v2.35.1
type AlertArray []AlertInput
func (AlertArray) ElementType ¶ added in v2.35.1
func (AlertArray) ElementType() reflect.Type
func (AlertArray) ToAlertArrayOutput ¶ added in v2.35.1
func (i AlertArray) ToAlertArrayOutput() AlertArrayOutput
func (AlertArray) ToAlertArrayOutputWithContext ¶ added in v2.35.1
func (i AlertArray) ToAlertArrayOutputWithContext(ctx context.Context) AlertArrayOutput
type AlertArrayInput ¶ added in v2.35.1
type AlertArrayInput interface { pulumi.Input ToAlertArrayOutput() AlertArrayOutput ToAlertArrayOutputWithContext(context.Context) AlertArrayOutput }
AlertArrayInput is an input type that accepts AlertArray and AlertArrayOutput values. You can construct a concrete instance of `AlertArrayInput` via:
AlertArray{ AlertArgs{...} }
type AlertArrayOutput ¶ added in v2.35.1
type AlertArrayOutput struct{ *pulumi.OutputState }
func (AlertArrayOutput) ElementType ¶ added in v2.35.1
func (AlertArrayOutput) ElementType() reflect.Type
func (AlertArrayOutput) Index ¶ added in v2.35.1
func (o AlertArrayOutput) Index(i pulumi.IntInput) AlertOutput
func (AlertArrayOutput) ToAlertArrayOutput ¶ added in v2.35.1
func (o AlertArrayOutput) ToAlertArrayOutput() AlertArrayOutput
func (AlertArrayOutput) ToAlertArrayOutputWithContext ¶ added in v2.35.1
func (o AlertArrayOutput) ToAlertArrayOutputWithContext(ctx context.Context) AlertArrayOutput
type AlertInput ¶ added in v2.25.1
type AlertInput interface { pulumi.Input ToAlertOutput() AlertOutput ToAlertOutputWithContext(ctx context.Context) AlertOutput }
type AlertMap ¶ added in v2.35.1
type AlertMap map[string]AlertInput
func (AlertMap) ElementType ¶ added in v2.35.1
func (AlertMap) ToAlertMapOutput ¶ added in v2.35.1
func (i AlertMap) ToAlertMapOutput() AlertMapOutput
func (AlertMap) ToAlertMapOutputWithContext ¶ added in v2.35.1
func (i AlertMap) ToAlertMapOutputWithContext(ctx context.Context) AlertMapOutput
type AlertMapInput ¶ added in v2.35.1
type AlertMapInput interface { pulumi.Input ToAlertMapOutput() AlertMapOutput ToAlertMapOutputWithContext(context.Context) AlertMapOutput }
AlertMapInput is an input type that accepts AlertMap and AlertMapOutput values. You can construct a concrete instance of `AlertMapInput` via:
AlertMap{ "key": AlertArgs{...} }
type AlertMapOutput ¶ added in v2.35.1
type AlertMapOutput struct{ *pulumi.OutputState }
func (AlertMapOutput) ElementType ¶ added in v2.35.1
func (AlertMapOutput) ElementType() reflect.Type
func (AlertMapOutput) MapIndex ¶ added in v2.35.1
func (o AlertMapOutput) MapIndex(k pulumi.StringInput) AlertOutput
func (AlertMapOutput) ToAlertMapOutput ¶ added in v2.35.1
func (o AlertMapOutput) ToAlertMapOutput() AlertMapOutput
func (AlertMapOutput) ToAlertMapOutputWithContext ¶ added in v2.35.1
func (o AlertMapOutput) ToAlertMapOutputWithContext(ctx context.Context) AlertMapOutput
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, MessageCenter. 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, MessageCenter. 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, MessageCenter.
type AlertOutput ¶ added in v2.25.1
type AlertOutput struct {
*pulumi.OutputState
}
func (AlertOutput) ElementType ¶ added in v2.25.1
func (AlertOutput) ElementType() reflect.Type
func (AlertOutput) ToAlertOutput ¶ added in v2.25.1
func (o AlertOutput) ToAlertOutput() AlertOutput
func (AlertOutput) ToAlertOutputWithContext ¶ added in v2.25.1
func (o AlertOutput) ToAlertOutputWithContext(ctx context.Context) AlertOutput
func (AlertOutput) ToAlertPtrOutput ¶ added in v2.35.1
func (o AlertOutput) ToAlertPtrOutput() AlertPtrOutput
func (AlertOutput) ToAlertPtrOutputWithContext ¶ added in v2.35.1
func (o AlertOutput) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput
type AlertPtrInput ¶ added in v2.35.1
type AlertPtrInput interface { pulumi.Input ToAlertPtrOutput() AlertPtrOutput ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput }
type AlertPtrOutput ¶ added in v2.35.1
type AlertPtrOutput struct {
*pulumi.OutputState
}
func (AlertPtrOutput) ElementType ¶ added in v2.35.1
func (AlertPtrOutput) ElementType() reflect.Type
func (AlertPtrOutput) ToAlertPtrOutput ¶ added in v2.35.1
func (o AlertPtrOutput) ToAlertPtrOutput() AlertPtrOutput
func (AlertPtrOutput) ToAlertPtrOutputWithContext ¶ added in v2.35.1
func (o AlertPtrOutput) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput
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
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := log.NewAudit(ctx, "example", &log.AuditArgs{ Aliuid: pulumi.String("12345678"), DisplayName: pulumi.String("tf-audit-test"), VariableMap: pulumi.StringMap{ "actiontrail_enabled": pulumi.String("true"), "actiontrail_ttl": pulumi.String("180"), "oss_access_enabled": pulumi.String("true"), "oss_access_ttl": pulumi.String("180"), }, }) if err != nil { return err } return nil }) }
``` Multiple accounts Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := log.NewAudit(ctx, "example", &log.AuditArgs{ Aliuid: pulumi.String("12345678"), DisplayName: pulumi.String("tf-audit-test"), MultiAccounts: pulumi.StringArray{ pulumi.String("123456789123"), pulumi.String("12345678912300123"), }, VariableMap: pulumi.StringMap{ "actiontrail_enabled": pulumi.String("true"), "actiontrail_ttl": pulumi.String("180"), "oss_access_enabled": pulumi.String("true"), "oss_access_ttl": pulumi.String("180"), }, }) if err != nil { return err } return nil }) }
```
## Import
Log alert can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/audit:Audit example tf-audit-test
```
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).
func NewAudit ¶ added in v2.3.3
func NewAudit(ctx *pulumi.Context, name string, args *AuditArgs, opts ...pulumi.ResourceOption) (*Audit, error)
NewAudit registers a new resource with the given unique name, arguments, and options.
func (*Audit) ElementType ¶ added in v2.25.1
func (*Audit) ToAuditOutput ¶ added in v2.25.1
func (i *Audit) ToAuditOutput() AuditOutput
func (*Audit) ToAuditOutputWithContext ¶ added in v2.25.1
func (i *Audit) ToAuditOutputWithContext(ctx context.Context) AuditOutput
func (*Audit) ToAuditPtrOutput ¶ added in v2.35.1
func (i *Audit) ToAuditPtrOutput() AuditPtrOutput
func (*Audit) ToAuditPtrOutputWithContext ¶ added in v2.35.1
func (i *Audit) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
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 AuditArray ¶ added in v2.35.1
type AuditArray []AuditInput
func (AuditArray) ElementType ¶ added in v2.35.1
func (AuditArray) ElementType() reflect.Type
func (AuditArray) ToAuditArrayOutput ¶ added in v2.35.1
func (i AuditArray) ToAuditArrayOutput() AuditArrayOutput
func (AuditArray) ToAuditArrayOutputWithContext ¶ added in v2.35.1
func (i AuditArray) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditArrayInput ¶ added in v2.35.1
type AuditArrayInput interface { pulumi.Input ToAuditArrayOutput() AuditArrayOutput ToAuditArrayOutputWithContext(context.Context) AuditArrayOutput }
AuditArrayInput is an input type that accepts AuditArray and AuditArrayOutput values. You can construct a concrete instance of `AuditArrayInput` via:
AuditArray{ AuditArgs{...} }
type AuditArrayOutput ¶ added in v2.35.1
type AuditArrayOutput struct{ *pulumi.OutputState }
func (AuditArrayOutput) ElementType ¶ added in v2.35.1
func (AuditArrayOutput) ElementType() reflect.Type
func (AuditArrayOutput) Index ¶ added in v2.35.1
func (o AuditArrayOutput) Index(i pulumi.IntInput) AuditOutput
func (AuditArrayOutput) ToAuditArrayOutput ¶ added in v2.35.1
func (o AuditArrayOutput) ToAuditArrayOutput() AuditArrayOutput
func (AuditArrayOutput) ToAuditArrayOutputWithContext ¶ added in v2.35.1
func (o AuditArrayOutput) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditInput ¶ added in v2.25.1
type AuditInput interface { pulumi.Input ToAuditOutput() AuditOutput ToAuditOutputWithContext(ctx context.Context) AuditOutput }
type AuditMap ¶ added in v2.35.1
type AuditMap map[string]AuditInput
func (AuditMap) ElementType ¶ added in v2.35.1
func (AuditMap) ToAuditMapOutput ¶ added in v2.35.1
func (i AuditMap) ToAuditMapOutput() AuditMapOutput
func (AuditMap) ToAuditMapOutputWithContext ¶ added in v2.35.1
func (i AuditMap) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditMapInput ¶ added in v2.35.1
type AuditMapInput interface { pulumi.Input ToAuditMapOutput() AuditMapOutput ToAuditMapOutputWithContext(context.Context) AuditMapOutput }
AuditMapInput is an input type that accepts AuditMap and AuditMapOutput values. You can construct a concrete instance of `AuditMapInput` via:
AuditMap{ "key": AuditArgs{...} }
type AuditMapOutput ¶ added in v2.35.1
type AuditMapOutput struct{ *pulumi.OutputState }
func (AuditMapOutput) ElementType ¶ added in v2.35.1
func (AuditMapOutput) ElementType() reflect.Type
func (AuditMapOutput) MapIndex ¶ added in v2.35.1
func (o AuditMapOutput) MapIndex(k pulumi.StringInput) AuditOutput
func (AuditMapOutput) ToAuditMapOutput ¶ added in v2.35.1
func (o AuditMapOutput) ToAuditMapOutput() AuditMapOutput
func (AuditMapOutput) ToAuditMapOutputWithContext ¶ added in v2.35.1
func (o AuditMapOutput) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditOutput ¶ added in v2.25.1
type AuditOutput struct {
*pulumi.OutputState
}
func (AuditOutput) ElementType ¶ added in v2.25.1
func (AuditOutput) ElementType() reflect.Type
func (AuditOutput) ToAuditOutput ¶ added in v2.25.1
func (o AuditOutput) ToAuditOutput() AuditOutput
func (AuditOutput) ToAuditOutputWithContext ¶ added in v2.25.1
func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
func (AuditOutput) ToAuditPtrOutput ¶ added in v2.35.1
func (o AuditOutput) ToAuditPtrOutput() AuditPtrOutput
func (AuditOutput) ToAuditPtrOutputWithContext ¶ added in v2.35.1
func (o AuditOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
type AuditPtrInput ¶ added in v2.35.1
type AuditPtrInput interface { pulumi.Input ToAuditPtrOutput() AuditPtrOutput ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput }
type AuditPtrOutput ¶ added in v2.35.1
type AuditPtrOutput struct {
*pulumi.OutputState
}
func (AuditPtrOutput) ElementType ¶ added in v2.35.1
func (AuditPtrOutput) ElementType() reflect.Type
func (AuditPtrOutput) ToAuditPtrOutput ¶ added in v2.35.1
func (o AuditPtrOutput) ToAuditPtrOutput() AuditPtrOutput
func (AuditPtrOutput) ToAuditPtrOutputWithContext ¶ added in v2.35.1
func (o AuditPtrOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
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
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{ Description: pulumi.String("tf unit test"), }) if err != nil { return err } _, err = log.NewStore(ctx, "defaultStore", &log.StoreArgs{ Project: pulumi.String("tf-project"), RetentionPeriod: pulumi.Int(3000), ShardCount: pulumi.Int(1), }) if err != nil { return err } _, err = log.NewDashboard(ctx, "example", &log.DashboardArgs{ CharList: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " [\n", " {\n", " \"title\":\"new_title\",\n", " \"type\":\"map\",\n", " \"search\":{\n", " \"logstore\":\"tf-logstore\",\n", " \"topic\":\"new_topic\",\n", " \"query\":\"* | SELECT COUNT(name) as ct_name, COUNT(product) as ct_product, name,product GROUP BY name,product\",\n", " \"start\":\"-86400s\",\n", " \"end\":\"now\"\n", " },\n", " \"display\":{\n", " \"xAxis\":[\n", " \"ct_name\"\n", " ],\n", " \"yAxis\":[\n", " \"ct_product\"\n", " ],\n", " \"xPos\":0,\n", " \"yPos\":0,\n", " \"width\":10,\n", " \"height\":12,\n", " \"displayName\":\"xixihaha911\"\n", " }\n", " }\n", " ]\n", "\n")), DashboardName: pulumi.String("tf-dashboard"), ProjectName: pulumi.String("tf-project"), }) if err != nil { return err } return nil }) }
```
## Import
Log Dashboard can be imported using the id or name, e.g.
```sh
$ pulumi import alicloud:log/dashboard:Dashboard example tf-project:tf-logstore:tf-dashboard
```
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.
func (*Dashboard) ElementType ¶ added in v2.25.1
func (*Dashboard) ToDashboardOutput ¶ added in v2.25.1
func (i *Dashboard) ToDashboardOutput() DashboardOutput
func (*Dashboard) ToDashboardOutputWithContext ¶ added in v2.25.1
func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
func (*Dashboard) ToDashboardPtrOutput ¶ added in v2.35.1
func (i *Dashboard) ToDashboardPtrOutput() DashboardPtrOutput
func (*Dashboard) ToDashboardPtrOutputWithContext ¶ added in v2.35.1
func (i *Dashboard) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
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 DashboardArray ¶ added in v2.35.1
type DashboardArray []DashboardInput
func (DashboardArray) ElementType ¶ added in v2.35.1
func (DashboardArray) ElementType() reflect.Type
func (DashboardArray) ToDashboardArrayOutput ¶ added in v2.35.1
func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArray) ToDashboardArrayOutputWithContext ¶ added in v2.35.1
func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardArrayInput ¶ added in v2.35.1
type DashboardArrayInput interface { pulumi.Input ToDashboardArrayOutput() DashboardArrayOutput ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput }
DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:
DashboardArray{ DashboardArgs{...} }
type DashboardArrayOutput ¶ added in v2.35.1
type DashboardArrayOutput struct{ *pulumi.OutputState }
func (DashboardArrayOutput) ElementType ¶ added in v2.35.1
func (DashboardArrayOutput) ElementType() reflect.Type
func (DashboardArrayOutput) Index ¶ added in v2.35.1
func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
func (DashboardArrayOutput) ToDashboardArrayOutput ¶ added in v2.35.1
func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArrayOutput) ToDashboardArrayOutputWithContext ¶ added in v2.35.1
func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardInput ¶ added in v2.25.1
type DashboardInput interface { pulumi.Input ToDashboardOutput() DashboardOutput ToDashboardOutputWithContext(ctx context.Context) DashboardOutput }
type DashboardMap ¶ added in v2.35.1
type DashboardMap map[string]DashboardInput
func (DashboardMap) ElementType ¶ added in v2.35.1
func (DashboardMap) ElementType() reflect.Type
func (DashboardMap) ToDashboardMapOutput ¶ added in v2.35.1
func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMap) ToDashboardMapOutputWithContext ¶ added in v2.35.1
func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardMapInput ¶ added in v2.35.1
type DashboardMapInput interface { pulumi.Input ToDashboardMapOutput() DashboardMapOutput ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput }
DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:
DashboardMap{ "key": DashboardArgs{...} }
type DashboardMapOutput ¶ added in v2.35.1
type DashboardMapOutput struct{ *pulumi.OutputState }
func (DashboardMapOutput) ElementType ¶ added in v2.35.1
func (DashboardMapOutput) ElementType() reflect.Type
func (DashboardMapOutput) MapIndex ¶ added in v2.35.1
func (o DashboardMapOutput) MapIndex(k pulumi.StringInput) DashboardOutput
func (DashboardMapOutput) ToDashboardMapOutput ¶ added in v2.35.1
func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMapOutput) ToDashboardMapOutputWithContext ¶ added in v2.35.1
func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardOutput ¶ added in v2.25.1
type DashboardOutput struct {
*pulumi.OutputState
}
func (DashboardOutput) ElementType ¶ added in v2.25.1
func (DashboardOutput) ElementType() reflect.Type
func (DashboardOutput) ToDashboardOutput ¶ added in v2.25.1
func (o DashboardOutput) ToDashboardOutput() DashboardOutput
func (DashboardOutput) ToDashboardOutputWithContext ¶ added in v2.25.1
func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
func (DashboardOutput) ToDashboardPtrOutput ¶ added in v2.35.1
func (o DashboardOutput) ToDashboardPtrOutput() DashboardPtrOutput
func (DashboardOutput) ToDashboardPtrOutputWithContext ¶ added in v2.35.1
func (o DashboardOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
type DashboardPtrInput ¶ added in v2.35.1
type DashboardPtrInput interface { pulumi.Input ToDashboardPtrOutput() DashboardPtrOutput ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput }
type DashboardPtrOutput ¶ added in v2.35.1
type DashboardPtrOutput struct {
*pulumi.OutputState
}
func (DashboardPtrOutput) ElementType ¶ added in v2.35.1
func (DashboardPtrOutput) ElementType() reflect.Type
func (DashboardPtrOutput) ToDashboardPtrOutput ¶ added in v2.35.1
func (o DashboardPtrOutput) ToDashboardPtrOutput() DashboardPtrOutput
func (DashboardPtrOutput) ToDashboardPtrOutputWithContext ¶ added in v2.35.1
func (o DashboardPtrOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
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 Etl ¶ added in v2.39.0
type Etl struct { pulumi.CustomResourceState // Dekms_encryption_access_key_id_contextlivery target logstore access key id. AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` // Delivery target logstore access key secret. AccessKeySecret pulumi.StringPtrOutput `pulumi:"accessKeySecret"` // The etl job create time. CreateTime pulumi.IntOutput `pulumi:"createTime"` // Description of the log etl job. Description pulumi.StringPtrOutput `pulumi:"description"` // Log service etl job alias. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The name of the log etl job. EtlName pulumi.StringOutput `pulumi:"etlName"` // Target logstore configuration for delivery after data processing. EtlSinks EtlEtlSinkArrayOutput `pulumi:"etlSinks"` // Log service etl type, the default value is `ETL`. EtlType pulumi.StringPtrOutput `pulumi:"etlType"` // The start time of the processing job, the default starts from the current time. FromTime pulumi.IntOutput `pulumi:"fromTime"` // An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored. KmsEncryptedAccessKeyId pulumi.StringPtrOutput `pulumi:"kmsEncryptedAccessKeyId"` // An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored. KmsEncryptedAccessKeySecret pulumi.StringPtrOutput `pulumi:"kmsEncryptedAccessKeySecret"` // An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeyIdContext pulumi.MapOutput `pulumi:"kmsEncryptionAccessKeyIdContext"` // An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeySecretContext pulumi.MapOutput `pulumi:"kmsEncryptionAccessKeySecretContext"` // ETL job last modified time. LastModifiedTime pulumi.IntOutput `pulumi:"lastModifiedTime"` // Delivery target logstore. Logstore pulumi.StringOutput `pulumi:"logstore"` // Advanced parameter configuration of processing operations. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // The project where the target logstore is delivered. Project pulumi.StringOutput `pulumi:"project"` // Sts role info. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` // Job scheduling type, the default value is Resident. Schedule pulumi.StringPtrOutput `pulumi:"schedule"` // Processing operation grammar. Script pulumi.StringOutput `pulumi:"script"` // Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`. Status pulumi.StringOutput `pulumi:"status"` // Deadline of processing job, the default value is None. ToTime pulumi.IntPtrOutput `pulumi:"toTime"` // Log etl job version. the default value is 2. Version pulumi.IntPtrOutput `pulumi:"version"` }
The data processing function of the log service is a hosted, highly available, and scalable data processing service, which is widely applicable to scenarios such as data regularization, enrichment, distribution, aggregation, and index reconstruction. [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/125384.htm).
> **NOTE:** Available in 1.120.0
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{ Description: pulumi.String("created by terraform"), }) if err != nil { return err } exampleStore, err := log.NewStore(ctx, "exampleStore", &log.StoreArgs{ Project: exampleProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } example2, err := log.NewStore(ctx, "example2", &log.StoreArgs{ Project: exampleProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } example3, err := log.NewStore(ctx, "example3", &log.StoreArgs{ Project: exampleProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } _, err = log.NewEtl(ctx, "exampleEtl", &log.EtlArgs{ EtlName: pulumi.String("etl_name"), Project: exampleProject.Name, DisplayName: pulumi.String("display_name"), Description: pulumi.String("etl_description"), AccessKeyId: pulumi.String("access_key_id"), AccessKeySecret: pulumi.String("access_key_secret"), Script: pulumi.String("e_set('new','key')"), Logstore: exampleStore.Name, EtlSinks: log.EtlEtlSinkArray{ &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name"), AccessKeyId: pulumi.String("example2_access_key_id"), AccessKeySecret: pulumi.String("example2_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: exampleProject.Name, Logstore: example2.Name, }, &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name2"), AccessKeyId: pulumi.String("example3_access_key_id"), AccessKeySecret: pulumi.String("example3_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: exampleProject.Name, Logstore: example3.Name, }, }, }) if err != nil { return err } return nil }) }
``` Stop the task in progress ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := log.NewEtl(ctx, "example", &log.EtlArgs{ Status: pulumi.Any(STOPPED), EtlName: pulumi.String("etl_name"), Project: pulumi.Any(alicloud_log_project.Example.Name), DisplayName: pulumi.String("display_name"), Description: pulumi.String("etl_description"), AccessKeyId: pulumi.String("access_key_id"), AccessKeySecret: pulumi.String("access_key_secret"), Script: pulumi.String("e_set('new','key')"), Logstore: pulumi.Any(alicloud_log_store.Example.Name), EtlSinks: log.EtlEtlSinkArray{ &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name"), AccessKeyId: pulumi.String("example2_access_key_id"), AccessKeySecret: pulumi.String("example2_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: pulumi.Any(alicloud_log_project.Example.Name), Logstore: pulumi.Any(alicloud_log_store.Example2.Name), }, &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name2"), AccessKeyId: pulumi.String("example3_access_key_id"), AccessKeySecret: pulumi.String("example3_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: pulumi.Any(alicloud_log_project.Example.Name), Logstore: pulumi.Any(alicloud_log_store.Example3.Name), }, }, }) if err != nil { return err } return nil }) }
``` ReStart the stopped task ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := log.NewEtl(ctx, "example", &log.EtlArgs{ Status: pulumi.Any(RUNNING), EtlName: pulumi.String("etl_name"), Project: pulumi.Any(alicloud_log_project.Example.Name), DisplayName: pulumi.String("display_name"), Description: pulumi.String("etl_description"), AccessKeyId: pulumi.String("access_key_id"), AccessKeySecret: pulumi.String("access_key_secret"), Script: pulumi.String("e_set('new','key')"), Logstore: pulumi.Any(alicloud_log_store.Example.Name), EtlSinks: log.EtlEtlSinkArray{ &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name"), AccessKeyId: pulumi.String("example2_access_key_id"), AccessKeySecret: pulumi.String("example2_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: pulumi.Any(alicloud_log_project.Example.Name), Logstore: pulumi.Any(alicloud_log_store.Example2.Name), }, &log.EtlEtlSinkArgs{ Name: pulumi.String("target_name2"), AccessKeyId: pulumi.String("example3_access_key_id"), AccessKeySecret: pulumi.String("example3_access_key_secret"), Endpoint: pulumi.String("cn-hangzhou.log.aliyuncs.com"), Project: pulumi.Any(alicloud_log_project.Example.Name), Logstore: pulumi.Any(alicloud_log_store.Example3.Name), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Log etl can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/etl:Etl example tf-log-project:tf-log-etl-name
```
func GetEtl ¶ added in v2.39.0
func GetEtl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EtlState, opts ...pulumi.ResourceOption) (*Etl, error)
GetEtl gets an existing Etl 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 NewEtl ¶ added in v2.39.0
func NewEtl(ctx *pulumi.Context, name string, args *EtlArgs, opts ...pulumi.ResourceOption) (*Etl, error)
NewEtl registers a new resource with the given unique name, arguments, and options.
func (*Etl) ElementType ¶ added in v2.39.0
func (*Etl) ToEtlOutput ¶ added in v2.39.0
func (*Etl) ToEtlOutputWithContext ¶ added in v2.39.0
func (*Etl) ToEtlPtrOutput ¶ added in v2.39.0
func (i *Etl) ToEtlPtrOutput() EtlPtrOutput
func (*Etl) ToEtlPtrOutputWithContext ¶ added in v2.39.0
func (i *Etl) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput
type EtlArgs ¶ added in v2.39.0
type EtlArgs struct { // Dekms_encryption_access_key_id_contextlivery target logstore access key id. AccessKeyId pulumi.StringPtrInput // Delivery target logstore access key secret. AccessKeySecret pulumi.StringPtrInput // The etl job create time. CreateTime pulumi.IntPtrInput // Description of the log etl job. Description pulumi.StringPtrInput // Log service etl job alias. DisplayName pulumi.StringInput // The name of the log etl job. EtlName pulumi.StringInput // Target logstore configuration for delivery after data processing. EtlSinks EtlEtlSinkArrayInput // Log service etl type, the default value is `ETL`. EtlType pulumi.StringPtrInput // The start time of the processing job, the default starts from the current time. FromTime pulumi.IntPtrInput // An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored. KmsEncryptedAccessKeyId pulumi.StringPtrInput // An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored. KmsEncryptedAccessKeySecret pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeyIdContext pulumi.MapInput // An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeySecretContext pulumi.MapInput // ETL job last modified time. LastModifiedTime pulumi.IntPtrInput // Delivery target logstore. Logstore pulumi.StringInput // Advanced parameter configuration of processing operations. Parameters pulumi.StringMapInput // The project where the target logstore is delivered. Project pulumi.StringInput // Sts role info. RoleArn pulumi.StringPtrInput // Job scheduling type, the default value is Resident. Schedule pulumi.StringPtrInput // Processing operation grammar. Script pulumi.StringInput // Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`. Status pulumi.StringPtrInput // Deadline of processing job, the default value is None. ToTime pulumi.IntPtrInput // Log etl job version. the default value is 2. Version pulumi.IntPtrInput }
The set of arguments for constructing a Etl resource.
func (EtlArgs) ElementType ¶ added in v2.39.0
type EtlArray ¶ added in v2.39.0
type EtlArray []EtlInput
func (EtlArray) ElementType ¶ added in v2.39.0
func (EtlArray) ToEtlArrayOutput ¶ added in v2.39.0
func (i EtlArray) ToEtlArrayOutput() EtlArrayOutput
func (EtlArray) ToEtlArrayOutputWithContext ¶ added in v2.39.0
func (i EtlArray) ToEtlArrayOutputWithContext(ctx context.Context) EtlArrayOutput
type EtlArrayInput ¶ added in v2.39.0
type EtlArrayInput interface { pulumi.Input ToEtlArrayOutput() EtlArrayOutput ToEtlArrayOutputWithContext(context.Context) EtlArrayOutput }
EtlArrayInput is an input type that accepts EtlArray and EtlArrayOutput values. You can construct a concrete instance of `EtlArrayInput` via:
EtlArray{ EtlArgs{...} }
type EtlArrayOutput ¶ added in v2.39.0
type EtlArrayOutput struct{ *pulumi.OutputState }
func (EtlArrayOutput) ElementType ¶ added in v2.39.0
func (EtlArrayOutput) ElementType() reflect.Type
func (EtlArrayOutput) Index ¶ added in v2.39.0
func (o EtlArrayOutput) Index(i pulumi.IntInput) EtlOutput
func (EtlArrayOutput) ToEtlArrayOutput ¶ added in v2.39.0
func (o EtlArrayOutput) ToEtlArrayOutput() EtlArrayOutput
func (EtlArrayOutput) ToEtlArrayOutputWithContext ¶ added in v2.39.0
func (o EtlArrayOutput) ToEtlArrayOutputWithContext(ctx context.Context) EtlArrayOutput
type EtlEtlSink ¶ added in v2.39.0
type EtlEtlSink struct { // Dekms_encryption_access_key_id_contextlivery target logstore access key id. AccessKeyId *string `pulumi:"accessKeyId"` // Delivery target logstore access key secret. AccessKeySecret *string `pulumi:"accessKeySecret"` // Delivery target logstore region. Endpoint string `pulumi:"endpoint"` // An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored. KmsEncryptedAccessKeyId *string `pulumi:"kmsEncryptedAccessKeyId"` // An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored. KmsEncryptedAccessKeySecret *string `pulumi:"kmsEncryptedAccessKeySecret"` // Delivery target logstore. Logstore string `pulumi:"logstore"` // Delivery target name. Name string `pulumi:"name"` // The project where the target logstore is delivered. Project string `pulumi:"project"` // Sts role info. RoleArn *string `pulumi:"roleArn"` // ETL sinks type, the default value is AliyunLOG. Type *string `pulumi:"type"` }
type EtlEtlSinkArgs ¶ added in v2.39.0
type EtlEtlSinkArgs struct { // Dekms_encryption_access_key_id_contextlivery target logstore access key id. AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"` // Delivery target logstore access key secret. AccessKeySecret pulumi.StringPtrInput `pulumi:"accessKeySecret"` // Delivery target logstore region. Endpoint pulumi.StringInput `pulumi:"endpoint"` // An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored. KmsEncryptedAccessKeyId pulumi.StringPtrInput `pulumi:"kmsEncryptedAccessKeyId"` // An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored. KmsEncryptedAccessKeySecret pulumi.StringPtrInput `pulumi:"kmsEncryptedAccessKeySecret"` // Delivery target logstore. Logstore pulumi.StringInput `pulumi:"logstore"` // Delivery target name. Name pulumi.StringInput `pulumi:"name"` // The project where the target logstore is delivered. Project pulumi.StringInput `pulumi:"project"` // Sts role info. RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` // ETL sinks type, the default value is AliyunLOG. Type pulumi.StringPtrInput `pulumi:"type"` }
func (EtlEtlSinkArgs) ElementType ¶ added in v2.39.0
func (EtlEtlSinkArgs) ElementType() reflect.Type
func (EtlEtlSinkArgs) ToEtlEtlSinkOutput ¶ added in v2.39.0
func (i EtlEtlSinkArgs) ToEtlEtlSinkOutput() EtlEtlSinkOutput
func (EtlEtlSinkArgs) ToEtlEtlSinkOutputWithContext ¶ added in v2.39.0
func (i EtlEtlSinkArgs) ToEtlEtlSinkOutputWithContext(ctx context.Context) EtlEtlSinkOutput
type EtlEtlSinkArray ¶ added in v2.39.0
type EtlEtlSinkArray []EtlEtlSinkInput
func (EtlEtlSinkArray) ElementType ¶ added in v2.39.0
func (EtlEtlSinkArray) ElementType() reflect.Type
func (EtlEtlSinkArray) ToEtlEtlSinkArrayOutput ¶ added in v2.39.0
func (i EtlEtlSinkArray) ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput
func (EtlEtlSinkArray) ToEtlEtlSinkArrayOutputWithContext ¶ added in v2.39.0
func (i EtlEtlSinkArray) ToEtlEtlSinkArrayOutputWithContext(ctx context.Context) EtlEtlSinkArrayOutput
type EtlEtlSinkArrayInput ¶ added in v2.39.0
type EtlEtlSinkArrayInput interface { pulumi.Input ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput ToEtlEtlSinkArrayOutputWithContext(context.Context) EtlEtlSinkArrayOutput }
EtlEtlSinkArrayInput is an input type that accepts EtlEtlSinkArray and EtlEtlSinkArrayOutput values. You can construct a concrete instance of `EtlEtlSinkArrayInput` via:
EtlEtlSinkArray{ EtlEtlSinkArgs{...} }
type EtlEtlSinkArrayOutput ¶ added in v2.39.0
type EtlEtlSinkArrayOutput struct{ *pulumi.OutputState }
func (EtlEtlSinkArrayOutput) ElementType ¶ added in v2.39.0
func (EtlEtlSinkArrayOutput) ElementType() reflect.Type
func (EtlEtlSinkArrayOutput) Index ¶ added in v2.39.0
func (o EtlEtlSinkArrayOutput) Index(i pulumi.IntInput) EtlEtlSinkOutput
func (EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutput ¶ added in v2.39.0
func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput
func (EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutputWithContext ¶ added in v2.39.0
func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutputWithContext(ctx context.Context) EtlEtlSinkArrayOutput
type EtlEtlSinkInput ¶ added in v2.39.0
type EtlEtlSinkInput interface { pulumi.Input ToEtlEtlSinkOutput() EtlEtlSinkOutput ToEtlEtlSinkOutputWithContext(context.Context) EtlEtlSinkOutput }
EtlEtlSinkInput is an input type that accepts EtlEtlSinkArgs and EtlEtlSinkOutput values. You can construct a concrete instance of `EtlEtlSinkInput` via:
EtlEtlSinkArgs{...}
type EtlEtlSinkOutput ¶ added in v2.39.0
type EtlEtlSinkOutput struct{ *pulumi.OutputState }
func (EtlEtlSinkOutput) AccessKeyId ¶ added in v2.39.0
func (o EtlEtlSinkOutput) AccessKeyId() pulumi.StringPtrOutput
Dekms_encryption_access_key_id_contextlivery target logstore access key id.
func (EtlEtlSinkOutput) AccessKeySecret ¶ added in v2.39.0
func (o EtlEtlSinkOutput) AccessKeySecret() pulumi.StringPtrOutput
Delivery target logstore access key secret.
func (EtlEtlSinkOutput) ElementType ¶ added in v2.39.0
func (EtlEtlSinkOutput) ElementType() reflect.Type
func (EtlEtlSinkOutput) Endpoint ¶ added in v2.39.0
func (o EtlEtlSinkOutput) Endpoint() pulumi.StringOutput
Delivery target logstore region.
func (EtlEtlSinkOutput) KmsEncryptedAccessKeyId ¶ added in v2.39.0
func (o EtlEtlSinkOutput) KmsEncryptedAccessKeyId() pulumi.StringPtrOutput
An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
func (EtlEtlSinkOutput) KmsEncryptedAccessKeySecret ¶ added in v2.39.0
func (o EtlEtlSinkOutput) KmsEncryptedAccessKeySecret() pulumi.StringPtrOutput
An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
func (EtlEtlSinkOutput) Logstore ¶ added in v2.39.0
func (o EtlEtlSinkOutput) Logstore() pulumi.StringOutput
Delivery target logstore.
func (EtlEtlSinkOutput) Name ¶ added in v2.39.0
func (o EtlEtlSinkOutput) Name() pulumi.StringOutput
Delivery target name.
func (EtlEtlSinkOutput) Project ¶ added in v2.39.0
func (o EtlEtlSinkOutput) Project() pulumi.StringOutput
The project where the target logstore is delivered.
func (EtlEtlSinkOutput) RoleArn ¶ added in v2.39.0
func (o EtlEtlSinkOutput) RoleArn() pulumi.StringPtrOutput
Sts role info.
func (EtlEtlSinkOutput) ToEtlEtlSinkOutput ¶ added in v2.39.0
func (o EtlEtlSinkOutput) ToEtlEtlSinkOutput() EtlEtlSinkOutput
func (EtlEtlSinkOutput) ToEtlEtlSinkOutputWithContext ¶ added in v2.39.0
func (o EtlEtlSinkOutput) ToEtlEtlSinkOutputWithContext(ctx context.Context) EtlEtlSinkOutput
func (EtlEtlSinkOutput) Type ¶ added in v2.39.0
func (o EtlEtlSinkOutput) Type() pulumi.StringPtrOutput
ETL sinks type, the default value is AliyunLOG.
type EtlMap ¶ added in v2.39.0
func (EtlMap) ElementType ¶ added in v2.39.0
func (EtlMap) ToEtlMapOutput ¶ added in v2.39.0
func (i EtlMap) ToEtlMapOutput() EtlMapOutput
func (EtlMap) ToEtlMapOutputWithContext ¶ added in v2.39.0
func (i EtlMap) ToEtlMapOutputWithContext(ctx context.Context) EtlMapOutput
type EtlMapInput ¶ added in v2.39.0
type EtlMapInput interface { pulumi.Input ToEtlMapOutput() EtlMapOutput ToEtlMapOutputWithContext(context.Context) EtlMapOutput }
EtlMapInput is an input type that accepts EtlMap and EtlMapOutput values. You can construct a concrete instance of `EtlMapInput` via:
EtlMap{ "key": EtlArgs{...} }
type EtlMapOutput ¶ added in v2.39.0
type EtlMapOutput struct{ *pulumi.OutputState }
func (EtlMapOutput) ElementType ¶ added in v2.39.0
func (EtlMapOutput) ElementType() reflect.Type
func (EtlMapOutput) MapIndex ¶ added in v2.39.0
func (o EtlMapOutput) MapIndex(k pulumi.StringInput) EtlOutput
func (EtlMapOutput) ToEtlMapOutput ¶ added in v2.39.0
func (o EtlMapOutput) ToEtlMapOutput() EtlMapOutput
func (EtlMapOutput) ToEtlMapOutputWithContext ¶ added in v2.39.0
func (o EtlMapOutput) ToEtlMapOutputWithContext(ctx context.Context) EtlMapOutput
type EtlOutput ¶ added in v2.39.0
type EtlOutput struct {
*pulumi.OutputState
}
func (EtlOutput) ElementType ¶ added in v2.39.0
func (EtlOutput) ToEtlOutput ¶ added in v2.39.0
func (EtlOutput) ToEtlOutputWithContext ¶ added in v2.39.0
func (EtlOutput) ToEtlPtrOutput ¶ added in v2.39.0
func (o EtlOutput) ToEtlPtrOutput() EtlPtrOutput
func (EtlOutput) ToEtlPtrOutputWithContext ¶ added in v2.39.0
func (o EtlOutput) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput
type EtlPtrInput ¶ added in v2.39.0
type EtlPtrInput interface { pulumi.Input ToEtlPtrOutput() EtlPtrOutput ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput }
type EtlPtrOutput ¶ added in v2.39.0
type EtlPtrOutput struct {
*pulumi.OutputState
}
func (EtlPtrOutput) ElementType ¶ added in v2.39.0
func (EtlPtrOutput) ElementType() reflect.Type
func (EtlPtrOutput) ToEtlPtrOutput ¶ added in v2.39.0
func (o EtlPtrOutput) ToEtlPtrOutput() EtlPtrOutput
func (EtlPtrOutput) ToEtlPtrOutputWithContext ¶ added in v2.39.0
func (o EtlPtrOutput) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput
type EtlState ¶ added in v2.39.0
type EtlState struct { // Dekms_encryption_access_key_id_contextlivery target logstore access key id. AccessKeyId pulumi.StringPtrInput // Delivery target logstore access key secret. AccessKeySecret pulumi.StringPtrInput // The etl job create time. CreateTime pulumi.IntPtrInput // Description of the log etl job. Description pulumi.StringPtrInput // Log service etl job alias. DisplayName pulumi.StringPtrInput // The name of the log etl job. EtlName pulumi.StringPtrInput // Target logstore configuration for delivery after data processing. EtlSinks EtlEtlSinkArrayInput // Log service etl type, the default value is `ETL`. EtlType pulumi.StringPtrInput // The start time of the processing job, the default starts from the current time. FromTime pulumi.IntPtrInput // An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored. KmsEncryptedAccessKeyId pulumi.StringPtrInput // An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored. KmsEncryptedAccessKeySecret pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeyIdContext pulumi.MapInput // An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionAccessKeySecretContext pulumi.MapInput // ETL job last modified time. LastModifiedTime pulumi.IntPtrInput // Delivery target logstore. Logstore pulumi.StringPtrInput // Advanced parameter configuration of processing operations. Parameters pulumi.StringMapInput // The project where the target logstore is delivered. Project pulumi.StringPtrInput // Sts role info. RoleArn pulumi.StringPtrInput // Job scheduling type, the default value is Resident. Schedule pulumi.StringPtrInput // Processing operation grammar. Script pulumi.StringPtrInput // Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`. Status pulumi.StringPtrInput // Deadline of processing job, the default value is None. ToTime pulumi.IntPtrInput // Log etl job version. the default value is 2. Version pulumi.IntPtrInput }
func (EtlState) ElementType ¶ added in v2.39.0
type GetServiceArgs ¶ added in v2.17.0
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceResult ¶ added in v2.17.0
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶ added in v2.17.0
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can enable Log service automatically. If the service has been enabled, it will return `Opened`.
For information about Log service and how to use it, see [What is Log Service](https://www.alibabacloud.com/help/product/28958.htm).
> **NOTE:** Available in v1.96.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "On" _, err := log.GetService(ctx, &log.GetServiceArgs{ Enable: &opt0, }, nil) if err != nil { return err } return nil }) }
```
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.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testProject, err := log.NewProject(ctx, "testProject", &log.ProjectArgs{ Description: pulumi.String("create by terraform"), }) if err != nil { return err } testStore, err := log.NewStore(ctx, "testStore", &log.StoreArgs{ Project: testProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } testMachineGroup, err := log.NewMachineGroup(ctx, "testMachineGroup", &log.MachineGroupArgs{ Project: testProject.Name, Topic: pulumi.String("terraform"), IdentifyLists: pulumi.StringArray{ pulumi.String("10.0.0.1"), pulumi.String("10.0.0.3"), pulumi.String("10.0.0.2"), }, }) if err != nil { return err } testLogTailConfig, err := log.NewLogTailConfig(ctx, "testLogTailConfig", &log.LogTailConfigArgs{ Project: testProject.Name, Logstore: testStore.Name, InputType: pulumi.String("file"), LogSample: pulumi.String("test"), OutputType: pulumi.String("LogService"), InputDetail: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"logPath\": \"/logPath\",\n", " \"filePattern\": \"access.log\",\n", " \"logType\": \"json_log\",\n", " \"topicFormat\": \"default\",\n", " \"discardUnmatch\": false,\n", " \"enableRawLog\": true,\n", " \"fileEncoding\": \"gbk\",\n", " \"maxDepth\": 10\n", " }\n", " \n")), }) if err != nil { return err } _, err = log.NewLogTailAttachment(ctx, "testLogTailAttachment", &log.LogTailAttachmentArgs{ Project: testProject.Name, LogtailConfigName: testLogTailConfig.Name, MachineGroupName: testMachineGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
Logtial to machine group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/logTailAttachment:LogTailAttachment example tf-log:tf-log-config:tf-log-machine-group
```
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.
func (*LogTailAttachment) ElementType ¶ added in v2.25.1
func (*LogTailAttachment) ElementType() reflect.Type
func (*LogTailAttachment) ToLogTailAttachmentOutput ¶ added in v2.25.1
func (i *LogTailAttachment) ToLogTailAttachmentOutput() LogTailAttachmentOutput
func (*LogTailAttachment) ToLogTailAttachmentOutputWithContext ¶ added in v2.25.1
func (i *LogTailAttachment) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput
func (*LogTailAttachment) ToLogTailAttachmentPtrOutput ¶ added in v2.35.1
func (i *LogTailAttachment) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
func (*LogTailAttachment) ToLogTailAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (i *LogTailAttachment) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
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 LogTailAttachmentArray ¶ added in v2.35.1
type LogTailAttachmentArray []LogTailAttachmentInput
func (LogTailAttachmentArray) ElementType ¶ added in v2.35.1
func (LogTailAttachmentArray) ElementType() reflect.Type
func (LogTailAttachmentArray) ToLogTailAttachmentArrayOutput ¶ added in v2.35.1
func (i LogTailAttachmentArray) ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput
func (LogTailAttachmentArray) ToLogTailAttachmentArrayOutputWithContext ¶ added in v2.35.1
func (i LogTailAttachmentArray) ToLogTailAttachmentArrayOutputWithContext(ctx context.Context) LogTailAttachmentArrayOutput
type LogTailAttachmentArrayInput ¶ added in v2.35.1
type LogTailAttachmentArrayInput interface { pulumi.Input ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput ToLogTailAttachmentArrayOutputWithContext(context.Context) LogTailAttachmentArrayOutput }
LogTailAttachmentArrayInput is an input type that accepts LogTailAttachmentArray and LogTailAttachmentArrayOutput values. You can construct a concrete instance of `LogTailAttachmentArrayInput` via:
LogTailAttachmentArray{ LogTailAttachmentArgs{...} }
type LogTailAttachmentArrayOutput ¶ added in v2.35.1
type LogTailAttachmentArrayOutput struct{ *pulumi.OutputState }
func (LogTailAttachmentArrayOutput) ElementType ¶ added in v2.35.1
func (LogTailAttachmentArrayOutput) ElementType() reflect.Type
func (LogTailAttachmentArrayOutput) Index ¶ added in v2.35.1
func (o LogTailAttachmentArrayOutput) Index(i pulumi.IntInput) LogTailAttachmentOutput
func (LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutput ¶ added in v2.35.1
func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput
func (LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutputWithContext ¶ added in v2.35.1
func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutputWithContext(ctx context.Context) LogTailAttachmentArrayOutput
type LogTailAttachmentInput ¶ added in v2.25.1
type LogTailAttachmentInput interface { pulumi.Input ToLogTailAttachmentOutput() LogTailAttachmentOutput ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput }
type LogTailAttachmentMap ¶ added in v2.35.1
type LogTailAttachmentMap map[string]LogTailAttachmentInput
func (LogTailAttachmentMap) ElementType ¶ added in v2.35.1
func (LogTailAttachmentMap) ElementType() reflect.Type
func (LogTailAttachmentMap) ToLogTailAttachmentMapOutput ¶ added in v2.35.1
func (i LogTailAttachmentMap) ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput
func (LogTailAttachmentMap) ToLogTailAttachmentMapOutputWithContext ¶ added in v2.35.1
func (i LogTailAttachmentMap) ToLogTailAttachmentMapOutputWithContext(ctx context.Context) LogTailAttachmentMapOutput
type LogTailAttachmentMapInput ¶ added in v2.35.1
type LogTailAttachmentMapInput interface { pulumi.Input ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput ToLogTailAttachmentMapOutputWithContext(context.Context) LogTailAttachmentMapOutput }
LogTailAttachmentMapInput is an input type that accepts LogTailAttachmentMap and LogTailAttachmentMapOutput values. You can construct a concrete instance of `LogTailAttachmentMapInput` via:
LogTailAttachmentMap{ "key": LogTailAttachmentArgs{...} }
type LogTailAttachmentMapOutput ¶ added in v2.35.1
type LogTailAttachmentMapOutput struct{ *pulumi.OutputState }
func (LogTailAttachmentMapOutput) ElementType ¶ added in v2.35.1
func (LogTailAttachmentMapOutput) ElementType() reflect.Type
func (LogTailAttachmentMapOutput) MapIndex ¶ added in v2.35.1
func (o LogTailAttachmentMapOutput) MapIndex(k pulumi.StringInput) LogTailAttachmentOutput
func (LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutput ¶ added in v2.35.1
func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput
func (LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutputWithContext ¶ added in v2.35.1
func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutputWithContext(ctx context.Context) LogTailAttachmentMapOutput
type LogTailAttachmentOutput ¶ added in v2.25.1
type LogTailAttachmentOutput struct {
*pulumi.OutputState
}
func (LogTailAttachmentOutput) ElementType ¶ added in v2.25.1
func (LogTailAttachmentOutput) ElementType() reflect.Type
func (LogTailAttachmentOutput) ToLogTailAttachmentOutput ¶ added in v2.25.1
func (o LogTailAttachmentOutput) ToLogTailAttachmentOutput() LogTailAttachmentOutput
func (LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext ¶ added in v2.25.1
func (o LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput
func (LogTailAttachmentOutput) ToLogTailAttachmentPtrOutput ¶ added in v2.35.1
func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
func (LogTailAttachmentOutput) ToLogTailAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
type LogTailAttachmentPtrInput ¶ added in v2.35.1
type LogTailAttachmentPtrInput interface { pulumi.Input ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput }
type LogTailAttachmentPtrOutput ¶ added in v2.35.1
type LogTailAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (LogTailAttachmentPtrOutput) ElementType ¶ added in v2.35.1
func (LogTailAttachmentPtrOutput) ElementType() reflect.Type
func (LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutput ¶ added in v2.35.1
func (o LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
func (LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (o LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
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"` }
## Import
Logtial config can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/logTailConfig:LogTailConfig example tf-log:tf-log-store:tf-log-config
```
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.
func (*LogTailConfig) ElementType ¶ added in v2.25.1
func (*LogTailConfig) ElementType() reflect.Type
func (*LogTailConfig) ToLogTailConfigOutput ¶ added in v2.25.1
func (i *LogTailConfig) ToLogTailConfigOutput() LogTailConfigOutput
func (*LogTailConfig) ToLogTailConfigOutputWithContext ¶ added in v2.25.1
func (i *LogTailConfig) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput
func (*LogTailConfig) ToLogTailConfigPtrOutput ¶ added in v2.35.1
func (i *LogTailConfig) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
func (*LogTailConfig) ToLogTailConfigPtrOutputWithContext ¶ added in v2.35.1
func (i *LogTailConfig) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
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 LogTailConfigArray ¶ added in v2.35.1
type LogTailConfigArray []LogTailConfigInput
func (LogTailConfigArray) ElementType ¶ added in v2.35.1
func (LogTailConfigArray) ElementType() reflect.Type
func (LogTailConfigArray) ToLogTailConfigArrayOutput ¶ added in v2.35.1
func (i LogTailConfigArray) ToLogTailConfigArrayOutput() LogTailConfigArrayOutput
func (LogTailConfigArray) ToLogTailConfigArrayOutputWithContext ¶ added in v2.35.1
func (i LogTailConfigArray) ToLogTailConfigArrayOutputWithContext(ctx context.Context) LogTailConfigArrayOutput
type LogTailConfigArrayInput ¶ added in v2.35.1
type LogTailConfigArrayInput interface { pulumi.Input ToLogTailConfigArrayOutput() LogTailConfigArrayOutput ToLogTailConfigArrayOutputWithContext(context.Context) LogTailConfigArrayOutput }
LogTailConfigArrayInput is an input type that accepts LogTailConfigArray and LogTailConfigArrayOutput values. You can construct a concrete instance of `LogTailConfigArrayInput` via:
LogTailConfigArray{ LogTailConfigArgs{...} }
type LogTailConfigArrayOutput ¶ added in v2.35.1
type LogTailConfigArrayOutput struct{ *pulumi.OutputState }
func (LogTailConfigArrayOutput) ElementType ¶ added in v2.35.1
func (LogTailConfigArrayOutput) ElementType() reflect.Type
func (LogTailConfigArrayOutput) Index ¶ added in v2.35.1
func (o LogTailConfigArrayOutput) Index(i pulumi.IntInput) LogTailConfigOutput
func (LogTailConfigArrayOutput) ToLogTailConfigArrayOutput ¶ added in v2.35.1
func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutput() LogTailConfigArrayOutput
func (LogTailConfigArrayOutput) ToLogTailConfigArrayOutputWithContext ¶ added in v2.35.1
func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutputWithContext(ctx context.Context) LogTailConfigArrayOutput
type LogTailConfigInput ¶ added in v2.25.1
type LogTailConfigInput interface { pulumi.Input ToLogTailConfigOutput() LogTailConfigOutput ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput }
type LogTailConfigMap ¶ added in v2.35.1
type LogTailConfigMap map[string]LogTailConfigInput
func (LogTailConfigMap) ElementType ¶ added in v2.35.1
func (LogTailConfigMap) ElementType() reflect.Type
func (LogTailConfigMap) ToLogTailConfigMapOutput ¶ added in v2.35.1
func (i LogTailConfigMap) ToLogTailConfigMapOutput() LogTailConfigMapOutput
func (LogTailConfigMap) ToLogTailConfigMapOutputWithContext ¶ added in v2.35.1
func (i LogTailConfigMap) ToLogTailConfigMapOutputWithContext(ctx context.Context) LogTailConfigMapOutput
type LogTailConfigMapInput ¶ added in v2.35.1
type LogTailConfigMapInput interface { pulumi.Input ToLogTailConfigMapOutput() LogTailConfigMapOutput ToLogTailConfigMapOutputWithContext(context.Context) LogTailConfigMapOutput }
LogTailConfigMapInput is an input type that accepts LogTailConfigMap and LogTailConfigMapOutput values. You can construct a concrete instance of `LogTailConfigMapInput` via:
LogTailConfigMap{ "key": LogTailConfigArgs{...} }
type LogTailConfigMapOutput ¶ added in v2.35.1
type LogTailConfigMapOutput struct{ *pulumi.OutputState }
func (LogTailConfigMapOutput) ElementType ¶ added in v2.35.1
func (LogTailConfigMapOutput) ElementType() reflect.Type
func (LogTailConfigMapOutput) MapIndex ¶ added in v2.35.1
func (o LogTailConfigMapOutput) MapIndex(k pulumi.StringInput) LogTailConfigOutput
func (LogTailConfigMapOutput) ToLogTailConfigMapOutput ¶ added in v2.35.1
func (o LogTailConfigMapOutput) ToLogTailConfigMapOutput() LogTailConfigMapOutput
func (LogTailConfigMapOutput) ToLogTailConfigMapOutputWithContext ¶ added in v2.35.1
func (o LogTailConfigMapOutput) ToLogTailConfigMapOutputWithContext(ctx context.Context) LogTailConfigMapOutput
type LogTailConfigOutput ¶ added in v2.25.1
type LogTailConfigOutput struct {
*pulumi.OutputState
}
func (LogTailConfigOutput) ElementType ¶ added in v2.25.1
func (LogTailConfigOutput) ElementType() reflect.Type
func (LogTailConfigOutput) ToLogTailConfigOutput ¶ added in v2.25.1
func (o LogTailConfigOutput) ToLogTailConfigOutput() LogTailConfigOutput
func (LogTailConfigOutput) ToLogTailConfigOutputWithContext ¶ added in v2.25.1
func (o LogTailConfigOutput) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput
func (LogTailConfigOutput) ToLogTailConfigPtrOutput ¶ added in v2.35.1
func (o LogTailConfigOutput) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
func (LogTailConfigOutput) ToLogTailConfigPtrOutputWithContext ¶ added in v2.35.1
func (o LogTailConfigOutput) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
type LogTailConfigPtrInput ¶ added in v2.35.1
type LogTailConfigPtrInput interface { pulumi.Input ToLogTailConfigPtrOutput() LogTailConfigPtrOutput ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput }
type LogTailConfigPtrOutput ¶ added in v2.35.1
type LogTailConfigPtrOutput struct {
*pulumi.OutputState
}
func (LogTailConfigPtrOutput) ElementType ¶ added in v2.35.1
func (LogTailConfigPtrOutput) ElementType() reflect.Type
func (LogTailConfigPtrOutput) ToLogTailConfigPtrOutput ¶ added in v2.35.1
func (o LogTailConfigPtrOutput) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
func (LogTailConfigPtrOutput) ToLogTailConfigPtrOutputWithContext ¶ added in v2.35.1
func (o LogTailConfigPtrOutput) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
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"` }
## Import
Log machine group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/machineGroup:MachineGroup example tf-log:tf-machine-group
```
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.
func (*MachineGroup) ElementType ¶ added in v2.25.1
func (*MachineGroup) ElementType() reflect.Type
func (*MachineGroup) ToMachineGroupOutput ¶ added in v2.25.1
func (i *MachineGroup) ToMachineGroupOutput() MachineGroupOutput
func (*MachineGroup) ToMachineGroupOutputWithContext ¶ added in v2.25.1
func (i *MachineGroup) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput
func (*MachineGroup) ToMachineGroupPtrOutput ¶ added in v2.35.1
func (i *MachineGroup) ToMachineGroupPtrOutput() MachineGroupPtrOutput
func (*MachineGroup) ToMachineGroupPtrOutputWithContext ¶ added in v2.35.1
func (i *MachineGroup) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
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 MachineGroupArray ¶ added in v2.35.1
type MachineGroupArray []MachineGroupInput
func (MachineGroupArray) ElementType ¶ added in v2.35.1
func (MachineGroupArray) ElementType() reflect.Type
func (MachineGroupArray) ToMachineGroupArrayOutput ¶ added in v2.35.1
func (i MachineGroupArray) ToMachineGroupArrayOutput() MachineGroupArrayOutput
func (MachineGroupArray) ToMachineGroupArrayOutputWithContext ¶ added in v2.35.1
func (i MachineGroupArray) ToMachineGroupArrayOutputWithContext(ctx context.Context) MachineGroupArrayOutput
type MachineGroupArrayInput ¶ added in v2.35.1
type MachineGroupArrayInput interface { pulumi.Input ToMachineGroupArrayOutput() MachineGroupArrayOutput ToMachineGroupArrayOutputWithContext(context.Context) MachineGroupArrayOutput }
MachineGroupArrayInput is an input type that accepts MachineGroupArray and MachineGroupArrayOutput values. You can construct a concrete instance of `MachineGroupArrayInput` via:
MachineGroupArray{ MachineGroupArgs{...} }
type MachineGroupArrayOutput ¶ added in v2.35.1
type MachineGroupArrayOutput struct{ *pulumi.OutputState }
func (MachineGroupArrayOutput) ElementType ¶ added in v2.35.1
func (MachineGroupArrayOutput) ElementType() reflect.Type
func (MachineGroupArrayOutput) Index ¶ added in v2.35.1
func (o MachineGroupArrayOutput) Index(i pulumi.IntInput) MachineGroupOutput
func (MachineGroupArrayOutput) ToMachineGroupArrayOutput ¶ added in v2.35.1
func (o MachineGroupArrayOutput) ToMachineGroupArrayOutput() MachineGroupArrayOutput
func (MachineGroupArrayOutput) ToMachineGroupArrayOutputWithContext ¶ added in v2.35.1
func (o MachineGroupArrayOutput) ToMachineGroupArrayOutputWithContext(ctx context.Context) MachineGroupArrayOutput
type MachineGroupInput ¶ added in v2.25.1
type MachineGroupInput interface { pulumi.Input ToMachineGroupOutput() MachineGroupOutput ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput }
type MachineGroupMap ¶ added in v2.35.1
type MachineGroupMap map[string]MachineGroupInput
func (MachineGroupMap) ElementType ¶ added in v2.35.1
func (MachineGroupMap) ElementType() reflect.Type
func (MachineGroupMap) ToMachineGroupMapOutput ¶ added in v2.35.1
func (i MachineGroupMap) ToMachineGroupMapOutput() MachineGroupMapOutput
func (MachineGroupMap) ToMachineGroupMapOutputWithContext ¶ added in v2.35.1
func (i MachineGroupMap) ToMachineGroupMapOutputWithContext(ctx context.Context) MachineGroupMapOutput
type MachineGroupMapInput ¶ added in v2.35.1
type MachineGroupMapInput interface { pulumi.Input ToMachineGroupMapOutput() MachineGroupMapOutput ToMachineGroupMapOutputWithContext(context.Context) MachineGroupMapOutput }
MachineGroupMapInput is an input type that accepts MachineGroupMap and MachineGroupMapOutput values. You can construct a concrete instance of `MachineGroupMapInput` via:
MachineGroupMap{ "key": MachineGroupArgs{...} }
type MachineGroupMapOutput ¶ added in v2.35.1
type MachineGroupMapOutput struct{ *pulumi.OutputState }
func (MachineGroupMapOutput) ElementType ¶ added in v2.35.1
func (MachineGroupMapOutput) ElementType() reflect.Type
func (MachineGroupMapOutput) MapIndex ¶ added in v2.35.1
func (o MachineGroupMapOutput) MapIndex(k pulumi.StringInput) MachineGroupOutput
func (MachineGroupMapOutput) ToMachineGroupMapOutput ¶ added in v2.35.1
func (o MachineGroupMapOutput) ToMachineGroupMapOutput() MachineGroupMapOutput
func (MachineGroupMapOutput) ToMachineGroupMapOutputWithContext ¶ added in v2.35.1
func (o MachineGroupMapOutput) ToMachineGroupMapOutputWithContext(ctx context.Context) MachineGroupMapOutput
type MachineGroupOutput ¶ added in v2.25.1
type MachineGroupOutput struct {
*pulumi.OutputState
}
func (MachineGroupOutput) ElementType ¶ added in v2.25.1
func (MachineGroupOutput) ElementType() reflect.Type
func (MachineGroupOutput) ToMachineGroupOutput ¶ added in v2.25.1
func (o MachineGroupOutput) ToMachineGroupOutput() MachineGroupOutput
func (MachineGroupOutput) ToMachineGroupOutputWithContext ¶ added in v2.25.1
func (o MachineGroupOutput) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput
func (MachineGroupOutput) ToMachineGroupPtrOutput ¶ added in v2.35.1
func (o MachineGroupOutput) ToMachineGroupPtrOutput() MachineGroupPtrOutput
func (MachineGroupOutput) ToMachineGroupPtrOutputWithContext ¶ added in v2.35.1
func (o MachineGroupOutput) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
type MachineGroupPtrInput ¶ added in v2.35.1
type MachineGroupPtrInput interface { pulumi.Input ToMachineGroupPtrOutput() MachineGroupPtrOutput ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput }
type MachineGroupPtrOutput ¶ added in v2.35.1
type MachineGroupPtrOutput struct {
*pulumi.OutputState
}
func (MachineGroupPtrOutput) ElementType ¶ added in v2.35.1
func (MachineGroupPtrOutput) ElementType() reflect.Type
func (MachineGroupPtrOutput) ToMachineGroupPtrOutput ¶ added in v2.35.1
func (o MachineGroupPtrOutput) ToMachineGroupPtrOutput() MachineGroupPtrOutput
func (MachineGroupPtrOutput) ToMachineGroupPtrOutputWithContext ¶ added in v2.35.1
func (o MachineGroupPtrOutput) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
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 OssShipper ¶ added in v2.39.1
type OssShipper struct { pulumi.CustomResourceState // How often is it delivered every interval. BufferInterval pulumi.IntOutput `pulumi:"bufferInterval"` // Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`. BufferSize pulumi.IntOutput `pulumi:"bufferSize"` // OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`. CompressType pulumi.StringPtrOutput `pulumi:"compressType"` CsvConfigColumns pulumi.StringArrayOutput `pulumi:"csvConfigColumns"` CsvConfigDelimiter pulumi.StringPtrOutput `pulumi:"csvConfigDelimiter"` CsvConfigHeader pulumi.BoolPtrOutput `pulumi:"csvConfigHeader"` CsvConfigLinefeed pulumi.StringPtrOutput `pulumi:"csvConfigLinefeed"` CsvConfigNullidentifier pulumi.StringPtrOutput `pulumi:"csvConfigNullidentifier"` CsvConfigQuote pulumi.StringPtrOutput `pulumi:"csvConfigQuote"` // Storage format, only supports three types: `json`, `parquet`, `csv`. // **According to the different format, please select the following parameters** // - format = `json` // `jsonEnableTag` - (Optional) Whether to deliver the label. // - format = `csv` // `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format. // `csvConfigColumns` - (Optional) Field configuration in csv configuration format. // `csvConfigNullidentifier` - (Optional) Invalid field content. // `csvConfigQuote` - (Optional) Escape character under csv configuration. // `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`. // `csvConfigLinefeed` - (Optional) Separator in csv configuration. // - format = `parquet` // `parquetConfig` - (Optional) Configure to use parquet storage format. // `name` - (Required) The name of the key. // `type` - (Required) Type of configuration name. Format pulumi.StringOutput `pulumi:"format"` JsonEnableTag pulumi.BoolPtrOutput `pulumi:"jsonEnableTag"` // The name of the log logstore. LogstoreName pulumi.StringOutput `pulumi:"logstoreName"` // The name of the oss bucket. OssBucket pulumi.StringOutput `pulumi:"ossBucket"` // The data synchronized from Log Service to OSS will be stored in this directory of Bucket. OssPrefix pulumi.StringPtrOutput `pulumi:"ossPrefix"` ParquetConfigs OssShipperParquetConfigArrayOutput `pulumi:"parquetConfigs"` // The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`. PathFormat pulumi.StringOutput `pulumi:"pathFormat"` // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringOutput `pulumi:"projectName"` // Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole` RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` // Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long. ShipperName pulumi.StringOutput `pulumi:"shipperName"` }
Log service data delivery management, this service provides the function of delivering data in logstore to oss product storage. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/43724.htm).
> **NOTE:** Available in 1.121.0+
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/log" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{ Description: pulumi.String("created by terraform"), Tags: pulumi.StringMap{ "test": pulumi.String("test"), }, }) if err != nil { return err } _, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{ Project: exampleProject.Name, RetentionPeriod: pulumi.Int(3650), ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } _, err = log.NewOssShipper(ctx, "exampleOssShipper", &log.OssShipperArgs{ ProjectName: exampleProject.Name, LogstoreName: pulumi.Any(alicloud_log_logstore.Example.Name), ShipperName: pulumi.String("oss_shipper_name"), OssBucket: pulumi.String("test_bucket"), OssPrefix: pulumi.String("/root"), BufferInterval: pulumi.Int(300), BufferSize: pulumi.Int(250), CompressType: pulumi.String("none"), PathFormat: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v", "%", "Y/", "%", "m/", "%", "d/", "%", "H/", "%", "M")), Format: pulumi.String("json"), JsonEnableTag: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Log oss shipper can be imported using the id or name, e.g.
```sh
$ pulumi import alicloud:log/ossShipper:OssShipper example tf-log-project:tf-log-logstore:tf-log-shipper
```
func GetOssShipper ¶ added in v2.39.1
func GetOssShipper(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OssShipperState, opts ...pulumi.ResourceOption) (*OssShipper, error)
GetOssShipper gets an existing OssShipper 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 NewOssShipper ¶ added in v2.39.1
func NewOssShipper(ctx *pulumi.Context, name string, args *OssShipperArgs, opts ...pulumi.ResourceOption) (*OssShipper, error)
NewOssShipper registers a new resource with the given unique name, arguments, and options.
func (*OssShipper) ElementType ¶ added in v2.39.1
func (*OssShipper) ElementType() reflect.Type
func (*OssShipper) ToOssShipperOutput ¶ added in v2.39.1
func (i *OssShipper) ToOssShipperOutput() OssShipperOutput
func (*OssShipper) ToOssShipperOutputWithContext ¶ added in v2.39.1
func (i *OssShipper) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput
func (*OssShipper) ToOssShipperPtrOutput ¶ added in v2.39.1
func (i *OssShipper) ToOssShipperPtrOutput() OssShipperPtrOutput
func (*OssShipper) ToOssShipperPtrOutputWithContext ¶ added in v2.39.1
func (i *OssShipper) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
type OssShipperArgs ¶ added in v2.39.1
type OssShipperArgs struct { // How often is it delivered every interval. BufferInterval pulumi.IntInput // Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`. BufferSize pulumi.IntInput // OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`. CompressType pulumi.StringPtrInput CsvConfigColumns pulumi.StringArrayInput CsvConfigDelimiter pulumi.StringPtrInput CsvConfigHeader pulumi.BoolPtrInput CsvConfigLinefeed pulumi.StringPtrInput CsvConfigNullidentifier pulumi.StringPtrInput CsvConfigQuote pulumi.StringPtrInput // Storage format, only supports three types: `json`, `parquet`, `csv`. // **According to the different format, please select the following parameters** // - format = `json` // `jsonEnableTag` - (Optional) Whether to deliver the label. // - format = `csv` // `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format. // `csvConfigColumns` - (Optional) Field configuration in csv configuration format. // `csvConfigNullidentifier` - (Optional) Invalid field content. // `csvConfigQuote` - (Optional) Escape character under csv configuration. // `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`. // `csvConfigLinefeed` - (Optional) Separator in csv configuration. // - format = `parquet` // `parquetConfig` - (Optional) Configure to use parquet storage format. // `name` - (Required) The name of the key. // `type` - (Required) Type of configuration name. Format pulumi.StringInput JsonEnableTag pulumi.BoolPtrInput // The name of the log logstore. LogstoreName pulumi.StringInput // The name of the oss bucket. OssBucket pulumi.StringInput // The data synchronized from Log Service to OSS will be stored in this directory of Bucket. OssPrefix pulumi.StringPtrInput ParquetConfigs OssShipperParquetConfigArrayInput // The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`. PathFormat pulumi.StringInput // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringInput // Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole` RoleArn pulumi.StringPtrInput // Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long. ShipperName pulumi.StringInput }
The set of arguments for constructing a OssShipper resource.
func (OssShipperArgs) ElementType ¶ added in v2.39.1
func (OssShipperArgs) ElementType() reflect.Type
type OssShipperArray ¶ added in v2.39.1
type OssShipperArray []OssShipperInput
func (OssShipperArray) ElementType ¶ added in v2.39.1
func (OssShipperArray) ElementType() reflect.Type
func (OssShipperArray) ToOssShipperArrayOutput ¶ added in v2.39.1
func (i OssShipperArray) ToOssShipperArrayOutput() OssShipperArrayOutput
func (OssShipperArray) ToOssShipperArrayOutputWithContext ¶ added in v2.39.1
func (i OssShipperArray) ToOssShipperArrayOutputWithContext(ctx context.Context) OssShipperArrayOutput
type OssShipperArrayInput ¶ added in v2.39.1
type OssShipperArrayInput interface { pulumi.Input ToOssShipperArrayOutput() OssShipperArrayOutput ToOssShipperArrayOutputWithContext(context.Context) OssShipperArrayOutput }
OssShipperArrayInput is an input type that accepts OssShipperArray and OssShipperArrayOutput values. You can construct a concrete instance of `OssShipperArrayInput` via:
OssShipperArray{ OssShipperArgs{...} }
type OssShipperArrayOutput ¶ added in v2.39.1
type OssShipperArrayOutput struct{ *pulumi.OutputState }
func (OssShipperArrayOutput) ElementType ¶ added in v2.39.1
func (OssShipperArrayOutput) ElementType() reflect.Type
func (OssShipperArrayOutput) Index ¶ added in v2.39.1
func (o OssShipperArrayOutput) Index(i pulumi.IntInput) OssShipperOutput
func (OssShipperArrayOutput) ToOssShipperArrayOutput ¶ added in v2.39.1
func (o OssShipperArrayOutput) ToOssShipperArrayOutput() OssShipperArrayOutput
func (OssShipperArrayOutput) ToOssShipperArrayOutputWithContext ¶ added in v2.39.1
func (o OssShipperArrayOutput) ToOssShipperArrayOutputWithContext(ctx context.Context) OssShipperArrayOutput
type OssShipperInput ¶ added in v2.39.1
type OssShipperInput interface { pulumi.Input ToOssShipperOutput() OssShipperOutput ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput }
type OssShipperMap ¶ added in v2.39.1
type OssShipperMap map[string]OssShipperInput
func (OssShipperMap) ElementType ¶ added in v2.39.1
func (OssShipperMap) ElementType() reflect.Type
func (OssShipperMap) ToOssShipperMapOutput ¶ added in v2.39.1
func (i OssShipperMap) ToOssShipperMapOutput() OssShipperMapOutput
func (OssShipperMap) ToOssShipperMapOutputWithContext ¶ added in v2.39.1
func (i OssShipperMap) ToOssShipperMapOutputWithContext(ctx context.Context) OssShipperMapOutput
type OssShipperMapInput ¶ added in v2.39.1
type OssShipperMapInput interface { pulumi.Input ToOssShipperMapOutput() OssShipperMapOutput ToOssShipperMapOutputWithContext(context.Context) OssShipperMapOutput }
OssShipperMapInput is an input type that accepts OssShipperMap and OssShipperMapOutput values. You can construct a concrete instance of `OssShipperMapInput` via:
OssShipperMap{ "key": OssShipperArgs{...} }
type OssShipperMapOutput ¶ added in v2.39.1
type OssShipperMapOutput struct{ *pulumi.OutputState }
func (OssShipperMapOutput) ElementType ¶ added in v2.39.1
func (OssShipperMapOutput) ElementType() reflect.Type
func (OssShipperMapOutput) MapIndex ¶ added in v2.39.1
func (o OssShipperMapOutput) MapIndex(k pulumi.StringInput) OssShipperOutput
func (OssShipperMapOutput) ToOssShipperMapOutput ¶ added in v2.39.1
func (o OssShipperMapOutput) ToOssShipperMapOutput() OssShipperMapOutput
func (OssShipperMapOutput) ToOssShipperMapOutputWithContext ¶ added in v2.39.1
func (o OssShipperMapOutput) ToOssShipperMapOutputWithContext(ctx context.Context) OssShipperMapOutput
type OssShipperOutput ¶ added in v2.39.1
type OssShipperOutput struct {
*pulumi.OutputState
}
func (OssShipperOutput) ElementType ¶ added in v2.39.1
func (OssShipperOutput) ElementType() reflect.Type
func (OssShipperOutput) ToOssShipperOutput ¶ added in v2.39.1
func (o OssShipperOutput) ToOssShipperOutput() OssShipperOutput
func (OssShipperOutput) ToOssShipperOutputWithContext ¶ added in v2.39.1
func (o OssShipperOutput) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput
func (OssShipperOutput) ToOssShipperPtrOutput ¶ added in v2.39.1
func (o OssShipperOutput) ToOssShipperPtrOutput() OssShipperPtrOutput
func (OssShipperOutput) ToOssShipperPtrOutputWithContext ¶ added in v2.39.1
func (o OssShipperOutput) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
type OssShipperParquetConfig ¶ added in v2.39.1
type OssShipperParquetConfigArgs ¶ added in v2.39.1
type OssShipperParquetConfigArgs struct { Name pulumi.StringInput `pulumi:"name"` Type pulumi.StringInput `pulumi:"type"` }
func (OssShipperParquetConfigArgs) ElementType ¶ added in v2.39.1
func (OssShipperParquetConfigArgs) ElementType() reflect.Type
func (OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutput ¶ added in v2.39.1
func (i OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput
func (OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutputWithContext ¶ added in v2.39.1
func (i OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutputWithContext(ctx context.Context) OssShipperParquetConfigOutput
type OssShipperParquetConfigArray ¶ added in v2.39.1
type OssShipperParquetConfigArray []OssShipperParquetConfigInput
func (OssShipperParquetConfigArray) ElementType ¶ added in v2.39.1
func (OssShipperParquetConfigArray) ElementType() reflect.Type
func (OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutput ¶ added in v2.39.1
func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput
func (OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutputWithContext ¶ added in v2.39.1
func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput
type OssShipperParquetConfigArrayInput ¶ added in v2.39.1
type OssShipperParquetConfigArrayInput interface { pulumi.Input ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput ToOssShipperParquetConfigArrayOutputWithContext(context.Context) OssShipperParquetConfigArrayOutput }
OssShipperParquetConfigArrayInput is an input type that accepts OssShipperParquetConfigArray and OssShipperParquetConfigArrayOutput values. You can construct a concrete instance of `OssShipperParquetConfigArrayInput` via:
OssShipperParquetConfigArray{ OssShipperParquetConfigArgs{...} }
type OssShipperParquetConfigArrayOutput ¶ added in v2.39.1
type OssShipperParquetConfigArrayOutput struct{ *pulumi.OutputState }
func (OssShipperParquetConfigArrayOutput) ElementType ¶ added in v2.39.1
func (OssShipperParquetConfigArrayOutput) ElementType() reflect.Type
func (OssShipperParquetConfigArrayOutput) Index ¶ added in v2.39.1
func (o OssShipperParquetConfigArrayOutput) Index(i pulumi.IntInput) OssShipperParquetConfigOutput
func (OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutput ¶ added in v2.39.1
func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput
func (OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutputWithContext ¶ added in v2.39.1
func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput
type OssShipperParquetConfigInput ¶ added in v2.39.1
type OssShipperParquetConfigInput interface { pulumi.Input ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput ToOssShipperParquetConfigOutputWithContext(context.Context) OssShipperParquetConfigOutput }
OssShipperParquetConfigInput is an input type that accepts OssShipperParquetConfigArgs and OssShipperParquetConfigOutput values. You can construct a concrete instance of `OssShipperParquetConfigInput` via:
OssShipperParquetConfigArgs{...}
type OssShipperParquetConfigOutput ¶ added in v2.39.1
type OssShipperParquetConfigOutput struct{ *pulumi.OutputState }
func (OssShipperParquetConfigOutput) ElementType ¶ added in v2.39.1
func (OssShipperParquetConfigOutput) ElementType() reflect.Type
func (OssShipperParquetConfigOutput) Name ¶ added in v2.39.1
func (o OssShipperParquetConfigOutput) Name() pulumi.StringOutput
func (OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutput ¶ added in v2.39.1
func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput
func (OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutputWithContext ¶ added in v2.39.1
func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutputWithContext(ctx context.Context) OssShipperParquetConfigOutput
func (OssShipperParquetConfigOutput) Type ¶ added in v2.39.1
func (o OssShipperParquetConfigOutput) Type() pulumi.StringOutput
type OssShipperPtrInput ¶ added in v2.39.1
type OssShipperPtrInput interface { pulumi.Input ToOssShipperPtrOutput() OssShipperPtrOutput ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput }
type OssShipperPtrOutput ¶ added in v2.39.1
type OssShipperPtrOutput struct {
*pulumi.OutputState
}
func (OssShipperPtrOutput) ElementType ¶ added in v2.39.1
func (OssShipperPtrOutput) ElementType() reflect.Type
func (OssShipperPtrOutput) ToOssShipperPtrOutput ¶ added in v2.39.1
func (o OssShipperPtrOutput) ToOssShipperPtrOutput() OssShipperPtrOutput
func (OssShipperPtrOutput) ToOssShipperPtrOutputWithContext ¶ added in v2.39.1
func (o OssShipperPtrOutput) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
type OssShipperState ¶ added in v2.39.1
type OssShipperState struct { // How often is it delivered every interval. BufferInterval pulumi.IntPtrInput // Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`. BufferSize pulumi.IntPtrInput // OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`. CompressType pulumi.StringPtrInput CsvConfigColumns pulumi.StringArrayInput CsvConfigDelimiter pulumi.StringPtrInput CsvConfigHeader pulumi.BoolPtrInput CsvConfigLinefeed pulumi.StringPtrInput CsvConfigNullidentifier pulumi.StringPtrInput CsvConfigQuote pulumi.StringPtrInput // Storage format, only supports three types: `json`, `parquet`, `csv`. // **According to the different format, please select the following parameters** // - format = `json` // `jsonEnableTag` - (Optional) Whether to deliver the label. // - format = `csv` // `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format. // `csvConfigColumns` - (Optional) Field configuration in csv configuration format. // `csvConfigNullidentifier` - (Optional) Invalid field content. // `csvConfigQuote` - (Optional) Escape character under csv configuration. // `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`. // `csvConfigLinefeed` - (Optional) Separator in csv configuration. // - format = `parquet` // `parquetConfig` - (Optional) Configure to use parquet storage format. // `name` - (Required) The name of the key. // `type` - (Required) Type of configuration name. Format pulumi.StringPtrInput JsonEnableTag pulumi.BoolPtrInput // The name of the log logstore. LogstoreName pulumi.StringPtrInput // The name of the oss bucket. OssBucket pulumi.StringPtrInput // The data synchronized from Log Service to OSS will be stored in this directory of Bucket. OssPrefix pulumi.StringPtrInput ParquetConfigs OssShipperParquetConfigArrayInput // The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`. PathFormat pulumi.StringPtrInput // The name of the log project. It is the only in one Alicloud account. ProjectName pulumi.StringPtrInput // Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole` RoleArn pulumi.StringPtrInput // Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long. ShipperName pulumi.StringPtrInput }
func (OssShipperState) ElementType ¶ added in v2.39.1
func (OssShipperState) 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"` // Log project tags. Tags pulumi.MapOutput `pulumi:"tags"` }
## Import
Log project can be imported using the id or name, e.g.
```sh
$ pulumi import alicloud:log/project:Project example tf-log
```
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.
func (*Project) ElementType ¶ added in v2.25.1
func (*Project) ToProjectOutput ¶ added in v2.25.1
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶ added in v2.25.1
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (*Project) ToProjectPtrOutput ¶ added in v2.35.1
func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
func (*Project) ToProjectPtrOutputWithContext ¶ added in v2.35.1
func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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 // Log project tags. Tags pulumi.MapInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶ added in v2.35.1
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶ added in v2.35.1
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶ added in v2.35.1
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶ added in v2.35.1
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶ added in v2.35.1
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶ added in v2.35.1
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶ added in v2.35.1
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶ added in v2.35.1
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶ added in v2.35.1
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶ added in v2.35.1
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectInput ¶ added in v2.25.1
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶ added in v2.35.1
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶ added in v2.35.1
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶ added in v2.35.1
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶ added in v2.35.1
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶ added in v2.35.1
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶ added in v2.35.1
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶ added in v2.35.1
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶ added in v2.35.1
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶ added in v2.35.1
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶ added in v2.35.1
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶ added in v2.25.1
type ProjectOutput struct {
*pulumi.OutputState
}
func (ProjectOutput) ElementType ¶ added in v2.25.1
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ToProjectOutput ¶ added in v2.25.1
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶ added in v2.25.1
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (ProjectOutput) ToProjectPtrOutput ¶ added in v2.35.1
func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectOutput) ToProjectPtrOutputWithContext ¶ added in v2.35.1
func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectPtrInput ¶ added in v2.35.1
type ProjectPtrInput interface { pulumi.Input ToProjectPtrOutput() ProjectPtrOutput ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput }
type ProjectPtrOutput ¶ added in v2.35.1
type ProjectPtrOutput struct {
*pulumi.OutputState
}
func (ProjectPtrOutput) ElementType ¶ added in v2.35.1
func (ProjectPtrOutput) ElementType() reflect.Type
func (ProjectPtrOutput) ToProjectPtrOutput ¶ added in v2.35.1
func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectPtrOutput) ToProjectPtrOutputWithContext ¶ added in v2.35.1
func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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 // Log project tags. Tags pulumi.MapInput }
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"` }
## Import
Log store can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/store:Store example tf-log:tf-log-store
```
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).
func NewStore ¶
func NewStore(ctx *pulumi.Context, name string, args *StoreArgs, opts ...pulumi.ResourceOption) (*Store, error)
NewStore registers a new resource with the given unique name, arguments, and options.
func (*Store) ElementType ¶ added in v2.25.1
func (*Store) ToStoreOutput ¶ added in v2.25.1
func (i *Store) ToStoreOutput() StoreOutput
func (*Store) ToStoreOutputWithContext ¶ added in v2.25.1
func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput
func (*Store) ToStorePtrOutput ¶ added in v2.35.1
func (i *Store) ToStorePtrOutput() StorePtrOutput
func (*Store) ToStorePtrOutputWithContext ¶ added in v2.35.1
func (i *Store) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
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 StoreArray ¶ added in v2.35.1
type StoreArray []StoreInput
func (StoreArray) ElementType ¶ added in v2.35.1
func (StoreArray) ElementType() reflect.Type
func (StoreArray) ToStoreArrayOutput ¶ added in v2.35.1
func (i StoreArray) ToStoreArrayOutput() StoreArrayOutput
func (StoreArray) ToStoreArrayOutputWithContext ¶ added in v2.35.1
func (i StoreArray) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput
type StoreArrayInput ¶ added in v2.35.1
type StoreArrayInput interface { pulumi.Input ToStoreArrayOutput() StoreArrayOutput ToStoreArrayOutputWithContext(context.Context) StoreArrayOutput }
StoreArrayInput is an input type that accepts StoreArray and StoreArrayOutput values. You can construct a concrete instance of `StoreArrayInput` via:
StoreArray{ StoreArgs{...} }
type StoreArrayOutput ¶ added in v2.35.1
type StoreArrayOutput struct{ *pulumi.OutputState }
func (StoreArrayOutput) ElementType ¶ added in v2.35.1
func (StoreArrayOutput) ElementType() reflect.Type
func (StoreArrayOutput) Index ¶ added in v2.35.1
func (o StoreArrayOutput) Index(i pulumi.IntInput) StoreOutput
func (StoreArrayOutput) ToStoreArrayOutput ¶ added in v2.35.1
func (o StoreArrayOutput) ToStoreArrayOutput() StoreArrayOutput
func (StoreArrayOutput) ToStoreArrayOutputWithContext ¶ added in v2.35.1
func (o StoreArrayOutput) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput
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"` }
## Import
Log store index can be imported using the id, e.g.
```sh
$ pulumi import alicloud:log/storeIndex:StoreIndex example tf-log:tf-log-store
```
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.
func (*StoreIndex) ElementType ¶ added in v2.25.1
func (*StoreIndex) ElementType() reflect.Type
func (*StoreIndex) ToStoreIndexOutput ¶ added in v2.25.1
func (i *StoreIndex) ToStoreIndexOutput() StoreIndexOutput
func (*StoreIndex) ToStoreIndexOutputWithContext ¶ added in v2.25.1
func (i *StoreIndex) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput
func (*StoreIndex) ToStoreIndexPtrOutput ¶ added in v2.35.1
func (i *StoreIndex) ToStoreIndexPtrOutput() StoreIndexPtrOutput
func (*StoreIndex) ToStoreIndexPtrOutputWithContext ¶ added in v2.35.1
func (i *StoreIndex) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
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 StoreIndexArray ¶ added in v2.35.1
type StoreIndexArray []StoreIndexInput
func (StoreIndexArray) ElementType ¶ added in v2.35.1
func (StoreIndexArray) ElementType() reflect.Type
func (StoreIndexArray) ToStoreIndexArrayOutput ¶ added in v2.35.1
func (i StoreIndexArray) ToStoreIndexArrayOutput() StoreIndexArrayOutput
func (StoreIndexArray) ToStoreIndexArrayOutputWithContext ¶ added in v2.35.1
func (i StoreIndexArray) ToStoreIndexArrayOutputWithContext(ctx context.Context) StoreIndexArrayOutput
type StoreIndexArrayInput ¶ added in v2.35.1
type StoreIndexArrayInput interface { pulumi.Input ToStoreIndexArrayOutput() StoreIndexArrayOutput ToStoreIndexArrayOutputWithContext(context.Context) StoreIndexArrayOutput }
StoreIndexArrayInput is an input type that accepts StoreIndexArray and StoreIndexArrayOutput values. You can construct a concrete instance of `StoreIndexArrayInput` via:
StoreIndexArray{ StoreIndexArgs{...} }
type StoreIndexArrayOutput ¶ added in v2.35.1
type StoreIndexArrayOutput struct{ *pulumi.OutputState }
func (StoreIndexArrayOutput) ElementType ¶ added in v2.35.1
func (StoreIndexArrayOutput) ElementType() reflect.Type
func (StoreIndexArrayOutput) Index ¶ added in v2.35.1
func (o StoreIndexArrayOutput) Index(i pulumi.IntInput) StoreIndexOutput
func (StoreIndexArrayOutput) ToStoreIndexArrayOutput ¶ added in v2.35.1
func (o StoreIndexArrayOutput) ToStoreIndexArrayOutput() StoreIndexArrayOutput
func (StoreIndexArrayOutput) ToStoreIndexArrayOutputWithContext ¶ added in v2.35.1
func (o StoreIndexArrayOutput) ToStoreIndexArrayOutputWithContext(ctx context.Context) StoreIndexArrayOutput
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 StoreIndexInput ¶ added in v2.25.1
type StoreIndexInput interface { pulumi.Input ToStoreIndexOutput() StoreIndexOutput ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput }
type StoreIndexMap ¶ added in v2.35.1
type StoreIndexMap map[string]StoreIndexInput
func (StoreIndexMap) ElementType ¶ added in v2.35.1
func (StoreIndexMap) ElementType() reflect.Type
func (StoreIndexMap) ToStoreIndexMapOutput ¶ added in v2.35.1
func (i StoreIndexMap) ToStoreIndexMapOutput() StoreIndexMapOutput
func (StoreIndexMap) ToStoreIndexMapOutputWithContext ¶ added in v2.35.1
func (i StoreIndexMap) ToStoreIndexMapOutputWithContext(ctx context.Context) StoreIndexMapOutput
type StoreIndexMapInput ¶ added in v2.35.1
type StoreIndexMapInput interface { pulumi.Input ToStoreIndexMapOutput() StoreIndexMapOutput ToStoreIndexMapOutputWithContext(context.Context) StoreIndexMapOutput }
StoreIndexMapInput is an input type that accepts StoreIndexMap and StoreIndexMapOutput values. You can construct a concrete instance of `StoreIndexMapInput` via:
StoreIndexMap{ "key": StoreIndexArgs{...} }
type StoreIndexMapOutput ¶ added in v2.35.1
type StoreIndexMapOutput struct{ *pulumi.OutputState }
func (StoreIndexMapOutput) ElementType ¶ added in v2.35.1
func (StoreIndexMapOutput) ElementType() reflect.Type
func (StoreIndexMapOutput) MapIndex ¶ added in v2.35.1
func (o StoreIndexMapOutput) MapIndex(k pulumi.StringInput) StoreIndexOutput
func (StoreIndexMapOutput) ToStoreIndexMapOutput ¶ added in v2.35.1
func (o StoreIndexMapOutput) ToStoreIndexMapOutput() StoreIndexMapOutput
func (StoreIndexMapOutput) ToStoreIndexMapOutputWithContext ¶ added in v2.35.1
func (o StoreIndexMapOutput) ToStoreIndexMapOutputWithContext(ctx context.Context) StoreIndexMapOutput
type StoreIndexOutput ¶ added in v2.25.1
type StoreIndexOutput struct {
*pulumi.OutputState
}
func (StoreIndexOutput) ElementType ¶ added in v2.25.1
func (StoreIndexOutput) ElementType() reflect.Type
func (StoreIndexOutput) ToStoreIndexOutput ¶ added in v2.25.1
func (o StoreIndexOutput) ToStoreIndexOutput() StoreIndexOutput
func (StoreIndexOutput) ToStoreIndexOutputWithContext ¶ added in v2.25.1
func (o StoreIndexOutput) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput
func (StoreIndexOutput) ToStoreIndexPtrOutput ¶ added in v2.35.1
func (o StoreIndexOutput) ToStoreIndexPtrOutput() StoreIndexPtrOutput
func (StoreIndexOutput) ToStoreIndexPtrOutputWithContext ¶ added in v2.35.1
func (o StoreIndexOutput) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
type StoreIndexPtrInput ¶ added in v2.35.1
type StoreIndexPtrInput interface { pulumi.Input ToStoreIndexPtrOutput() StoreIndexPtrOutput ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput }
type StoreIndexPtrOutput ¶ added in v2.35.1
type StoreIndexPtrOutput struct {
*pulumi.OutputState
}
func (StoreIndexPtrOutput) ElementType ¶ added in v2.35.1
func (StoreIndexPtrOutput) ElementType() reflect.Type
func (StoreIndexPtrOutput) ToStoreIndexPtrOutput ¶ added in v2.35.1
func (o StoreIndexPtrOutput) ToStoreIndexPtrOutput() StoreIndexPtrOutput
func (StoreIndexPtrOutput) ToStoreIndexPtrOutputWithContext ¶ added in v2.35.1
func (o StoreIndexPtrOutput) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
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 StoreInput ¶ added in v2.25.1
type StoreInput interface { pulumi.Input ToStoreOutput() StoreOutput ToStoreOutputWithContext(ctx context.Context) StoreOutput }
type StoreMap ¶ added in v2.35.1
type StoreMap map[string]StoreInput
func (StoreMap) ElementType ¶ added in v2.35.1
func (StoreMap) ToStoreMapOutput ¶ added in v2.35.1
func (i StoreMap) ToStoreMapOutput() StoreMapOutput
func (StoreMap) ToStoreMapOutputWithContext ¶ added in v2.35.1
func (i StoreMap) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput
type StoreMapInput ¶ added in v2.35.1
type StoreMapInput interface { pulumi.Input ToStoreMapOutput() StoreMapOutput ToStoreMapOutputWithContext(context.Context) StoreMapOutput }
StoreMapInput is an input type that accepts StoreMap and StoreMapOutput values. You can construct a concrete instance of `StoreMapInput` via:
StoreMap{ "key": StoreArgs{...} }
type StoreMapOutput ¶ added in v2.35.1
type StoreMapOutput struct{ *pulumi.OutputState }
func (StoreMapOutput) ElementType ¶ added in v2.35.1
func (StoreMapOutput) ElementType() reflect.Type
func (StoreMapOutput) MapIndex ¶ added in v2.35.1
func (o StoreMapOutput) MapIndex(k pulumi.StringInput) StoreOutput
func (StoreMapOutput) ToStoreMapOutput ¶ added in v2.35.1
func (o StoreMapOutput) ToStoreMapOutput() StoreMapOutput
func (StoreMapOutput) ToStoreMapOutputWithContext ¶ added in v2.35.1
func (o StoreMapOutput) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput
type StoreOutput ¶ added in v2.25.1
type StoreOutput struct {
*pulumi.OutputState
}
func (StoreOutput) ElementType ¶ added in v2.25.1
func (StoreOutput) ElementType() reflect.Type
func (StoreOutput) ToStoreOutput ¶ added in v2.25.1
func (o StoreOutput) ToStoreOutput() StoreOutput
func (StoreOutput) ToStoreOutputWithContext ¶ added in v2.25.1
func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput
func (StoreOutput) ToStorePtrOutput ¶ added in v2.35.1
func (o StoreOutput) ToStorePtrOutput() StorePtrOutput
func (StoreOutput) ToStorePtrOutputWithContext ¶ added in v2.35.1
func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
type StorePtrInput ¶ added in v2.35.1
type StorePtrInput interface { pulumi.Input ToStorePtrOutput() StorePtrOutput ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput }
type StorePtrOutput ¶ added in v2.35.1
type StorePtrOutput struct {
*pulumi.OutputState
}
func (StorePtrOutput) ElementType ¶ added in v2.35.1
func (StorePtrOutput) ElementType() reflect.Type
func (StorePtrOutput) ToStorePtrOutput ¶ added in v2.35.1
func (o StorePtrOutput) ToStorePtrOutput() StorePtrOutput
func (StorePtrOutput) ToStorePtrOutputWithContext ¶ added in v2.35.1
func (o StorePtrOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
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