Documentation
¶
Index ¶
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AuditSwitch() pulumi.BoolOutput
- func (o InstanceOutput) CosBucket() pulumi.StringOutput
- func (o InstanceOutput) CosRegion() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnableKmsEncry() pulumi.BoolPtrOutput
- func (o InstanceOutput) KeyId() pulumi.StringPtrOutput
- func (o InstanceOutput) LogFilePrefix() pulumi.StringOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) ReadWriteAttribute() pulumi.IntOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Indicate whether to turn on audit logging or not. AuditSwitch pulumi.BoolOutput `pulumi:"auditSwitch"` // Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by // terraform. CosBucket pulumi.StringOutput `pulumi:"cosBucket"` // Region of the cos bucket. CosRegion pulumi.StringOutput `pulumi:"cosRegion"` // Indicate whether the log is encrypt with KMS algorithm or not. EnableKmsEncry pulumi.BoolPtrOutput `pulumi:"enableKmsEncry"` // Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the // KMS must be as same as the `cos_region`. KeyId pulumi.StringPtrOutput `pulumi:"keyId"` // The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix. LogFilePrefix pulumi.StringOutput `pulumi:"logFilePrefix"` // Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or '_' supported. Name pulumi.StringOutput `pulumi:"name"` // Event attribute filter. Valid values: `1`, `2`, `3`. `1` for readonly, `2` for write-only, `3` for all. ReadWriteAttribute pulumi.IntOutput `pulumi:"readWriteAttribute"` }
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // Indicate whether to turn on audit logging or not. AuditSwitch pulumi.BoolInput // Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by // terraform. CosBucket pulumi.StringInput // Region of the cos bucket. CosRegion pulumi.StringInput // Indicate whether the log is encrypt with KMS algorithm or not. EnableKmsEncry pulumi.BoolPtrInput // Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the // KMS must be as same as the `cos_region`. KeyId pulumi.StringPtrInput // The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix. LogFilePrefix pulumi.StringPtrInput // Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or '_' supported. Name pulumi.StringPtrInput // Event attribute filter. Valid values: `1`, `2`, `3`. `1` for readonly, `2` for write-only, `3` for all. ReadWriteAttribute pulumi.IntInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AuditSwitch ¶
func (o InstanceOutput) AuditSwitch() pulumi.BoolOutput
Indicate whether to turn on audit logging or not.
func (InstanceOutput) CosBucket ¶
func (o InstanceOutput) CosBucket() pulumi.StringOutput
Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by terraform.
func (InstanceOutput) CosRegion ¶
func (o InstanceOutput) CosRegion() pulumi.StringOutput
Region of the cos bucket.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnableKmsEncry ¶
func (o InstanceOutput) EnableKmsEncry() pulumi.BoolPtrOutput
Indicate whether the log is encrypt with KMS algorithm or not.
func (InstanceOutput) KeyId ¶
func (o InstanceOutput) KeyId() pulumi.StringPtrOutput
Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the KMS must be as same as the `cos_region`.
func (InstanceOutput) LogFilePrefix ¶
func (o InstanceOutput) LogFilePrefix() pulumi.StringOutput
The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or '_' supported.
func (InstanceOutput) ReadWriteAttribute ¶
func (o InstanceOutput) ReadWriteAttribute() pulumi.IntOutput
Event attribute filter. Valid values: `1`, `2`, `3`. `1` for readonly, `2` for write-only, `3` for all.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // Indicate whether to turn on audit logging or not. AuditSwitch pulumi.BoolPtrInput // Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by // terraform. CosBucket pulumi.StringPtrInput // Region of the cos bucket. CosRegion pulumi.StringPtrInput // Indicate whether the log is encrypt with KMS algorithm or not. EnableKmsEncry pulumi.BoolPtrInput // Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the // KMS must be as same as the `cos_region`. KeyId pulumi.StringPtrInput // The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix. LogFilePrefix pulumi.StringPtrInput // Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or '_' supported. Name pulumi.StringPtrInput // Event attribute filter. Valid values: `1`, `2`, `3`. `1` for readonly, `2` for write-only, `3` for all. ReadWriteAttribute pulumi.IntPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type