Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type CassandraInstance
- type CassandraInstanceArgs
- type CassandraInstanceArray
- type CassandraInstanceArrayInput
- type CassandraInstanceArrayOutput
- func (CassandraInstanceArrayOutput) ElementType() reflect.Type
- func (o CassandraInstanceArrayOutput) Index(i pulumi.IntInput) CassandraInstanceOutput
- func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput
- func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutputWithContext(ctx context.Context) CassandraInstanceArrayOutput
- type CassandraInstanceBackupStrategy
- type CassandraInstanceBackupStrategyArgs
- func (CassandraInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput
- func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput
- func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
- func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
- type CassandraInstanceBackupStrategyInput
- type CassandraInstanceBackupStrategyOutput
- func (CassandraInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o CassandraInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
- func (o CassandraInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput
- func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput
- func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
- func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
- type CassandraInstanceBackupStrategyPtrInput
- type CassandraInstanceBackupStrategyPtrOutput
- func (o CassandraInstanceBackupStrategyPtrOutput) Elem() CassandraInstanceBackupStrategyOutput
- func (CassandraInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
- func (o CassandraInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
- func (o CassandraInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
- func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
- type CassandraInstanceDatastore
- type CassandraInstanceDatastoreArgs
- func (CassandraInstanceDatastoreArgs) ElementType() reflect.Type
- func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput
- func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput
- func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
- func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
- type CassandraInstanceDatastoreInput
- type CassandraInstanceDatastoreOutput
- func (CassandraInstanceDatastoreOutput) ElementType() reflect.Type
- func (o CassandraInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o CassandraInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput
- func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput
- func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
- func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
- func (o CassandraInstanceDatastoreOutput) Version() pulumi.StringOutput
- type CassandraInstanceDatastorePtrInput
- type CassandraInstanceDatastorePtrOutput
- func (o CassandraInstanceDatastorePtrOutput) Elem() CassandraInstanceDatastoreOutput
- func (CassandraInstanceDatastorePtrOutput) ElementType() reflect.Type
- func (o CassandraInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
- func (o CassandraInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
- func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
- func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
- func (o CassandraInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
- type CassandraInstanceInput
- type CassandraInstanceMap
- type CassandraInstanceMapInput
- type CassandraInstanceMapOutput
- func (CassandraInstanceMapOutput) ElementType() reflect.Type
- func (o CassandraInstanceMapOutput) MapIndex(k pulumi.StringInput) CassandraInstanceOutput
- func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutput() CassandraInstanceMapOutput
- func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutputWithContext(ctx context.Context) CassandraInstanceMapOutput
- type CassandraInstanceNode
- type CassandraInstanceNodeArgs
- type CassandraInstanceNodeArray
- func (CassandraInstanceNodeArray) ElementType() reflect.Type
- func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput
- func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput
- type CassandraInstanceNodeArrayInput
- type CassandraInstanceNodeArrayOutput
- func (CassandraInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o CassandraInstanceNodeArrayOutput) Index(i pulumi.IntInput) CassandraInstanceNodeOutput
- func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput
- func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput
- type CassandraInstanceNodeInput
- type CassandraInstanceNodeOutput
- func (CassandraInstanceNodeOutput) ElementType() reflect.Type
- func (o CassandraInstanceNodeOutput) Id() pulumi.StringPtrOutput
- func (o CassandraInstanceNodeOutput) Name() pulumi.StringPtrOutput
- func (o CassandraInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o CassandraInstanceNodeOutput) Status() pulumi.StringPtrOutput
- func (o CassandraInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
- func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput
- func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutputWithContext(ctx context.Context) CassandraInstanceNodeOutput
- type CassandraInstanceOutput
- func (o CassandraInstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o CassandraInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o CassandraInstanceOutput) BackupStrategy() CassandraInstanceBackupStrategyOutput
- func (o CassandraInstanceOutput) ChargingMode() pulumi.StringPtrOutput
- func (o CassandraInstanceOutput) ConfigurationId() pulumi.StringOutput
- func (o CassandraInstanceOutput) Datastore() CassandraInstanceDatastoreOutput
- func (o CassandraInstanceOutput) DbUserName() pulumi.StringOutput
- func (o CassandraInstanceOutput) DedicatedResourceId() pulumi.StringOutput
- func (o CassandraInstanceOutput) DedicatedResourceName() pulumi.StringOutput
- func (CassandraInstanceOutput) ElementType() reflect.Type
- func (o CassandraInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o CassandraInstanceOutput) Flavor() pulumi.StringOutput
- func (o CassandraInstanceOutput) ForceImport() pulumi.BoolPtrOutput
- func (o CassandraInstanceOutput) LbIpAddress() pulumi.StringOutput
- func (o CassandraInstanceOutput) LbPort() pulumi.StringOutput
- func (o CassandraInstanceOutput) Mode() pulumi.StringOutput
- func (o CassandraInstanceOutput) Name() pulumi.StringOutput
- func (o CassandraInstanceOutput) NodeNum() pulumi.IntPtrOutput
- func (o CassandraInstanceOutput) Nodes() CassandraInstanceNodeArrayOutput
- func (o CassandraInstanceOutput) Password() pulumi.StringOutput
- func (o CassandraInstanceOutput) Period() pulumi.IntPtrOutput
- func (o CassandraInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o CassandraInstanceOutput) Port() pulumi.IntOutput
- func (o CassandraInstanceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o CassandraInstanceOutput) Region() pulumi.StringOutput
- func (o CassandraInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o CassandraInstanceOutput) Ssl() pulumi.BoolPtrOutput
- func (o CassandraInstanceOutput) Status() pulumi.StringOutput
- func (o CassandraInstanceOutput) SubnetId() pulumi.StringOutput
- func (o CassandraInstanceOutput) Tags() pulumi.StringMapOutput
- func (o CassandraInstanceOutput) ToCassandraInstanceOutput() CassandraInstanceOutput
- func (o CassandraInstanceOutput) ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput
- func (o CassandraInstanceOutput) VolumeSize() pulumi.IntOutput
- func (o CassandraInstanceOutput) VpcId() pulumi.StringOutput
- type CassandraInstanceState
- type GetCassandraDedicatedResourceArgs
- type GetCassandraDedicatedResourceOutputArgs
- type GetCassandraDedicatedResourceResult
- type GetCassandraDedicatedResourceResultOutput
- func (o GetCassandraDedicatedResourceResultOutput) Architecture() pulumi.StringOutput
- func (o GetCassandraDedicatedResourceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (GetCassandraDedicatedResourceResultOutput) ElementType() reflect.Type
- func (o GetCassandraDedicatedResourceResultOutput) Id() pulumi.StringOutput
- func (o GetCassandraDedicatedResourceResultOutput) Ram() pulumi.IntOutput
- func (o GetCassandraDedicatedResourceResultOutput) Region() pulumi.StringOutput
- func (o GetCassandraDedicatedResourceResultOutput) ResourceName() pulumi.StringOutput
- func (o GetCassandraDedicatedResourceResultOutput) Status() pulumi.StringOutput
- func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutput() GetCassandraDedicatedResourceResultOutput
- func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutputWithContext(ctx context.Context) GetCassandraDedicatedResourceResultOutput
- func (o GetCassandraDedicatedResourceResultOutput) Vcpus() pulumi.IntOutput
- func (o GetCassandraDedicatedResourceResultOutput) Volume() pulumi.IntOutput
- type GetCassandraFlavorsArgs
- type GetCassandraFlavorsFlavor
- type GetCassandraFlavorsFlavorArgs
- func (GetCassandraFlavorsFlavorArgs) ElementType() reflect.Type
- func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput
- func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput
- type GetCassandraFlavorsFlavorArray
- func (GetCassandraFlavorsFlavorArray) ElementType() reflect.Type
- func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput
- func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput
- type GetCassandraFlavorsFlavorArrayInput
- type GetCassandraFlavorsFlavorArrayOutput
- func (GetCassandraFlavorsFlavorArrayOutput) ElementType() reflect.Type
- func (o GetCassandraFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetCassandraFlavorsFlavorOutput
- func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput
- func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput
- type GetCassandraFlavorsFlavorInput
- type GetCassandraFlavorsFlavorOutput
- func (o GetCassandraFlavorsFlavorOutput) AzStatus() pulumi.StringMapOutput
- func (GetCassandraFlavorsFlavorOutput) ElementType() reflect.Type
- func (o GetCassandraFlavorsFlavorOutput) Memory() pulumi.StringOutput
- func (o GetCassandraFlavorsFlavorOutput) Name() pulumi.StringOutput
- func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput
- func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput
- func (o GetCassandraFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
- func (o GetCassandraFlavorsFlavorOutput) Version() pulumi.StringOutput
- type GetCassandraFlavorsOutputArgs
- type GetCassandraFlavorsResult
- type GetCassandraFlavorsResultOutput
- func (GetCassandraFlavorsResultOutput) ElementType() reflect.Type
- func (o GetCassandraFlavorsResultOutput) Flavors() GetCassandraFlavorsFlavorArrayOutput
- func (o GetCassandraFlavorsResultOutput) Id() pulumi.StringOutput
- func (o GetCassandraFlavorsResultOutput) Memory() pulumi.StringPtrOutput
- func (o GetCassandraFlavorsResultOutput) Region() pulumi.StringOutput
- func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutput() GetCassandraFlavorsResultOutput
- func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutputWithContext(ctx context.Context) GetCassandraFlavorsResultOutput
- func (o GetCassandraFlavorsResultOutput) Vcpus() pulumi.StringPtrOutput
- func (o GetCassandraFlavorsResultOutput) Version() pulumi.StringPtrOutput
- type GetCassandraInstanceBackupStrategy
- type GetCassandraInstanceBackupStrategyArgs
- func (GetCassandraInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput
- func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput
- type GetCassandraInstanceBackupStrategyArray
- func (GetCassandraInstanceBackupStrategyArray) ElementType() reflect.Type
- func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput
- func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput
- type GetCassandraInstanceBackupStrategyArrayInput
- type GetCassandraInstanceBackupStrategyArrayOutput
- func (GetCassandraInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceBackupStrategyArrayOutput) Index(i pulumi.IntInput) GetCassandraInstanceBackupStrategyOutput
- func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput
- func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput
- type GetCassandraInstanceBackupStrategyInput
- type GetCassandraInstanceBackupStrategyOutput
- func (GetCassandraInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
- func (o GetCassandraInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput
- func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput
- type GetCassandraInstanceDatastore
- type GetCassandraInstanceDatastoreArgs
- func (GetCassandraInstanceDatastoreArgs) ElementType() reflect.Type
- func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput
- func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput
- type GetCassandraInstanceDatastoreArray
- func (GetCassandraInstanceDatastoreArray) ElementType() reflect.Type
- func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput
- func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput
- type GetCassandraInstanceDatastoreArrayInput
- type GetCassandraInstanceDatastoreArrayOutput
- func (GetCassandraInstanceDatastoreArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceDatastoreArrayOutput) Index(i pulumi.IntInput) GetCassandraInstanceDatastoreOutput
- func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput
- func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput
- type GetCassandraInstanceDatastoreInput
- type GetCassandraInstanceDatastoreOutput
- func (GetCassandraInstanceDatastoreOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o GetCassandraInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput
- func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput
- func (o GetCassandraInstanceDatastoreOutput) Version() pulumi.StringOutput
- type GetCassandraInstanceNode
- type GetCassandraInstanceNodeArgs
- func (GetCassandraInstanceNodeArgs) ElementType() reflect.Type
- func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput
- func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput
- type GetCassandraInstanceNodeArray
- func (GetCassandraInstanceNodeArray) ElementType() reflect.Type
- func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput
- func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput
- type GetCassandraInstanceNodeArrayInput
- type GetCassandraInstanceNodeArrayOutput
- func (GetCassandraInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetCassandraInstanceNodeOutput
- func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput
- func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput
- type GetCassandraInstanceNodeInput
- type GetCassandraInstanceNodeOutput
- func (o GetCassandraInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
- func (GetCassandraInstanceNodeOutput) ElementType() reflect.Type
- func (o GetCassandraInstanceNodeOutput) Id() pulumi.StringOutput
- func (o GetCassandraInstanceNodeOutput) Name() pulumi.StringOutput
- func (o GetCassandraInstanceNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetCassandraInstanceNodeOutput) Status() pulumi.StringOutput
- func (o GetCassandraInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
- func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput
- func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput
- type GetCassandraInstancesArgs
- type GetCassandraInstancesInstance
- type GetCassandraInstancesInstanceArgs
- func (GetCassandraInstancesInstanceArgs) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput
- func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput
- type GetCassandraInstancesInstanceArray
- func (GetCassandraInstancesInstanceArray) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput
- func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput
- type GetCassandraInstancesInstanceArrayInput
- type GetCassandraInstancesInstanceArrayOutput
- func (GetCassandraInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetCassandraInstancesInstanceOutput
- func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput
- func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput
- type GetCassandraInstancesInstanceBackupStrategy
- type GetCassandraInstancesInstanceBackupStrategyArgs
- func (GetCassandraInstancesInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput
- func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput
- type GetCassandraInstancesInstanceBackupStrategyArray
- func (GetCassandraInstancesInstanceBackupStrategyArray) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput
- func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput
- type GetCassandraInstancesInstanceBackupStrategyArrayInput
- type GetCassandraInstancesInstanceBackupStrategyArrayOutput
- func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) Index(i pulumi.IntInput) GetCassandraInstancesInstanceBackupStrategyOutput
- func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput
- func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput
- type GetCassandraInstancesInstanceBackupStrategyInput
- type GetCassandraInstancesInstanceBackupStrategyOutput
- func (GetCassandraInstancesInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
- func (o GetCassandraInstancesInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput
- func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput
- type GetCassandraInstancesInstanceDatastore
- type GetCassandraInstancesInstanceDatastoreArgs
- func (GetCassandraInstancesInstanceDatastoreArgs) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput
- func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput
- type GetCassandraInstancesInstanceDatastoreArray
- func (GetCassandraInstancesInstanceDatastoreArray) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput
- func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput
- type GetCassandraInstancesInstanceDatastoreArrayInput
- type GetCassandraInstancesInstanceDatastoreArrayOutput
- func (GetCassandraInstancesInstanceDatastoreArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceDatastoreArrayOutput) Index(i pulumi.IntInput) GetCassandraInstancesInstanceDatastoreOutput
- func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput
- func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput
- type GetCassandraInstancesInstanceDatastoreInput
- type GetCassandraInstancesInstanceDatastoreOutput
- func (GetCassandraInstancesInstanceDatastoreOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput
- func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput
- func (o GetCassandraInstancesInstanceDatastoreOutput) Version() pulumi.StringOutput
- type GetCassandraInstancesInstanceInput
- type GetCassandraInstancesInstanceNode
- type GetCassandraInstancesInstanceNodeArgs
- func (GetCassandraInstancesInstanceNodeArgs) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput
- func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput
- type GetCassandraInstancesInstanceNodeArray
- func (GetCassandraInstancesInstanceNodeArray) ElementType() reflect.Type
- func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput
- func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput
- type GetCassandraInstancesInstanceNodeArrayInput
- type GetCassandraInstancesInstanceNodeArrayOutput
- func (GetCassandraInstancesInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetCassandraInstancesInstanceNodeOutput
- func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput
- func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput
- type GetCassandraInstancesInstanceNodeInput
- type GetCassandraInstancesInstanceNodeOutput
- func (o GetCassandraInstancesInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
- func (GetCassandraInstancesInstanceNodeOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceNodeOutput) Id() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceNodeOutput) Name() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceNodeOutput) Status() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
- func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput
- func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput
- type GetCassandraInstancesInstanceOutput
- func (o GetCassandraInstancesInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) BackupStrategies() GetCassandraInstancesInstanceBackupStrategyArrayOutput
- func (o GetCassandraInstancesInstanceOutput) Datastores() GetCassandraInstancesInstanceDatastoreArrayOutput
- func (o GetCassandraInstancesInstanceOutput) DbUserName() pulumi.StringOutput
- func (GetCassandraInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesInstanceOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Flavor() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Mode() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) NodeNum() pulumi.IntOutput
- func (o GetCassandraInstancesInstanceOutput) Nodes() GetCassandraInstancesInstanceNodeArrayOutput
- func (o GetCassandraInstancesInstanceOutput) Port() pulumi.IntOutput
- func (o GetCassandraInstancesInstanceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o GetCassandraInstancesInstanceOutput) Region() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) SubnetId() pulumi.StringOutput
- func (o GetCassandraInstancesInstanceOutput) Tags() pulumi.StringMapOutput
- func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput
- func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput
- func (o GetCassandraInstancesInstanceOutput) VolumeSize() pulumi.IntOutput
- func (o GetCassandraInstancesInstanceOutput) VpcId() pulumi.StringOutput
- type GetCassandraInstancesOutputArgs
- type GetCassandraInstancesResult
- type GetCassandraInstancesResultOutput
- func (GetCassandraInstancesResultOutput) ElementType() reflect.Type
- func (o GetCassandraInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetCassandraInstancesResultOutput) Instances() GetCassandraInstancesInstanceArrayOutput
- func (o GetCassandraInstancesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetCassandraInstancesResultOutput) Region() pulumi.StringOutput
- func (o GetCassandraInstancesResultOutput) SubnetId() pulumi.StringPtrOutput
- func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutput() GetCassandraInstancesResultOutput
- func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutputWithContext(ctx context.Context) GetCassandraInstancesResultOutput
- func (o GetCassandraInstancesResultOutput) VpcId() pulumi.StringPtrOutput
- type GetNosqlFlavorsArgs
- type GetNosqlFlavorsFlavor
- type GetNosqlFlavorsFlavorArgs
- type GetNosqlFlavorsFlavorArray
- func (GetNosqlFlavorsFlavorArray) ElementType() reflect.Type
- func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput
- func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput
- type GetNosqlFlavorsFlavorArrayInput
- type GetNosqlFlavorsFlavorArrayOutput
- func (GetNosqlFlavorsFlavorArrayOutput) ElementType() reflect.Type
- func (o GetNosqlFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetNosqlFlavorsFlavorOutput
- func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput
- func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput
- type GetNosqlFlavorsFlavorInput
- type GetNosqlFlavorsFlavorOutput
- func (o GetNosqlFlavorsFlavorOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (GetNosqlFlavorsFlavorOutput) ElementType() reflect.Type
- func (o GetNosqlFlavorsFlavorOutput) Engine() pulumi.StringOutput
- func (o GetNosqlFlavorsFlavorOutput) EngineVersion() pulumi.StringOutput
- func (o GetNosqlFlavorsFlavorOutput) Memory() pulumi.StringOutput
- func (o GetNosqlFlavorsFlavorOutput) Name() pulumi.StringOutput
- func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput
- func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorOutput
- func (o GetNosqlFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
- type GetNosqlFlavorsOutputArgs
- type GetNosqlFlavorsResult
- type GetNosqlFlavorsResultOutput
- func (o GetNosqlFlavorsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (GetNosqlFlavorsResultOutput) ElementType() reflect.Type
- func (o GetNosqlFlavorsResultOutput) Engine() pulumi.StringPtrOutput
- func (o GetNosqlFlavorsResultOutput) EngineVersion() pulumi.StringPtrOutput
- func (o GetNosqlFlavorsResultOutput) Flavors() GetNosqlFlavorsFlavorArrayOutput
- func (o GetNosqlFlavorsResultOutput) Id() pulumi.StringOutput
- func (o GetNosqlFlavorsResultOutput) Memory() pulumi.IntPtrOutput
- func (o GetNosqlFlavorsResultOutput) Region() pulumi.StringPtrOutput
- func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutput() GetNosqlFlavorsResultOutput
- func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutputWithContext(ctx context.Context) GetNosqlFlavorsResultOutput
- func (o GetNosqlFlavorsResultOutput) Vcpus() pulumi.IntPtrOutput
- type GetRedisInstanceBackupStrategy
- type GetRedisInstanceBackupStrategyArgs
- func (GetRedisInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput
- func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput
- type GetRedisInstanceBackupStrategyArray
- func (GetRedisInstanceBackupStrategyArray) ElementType() reflect.Type
- func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput
- func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput
- type GetRedisInstanceBackupStrategyArrayInput
- type GetRedisInstanceBackupStrategyArrayOutput
- func (GetRedisInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
- func (o GetRedisInstanceBackupStrategyArrayOutput) Index(i pulumi.IntInput) GetRedisInstanceBackupStrategyOutput
- func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput
- func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput
- type GetRedisInstanceBackupStrategyInput
- type GetRedisInstanceBackupStrategyOutput
- func (GetRedisInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o GetRedisInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
- func (o GetRedisInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput
- func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput
- type GetRedisInstanceDatastore
- type GetRedisInstanceDatastoreArgs
- func (GetRedisInstanceDatastoreArgs) ElementType() reflect.Type
- func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput
- func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput
- type GetRedisInstanceDatastoreArray
- func (GetRedisInstanceDatastoreArray) ElementType() reflect.Type
- func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput
- func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput
- type GetRedisInstanceDatastoreArrayInput
- type GetRedisInstanceDatastoreArrayOutput
- func (GetRedisInstanceDatastoreArrayOutput) ElementType() reflect.Type
- func (o GetRedisInstanceDatastoreArrayOutput) Index(i pulumi.IntInput) GetRedisInstanceDatastoreOutput
- func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput
- func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput
- type GetRedisInstanceDatastoreInput
- type GetRedisInstanceDatastoreOutput
- func (GetRedisInstanceDatastoreOutput) ElementType() reflect.Type
- func (o GetRedisInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o GetRedisInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput
- func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput
- func (o GetRedisInstanceDatastoreOutput) Version() pulumi.StringOutput
- type GetRedisInstanceNode
- type GetRedisInstanceNodeArgs
- type GetRedisInstanceNodeArray
- type GetRedisInstanceNodeArrayInput
- type GetRedisInstanceNodeArrayOutput
- func (GetRedisInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o GetRedisInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetRedisInstanceNodeOutput
- func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput
- func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutputWithContext(ctx context.Context) GetRedisInstanceNodeArrayOutput
- type GetRedisInstanceNodeInput
- type GetRedisInstanceNodeOutput
- func (o GetRedisInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
- func (GetRedisInstanceNodeOutput) ElementType() reflect.Type
- func (o GetRedisInstanceNodeOutput) Id() pulumi.StringOutput
- func (o GetRedisInstanceNodeOutput) Name() pulumi.StringOutput
- func (o GetRedisInstanceNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetRedisInstanceNodeOutput) Status() pulumi.StringOutput
- func (o GetRedisInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
- func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput
- func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutputWithContext(ctx context.Context) GetRedisInstanceNodeOutput
- type InfluxInstance
- type InfluxInstanceArgs
- type InfluxInstanceArray
- type InfluxInstanceArrayInput
- type InfluxInstanceArrayOutput
- func (InfluxInstanceArrayOutput) ElementType() reflect.Type
- func (o InfluxInstanceArrayOutput) Index(i pulumi.IntInput) InfluxInstanceOutput
- func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput
- func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutputWithContext(ctx context.Context) InfluxInstanceArrayOutput
- type InfluxInstanceBackupStrategy
- type InfluxInstanceBackupStrategyArgs
- func (InfluxInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput
- func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput
- func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
- func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
- type InfluxInstanceBackupStrategyInput
- type InfluxInstanceBackupStrategyOutput
- func (InfluxInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o InfluxInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
- func (o InfluxInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput
- func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput
- func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
- func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
- type InfluxInstanceBackupStrategyPtrInput
- type InfluxInstanceBackupStrategyPtrOutput
- func (o InfluxInstanceBackupStrategyPtrOutput) Elem() InfluxInstanceBackupStrategyOutput
- func (InfluxInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
- func (o InfluxInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
- func (o InfluxInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
- func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
- type InfluxInstanceDatastore
- type InfluxInstanceDatastoreArgs
- func (InfluxInstanceDatastoreArgs) ElementType() reflect.Type
- func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput
- func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput
- func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
- func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
- type InfluxInstanceDatastoreInput
- type InfluxInstanceDatastoreOutput
- func (InfluxInstanceDatastoreOutput) ElementType() reflect.Type
- func (o InfluxInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o InfluxInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput
- func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput
- func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
- func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
- func (o InfluxInstanceDatastoreOutput) Version() pulumi.StringOutput
- type InfluxInstanceDatastorePtrInput
- type InfluxInstanceDatastorePtrOutput
- func (o InfluxInstanceDatastorePtrOutput) Elem() InfluxInstanceDatastoreOutput
- func (InfluxInstanceDatastorePtrOutput) ElementType() reflect.Type
- func (o InfluxInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
- func (o InfluxInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
- func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
- func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
- func (o InfluxInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
- type InfluxInstanceInput
- type InfluxInstanceMap
- type InfluxInstanceMapInput
- type InfluxInstanceMapOutput
- func (InfluxInstanceMapOutput) ElementType() reflect.Type
- func (o InfluxInstanceMapOutput) MapIndex(k pulumi.StringInput) InfluxInstanceOutput
- func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutput() InfluxInstanceMapOutput
- func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutputWithContext(ctx context.Context) InfluxInstanceMapOutput
- type InfluxInstanceNode
- type InfluxInstanceNodeArgs
- type InfluxInstanceNodeArray
- type InfluxInstanceNodeArrayInput
- type InfluxInstanceNodeArrayOutput
- func (InfluxInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o InfluxInstanceNodeArrayOutput) Index(i pulumi.IntInput) InfluxInstanceNodeOutput
- func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput
- func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutputWithContext(ctx context.Context) InfluxInstanceNodeArrayOutput
- type InfluxInstanceNodeInput
- type InfluxInstanceNodeOutput
- func (InfluxInstanceNodeOutput) ElementType() reflect.Type
- func (o InfluxInstanceNodeOutput) Id() pulumi.StringPtrOutput
- func (o InfluxInstanceNodeOutput) Name() pulumi.StringPtrOutput
- func (o InfluxInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o InfluxInstanceNodeOutput) Status() pulumi.StringPtrOutput
- func (o InfluxInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
- func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput
- func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutputWithContext(ctx context.Context) InfluxInstanceNodeOutput
- type InfluxInstanceOutput
- func (o InfluxInstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o InfluxInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o InfluxInstanceOutput) BackupStrategy() InfluxInstanceBackupStrategyOutput
- func (o InfluxInstanceOutput) ChargingMode() pulumi.StringPtrOutput
- func (o InfluxInstanceOutput) ConfigurationId() pulumi.StringOutput
- func (o InfluxInstanceOutput) Datastore() InfluxInstanceDatastoreOutput
- func (o InfluxInstanceOutput) DbUserName() pulumi.StringOutput
- func (o InfluxInstanceOutput) DedicatedResourceId() pulumi.StringOutput
- func (o InfluxInstanceOutput) DedicatedResourceName() pulumi.StringOutput
- func (InfluxInstanceOutput) ElementType() reflect.Type
- func (o InfluxInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o InfluxInstanceOutput) Flavor() pulumi.StringOutput
- func (o InfluxInstanceOutput) ForceImport() pulumi.BoolPtrOutput
- func (o InfluxInstanceOutput) LbIpAddress() pulumi.StringOutput
- func (o InfluxInstanceOutput) LbPort() pulumi.StringOutput
- func (o InfluxInstanceOutput) Mode() pulumi.StringOutput
- func (o InfluxInstanceOutput) Name() pulumi.StringOutput
- func (o InfluxInstanceOutput) NodeNum() pulumi.IntPtrOutput
- func (o InfluxInstanceOutput) Nodes() InfluxInstanceNodeArrayOutput
- func (o InfluxInstanceOutput) Password() pulumi.StringOutput
- func (o InfluxInstanceOutput) Period() pulumi.IntPtrOutput
- func (o InfluxInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o InfluxInstanceOutput) Port() pulumi.IntOutput
- func (o InfluxInstanceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o InfluxInstanceOutput) Region() pulumi.StringOutput
- func (o InfluxInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o InfluxInstanceOutput) Ssl() pulumi.BoolPtrOutput
- func (o InfluxInstanceOutput) Status() pulumi.StringOutput
- func (o InfluxInstanceOutput) SubnetId() pulumi.StringOutput
- func (o InfluxInstanceOutput) Tags() pulumi.StringMapOutput
- func (o InfluxInstanceOutput) ToInfluxInstanceOutput() InfluxInstanceOutput
- func (o InfluxInstanceOutput) ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput
- func (o InfluxInstanceOutput) VolumeSize() pulumi.IntOutput
- func (o InfluxInstanceOutput) VpcId() pulumi.StringOutput
- type InfluxInstanceState
- type LookupCassandraInstanceArgs
- type LookupCassandraInstanceOutputArgs
- type LookupCassandraInstanceResult
- type LookupCassandraInstanceResultOutput
- func (o LookupCassandraInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) BackupStrategies() GetCassandraInstanceBackupStrategyArrayOutput
- func (o LookupCassandraInstanceResultOutput) Datastores() GetCassandraInstanceDatastoreArrayOutput
- func (o LookupCassandraInstanceResultOutput) DbUserName() pulumi.StringOutput
- func (LookupCassandraInstanceResultOutput) ElementType() reflect.Type
- func (o LookupCassandraInstanceResultOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Flavor() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Mode() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Name() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) NodeNum() pulumi.IntOutput
- func (o LookupCassandraInstanceResultOutput) Nodes() GetCassandraInstanceNodeArrayOutput
- func (o LookupCassandraInstanceResultOutput) Port() pulumi.IntOutput
- func (o LookupCassandraInstanceResultOutput) PrivateIps() pulumi.StringArrayOutput
- func (o LookupCassandraInstanceResultOutput) Region() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) SecurityGroupId() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Status() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupCassandraInstanceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutput() LookupCassandraInstanceResultOutput
- func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutputWithContext(ctx context.Context) LookupCassandraInstanceResultOutput
- func (o LookupCassandraInstanceResultOutput) VolumeSize() pulumi.IntOutput
- func (o LookupCassandraInstanceResultOutput) VpcId() pulumi.StringOutput
- type LookupRedisInstanceArgs
- type LookupRedisInstanceOutputArgs
- type LookupRedisInstanceResult
- type LookupRedisInstanceResultOutput
- func (o LookupRedisInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) BackupStrategies() GetRedisInstanceBackupStrategyArrayOutput
- func (o LookupRedisInstanceResultOutput) Datastores() GetRedisInstanceDatastoreArrayOutput
- func (o LookupRedisInstanceResultOutput) DbUserName() pulumi.StringOutput
- func (LookupRedisInstanceResultOutput) ElementType() reflect.Type
- func (o LookupRedisInstanceResultOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Flavor() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Mode() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Name() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) NodeNum() pulumi.IntOutput
- func (o LookupRedisInstanceResultOutput) Nodes() GetRedisInstanceNodeArrayOutput
- func (o LookupRedisInstanceResultOutput) Port() pulumi.IntOutput
- func (o LookupRedisInstanceResultOutput) PrivateIps() pulumi.StringArrayOutput
- func (o LookupRedisInstanceResultOutput) Region() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) SecurityGroupId() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Status() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupRedisInstanceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutput() LookupRedisInstanceResultOutput
- func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutputWithContext(ctx context.Context) LookupRedisInstanceResultOutput
- func (o LookupRedisInstanceResultOutput) VolumeSize() pulumi.IntOutput
- func (o LookupRedisInstanceResultOutput) VpcId() pulumi.StringOutput
- type MongoInstance
- type MongoInstanceArgs
- type MongoInstanceArray
- type MongoInstanceArrayInput
- type MongoInstanceArrayOutput
- func (MongoInstanceArrayOutput) ElementType() reflect.Type
- func (o MongoInstanceArrayOutput) Index(i pulumi.IntInput) MongoInstanceOutput
- func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutput() MongoInstanceArrayOutput
- func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutputWithContext(ctx context.Context) MongoInstanceArrayOutput
- type MongoInstanceBackupStrategy
- type MongoInstanceBackupStrategyArgs
- func (MongoInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput
- func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput
- func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
- func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
- type MongoInstanceBackupStrategyInput
- type MongoInstanceBackupStrategyOutput
- func (MongoInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o MongoInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
- func (o MongoInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput
- func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput
- func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
- func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
- type MongoInstanceBackupStrategyPtrInput
- type MongoInstanceBackupStrategyPtrOutput
- func (o MongoInstanceBackupStrategyPtrOutput) Elem() MongoInstanceBackupStrategyOutput
- func (MongoInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
- func (o MongoInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
- func (o MongoInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
- func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
- type MongoInstanceDatastore
- type MongoInstanceDatastoreArgs
- func (MongoInstanceDatastoreArgs) ElementType() reflect.Type
- func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput
- func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput
- func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
- func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
- type MongoInstanceDatastoreInput
- type MongoInstanceDatastoreOutput
- func (MongoInstanceDatastoreOutput) ElementType() reflect.Type
- func (o MongoInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o MongoInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput
- func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput
- func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
- func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
- func (o MongoInstanceDatastoreOutput) Version() pulumi.StringOutput
- type MongoInstanceDatastorePtrInput
- type MongoInstanceDatastorePtrOutput
- func (o MongoInstanceDatastorePtrOutput) Elem() MongoInstanceDatastoreOutput
- func (MongoInstanceDatastorePtrOutput) ElementType() reflect.Type
- func (o MongoInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
- func (o MongoInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
- func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
- func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
- func (o MongoInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
- type MongoInstanceInput
- type MongoInstanceMap
- type MongoInstanceMapInput
- type MongoInstanceMapOutput
- func (MongoInstanceMapOutput) ElementType() reflect.Type
- func (o MongoInstanceMapOutput) MapIndex(k pulumi.StringInput) MongoInstanceOutput
- func (o MongoInstanceMapOutput) ToMongoInstanceMapOutput() MongoInstanceMapOutput
- func (o MongoInstanceMapOutput) ToMongoInstanceMapOutputWithContext(ctx context.Context) MongoInstanceMapOutput
- type MongoInstanceNode
- type MongoInstanceNodeArgs
- type MongoInstanceNodeArray
- type MongoInstanceNodeArrayInput
- type MongoInstanceNodeArrayOutput
- func (MongoInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o MongoInstanceNodeArrayOutput) Index(i pulumi.IntInput) MongoInstanceNodeOutput
- func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput
- func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutputWithContext(ctx context.Context) MongoInstanceNodeArrayOutput
- type MongoInstanceNodeInput
- type MongoInstanceNodeOutput
- func (MongoInstanceNodeOutput) ElementType() reflect.Type
- func (o MongoInstanceNodeOutput) Id() pulumi.StringPtrOutput
- func (o MongoInstanceNodeOutput) Name() pulumi.StringPtrOutput
- func (o MongoInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o MongoInstanceNodeOutput) Status() pulumi.StringPtrOutput
- func (o MongoInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
- func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutput() MongoInstanceNodeOutput
- func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutputWithContext(ctx context.Context) MongoInstanceNodeOutput
- type MongoInstanceOutput
- func (o MongoInstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o MongoInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o MongoInstanceOutput) BackupStrategy() MongoInstanceBackupStrategyOutput
- func (o MongoInstanceOutput) ChargingMode() pulumi.StringPtrOutput
- func (o MongoInstanceOutput) ConfigurationId() pulumi.StringOutput
- func (o MongoInstanceOutput) Datastore() MongoInstanceDatastoreOutput
- func (o MongoInstanceOutput) DbUserName() pulumi.StringOutput
- func (o MongoInstanceOutput) DedicatedResourceId() pulumi.StringOutput
- func (o MongoInstanceOutput) DedicatedResourceName() pulumi.StringOutput
- func (MongoInstanceOutput) ElementType() reflect.Type
- func (o MongoInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o MongoInstanceOutput) Flavor() pulumi.StringOutput
- func (o MongoInstanceOutput) ForceImport() pulumi.BoolPtrOutput
- func (o MongoInstanceOutput) LbIpAddress() pulumi.StringOutput
- func (o MongoInstanceOutput) LbPort() pulumi.StringOutput
- func (o MongoInstanceOutput) Mode() pulumi.StringOutput
- func (o MongoInstanceOutput) Name() pulumi.StringOutput
- func (o MongoInstanceOutput) NodeNum() pulumi.IntPtrOutput
- func (o MongoInstanceOutput) Nodes() MongoInstanceNodeArrayOutput
- func (o MongoInstanceOutput) Password() pulumi.StringOutput
- func (o MongoInstanceOutput) Period() pulumi.IntPtrOutput
- func (o MongoInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o MongoInstanceOutput) Port() pulumi.IntOutput
- func (o MongoInstanceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o MongoInstanceOutput) Region() pulumi.StringOutput
- func (o MongoInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o MongoInstanceOutput) Ssl() pulumi.BoolPtrOutput
- func (o MongoInstanceOutput) Status() pulumi.StringOutput
- func (o MongoInstanceOutput) SubnetId() pulumi.StringOutput
- func (o MongoInstanceOutput) Tags() pulumi.StringMapOutput
- func (o MongoInstanceOutput) ToMongoInstanceOutput() MongoInstanceOutput
- func (o MongoInstanceOutput) ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput
- func (o MongoInstanceOutput) VolumeSize() pulumi.IntOutput
- func (o MongoInstanceOutput) VpcId() pulumi.StringOutput
- type MongoInstanceState
- type RedisInstance
- type RedisInstanceArgs
- type RedisInstanceArray
- type RedisInstanceArrayInput
- type RedisInstanceArrayOutput
- func (RedisInstanceArrayOutput) ElementType() reflect.Type
- func (o RedisInstanceArrayOutput) Index(i pulumi.IntInput) RedisInstanceOutput
- func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutput() RedisInstanceArrayOutput
- func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutputWithContext(ctx context.Context) RedisInstanceArrayOutput
- type RedisInstanceBackupStrategy
- type RedisInstanceBackupStrategyArgs
- func (RedisInstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput
- func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput
- func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
- func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
- type RedisInstanceBackupStrategyInput
- type RedisInstanceBackupStrategyOutput
- func (RedisInstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o RedisInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
- func (o RedisInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput
- func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput
- func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
- func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
- type RedisInstanceBackupStrategyPtrInput
- type RedisInstanceBackupStrategyPtrOutput
- func (o RedisInstanceBackupStrategyPtrOutput) Elem() RedisInstanceBackupStrategyOutput
- func (RedisInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
- func (o RedisInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
- func (o RedisInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
- func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
- type RedisInstanceDatastore
- type RedisInstanceDatastoreArgs
- func (RedisInstanceDatastoreArgs) ElementType() reflect.Type
- func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput
- func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput
- func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
- func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
- type RedisInstanceDatastoreInput
- type RedisInstanceDatastoreOutput
- func (RedisInstanceDatastoreOutput) ElementType() reflect.Type
- func (o RedisInstanceDatastoreOutput) Engine() pulumi.StringOutput
- func (o RedisInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
- func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput
- func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput
- func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
- func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
- func (o RedisInstanceDatastoreOutput) Version() pulumi.StringOutput
- type RedisInstanceDatastorePtrInput
- type RedisInstanceDatastorePtrOutput
- func (o RedisInstanceDatastorePtrOutput) Elem() RedisInstanceDatastoreOutput
- func (RedisInstanceDatastorePtrOutput) ElementType() reflect.Type
- func (o RedisInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
- func (o RedisInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
- func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
- func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
- func (o RedisInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
- type RedisInstanceInput
- type RedisInstanceMap
- type RedisInstanceMapInput
- type RedisInstanceMapOutput
- func (RedisInstanceMapOutput) ElementType() reflect.Type
- func (o RedisInstanceMapOutput) MapIndex(k pulumi.StringInput) RedisInstanceOutput
- func (o RedisInstanceMapOutput) ToRedisInstanceMapOutput() RedisInstanceMapOutput
- func (o RedisInstanceMapOutput) ToRedisInstanceMapOutputWithContext(ctx context.Context) RedisInstanceMapOutput
- type RedisInstanceNode
- type RedisInstanceNodeArgs
- type RedisInstanceNodeArray
- type RedisInstanceNodeArrayInput
- type RedisInstanceNodeArrayOutput
- func (RedisInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o RedisInstanceNodeArrayOutput) Index(i pulumi.IntInput) RedisInstanceNodeOutput
- func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput
- func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutputWithContext(ctx context.Context) RedisInstanceNodeArrayOutput
- type RedisInstanceNodeInput
- type RedisInstanceNodeOutput
- func (RedisInstanceNodeOutput) ElementType() reflect.Type
- func (o RedisInstanceNodeOutput) Id() pulumi.StringPtrOutput
- func (o RedisInstanceNodeOutput) Name() pulumi.StringPtrOutput
- func (o RedisInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o RedisInstanceNodeOutput) PublicIp() pulumi.StringPtrOutput
- func (o RedisInstanceNodeOutput) Status() pulumi.StringPtrOutput
- func (o RedisInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
- func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutput() RedisInstanceNodeOutput
- func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutputWithContext(ctx context.Context) RedisInstanceNodeOutput
- type RedisInstanceOutput
- func (o RedisInstanceOutput) AutoPay() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o RedisInstanceOutput) BackupStrategy() RedisInstanceBackupStrategyOutput
- func (o RedisInstanceOutput) ChargingMode() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) Datastore() RedisInstanceDatastoreOutput
- func (o RedisInstanceOutput) DbUserName() pulumi.StringOutput
- func (RedisInstanceOutput) ElementType() reflect.Type
- func (o RedisInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) Flavor() pulumi.StringOutput
- func (o RedisInstanceOutput) ForceImport() pulumi.BoolPtrOutput
- func (o RedisInstanceOutput) LbIpAddress() pulumi.StringOutput
- func (o RedisInstanceOutput) LbPort() pulumi.StringOutput
- func (o RedisInstanceOutput) Mode() pulumi.StringOutput
- func (o RedisInstanceOutput) Name() pulumi.StringOutput
- func (o RedisInstanceOutput) NodeNum() pulumi.IntPtrOutput
- func (o RedisInstanceOutput) Nodes() RedisInstanceNodeArrayOutput
- func (o RedisInstanceOutput) Password() pulumi.StringOutput
- func (o RedisInstanceOutput) Period() pulumi.IntPtrOutput
- func (o RedisInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) Port() pulumi.IntOutput
- func (o RedisInstanceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o RedisInstanceOutput) Region() pulumi.StringOutput
- func (o RedisInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o RedisInstanceOutput) Ssl() pulumi.BoolPtrOutput
- func (o RedisInstanceOutput) Status() pulumi.StringOutput
- func (o RedisInstanceOutput) SubnetId() pulumi.StringOutput
- func (o RedisInstanceOutput) Tags() pulumi.StringMapOutput
- func (o RedisInstanceOutput) ToRedisInstanceOutput() RedisInstanceOutput
- func (o RedisInstanceOutput) ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput
- func (o RedisInstanceOutput) VolumeSize() pulumi.IntOutput
- func (o RedisInstanceOutput) VpcId() pulumi.StringOutput
- type RedisInstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type CassandraInstance ¶
type CassandraInstance struct { pulumi.CustomResourceState // Specifies whether auto renew is enabled. // Valid values are "true" and "false". AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Specifies the advanced backup policy. Structure is documented below. BackupStrategy CassandraInstanceBackupStrategyOutput `pulumi:"backupStrategy"` // Specifies the charging mode of the instance. Valid values are *prePaid* // and *postPaid*, defaults to *postPaid*. Changing this will do nothing. ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"` // Specifies the Parameter Template ID. ConfigurationId pulumi.StringOutput `pulumi:"configurationId"` // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore CassandraInstanceDatastoreOutput `pulumi:"datastore"` // Indicates the default username. DbUserName pulumi.StringOutput `pulumi:"dbUserName"` // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"` // Specifies the dedicated resource name. Changing this parameter // will create a new resource. DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"` // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"` // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) Flavor pulumi.StringOutput `pulumi:"flavor"` // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"` // Indicates the LB IP address of the db. LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"` // Indicates the LB port of the db. LbPort pulumi.StringOutput `pulumi:"lbPort"` // Indicates the instance type. Mode pulumi.StringOutput `pulumi:"mode"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Name pulumi.StringOutput `pulumi:"name"` // Specifies the number of nodes, ranges from 3 to 12. Defaults to 3. NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes CassandraInstanceNodeArrayOutput `pulumi:"nodes"` // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringOutput `pulumi:"password"` // Specifies the charging period of the instance. // If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value // ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will // do nothing. Period pulumi.IntPtrOutput `pulumi:"period"` // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this will do nothing. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Indicates the database port. Port pulumi.IntOutput `pulumi:"port"` // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` // The region in which to create the Cassandra instance resource. If omitted, the // provider-level region will be used. Changing this creates a new Cassandra instance resource. Region pulumi.StringOutput `pulumi:"region"` // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // Specifies whether to enable or disable SSL. Defaults to false. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` // Indicates the node status. Status pulumi.StringOutput `pulumi:"status"` // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The key/value pairs to associate with the instance. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB // Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance // performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) VolumeSize pulumi.IntOutput `pulumi:"volumeSize"` // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
GaussDB for Cassandra instance management within HuaweiCoud.
## Example Usage ### create a gaussdb for cassandra instance with tags
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewCassandraInstance(ctx, "instance1", &GaussDBforNoSQL.CassandraInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.cassandra.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
``` ### create a gaussdb cassandra instance with backup strategy
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewCassandraInstance(ctx, "instance1", &GaussDBforNoSQL.CassandraInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.cassandra.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), BackupStrategy: &gaussdbfornosql.CassandraInstanceBackupStrategyArgs{ StartTime: pulumi.String("03:00-04:00"), KeepDays: pulumi.Int(14), }, }) if err != nil { return err } return nil }) }
```
## Import
GaussDB Cassandra instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:GaussDBforNoSQL/cassandraInstance:CassandraInstance instance_1 749112383d5342e9acb6c7825801b452in06
```
func GetCassandraInstance ¶
func GetCassandraInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CassandraInstanceState, opts ...pulumi.ResourceOption) (*CassandraInstance, error)
GetCassandraInstance gets an existing CassandraInstance 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 NewCassandraInstance ¶
func NewCassandraInstance(ctx *pulumi.Context, name string, args *CassandraInstanceArgs, opts ...pulumi.ResourceOption) (*CassandraInstance, error)
NewCassandraInstance registers a new resource with the given unique name, arguments, and options.
func (*CassandraInstance) ElementType ¶
func (*CassandraInstance) ElementType() reflect.Type
func (*CassandraInstance) ToCassandraInstanceOutput ¶
func (i *CassandraInstance) ToCassandraInstanceOutput() CassandraInstanceOutput
func (*CassandraInstance) ToCassandraInstanceOutputWithContext ¶
func (i *CassandraInstance) ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput
type CassandraInstanceArgs ¶
type CassandraInstanceArgs struct { // Specifies whether auto renew is enabled. // Valid values are "true" and "false". AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy CassandraInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are *prePaid* // and *postPaid*, defaults to *postPaid*. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore CassandraInstanceDatastorePtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this parameter // will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) Flavor pulumi.StringInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from 3 to 12. Defaults to 3. NodeNum pulumi.IntPtrInput // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringInput // Specifies the charging period of the instance. // If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value // ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will // do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // The region in which to create the Cassandra instance resource. If omitted, the // provider-level region will be used. Changing this creates a new Cassandra instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to false. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB // Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance // performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) VolumeSize pulumi.IntInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringInput }
The set of arguments for constructing a CassandraInstance resource.
func (CassandraInstanceArgs) ElementType ¶
func (CassandraInstanceArgs) ElementType() reflect.Type
type CassandraInstanceArray ¶
type CassandraInstanceArray []CassandraInstanceInput
func (CassandraInstanceArray) ElementType ¶
func (CassandraInstanceArray) ElementType() reflect.Type
func (CassandraInstanceArray) ToCassandraInstanceArrayOutput ¶
func (i CassandraInstanceArray) ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput
func (CassandraInstanceArray) ToCassandraInstanceArrayOutputWithContext ¶
func (i CassandraInstanceArray) ToCassandraInstanceArrayOutputWithContext(ctx context.Context) CassandraInstanceArrayOutput
type CassandraInstanceArrayInput ¶
type CassandraInstanceArrayInput interface { pulumi.Input ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput ToCassandraInstanceArrayOutputWithContext(context.Context) CassandraInstanceArrayOutput }
CassandraInstanceArrayInput is an input type that accepts CassandraInstanceArray and CassandraInstanceArrayOutput values. You can construct a concrete instance of `CassandraInstanceArrayInput` via:
CassandraInstanceArray{ CassandraInstanceArgs{...} }
type CassandraInstanceArrayOutput ¶
type CassandraInstanceArrayOutput struct{ *pulumi.OutputState }
func (CassandraInstanceArrayOutput) ElementType ¶
func (CassandraInstanceArrayOutput) ElementType() reflect.Type
func (CassandraInstanceArrayOutput) Index ¶
func (o CassandraInstanceArrayOutput) Index(i pulumi.IntInput) CassandraInstanceOutput
func (CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutput ¶
func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput
func (CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutputWithContext ¶
func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutputWithContext(ctx context.Context) CassandraInstanceArrayOutput
type CassandraInstanceBackupStrategy ¶
type CassandraInstanceBackupStrategy struct { // Specifies the number of days to retain the generated backup files. The value ranges from // 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, // the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays *int `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime string `pulumi:"startTime"` }
type CassandraInstanceBackupStrategyArgs ¶
type CassandraInstanceBackupStrategyArgs struct { // Specifies the number of days to retain the generated backup files. The value ranges from // 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, // the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays pulumi.IntPtrInput `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (CassandraInstanceBackupStrategyArgs) ElementType ¶
func (CassandraInstanceBackupStrategyArgs) ElementType() reflect.Type
func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutput ¶
func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput
func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutputWithContext ¶
func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput
func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutput ¶
func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutputWithContext ¶
func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
type CassandraInstanceBackupStrategyInput ¶
type CassandraInstanceBackupStrategyInput interface { pulumi.Input ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput ToCassandraInstanceBackupStrategyOutputWithContext(context.Context) CassandraInstanceBackupStrategyOutput }
CassandraInstanceBackupStrategyInput is an input type that accepts CassandraInstanceBackupStrategyArgs and CassandraInstanceBackupStrategyOutput values. You can construct a concrete instance of `CassandraInstanceBackupStrategyInput` via:
CassandraInstanceBackupStrategyArgs{...}
type CassandraInstanceBackupStrategyOutput ¶
type CassandraInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (CassandraInstanceBackupStrategyOutput) ElementType ¶
func (CassandraInstanceBackupStrategyOutput) ElementType() reflect.Type
func (CassandraInstanceBackupStrategyOutput) KeepDays ¶
func (o CassandraInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (CassandraInstanceBackupStrategyOutput) StartTime ¶
func (o CassandraInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutput ¶
func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput
func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutputWithContext ¶
func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput
func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutput ¶
func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext ¶
func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
type CassandraInstanceBackupStrategyPtrInput ¶
type CassandraInstanceBackupStrategyPtrInput interface { pulumi.Input ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput ToCassandraInstanceBackupStrategyPtrOutputWithContext(context.Context) CassandraInstanceBackupStrategyPtrOutput }
CassandraInstanceBackupStrategyPtrInput is an input type that accepts CassandraInstanceBackupStrategyArgs, CassandraInstanceBackupStrategyPtr and CassandraInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `CassandraInstanceBackupStrategyPtrInput` via:
CassandraInstanceBackupStrategyArgs{...} or: nil
func CassandraInstanceBackupStrategyPtr ¶
func CassandraInstanceBackupStrategyPtr(v *CassandraInstanceBackupStrategyArgs) CassandraInstanceBackupStrategyPtrInput
type CassandraInstanceBackupStrategyPtrOutput ¶
type CassandraInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }
func (CassandraInstanceBackupStrategyPtrOutput) ElementType ¶
func (CassandraInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
func (CassandraInstanceBackupStrategyPtrOutput) KeepDays ¶
func (o CassandraInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (CassandraInstanceBackupStrategyPtrOutput) StartTime ¶
func (o CassandraInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutput ¶
func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
func (CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext ¶
func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput
type CassandraInstanceDatastore ¶
type CassandraInstanceDatastore struct { // Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. // Changing this parameter will create a new resource. Engine string `pulumi:"engine"` // Specifies the storage engine. Only "rocksDB" is supported now. // Changing this parameter will create a new resource. StorageEngine string `pulumi:"storageEngine"` // Specifies the database version. // Changing this parameter will create a new resource. Version string `pulumi:"version"` }
type CassandraInstanceDatastoreArgs ¶
type CassandraInstanceDatastoreArgs struct { // Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. // Changing this parameter will create a new resource. Engine pulumi.StringInput `pulumi:"engine"` // Specifies the storage engine. Only "rocksDB" is supported now. // Changing this parameter will create a new resource. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Specifies the database version. // Changing this parameter will create a new resource. Version pulumi.StringInput `pulumi:"version"` }
func (CassandraInstanceDatastoreArgs) ElementType ¶
func (CassandraInstanceDatastoreArgs) ElementType() reflect.Type
func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutput ¶
func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput
func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutputWithContext ¶
func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput
func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutput ¶
func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutputWithContext ¶
func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
type CassandraInstanceDatastoreInput ¶
type CassandraInstanceDatastoreInput interface { pulumi.Input ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput ToCassandraInstanceDatastoreOutputWithContext(context.Context) CassandraInstanceDatastoreOutput }
CassandraInstanceDatastoreInput is an input type that accepts CassandraInstanceDatastoreArgs and CassandraInstanceDatastoreOutput values. You can construct a concrete instance of `CassandraInstanceDatastoreInput` via:
CassandraInstanceDatastoreArgs{...}
type CassandraInstanceDatastoreOutput ¶
type CassandraInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (CassandraInstanceDatastoreOutput) ElementType ¶
func (CassandraInstanceDatastoreOutput) ElementType() reflect.Type
func (CassandraInstanceDatastoreOutput) Engine ¶
func (o CassandraInstanceDatastoreOutput) Engine() pulumi.StringOutput
Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
func (CassandraInstanceDatastoreOutput) StorageEngine ¶
func (o CassandraInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutput ¶
func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput
func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutputWithContext ¶
func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput
func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutput ¶
func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutputWithContext ¶
func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
func (CassandraInstanceDatastoreOutput) Version ¶
func (o CassandraInstanceDatastoreOutput) Version() pulumi.StringOutput
Specifies the database version. Changing this parameter will create a new resource.
type CassandraInstanceDatastorePtrInput ¶
type CassandraInstanceDatastorePtrInput interface { pulumi.Input ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput ToCassandraInstanceDatastorePtrOutputWithContext(context.Context) CassandraInstanceDatastorePtrOutput }
CassandraInstanceDatastorePtrInput is an input type that accepts CassandraInstanceDatastoreArgs, CassandraInstanceDatastorePtr and CassandraInstanceDatastorePtrOutput values. You can construct a concrete instance of `CassandraInstanceDatastorePtrInput` via:
CassandraInstanceDatastoreArgs{...} or: nil
func CassandraInstanceDatastorePtr ¶
func CassandraInstanceDatastorePtr(v *CassandraInstanceDatastoreArgs) CassandraInstanceDatastorePtrInput
type CassandraInstanceDatastorePtrOutput ¶
type CassandraInstanceDatastorePtrOutput struct{ *pulumi.OutputState }
func (CassandraInstanceDatastorePtrOutput) Elem ¶
func (o CassandraInstanceDatastorePtrOutput) Elem() CassandraInstanceDatastoreOutput
func (CassandraInstanceDatastorePtrOutput) ElementType ¶
func (CassandraInstanceDatastorePtrOutput) ElementType() reflect.Type
func (CassandraInstanceDatastorePtrOutput) Engine ¶
func (o CassandraInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
func (CassandraInstanceDatastorePtrOutput) StorageEngine ¶
func (o CassandraInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
func (CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutput ¶
func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
func (CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutputWithContext ¶
func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput
func (CassandraInstanceDatastorePtrOutput) Version ¶
func (o CassandraInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
Specifies the database version. Changing this parameter will create a new resource.
type CassandraInstanceInput ¶
type CassandraInstanceInput interface { pulumi.Input ToCassandraInstanceOutput() CassandraInstanceOutput ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput }
type CassandraInstanceMap ¶
type CassandraInstanceMap map[string]CassandraInstanceInput
func (CassandraInstanceMap) ElementType ¶
func (CassandraInstanceMap) ElementType() reflect.Type
func (CassandraInstanceMap) ToCassandraInstanceMapOutput ¶
func (i CassandraInstanceMap) ToCassandraInstanceMapOutput() CassandraInstanceMapOutput
func (CassandraInstanceMap) ToCassandraInstanceMapOutputWithContext ¶
func (i CassandraInstanceMap) ToCassandraInstanceMapOutputWithContext(ctx context.Context) CassandraInstanceMapOutput
type CassandraInstanceMapInput ¶
type CassandraInstanceMapInput interface { pulumi.Input ToCassandraInstanceMapOutput() CassandraInstanceMapOutput ToCassandraInstanceMapOutputWithContext(context.Context) CassandraInstanceMapOutput }
CassandraInstanceMapInput is an input type that accepts CassandraInstanceMap and CassandraInstanceMapOutput values. You can construct a concrete instance of `CassandraInstanceMapInput` via:
CassandraInstanceMap{ "key": CassandraInstanceArgs{...} }
type CassandraInstanceMapOutput ¶
type CassandraInstanceMapOutput struct{ *pulumi.OutputState }
func (CassandraInstanceMapOutput) ElementType ¶
func (CassandraInstanceMapOutput) ElementType() reflect.Type
func (CassandraInstanceMapOutput) MapIndex ¶
func (o CassandraInstanceMapOutput) MapIndex(k pulumi.StringInput) CassandraInstanceOutput
func (CassandraInstanceMapOutput) ToCassandraInstanceMapOutput ¶
func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutput() CassandraInstanceMapOutput
func (CassandraInstanceMapOutput) ToCassandraInstanceMapOutputWithContext ¶
func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutputWithContext(ctx context.Context) CassandraInstanceMapOutput
type CassandraInstanceNode ¶
type CassandraInstanceNode struct { // Indicates the node ID. Id *string `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Name *string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp *string `pulumi:"privateIp"` // Indicates the node status. Status *string `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce *bool `pulumi:"supportReduce"` }
type CassandraInstanceNodeArgs ¶
type CassandraInstanceNodeArgs struct { // Indicates the node ID. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringPtrInput `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"` }
func (CassandraInstanceNodeArgs) ElementType ¶
func (CassandraInstanceNodeArgs) ElementType() reflect.Type
func (CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutput ¶
func (i CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput
func (CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutputWithContext ¶
func (i CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutputWithContext(ctx context.Context) CassandraInstanceNodeOutput
type CassandraInstanceNodeArray ¶
type CassandraInstanceNodeArray []CassandraInstanceNodeInput
func (CassandraInstanceNodeArray) ElementType ¶
func (CassandraInstanceNodeArray) ElementType() reflect.Type
func (CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutput ¶
func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput
func (CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutputWithContext ¶
func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput
type CassandraInstanceNodeArrayInput ¶
type CassandraInstanceNodeArrayInput interface { pulumi.Input ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput ToCassandraInstanceNodeArrayOutputWithContext(context.Context) CassandraInstanceNodeArrayOutput }
CassandraInstanceNodeArrayInput is an input type that accepts CassandraInstanceNodeArray and CassandraInstanceNodeArrayOutput values. You can construct a concrete instance of `CassandraInstanceNodeArrayInput` via:
CassandraInstanceNodeArray{ CassandraInstanceNodeArgs{...} }
type CassandraInstanceNodeArrayOutput ¶
type CassandraInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (CassandraInstanceNodeArrayOutput) ElementType ¶
func (CassandraInstanceNodeArrayOutput) ElementType() reflect.Type
func (CassandraInstanceNodeArrayOutput) Index ¶
func (o CassandraInstanceNodeArrayOutput) Index(i pulumi.IntInput) CassandraInstanceNodeOutput
func (CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutput ¶
func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput
func (CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutputWithContext ¶
func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput
type CassandraInstanceNodeInput ¶
type CassandraInstanceNodeInput interface { pulumi.Input ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput ToCassandraInstanceNodeOutputWithContext(context.Context) CassandraInstanceNodeOutput }
CassandraInstanceNodeInput is an input type that accepts CassandraInstanceNodeArgs and CassandraInstanceNodeOutput values. You can construct a concrete instance of `CassandraInstanceNodeInput` via:
CassandraInstanceNodeArgs{...}
type CassandraInstanceNodeOutput ¶
type CassandraInstanceNodeOutput struct{ *pulumi.OutputState }
func (CassandraInstanceNodeOutput) ElementType ¶
func (CassandraInstanceNodeOutput) ElementType() reflect.Type
func (CassandraInstanceNodeOutput) Id ¶
func (o CassandraInstanceNodeOutput) Id() pulumi.StringPtrOutput
Indicates the node ID.
func (CassandraInstanceNodeOutput) Name ¶
func (o CassandraInstanceNodeOutput) Name() pulumi.StringPtrOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (CassandraInstanceNodeOutput) PrivateIp ¶
func (o CassandraInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
Indicates the private IP address of a node.
func (CassandraInstanceNodeOutput) Status ¶
func (o CassandraInstanceNodeOutput) Status() pulumi.StringPtrOutput
Indicates the node status.
func (CassandraInstanceNodeOutput) SupportReduce ¶
func (o CassandraInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
Indicates whether the node support reduce or not.
func (CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutput ¶
func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput
func (CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutputWithContext ¶
func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutputWithContext(ctx context.Context) CassandraInstanceNodeOutput
type CassandraInstanceOutput ¶
type CassandraInstanceOutput struct{ *pulumi.OutputState }
func (CassandraInstanceOutput) AutoRenew ¶
func (o CassandraInstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether auto renew is enabled. Valid values are "true" and "false".
func (CassandraInstanceOutput) AvailabilityZone ¶
func (o CassandraInstanceOutput) AvailabilityZone() pulumi.StringOutput
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) BackupStrategy ¶
func (o CassandraInstanceOutput) BackupStrategy() CassandraInstanceBackupStrategyOutput
Specifies the advanced backup policy. Structure is documented below.
func (CassandraInstanceOutput) ChargingMode ¶
func (o CassandraInstanceOutput) ChargingMode() pulumi.StringPtrOutput
Specifies the charging mode of the instance. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Changing this will do nothing.
func (CassandraInstanceOutput) ConfigurationId ¶
func (o CassandraInstanceOutput) ConfigurationId() pulumi.StringOutput
Specifies the Parameter Template ID.
func (CassandraInstanceOutput) Datastore ¶
func (o CassandraInstanceOutput) Datastore() CassandraInstanceDatastoreOutput
Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) DbUserName ¶
func (o CassandraInstanceOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (CassandraInstanceOutput) DedicatedResourceId ¶
func (o CassandraInstanceOutput) DedicatedResourceId() pulumi.StringOutput
Specifies the dedicated resource ID. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) DedicatedResourceName ¶
func (o CassandraInstanceOutput) DedicatedResourceName() pulumi.StringOutput
Specifies the dedicated resource name. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) ElementType ¶
func (CassandraInstanceOutput) ElementType() reflect.Type
func (CassandraInstanceOutput) EnterpriseProjectId ¶
func (o CassandraInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) Flavor ¶
func (o CassandraInstanceOutput) Flavor() pulumi.StringOutput
Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
func (CassandraInstanceOutput) ForceImport ¶
func (o CassandraInstanceOutput) ForceImport() pulumi.BoolPtrOutput
If specified, try to import the instance instead of creating if the name already existed.
func (CassandraInstanceOutput) LbIpAddress ¶ added in v0.0.8
func (o CassandraInstanceOutput) LbIpAddress() pulumi.StringOutput
Indicates the LB IP address of the db.
func (CassandraInstanceOutput) LbPort ¶ added in v0.0.8
func (o CassandraInstanceOutput) LbPort() pulumi.StringOutput
Indicates the LB port of the db.
func (CassandraInstanceOutput) Mode ¶
func (o CassandraInstanceOutput) Mode() pulumi.StringOutput
Indicates the instance type.
func (CassandraInstanceOutput) Name ¶
func (o CassandraInstanceOutput) Name() pulumi.StringOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (CassandraInstanceOutput) NodeNum ¶
func (o CassandraInstanceOutput) NodeNum() pulumi.IntPtrOutput
Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
func (CassandraInstanceOutput) Nodes ¶
func (o CassandraInstanceOutput) Nodes() CassandraInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (CassandraInstanceOutput) Password ¶
func (o CassandraInstanceOutput) Password() pulumi.StringOutput
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
func (CassandraInstanceOutput) Period ¶
func (o CassandraInstanceOutput) Period() pulumi.IntPtrOutput
Specifies the charging period of the instance. If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will do nothing.
func (CassandraInstanceOutput) PeriodUnit ¶
func (o CassandraInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
Specifies the charging period unit of the instance. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will do nothing.
func (CassandraInstanceOutput) Port ¶
func (o CassandraInstanceOutput) Port() pulumi.IntOutput
Indicates the database port.
func (CassandraInstanceOutput) PrivateIps ¶
func (o CassandraInstanceOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the IP address list of the db.
func (CassandraInstanceOutput) Region ¶
func (o CassandraInstanceOutput) Region() pulumi.StringOutput
The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
func (CassandraInstanceOutput) SecurityGroupId ¶
func (o CassandraInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
func (CassandraInstanceOutput) Ssl ¶
func (o CassandraInstanceOutput) Ssl() pulumi.BoolPtrOutput
Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) Status ¶
func (o CassandraInstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (CassandraInstanceOutput) SubnetId ¶
func (o CassandraInstanceOutput) SubnetId() pulumi.StringOutput
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
func (CassandraInstanceOutput) Tags ¶
func (o CassandraInstanceOutput) Tags() pulumi.StringMapOutput
The key/value pairs to associate with the instance.
func (CassandraInstanceOutput) ToCassandraInstanceOutput ¶
func (o CassandraInstanceOutput) ToCassandraInstanceOutput() CassandraInstanceOutput
func (CassandraInstanceOutput) ToCassandraInstanceOutputWithContext ¶
func (o CassandraInstanceOutput) ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput
func (CassandraInstanceOutput) VolumeSize ¶
func (o CassandraInstanceOutput) VolumeSize() pulumi.IntOutput
Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
func (CassandraInstanceOutput) VpcId ¶
func (o CassandraInstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID. Changing this parameter will create a new resource.
type CassandraInstanceState ¶
type CassandraInstanceState struct { // Specifies whether auto renew is enabled. // Valid values are "true" and "false". AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringPtrInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy CassandraInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are *prePaid* // and *postPaid*, defaults to *postPaid*. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore CassandraInstanceDatastorePtrInput // Indicates the default username. DbUserName pulumi.StringPtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this parameter // will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) Flavor pulumi.StringPtrInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Indicates the LB IP address of the db. LbIpAddress pulumi.StringPtrInput // Indicates the LB port of the db. LbPort pulumi.StringPtrInput // Indicates the instance type. Mode pulumi.StringPtrInput // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from 3 to 12. Defaults to 3. NodeNum pulumi.IntPtrInput // Indicates the instance nodes information. Structure is documented below. Nodes CassandraInstanceNodeArrayInput // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringPtrInput // Specifies the charging period of the instance. // If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value // ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will // do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // Indicates the database port. Port pulumi.IntPtrInput // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayInput // The region in which to create the Cassandra instance resource. If omitted, the // provider-level region will be used. Changing this creates a new Cassandra instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to false. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Indicates the node status. Status pulumi.StringPtrInput // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringPtrInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB // Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance // performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html) VolumeSize pulumi.IntPtrInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringPtrInput }
func (CassandraInstanceState) ElementType ¶
func (CassandraInstanceState) ElementType() reflect.Type
type GetCassandraDedicatedResourceArgs ¶
type GetCassandraDedicatedResourceArgs struct { // The region in which to obtain the dedicated resource. If omitted, the provider-level // region will be used. Region *string `pulumi:"region"` // Specifies the dedicated resource name. ResourceName *string `pulumi:"resourceName"` }
A collection of arguments for invoking getCassandraDedicatedResource.
type GetCassandraDedicatedResourceOutputArgs ¶
type GetCassandraDedicatedResourceOutputArgs struct { // The region in which to obtain the dedicated resource. If omitted, the provider-level // region will be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the dedicated resource name. ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` }
A collection of arguments for invoking getCassandraDedicatedResource.
func (GetCassandraDedicatedResourceOutputArgs) ElementType ¶
func (GetCassandraDedicatedResourceOutputArgs) ElementType() reflect.Type
type GetCassandraDedicatedResourceResult ¶
type GetCassandraDedicatedResourceResult struct { // Indicates the architecture of the dedicated resource. Architecture string `pulumi:"architecture"` // Indicates the availability zone of the dedicated resource. AvailabilityZone string `pulumi:"availabilityZone"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Indicates the ram size of the dedicated resource. Ram int `pulumi:"ram"` Region string `pulumi:"region"` ResourceName string `pulumi:"resourceName"` // Indicates the status of the dedicated resource. Status string `pulumi:"status"` // Indicates the vcpus count of the dedicated resource. Vcpus int `pulumi:"vcpus"` // Indicates the volume size of the dedicated resource. Volume int `pulumi:"volume"` }
A collection of values returned by getCassandraDedicatedResource.
func GetCassandraDedicatedResource ¶
func GetCassandraDedicatedResource(ctx *pulumi.Context, args *GetCassandraDedicatedResourceArgs, opts ...pulumi.InvokeOption) (*GetCassandraDedicatedResourceResult, error)
Use this data source to get available HuaweiCloud gaussdb cassandra dedicated resource.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetCassandraDedicatedResource(ctx, &gaussdbfornosql.GetCassandraDedicatedResourceArgs{ ResourceName: pulumi.StringRef("test"), }, nil) if err != nil { return err } return nil }) }
```
type GetCassandraDedicatedResourceResultOutput ¶
type GetCassandraDedicatedResourceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCassandraDedicatedResource.
func GetCassandraDedicatedResourceOutput ¶
func GetCassandraDedicatedResourceOutput(ctx *pulumi.Context, args GetCassandraDedicatedResourceOutputArgs, opts ...pulumi.InvokeOption) GetCassandraDedicatedResourceResultOutput
func (GetCassandraDedicatedResourceResultOutput) Architecture ¶
func (o GetCassandraDedicatedResourceResultOutput) Architecture() pulumi.StringOutput
Indicates the architecture of the dedicated resource.
func (GetCassandraDedicatedResourceResultOutput) AvailabilityZone ¶
func (o GetCassandraDedicatedResourceResultOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone of the dedicated resource.
func (GetCassandraDedicatedResourceResultOutput) ElementType ¶
func (GetCassandraDedicatedResourceResultOutput) ElementType() reflect.Type
func (GetCassandraDedicatedResourceResultOutput) Id ¶
func (o GetCassandraDedicatedResourceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCassandraDedicatedResourceResultOutput) Ram ¶
func (o GetCassandraDedicatedResourceResultOutput) Ram() pulumi.IntOutput
Indicates the ram size of the dedicated resource.
func (GetCassandraDedicatedResourceResultOutput) Region ¶
func (o GetCassandraDedicatedResourceResultOutput) Region() pulumi.StringOutput
func (GetCassandraDedicatedResourceResultOutput) ResourceName ¶
func (o GetCassandraDedicatedResourceResultOutput) ResourceName() pulumi.StringOutput
func (GetCassandraDedicatedResourceResultOutput) Status ¶
func (o GetCassandraDedicatedResourceResultOutput) Status() pulumi.StringOutput
Indicates the status of the dedicated resource.
func (GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutput ¶
func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutput() GetCassandraDedicatedResourceResultOutput
func (GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutputWithContext ¶
func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutputWithContext(ctx context.Context) GetCassandraDedicatedResourceResultOutput
func (GetCassandraDedicatedResourceResultOutput) Vcpus ¶
func (o GetCassandraDedicatedResourceResultOutput) Vcpus() pulumi.IntOutput
Indicates the vcpus count of the dedicated resource.
func (GetCassandraDedicatedResourceResultOutput) Volume ¶
func (o GetCassandraDedicatedResourceResultOutput) Volume() pulumi.IntOutput
Indicates the volume size of the dedicated resource.
type GetCassandraFlavorsArgs ¶
type GetCassandraFlavorsArgs struct { // Specifies the memory size of the flavors. Memory *string `pulumi:"memory"` // The region in which to obtain the flavors. If omitted, the provider-level region will be // used. Region *string `pulumi:"region"` // Specifies the count of vcpus of the flavors. Vcpus *string `pulumi:"vcpus"` // Specifies the engine version of the flavors. Version *string `pulumi:"version"` }
A collection of arguments for invoking getCassandraFlavors.
type GetCassandraFlavorsFlavor ¶
type GetCassandraFlavorsFlavor struct { // Indicates the flavor status in each availability zone. AzStatus map[string]string `pulumi:"azStatus"` // Specifies the memory size of the flavors. Memory string `pulumi:"memory"` // Indicates the spec code of the flavor. Name string `pulumi:"name"` // Specifies the count of vcpus of the flavors. Vcpus string `pulumi:"vcpus"` // Specifies the engine version of the flavors. Version string `pulumi:"version"` }
type GetCassandraFlavorsFlavorArgs ¶
type GetCassandraFlavorsFlavorArgs struct { // Indicates the flavor status in each availability zone. AzStatus pulumi.StringMapInput `pulumi:"azStatus"` // Specifies the memory size of the flavors. Memory pulumi.StringInput `pulumi:"memory"` // Indicates the spec code of the flavor. Name pulumi.StringInput `pulumi:"name"` // Specifies the count of vcpus of the flavors. Vcpus pulumi.StringInput `pulumi:"vcpus"` // Specifies the engine version of the flavors. Version pulumi.StringInput `pulumi:"version"` }
func (GetCassandraFlavorsFlavorArgs) ElementType ¶
func (GetCassandraFlavorsFlavorArgs) ElementType() reflect.Type
func (GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutput ¶
func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput
func (GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutputWithContext ¶
func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput
type GetCassandraFlavorsFlavorArray ¶
type GetCassandraFlavorsFlavorArray []GetCassandraFlavorsFlavorInput
func (GetCassandraFlavorsFlavorArray) ElementType ¶
func (GetCassandraFlavorsFlavorArray) ElementType() reflect.Type
func (GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutput ¶
func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput
func (GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutputWithContext ¶
func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput
type GetCassandraFlavorsFlavorArrayInput ¶
type GetCassandraFlavorsFlavorArrayInput interface { pulumi.Input ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput ToGetCassandraFlavorsFlavorArrayOutputWithContext(context.Context) GetCassandraFlavorsFlavorArrayOutput }
GetCassandraFlavorsFlavorArrayInput is an input type that accepts GetCassandraFlavorsFlavorArray and GetCassandraFlavorsFlavorArrayOutput values. You can construct a concrete instance of `GetCassandraFlavorsFlavorArrayInput` via:
GetCassandraFlavorsFlavorArray{ GetCassandraFlavorsFlavorArgs{...} }
type GetCassandraFlavorsFlavorArrayOutput ¶
type GetCassandraFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraFlavorsFlavorArrayOutput) ElementType ¶
func (GetCassandraFlavorsFlavorArrayOutput) ElementType() reflect.Type
func (GetCassandraFlavorsFlavorArrayOutput) Index ¶
func (o GetCassandraFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetCassandraFlavorsFlavorOutput
func (GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutput ¶
func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput
func (GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutputWithContext ¶
func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput
type GetCassandraFlavorsFlavorInput ¶
type GetCassandraFlavorsFlavorInput interface { pulumi.Input ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput ToGetCassandraFlavorsFlavorOutputWithContext(context.Context) GetCassandraFlavorsFlavorOutput }
GetCassandraFlavorsFlavorInput is an input type that accepts GetCassandraFlavorsFlavorArgs and GetCassandraFlavorsFlavorOutput values. You can construct a concrete instance of `GetCassandraFlavorsFlavorInput` via:
GetCassandraFlavorsFlavorArgs{...}
type GetCassandraFlavorsFlavorOutput ¶
type GetCassandraFlavorsFlavorOutput struct{ *pulumi.OutputState }
func (GetCassandraFlavorsFlavorOutput) AzStatus ¶
func (o GetCassandraFlavorsFlavorOutput) AzStatus() pulumi.StringMapOutput
Indicates the flavor status in each availability zone.
func (GetCassandraFlavorsFlavorOutput) ElementType ¶
func (GetCassandraFlavorsFlavorOutput) ElementType() reflect.Type
func (GetCassandraFlavorsFlavorOutput) Memory ¶
func (o GetCassandraFlavorsFlavorOutput) Memory() pulumi.StringOutput
Specifies the memory size of the flavors.
func (GetCassandraFlavorsFlavorOutput) Name ¶
func (o GetCassandraFlavorsFlavorOutput) Name() pulumi.StringOutput
Indicates the spec code of the flavor.
func (GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutput ¶
func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput
func (GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutputWithContext ¶
func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput
func (GetCassandraFlavorsFlavorOutput) Vcpus ¶
func (o GetCassandraFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
Specifies the count of vcpus of the flavors.
func (GetCassandraFlavorsFlavorOutput) Version ¶
func (o GetCassandraFlavorsFlavorOutput) Version() pulumi.StringOutput
Specifies the engine version of the flavors.
type GetCassandraFlavorsOutputArgs ¶
type GetCassandraFlavorsOutputArgs struct { // Specifies the memory size of the flavors. Memory pulumi.StringPtrInput `pulumi:"memory"` // The region in which to obtain the flavors. If omitted, the provider-level region will be // used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the count of vcpus of the flavors. Vcpus pulumi.StringPtrInput `pulumi:"vcpus"` // Specifies the engine version of the flavors. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getCassandraFlavors.
func (GetCassandraFlavorsOutputArgs) ElementType ¶
func (GetCassandraFlavorsOutputArgs) ElementType() reflect.Type
type GetCassandraFlavorsResult ¶
type GetCassandraFlavorsResult struct { // Indicates the flavors information. Structure is documented below. Flavors []GetCassandraFlavorsFlavor `pulumi:"flavors"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Indicates the memory size in GB. Memory *string `pulumi:"memory"` Region string `pulumi:"region"` // Indicates the CPU size. Vcpus *string `pulumi:"vcpus"` // Indicates the database version. Version *string `pulumi:"version"` }
A collection of values returned by getCassandraFlavors.
func GetCassandraFlavors ¶
func GetCassandraFlavors(ctx *pulumi.Context, args *GetCassandraFlavorsArgs, opts ...pulumi.InvokeOption) (*GetCassandraFlavorsResult, error)
Use this data source to get available HuaweiCloud gaussdb cassandra flavors.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetCassandraFlavors(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetCassandraFlavorsResultOutput ¶
type GetCassandraFlavorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCassandraFlavors.
func GetCassandraFlavorsOutput ¶
func GetCassandraFlavorsOutput(ctx *pulumi.Context, args GetCassandraFlavorsOutputArgs, opts ...pulumi.InvokeOption) GetCassandraFlavorsResultOutput
func (GetCassandraFlavorsResultOutput) ElementType ¶
func (GetCassandraFlavorsResultOutput) ElementType() reflect.Type
func (GetCassandraFlavorsResultOutput) Flavors ¶
func (o GetCassandraFlavorsResultOutput) Flavors() GetCassandraFlavorsFlavorArrayOutput
Indicates the flavors information. Structure is documented below.
func (GetCassandraFlavorsResultOutput) Id ¶
func (o GetCassandraFlavorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCassandraFlavorsResultOutput) Memory ¶
func (o GetCassandraFlavorsResultOutput) Memory() pulumi.StringPtrOutput
Indicates the memory size in GB.
func (GetCassandraFlavorsResultOutput) Region ¶
func (o GetCassandraFlavorsResultOutput) Region() pulumi.StringOutput
func (GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutput ¶
func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutput() GetCassandraFlavorsResultOutput
func (GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutputWithContext ¶
func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutputWithContext(ctx context.Context) GetCassandraFlavorsResultOutput
func (GetCassandraFlavorsResultOutput) Vcpus ¶
func (o GetCassandraFlavorsResultOutput) Vcpus() pulumi.StringPtrOutput
Indicates the CPU size.
func (GetCassandraFlavorsResultOutput) Version ¶
func (o GetCassandraFlavorsResultOutput) Version() pulumi.StringPtrOutput
Indicates the database version.
type GetCassandraInstanceBackupStrategyArgs ¶
type GetCassandraInstanceBackupStrategyArgs struct { // Indicates the number of days to retain the generated KeepDays pulumi.IntInput `pulumi:"keepDays"` // Indicates the backup time window. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (GetCassandraInstanceBackupStrategyArgs) ElementType ¶
func (GetCassandraInstanceBackupStrategyArgs) ElementType() reflect.Type
func (GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutput ¶
func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput
func (GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutputWithContext ¶
func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput
type GetCassandraInstanceBackupStrategyArray ¶
type GetCassandraInstanceBackupStrategyArray []GetCassandraInstanceBackupStrategyInput
func (GetCassandraInstanceBackupStrategyArray) ElementType ¶
func (GetCassandraInstanceBackupStrategyArray) ElementType() reflect.Type
func (GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutput ¶
func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput
func (GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext ¶
func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput
type GetCassandraInstanceBackupStrategyArrayInput ¶
type GetCassandraInstanceBackupStrategyArrayInput interface { pulumi.Input ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(context.Context) GetCassandraInstanceBackupStrategyArrayOutput }
GetCassandraInstanceBackupStrategyArrayInput is an input type that accepts GetCassandraInstanceBackupStrategyArray and GetCassandraInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceBackupStrategyArrayInput` via:
GetCassandraInstanceBackupStrategyArray{ GetCassandraInstanceBackupStrategyArgs{...} }
type GetCassandraInstanceBackupStrategyArrayOutput ¶
type GetCassandraInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceBackupStrategyArrayOutput) ElementType ¶
func (GetCassandraInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
func (GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutput ¶
func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput
func (GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext ¶
func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput
type GetCassandraInstanceBackupStrategyInput ¶
type GetCassandraInstanceBackupStrategyInput interface { pulumi.Input ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput ToGetCassandraInstanceBackupStrategyOutputWithContext(context.Context) GetCassandraInstanceBackupStrategyOutput }
GetCassandraInstanceBackupStrategyInput is an input type that accepts GetCassandraInstanceBackupStrategyArgs and GetCassandraInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetCassandraInstanceBackupStrategyInput` via:
GetCassandraInstanceBackupStrategyArgs{...}
type GetCassandraInstanceBackupStrategyOutput ¶
type GetCassandraInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceBackupStrategyOutput) ElementType ¶
func (GetCassandraInstanceBackupStrategyOutput) ElementType() reflect.Type
func (GetCassandraInstanceBackupStrategyOutput) KeepDays ¶
func (o GetCassandraInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
Indicates the number of days to retain the generated
func (GetCassandraInstanceBackupStrategyOutput) StartTime ¶
func (o GetCassandraInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Indicates the backup time window.
func (GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutput ¶
func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput
func (GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutputWithContext ¶
func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput
type GetCassandraInstanceDatastoreArgs ¶
type GetCassandraInstanceDatastoreArgs struct { // Indicates the database engine. Engine pulumi.StringInput `pulumi:"engine"` // Indicates the database storage engine. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Indicates the database version. Version pulumi.StringInput `pulumi:"version"` }
func (GetCassandraInstanceDatastoreArgs) ElementType ¶
func (GetCassandraInstanceDatastoreArgs) ElementType() reflect.Type
func (GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutput ¶
func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput
func (GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutputWithContext ¶
func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput
type GetCassandraInstanceDatastoreArray ¶
type GetCassandraInstanceDatastoreArray []GetCassandraInstanceDatastoreInput
func (GetCassandraInstanceDatastoreArray) ElementType ¶
func (GetCassandraInstanceDatastoreArray) ElementType() reflect.Type
func (GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutput ¶
func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput
func (GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutputWithContext ¶
func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput
type GetCassandraInstanceDatastoreArrayInput ¶
type GetCassandraInstanceDatastoreArrayInput interface { pulumi.Input ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput ToGetCassandraInstanceDatastoreArrayOutputWithContext(context.Context) GetCassandraInstanceDatastoreArrayOutput }
GetCassandraInstanceDatastoreArrayInput is an input type that accepts GetCassandraInstanceDatastoreArray and GetCassandraInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceDatastoreArrayInput` via:
GetCassandraInstanceDatastoreArray{ GetCassandraInstanceDatastoreArgs{...} }
type GetCassandraInstanceDatastoreArrayOutput ¶
type GetCassandraInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceDatastoreArrayOutput) ElementType ¶
func (GetCassandraInstanceDatastoreArrayOutput) ElementType() reflect.Type
func (GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutput ¶
func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput
func (GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutputWithContext ¶
func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput
type GetCassandraInstanceDatastoreInput ¶
type GetCassandraInstanceDatastoreInput interface { pulumi.Input ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput ToGetCassandraInstanceDatastoreOutputWithContext(context.Context) GetCassandraInstanceDatastoreOutput }
GetCassandraInstanceDatastoreInput is an input type that accepts GetCassandraInstanceDatastoreArgs and GetCassandraInstanceDatastoreOutput values. You can construct a concrete instance of `GetCassandraInstanceDatastoreInput` via:
GetCassandraInstanceDatastoreArgs{...}
type GetCassandraInstanceDatastoreOutput ¶
type GetCassandraInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceDatastoreOutput) ElementType ¶
func (GetCassandraInstanceDatastoreOutput) ElementType() reflect.Type
func (GetCassandraInstanceDatastoreOutput) Engine ¶
func (o GetCassandraInstanceDatastoreOutput) Engine() pulumi.StringOutput
Indicates the database engine.
func (GetCassandraInstanceDatastoreOutput) StorageEngine ¶
func (o GetCassandraInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Indicates the database storage engine.
func (GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutput ¶
func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput
func (GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutputWithContext ¶
func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput
func (GetCassandraInstanceDatastoreOutput) Version ¶
func (o GetCassandraInstanceDatastoreOutput) Version() pulumi.StringOutput
Indicates the database version.
type GetCassandraInstanceNode ¶
type GetCassandraInstanceNode struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the node ID. Id string `pulumi:"id"` // Specifies the name of the instance. Name string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp string `pulumi:"privateIp"` // Indicates the node status. Status string `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce bool `pulumi:"supportReduce"` }
type GetCassandraInstanceNodeArgs ¶
type GetCassandraInstanceNodeArgs struct { // Indicates the availability zone where the node resides. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Indicates the node ID. Id pulumi.StringInput `pulumi:"id"` // Specifies the name of the instance. Name pulumi.StringInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringInput `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce pulumi.BoolInput `pulumi:"supportReduce"` }
func (GetCassandraInstanceNodeArgs) ElementType ¶
func (GetCassandraInstanceNodeArgs) ElementType() reflect.Type
func (GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutput ¶
func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput
func (GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutputWithContext ¶
func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput
type GetCassandraInstanceNodeArray ¶
type GetCassandraInstanceNodeArray []GetCassandraInstanceNodeInput
func (GetCassandraInstanceNodeArray) ElementType ¶
func (GetCassandraInstanceNodeArray) ElementType() reflect.Type
func (GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutput ¶
func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput
func (GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutputWithContext ¶
func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput
type GetCassandraInstanceNodeArrayInput ¶
type GetCassandraInstanceNodeArrayInput interface { pulumi.Input ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput ToGetCassandraInstanceNodeArrayOutputWithContext(context.Context) GetCassandraInstanceNodeArrayOutput }
GetCassandraInstanceNodeArrayInput is an input type that accepts GetCassandraInstanceNodeArray and GetCassandraInstanceNodeArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceNodeArrayInput` via:
GetCassandraInstanceNodeArray{ GetCassandraInstanceNodeArgs{...} }
type GetCassandraInstanceNodeArrayOutput ¶
type GetCassandraInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceNodeArrayOutput) ElementType ¶
func (GetCassandraInstanceNodeArrayOutput) ElementType() reflect.Type
func (GetCassandraInstanceNodeArrayOutput) Index ¶
func (o GetCassandraInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetCassandraInstanceNodeOutput
func (GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutput ¶
func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput
func (GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutputWithContext ¶
func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput
type GetCassandraInstanceNodeInput ¶
type GetCassandraInstanceNodeInput interface { pulumi.Input ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput ToGetCassandraInstanceNodeOutputWithContext(context.Context) GetCassandraInstanceNodeOutput }
GetCassandraInstanceNodeInput is an input type that accepts GetCassandraInstanceNodeArgs and GetCassandraInstanceNodeOutput values. You can construct a concrete instance of `GetCassandraInstanceNodeInput` via:
GetCassandraInstanceNodeArgs{...}
type GetCassandraInstanceNodeOutput ¶
type GetCassandraInstanceNodeOutput struct{ *pulumi.OutputState }
func (GetCassandraInstanceNodeOutput) AvailabilityZone ¶
func (o GetCassandraInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (GetCassandraInstanceNodeOutput) ElementType ¶
func (GetCassandraInstanceNodeOutput) ElementType() reflect.Type
func (GetCassandraInstanceNodeOutput) Id ¶
func (o GetCassandraInstanceNodeOutput) Id() pulumi.StringOutput
Indicates the node ID.
func (GetCassandraInstanceNodeOutput) Name ¶
func (o GetCassandraInstanceNodeOutput) Name() pulumi.StringOutput
Specifies the name of the instance.
func (GetCassandraInstanceNodeOutput) PrivateIp ¶
func (o GetCassandraInstanceNodeOutput) PrivateIp() pulumi.StringOutput
Indicates the private IP address of a node.
func (GetCassandraInstanceNodeOutput) Status ¶
func (o GetCassandraInstanceNodeOutput) Status() pulumi.StringOutput
Indicates the node status.
func (GetCassandraInstanceNodeOutput) SupportReduce ¶
func (o GetCassandraInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
Indicates whether the node support reduce.
func (GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutput ¶
func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput
func (GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutputWithContext ¶
func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput
type GetCassandraInstancesArgs ¶
type GetCassandraInstancesArgs struct { // Specifies the name of the instance. Name *string `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region *string `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId *string `pulumi:"subnetId"` // Specifies the VPC ID. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getCassandraInstances.
type GetCassandraInstancesInstance ¶
type GetCassandraInstancesInstance struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the advanced backup policy. Structure is documented below. BackupStrategies []GetCassandraInstancesInstanceBackupStrategy `pulumi:"backupStrategies"` // Indicates the database information. Structure is documented below. Datastores []GetCassandraInstancesInstanceDatastore `pulumi:"datastores"` // Indicates the default username. DbUserName string `pulumi:"dbUserName"` // Indicates the enterprise project id. EnterpriseProjectId string `pulumi:"enterpriseProjectId"` // Indicates the instance specifications. Flavor string `pulumi:"flavor"` // Indicates the node ID. Id string `pulumi:"id"` // Indicates the instance mode. Mode string `pulumi:"mode"` // Specifies the name of the instance. Name string `pulumi:"name"` // Indicates the count of the nodes. NodeNum int `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes []GetCassandraInstancesInstanceNode `pulumi:"nodes"` // Indicates the database port. Port int `pulumi:"port"` // Indicates the list of private IP address of the nodes. PrivateIps []string `pulumi:"privateIps"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region string `pulumi:"region"` // Indicates the security group ID. SecurityGroupId string `pulumi:"securityGroupId"` // Indicates the node status. Status string `pulumi:"status"` // Specifies the network ID of a subnet. SubnetId string `pulumi:"subnetId"` // Indicates the key/value tags of the instance. Tags map[string]string `pulumi:"tags"` // Indicates the size of the volume. VolumeSize int `pulumi:"volumeSize"` // Specifies the VPC ID. VpcId string `pulumi:"vpcId"` }
type GetCassandraInstancesInstanceArgs ¶
type GetCassandraInstancesInstanceArgs struct { // Indicates the availability zone where the node resides. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Indicates the advanced backup policy. Structure is documented below. BackupStrategies GetCassandraInstancesInstanceBackupStrategyArrayInput `pulumi:"backupStrategies"` // Indicates the database information. Structure is documented below. Datastores GetCassandraInstancesInstanceDatastoreArrayInput `pulumi:"datastores"` // Indicates the default username. DbUserName pulumi.StringInput `pulumi:"dbUserName"` // Indicates the enterprise project id. EnterpriseProjectId pulumi.StringInput `pulumi:"enterpriseProjectId"` // Indicates the instance specifications. Flavor pulumi.StringInput `pulumi:"flavor"` // Indicates the node ID. Id pulumi.StringInput `pulumi:"id"` // Indicates the instance mode. Mode pulumi.StringInput `pulumi:"mode"` // Specifies the name of the instance. Name pulumi.StringInput `pulumi:"name"` // Indicates the count of the nodes. NodeNum pulumi.IntInput `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes GetCassandraInstancesInstanceNodeArrayInput `pulumi:"nodes"` // Indicates the database port. Port pulumi.IntInput `pulumi:"port"` // Indicates the list of private IP address of the nodes. PrivateIps pulumi.StringArrayInput `pulumi:"privateIps"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region pulumi.StringInput `pulumi:"region"` // Indicates the security group ID. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // Indicates the node status. Status pulumi.StringInput `pulumi:"status"` // Specifies the network ID of a subnet. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Indicates the key/value tags of the instance. Tags pulumi.StringMapInput `pulumi:"tags"` // Indicates the size of the volume. VolumeSize pulumi.IntInput `pulumi:"volumeSize"` // Specifies the VPC ID. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetCassandraInstancesInstanceArgs) ElementType ¶
func (GetCassandraInstancesInstanceArgs) ElementType() reflect.Type
func (GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutput ¶
func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput
func (GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutputWithContext ¶
func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput
type GetCassandraInstancesInstanceArray ¶
type GetCassandraInstancesInstanceArray []GetCassandraInstancesInstanceInput
func (GetCassandraInstancesInstanceArray) ElementType ¶
func (GetCassandraInstancesInstanceArray) ElementType() reflect.Type
func (GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutput ¶
func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput
func (GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutputWithContext ¶
func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput
type GetCassandraInstancesInstanceArrayInput ¶
type GetCassandraInstancesInstanceArrayInput interface { pulumi.Input ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput ToGetCassandraInstancesInstanceArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceArrayOutput }
GetCassandraInstancesInstanceArrayInput is an input type that accepts GetCassandraInstancesInstanceArray and GetCassandraInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceArrayInput` via:
GetCassandraInstancesInstanceArray{ GetCassandraInstancesInstanceArgs{...} }
type GetCassandraInstancesInstanceArrayOutput ¶
type GetCassandraInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceArrayOutput) ElementType ¶
func (GetCassandraInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutput ¶
func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput
func (GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutputWithContext ¶
func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput
type GetCassandraInstancesInstanceBackupStrategyArgs ¶
type GetCassandraInstancesInstanceBackupStrategyArgs struct { // Indicates the number of days to retain the generated KeepDays pulumi.IntInput `pulumi:"keepDays"` // Indicates the backup time window. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (GetCassandraInstancesInstanceBackupStrategyArgs) ElementType ¶
func (GetCassandraInstancesInstanceBackupStrategyArgs) ElementType() reflect.Type
func (GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutput ¶
func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput
func (GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext ¶
func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput
type GetCassandraInstancesInstanceBackupStrategyArray ¶
type GetCassandraInstancesInstanceBackupStrategyArray []GetCassandraInstancesInstanceBackupStrategyInput
func (GetCassandraInstancesInstanceBackupStrategyArray) ElementType ¶
func (GetCassandraInstancesInstanceBackupStrategyArray) ElementType() reflect.Type
func (GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput ¶
func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput
func (GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext ¶
func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput
type GetCassandraInstancesInstanceBackupStrategyArrayInput ¶
type GetCassandraInstancesInstanceBackupStrategyArrayInput interface { pulumi.Input ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput }
GetCassandraInstancesInstanceBackupStrategyArrayInput is an input type that accepts GetCassandraInstancesInstanceBackupStrategyArray and GetCassandraInstancesInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceBackupStrategyArrayInput` via:
GetCassandraInstancesInstanceBackupStrategyArray{ GetCassandraInstancesInstanceBackupStrategyArgs{...} }
type GetCassandraInstancesInstanceBackupStrategyArrayOutput ¶
type GetCassandraInstancesInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ElementType ¶
func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput ¶
func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput
func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext ¶
func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput
type GetCassandraInstancesInstanceBackupStrategyInput ¶
type GetCassandraInstancesInstanceBackupStrategyInput interface { pulumi.Input ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(context.Context) GetCassandraInstancesInstanceBackupStrategyOutput }
GetCassandraInstancesInstanceBackupStrategyInput is an input type that accepts GetCassandraInstancesInstanceBackupStrategyArgs and GetCassandraInstancesInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceBackupStrategyInput` via:
GetCassandraInstancesInstanceBackupStrategyArgs{...}
type GetCassandraInstancesInstanceBackupStrategyOutput ¶
type GetCassandraInstancesInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceBackupStrategyOutput) ElementType ¶
func (GetCassandraInstancesInstanceBackupStrategyOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceBackupStrategyOutput) KeepDays ¶
func (o GetCassandraInstancesInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
Indicates the number of days to retain the generated
func (GetCassandraInstancesInstanceBackupStrategyOutput) StartTime ¶
func (o GetCassandraInstancesInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Indicates the backup time window.
func (GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutput ¶
func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput
func (GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext ¶
func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput
type GetCassandraInstancesInstanceDatastoreArgs ¶
type GetCassandraInstancesInstanceDatastoreArgs struct { // Indicates the database engine. Engine pulumi.StringInput `pulumi:"engine"` // Indicates the database storage engine. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Indicates the database version. Version pulumi.StringInput `pulumi:"version"` }
func (GetCassandraInstancesInstanceDatastoreArgs) ElementType ¶
func (GetCassandraInstancesInstanceDatastoreArgs) ElementType() reflect.Type
func (GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutput ¶
func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput
func (GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutputWithContext ¶
func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput
type GetCassandraInstancesInstanceDatastoreArray ¶
type GetCassandraInstancesInstanceDatastoreArray []GetCassandraInstancesInstanceDatastoreInput
func (GetCassandraInstancesInstanceDatastoreArray) ElementType ¶
func (GetCassandraInstancesInstanceDatastoreArray) ElementType() reflect.Type
func (GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutput ¶
func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput
func (GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext ¶
func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput
type GetCassandraInstancesInstanceDatastoreArrayInput ¶
type GetCassandraInstancesInstanceDatastoreArrayInput interface { pulumi.Input ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput }
GetCassandraInstancesInstanceDatastoreArrayInput is an input type that accepts GetCassandraInstancesInstanceDatastoreArray and GetCassandraInstancesInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceDatastoreArrayInput` via:
GetCassandraInstancesInstanceDatastoreArray{ GetCassandraInstancesInstanceDatastoreArgs{...} }
type GetCassandraInstancesInstanceDatastoreArrayOutput ¶
type GetCassandraInstancesInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceDatastoreArrayOutput) ElementType ¶
func (GetCassandraInstancesInstanceDatastoreArrayOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutput ¶
func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput
func (GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext ¶
func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput
type GetCassandraInstancesInstanceDatastoreInput ¶
type GetCassandraInstancesInstanceDatastoreInput interface { pulumi.Input ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput ToGetCassandraInstancesInstanceDatastoreOutputWithContext(context.Context) GetCassandraInstancesInstanceDatastoreOutput }
GetCassandraInstancesInstanceDatastoreInput is an input type that accepts GetCassandraInstancesInstanceDatastoreArgs and GetCassandraInstancesInstanceDatastoreOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceDatastoreInput` via:
GetCassandraInstancesInstanceDatastoreArgs{...}
type GetCassandraInstancesInstanceDatastoreOutput ¶
type GetCassandraInstancesInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceDatastoreOutput) ElementType ¶
func (GetCassandraInstancesInstanceDatastoreOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceDatastoreOutput) Engine ¶
func (o GetCassandraInstancesInstanceDatastoreOutput) Engine() pulumi.StringOutput
Indicates the database engine.
func (GetCassandraInstancesInstanceDatastoreOutput) StorageEngine ¶
func (o GetCassandraInstancesInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Indicates the database storage engine.
func (GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutput ¶
func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput
func (GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutputWithContext ¶
func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput
func (GetCassandraInstancesInstanceDatastoreOutput) Version ¶
func (o GetCassandraInstancesInstanceDatastoreOutput) Version() pulumi.StringOutput
Indicates the database version.
type GetCassandraInstancesInstanceInput ¶
type GetCassandraInstancesInstanceInput interface { pulumi.Input ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput ToGetCassandraInstancesInstanceOutputWithContext(context.Context) GetCassandraInstancesInstanceOutput }
GetCassandraInstancesInstanceInput is an input type that accepts GetCassandraInstancesInstanceArgs and GetCassandraInstancesInstanceOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceInput` via:
GetCassandraInstancesInstanceArgs{...}
type GetCassandraInstancesInstanceNode ¶
type GetCassandraInstancesInstanceNode struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the node ID. Id string `pulumi:"id"` // Specifies the name of the instance. Name string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp string `pulumi:"privateIp"` // Indicates the node status. Status string `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce bool `pulumi:"supportReduce"` }
type GetCassandraInstancesInstanceNodeArgs ¶
type GetCassandraInstancesInstanceNodeArgs struct { // Indicates the availability zone where the node resides. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Indicates the node ID. Id pulumi.StringInput `pulumi:"id"` // Specifies the name of the instance. Name pulumi.StringInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringInput `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce pulumi.BoolInput `pulumi:"supportReduce"` }
func (GetCassandraInstancesInstanceNodeArgs) ElementType ¶
func (GetCassandraInstancesInstanceNodeArgs) ElementType() reflect.Type
func (GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutput ¶
func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput
func (GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutputWithContext ¶
func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput
type GetCassandraInstancesInstanceNodeArray ¶
type GetCassandraInstancesInstanceNodeArray []GetCassandraInstancesInstanceNodeInput
func (GetCassandraInstancesInstanceNodeArray) ElementType ¶
func (GetCassandraInstancesInstanceNodeArray) ElementType() reflect.Type
func (GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutput ¶
func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput
func (GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext ¶
func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput
type GetCassandraInstancesInstanceNodeArrayInput ¶
type GetCassandraInstancesInstanceNodeArrayInput interface { pulumi.Input ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceNodeArrayOutput }
GetCassandraInstancesInstanceNodeArrayInput is an input type that accepts GetCassandraInstancesInstanceNodeArray and GetCassandraInstancesInstanceNodeArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceNodeArrayInput` via:
GetCassandraInstancesInstanceNodeArray{ GetCassandraInstancesInstanceNodeArgs{...} }
type GetCassandraInstancesInstanceNodeArrayOutput ¶
type GetCassandraInstancesInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceNodeArrayOutput) ElementType ¶
func (GetCassandraInstancesInstanceNodeArrayOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutput ¶
func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput
func (GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext ¶
func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput
type GetCassandraInstancesInstanceNodeInput ¶
type GetCassandraInstancesInstanceNodeInput interface { pulumi.Input ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput ToGetCassandraInstancesInstanceNodeOutputWithContext(context.Context) GetCassandraInstancesInstanceNodeOutput }
GetCassandraInstancesInstanceNodeInput is an input type that accepts GetCassandraInstancesInstanceNodeArgs and GetCassandraInstancesInstanceNodeOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceNodeInput` via:
GetCassandraInstancesInstanceNodeArgs{...}
type GetCassandraInstancesInstanceNodeOutput ¶
type GetCassandraInstancesInstanceNodeOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceNodeOutput) AvailabilityZone ¶
func (o GetCassandraInstancesInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (GetCassandraInstancesInstanceNodeOutput) ElementType ¶
func (GetCassandraInstancesInstanceNodeOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceNodeOutput) Id ¶
func (o GetCassandraInstancesInstanceNodeOutput) Id() pulumi.StringOutput
Indicates the node ID.
func (GetCassandraInstancesInstanceNodeOutput) Name ¶
func (o GetCassandraInstancesInstanceNodeOutput) Name() pulumi.StringOutput
Specifies the name of the instance.
func (GetCassandraInstancesInstanceNodeOutput) PrivateIp ¶
func (o GetCassandraInstancesInstanceNodeOutput) PrivateIp() pulumi.StringOutput
Indicates the private IP address of a node.
func (GetCassandraInstancesInstanceNodeOutput) Status ¶
func (o GetCassandraInstancesInstanceNodeOutput) Status() pulumi.StringOutput
Indicates the node status.
func (GetCassandraInstancesInstanceNodeOutput) SupportReduce ¶
func (o GetCassandraInstancesInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
Indicates whether the node support reduce.
func (GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutput ¶
func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput
func (GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutputWithContext ¶
func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput
type GetCassandraInstancesInstanceOutput ¶
type GetCassandraInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetCassandraInstancesInstanceOutput) AvailabilityZone ¶
func (o GetCassandraInstancesInstanceOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (GetCassandraInstancesInstanceOutput) BackupStrategies ¶
func (o GetCassandraInstancesInstanceOutput) BackupStrategies() GetCassandraInstancesInstanceBackupStrategyArrayOutput
Indicates the advanced backup policy. Structure is documented below.
func (GetCassandraInstancesInstanceOutput) Datastores ¶
func (o GetCassandraInstancesInstanceOutput) Datastores() GetCassandraInstancesInstanceDatastoreArrayOutput
Indicates the database information. Structure is documented below.
func (GetCassandraInstancesInstanceOutput) DbUserName ¶
func (o GetCassandraInstancesInstanceOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (GetCassandraInstancesInstanceOutput) ElementType ¶
func (GetCassandraInstancesInstanceOutput) ElementType() reflect.Type
func (GetCassandraInstancesInstanceOutput) EnterpriseProjectId ¶
func (o GetCassandraInstancesInstanceOutput) EnterpriseProjectId() pulumi.StringOutput
Indicates the enterprise project id.
func (GetCassandraInstancesInstanceOutput) Flavor ¶
func (o GetCassandraInstancesInstanceOutput) Flavor() pulumi.StringOutput
Indicates the instance specifications.
func (GetCassandraInstancesInstanceOutput) Id ¶
func (o GetCassandraInstancesInstanceOutput) Id() pulumi.StringOutput
Indicates the node ID.
func (GetCassandraInstancesInstanceOutput) Mode ¶
func (o GetCassandraInstancesInstanceOutput) Mode() pulumi.StringOutput
Indicates the instance mode.
func (GetCassandraInstancesInstanceOutput) Name ¶
func (o GetCassandraInstancesInstanceOutput) Name() pulumi.StringOutput
Specifies the name of the instance.
func (GetCassandraInstancesInstanceOutput) NodeNum ¶
func (o GetCassandraInstancesInstanceOutput) NodeNum() pulumi.IntOutput
Indicates the count of the nodes.
func (GetCassandraInstancesInstanceOutput) Nodes ¶
Indicates the instance nodes information. Structure is documented below.
func (GetCassandraInstancesInstanceOutput) Port ¶
func (o GetCassandraInstancesInstanceOutput) Port() pulumi.IntOutput
Indicates the database port.
func (GetCassandraInstancesInstanceOutput) PrivateIps ¶
func (o GetCassandraInstancesInstanceOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the list of private IP address of the nodes.
func (GetCassandraInstancesInstanceOutput) Region ¶
func (o GetCassandraInstancesInstanceOutput) Region() pulumi.StringOutput
The region in which to obtain the instance. If omitted, the provider-level region will be used.
func (GetCassandraInstancesInstanceOutput) SecurityGroupId ¶
func (o GetCassandraInstancesInstanceOutput) SecurityGroupId() pulumi.StringOutput
Indicates the security group ID.
func (GetCassandraInstancesInstanceOutput) Status ¶
func (o GetCassandraInstancesInstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (GetCassandraInstancesInstanceOutput) SubnetId ¶
func (o GetCassandraInstancesInstanceOutput) SubnetId() pulumi.StringOutput
Specifies the network ID of a subnet.
func (GetCassandraInstancesInstanceOutput) Tags ¶
func (o GetCassandraInstancesInstanceOutput) Tags() pulumi.StringMapOutput
Indicates the key/value tags of the instance.
func (GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutput ¶
func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput
func (GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutputWithContext ¶
func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput
func (GetCassandraInstancesInstanceOutput) VolumeSize ¶
func (o GetCassandraInstancesInstanceOutput) VolumeSize() pulumi.IntOutput
Indicates the size of the volume.
func (GetCassandraInstancesInstanceOutput) VpcId ¶
func (o GetCassandraInstancesInstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID.
type GetCassandraInstancesOutputArgs ¶
type GetCassandraInstancesOutputArgs struct { // Specifies the name of the instance. Name pulumi.StringPtrInput `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // Specifies the VPC ID. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getCassandraInstances.
func (GetCassandraInstancesOutputArgs) ElementType ¶
func (GetCassandraInstancesOutputArgs) ElementType() reflect.Type
type GetCassandraInstancesResult ¶
type GetCassandraInstancesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An array of available instances. Instances []GetCassandraInstancesInstance `pulumi:"instances"` // Indicates the node name. Name *string `pulumi:"name"` // The region of the instance. Region string `pulumi:"region"` // Indicates the network ID of a subnet. SubnetId *string `pulumi:"subnetId"` // Indicates the VPC ID. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getCassandraInstances.
func GetCassandraInstances ¶
func GetCassandraInstances(ctx *pulumi.Context, args *GetCassandraInstancesArgs, opts ...pulumi.InvokeOption) (*GetCassandraInstancesResult, error)
Use this data source to get available HuaweiCloud gaussdb cassandra instances.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetCassandraInstances(ctx, &gaussdbfornosql.GetCassandraInstancesArgs{ Name: pulumi.StringRef("gaussdb-instance"), }, nil) if err != nil { return err } return nil }) }
```
type GetCassandraInstancesResultOutput ¶
type GetCassandraInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCassandraInstances.
func GetCassandraInstancesOutput ¶
func GetCassandraInstancesOutput(ctx *pulumi.Context, args GetCassandraInstancesOutputArgs, opts ...pulumi.InvokeOption) GetCassandraInstancesResultOutput
func (GetCassandraInstancesResultOutput) ElementType ¶
func (GetCassandraInstancesResultOutput) ElementType() reflect.Type
func (GetCassandraInstancesResultOutput) Id ¶
func (o GetCassandraInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCassandraInstancesResultOutput) Instances ¶
func (o GetCassandraInstancesResultOutput) Instances() GetCassandraInstancesInstanceArrayOutput
An array of available instances.
func (GetCassandraInstancesResultOutput) Name ¶
func (o GetCassandraInstancesResultOutput) Name() pulumi.StringPtrOutput
Indicates the node name.
func (GetCassandraInstancesResultOutput) Region ¶
func (o GetCassandraInstancesResultOutput) Region() pulumi.StringOutput
The region of the instance.
func (GetCassandraInstancesResultOutput) SubnetId ¶
func (o GetCassandraInstancesResultOutput) SubnetId() pulumi.StringPtrOutput
Indicates the network ID of a subnet.
func (GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutput ¶
func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutput() GetCassandraInstancesResultOutput
func (GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutputWithContext ¶
func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutputWithContext(ctx context.Context) GetCassandraInstancesResultOutput
func (GetCassandraInstancesResultOutput) VpcId ¶
func (o GetCassandraInstancesResultOutput) VpcId() pulumi.StringPtrOutput
Indicates the VPC ID.
type GetNosqlFlavorsArgs ¶
type GetNosqlFlavorsArgs struct { // Specifies the availability zone (AZ) of the GaussDB specifications. AvailabilityZone *string `pulumi:"availabilityZone"` // Specifies the type of the database engine. The valid values are as follows: // + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. // + **redis**: Means to query GaussDB (for Redis) instance specifications. // + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. // + **influxdb**: Means to query GaussDB (for Influx) instance specifications. Engine *string `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion *string `pulumi:"engineVersion"` // Specifies the memory size in gigabytes (GB). Memory *int `pulumi:"memory"` // Specifies the region in which to obtain the GaussDB specifications. // If omitted, the provider-level region will be used. Region *string `pulumi:"region"` // Specifies the number of vCPUs. Vcpus *int `pulumi:"vcpus"` }
A collection of arguments for invoking getNosqlFlavors.
type GetNosqlFlavorsFlavor ¶
type GetNosqlFlavorsFlavor struct { // All available zones (on sale) for current flavor. AvailabilityZones []string `pulumi:"availabilityZones"` // Specifies the type of the database engine. The valid values are as follows: // + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. // + **redis**: Means to query GaussDB (for Redis) instance specifications. // + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. // + **influxdb**: Means to query GaussDB (for Influx) instance specifications. Engine string `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion string `pulumi:"engineVersion"` // Specifies the memory size in gigabytes (GB). Memory string `pulumi:"memory"` // The spec code of the flavor. Name string `pulumi:"name"` // Specifies the number of vCPUs. Vcpus string `pulumi:"vcpus"` }
type GetNosqlFlavorsFlavorArgs ¶
type GetNosqlFlavorsFlavorArgs struct { // All available zones (on sale) for current flavor. AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // Specifies the type of the database engine. The valid values are as follows: // + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. // + **redis**: Means to query GaussDB (for Redis) instance specifications. // + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. // + **influxdb**: Means to query GaussDB (for Influx) instance specifications. Engine pulumi.StringInput `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion pulumi.StringInput `pulumi:"engineVersion"` // Specifies the memory size in gigabytes (GB). Memory pulumi.StringInput `pulumi:"memory"` // The spec code of the flavor. Name pulumi.StringInput `pulumi:"name"` // Specifies the number of vCPUs. Vcpus pulumi.StringInput `pulumi:"vcpus"` }
func (GetNosqlFlavorsFlavorArgs) ElementType ¶
func (GetNosqlFlavorsFlavorArgs) ElementType() reflect.Type
func (GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutput ¶
func (i GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput
func (GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutputWithContext ¶
func (i GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorOutput
type GetNosqlFlavorsFlavorArray ¶
type GetNosqlFlavorsFlavorArray []GetNosqlFlavorsFlavorInput
func (GetNosqlFlavorsFlavorArray) ElementType ¶
func (GetNosqlFlavorsFlavorArray) ElementType() reflect.Type
func (GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutput ¶
func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput
func (GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutputWithContext ¶
func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput
type GetNosqlFlavorsFlavorArrayInput ¶
type GetNosqlFlavorsFlavorArrayInput interface { pulumi.Input ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput ToGetNosqlFlavorsFlavorArrayOutputWithContext(context.Context) GetNosqlFlavorsFlavorArrayOutput }
GetNosqlFlavorsFlavorArrayInput is an input type that accepts GetNosqlFlavorsFlavorArray and GetNosqlFlavorsFlavorArrayOutput values. You can construct a concrete instance of `GetNosqlFlavorsFlavorArrayInput` via:
GetNosqlFlavorsFlavorArray{ GetNosqlFlavorsFlavorArgs{...} }
type GetNosqlFlavorsFlavorArrayOutput ¶
type GetNosqlFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }
func (GetNosqlFlavorsFlavorArrayOutput) ElementType ¶
func (GetNosqlFlavorsFlavorArrayOutput) ElementType() reflect.Type
func (GetNosqlFlavorsFlavorArrayOutput) Index ¶
func (o GetNosqlFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetNosqlFlavorsFlavorOutput
func (GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutput ¶
func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput
func (GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutputWithContext ¶
func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput
type GetNosqlFlavorsFlavorInput ¶
type GetNosqlFlavorsFlavorInput interface { pulumi.Input ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput ToGetNosqlFlavorsFlavorOutputWithContext(context.Context) GetNosqlFlavorsFlavorOutput }
GetNosqlFlavorsFlavorInput is an input type that accepts GetNosqlFlavorsFlavorArgs and GetNosqlFlavorsFlavorOutput values. You can construct a concrete instance of `GetNosqlFlavorsFlavorInput` via:
GetNosqlFlavorsFlavorArgs{...}
type GetNosqlFlavorsFlavorOutput ¶
type GetNosqlFlavorsFlavorOutput struct{ *pulumi.OutputState }
func (GetNosqlFlavorsFlavorOutput) AvailabilityZones ¶
func (o GetNosqlFlavorsFlavorOutput) AvailabilityZones() pulumi.StringArrayOutput
All available zones (on sale) for current flavor.
func (GetNosqlFlavorsFlavorOutput) ElementType ¶
func (GetNosqlFlavorsFlavorOutput) ElementType() reflect.Type
func (GetNosqlFlavorsFlavorOutput) Engine ¶
func (o GetNosqlFlavorsFlavorOutput) Engine() pulumi.StringOutput
Specifies the type of the database engine. The valid values are as follows: + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. + **redis**: Means to query GaussDB (for Redis) instance specifications. + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. + **influxdb**: Means to query GaussDB (for Influx) instance specifications.
func (GetNosqlFlavorsFlavorOutput) EngineVersion ¶
func (o GetNosqlFlavorsFlavorOutput) EngineVersion() pulumi.StringOutput
Specifies the version of the database engine.
func (GetNosqlFlavorsFlavorOutput) Memory ¶
func (o GetNosqlFlavorsFlavorOutput) Memory() pulumi.StringOutput
Specifies the memory size in gigabytes (GB).
func (GetNosqlFlavorsFlavorOutput) Name ¶
func (o GetNosqlFlavorsFlavorOutput) Name() pulumi.StringOutput
The spec code of the flavor.
func (GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutput ¶
func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput
func (GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutputWithContext ¶
func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorOutput
func (GetNosqlFlavorsFlavorOutput) Vcpus ¶
func (o GetNosqlFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
Specifies the number of vCPUs.
type GetNosqlFlavorsOutputArgs ¶
type GetNosqlFlavorsOutputArgs struct { // Specifies the availability zone (AZ) of the GaussDB specifications. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Specifies the type of the database engine. The valid values are as follows: // + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. // + **redis**: Means to query GaussDB (for Redis) instance specifications. // + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. // + **influxdb**: Means to query GaussDB (for Influx) instance specifications. Engine pulumi.StringPtrInput `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion pulumi.StringPtrInput `pulumi:"engineVersion"` // Specifies the memory size in gigabytes (GB). Memory pulumi.IntPtrInput `pulumi:"memory"` // Specifies the region in which to obtain the GaussDB specifications. // If omitted, the provider-level region will be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the number of vCPUs. Vcpus pulumi.IntPtrInput `pulumi:"vcpus"` }
A collection of arguments for invoking getNosqlFlavors.
func (GetNosqlFlavorsOutputArgs) ElementType ¶
func (GetNosqlFlavorsOutputArgs) ElementType() reflect.Type
type GetNosqlFlavorsResult ¶
type GetNosqlFlavorsResult struct { AvailabilityZone *string `pulumi:"availabilityZone"` // The type of the database engine. Engine *string `pulumi:"engine"` // The version of the database engine. EngineVersion *string `pulumi:"engineVersion"` // The information of the GaussDB specifications. Structure is documented below. Flavors []GetNosqlFlavorsFlavor `pulumi:"flavors"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The memory size, in GB. Memory *int `pulumi:"memory"` Region *string `pulumi:"region"` // The number of vCPUs. Vcpus *int `pulumi:"vcpus"` }
A collection of values returned by getNosqlFlavors.
func GetNosqlFlavors ¶
func GetNosqlFlavors(ctx *pulumi.Context, args *GetNosqlFlavorsArgs, opts ...pulumi.InvokeOption) (*GetNosqlFlavorsResult, error)
Use this data source to get available HuaweiCloud GaussDB (for NoSQL) flavors. This is an alternative to `GaussDBforNoSQL.getCassandraFlavors`
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetNosqlFlavors(ctx, &gaussdbfornosql.GetNosqlFlavorsArgs{ Memory: pulumi.IntRef(8), Vcpus: pulumi.IntRef(4), }, nil) if err != nil { return err } return nil }) }
```
type GetNosqlFlavorsResultOutput ¶
type GetNosqlFlavorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNosqlFlavors.
func GetNosqlFlavorsOutput ¶
func GetNosqlFlavorsOutput(ctx *pulumi.Context, args GetNosqlFlavorsOutputArgs, opts ...pulumi.InvokeOption) GetNosqlFlavorsResultOutput
func (GetNosqlFlavorsResultOutput) AvailabilityZone ¶
func (o GetNosqlFlavorsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
func (GetNosqlFlavorsResultOutput) ElementType ¶
func (GetNosqlFlavorsResultOutput) ElementType() reflect.Type
func (GetNosqlFlavorsResultOutput) Engine ¶
func (o GetNosqlFlavorsResultOutput) Engine() pulumi.StringPtrOutput
The type of the database engine.
func (GetNosqlFlavorsResultOutput) EngineVersion ¶
func (o GetNosqlFlavorsResultOutput) EngineVersion() pulumi.StringPtrOutput
The version of the database engine.
func (GetNosqlFlavorsResultOutput) Flavors ¶
func (o GetNosqlFlavorsResultOutput) Flavors() GetNosqlFlavorsFlavorArrayOutput
The information of the GaussDB specifications. Structure is documented below.
func (GetNosqlFlavorsResultOutput) Id ¶
func (o GetNosqlFlavorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNosqlFlavorsResultOutput) Memory ¶
func (o GetNosqlFlavorsResultOutput) Memory() pulumi.IntPtrOutput
The memory size, in GB.
func (GetNosqlFlavorsResultOutput) Region ¶
func (o GetNosqlFlavorsResultOutput) Region() pulumi.StringPtrOutput
func (GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutput ¶
func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutput() GetNosqlFlavorsResultOutput
func (GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutputWithContext ¶
func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutputWithContext(ctx context.Context) GetNosqlFlavorsResultOutput
func (GetNosqlFlavorsResultOutput) Vcpus ¶
func (o GetNosqlFlavorsResultOutput) Vcpus() pulumi.IntPtrOutput
The number of vCPUs.
type GetRedisInstanceBackupStrategyArgs ¶
type GetRedisInstanceBackupStrategyArgs struct { // Indicates the number of days to retain the generated KeepDays pulumi.IntInput `pulumi:"keepDays"` // Indicates the backup time window. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (GetRedisInstanceBackupStrategyArgs) ElementType ¶
func (GetRedisInstanceBackupStrategyArgs) ElementType() reflect.Type
func (GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutput ¶
func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput
func (GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutputWithContext ¶
func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput
type GetRedisInstanceBackupStrategyArray ¶
type GetRedisInstanceBackupStrategyArray []GetRedisInstanceBackupStrategyInput
func (GetRedisInstanceBackupStrategyArray) ElementType ¶
func (GetRedisInstanceBackupStrategyArray) ElementType() reflect.Type
func (GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutput ¶
func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput
func (GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutputWithContext ¶
func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput
type GetRedisInstanceBackupStrategyArrayInput ¶
type GetRedisInstanceBackupStrategyArrayInput interface { pulumi.Input ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput ToGetRedisInstanceBackupStrategyArrayOutputWithContext(context.Context) GetRedisInstanceBackupStrategyArrayOutput }
GetRedisInstanceBackupStrategyArrayInput is an input type that accepts GetRedisInstanceBackupStrategyArray and GetRedisInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetRedisInstanceBackupStrategyArrayInput` via:
GetRedisInstanceBackupStrategyArray{ GetRedisInstanceBackupStrategyArgs{...} }
type GetRedisInstanceBackupStrategyArrayOutput ¶
type GetRedisInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceBackupStrategyArrayOutput) ElementType ¶
func (GetRedisInstanceBackupStrategyArrayOutput) ElementType() reflect.Type
func (GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutput ¶
func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput
func (GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutputWithContext ¶
func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput
type GetRedisInstanceBackupStrategyInput ¶
type GetRedisInstanceBackupStrategyInput interface { pulumi.Input ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput ToGetRedisInstanceBackupStrategyOutputWithContext(context.Context) GetRedisInstanceBackupStrategyOutput }
GetRedisInstanceBackupStrategyInput is an input type that accepts GetRedisInstanceBackupStrategyArgs and GetRedisInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetRedisInstanceBackupStrategyInput` via:
GetRedisInstanceBackupStrategyArgs{...}
type GetRedisInstanceBackupStrategyOutput ¶
type GetRedisInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceBackupStrategyOutput) ElementType ¶
func (GetRedisInstanceBackupStrategyOutput) ElementType() reflect.Type
func (GetRedisInstanceBackupStrategyOutput) KeepDays ¶
func (o GetRedisInstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
Indicates the number of days to retain the generated
func (GetRedisInstanceBackupStrategyOutput) StartTime ¶
func (o GetRedisInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Indicates the backup time window.
func (GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutput ¶
func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput
func (GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutputWithContext ¶
func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput
type GetRedisInstanceDatastoreArgs ¶
type GetRedisInstanceDatastoreArgs struct { // Indicates the database engine. Engine pulumi.StringInput `pulumi:"engine"` // Indicates the database storage engine. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Indicates the database version. Version pulumi.StringInput `pulumi:"version"` }
func (GetRedisInstanceDatastoreArgs) ElementType ¶
func (GetRedisInstanceDatastoreArgs) ElementType() reflect.Type
func (GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutput ¶
func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput
func (GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutputWithContext ¶
func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput
type GetRedisInstanceDatastoreArray ¶
type GetRedisInstanceDatastoreArray []GetRedisInstanceDatastoreInput
func (GetRedisInstanceDatastoreArray) ElementType ¶
func (GetRedisInstanceDatastoreArray) ElementType() reflect.Type
func (GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutput ¶
func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput
func (GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutputWithContext ¶
func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput
type GetRedisInstanceDatastoreArrayInput ¶
type GetRedisInstanceDatastoreArrayInput interface { pulumi.Input ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput ToGetRedisInstanceDatastoreArrayOutputWithContext(context.Context) GetRedisInstanceDatastoreArrayOutput }
GetRedisInstanceDatastoreArrayInput is an input type that accepts GetRedisInstanceDatastoreArray and GetRedisInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetRedisInstanceDatastoreArrayInput` via:
GetRedisInstanceDatastoreArray{ GetRedisInstanceDatastoreArgs{...} }
type GetRedisInstanceDatastoreArrayOutput ¶
type GetRedisInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceDatastoreArrayOutput) ElementType ¶
func (GetRedisInstanceDatastoreArrayOutput) ElementType() reflect.Type
func (GetRedisInstanceDatastoreArrayOutput) Index ¶
func (o GetRedisInstanceDatastoreArrayOutput) Index(i pulumi.IntInput) GetRedisInstanceDatastoreOutput
func (GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutput ¶
func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput
func (GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutputWithContext ¶
func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput
type GetRedisInstanceDatastoreInput ¶
type GetRedisInstanceDatastoreInput interface { pulumi.Input ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput ToGetRedisInstanceDatastoreOutputWithContext(context.Context) GetRedisInstanceDatastoreOutput }
GetRedisInstanceDatastoreInput is an input type that accepts GetRedisInstanceDatastoreArgs and GetRedisInstanceDatastoreOutput values. You can construct a concrete instance of `GetRedisInstanceDatastoreInput` via:
GetRedisInstanceDatastoreArgs{...}
type GetRedisInstanceDatastoreOutput ¶
type GetRedisInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceDatastoreOutput) ElementType ¶
func (GetRedisInstanceDatastoreOutput) ElementType() reflect.Type
func (GetRedisInstanceDatastoreOutput) Engine ¶
func (o GetRedisInstanceDatastoreOutput) Engine() pulumi.StringOutput
Indicates the database engine.
func (GetRedisInstanceDatastoreOutput) StorageEngine ¶
func (o GetRedisInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Indicates the database storage engine.
func (GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutput ¶
func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput
func (GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutputWithContext ¶
func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput
func (GetRedisInstanceDatastoreOutput) Version ¶
func (o GetRedisInstanceDatastoreOutput) Version() pulumi.StringOutput
Indicates the database version.
type GetRedisInstanceNode ¶
type GetRedisInstanceNode struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the node ID. Id string `pulumi:"id"` // Specifies the name of the instance. Name string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp string `pulumi:"privateIp"` // Indicates the node status. Status string `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce bool `pulumi:"supportReduce"` }
type GetRedisInstanceNodeArgs ¶
type GetRedisInstanceNodeArgs struct { // Indicates the availability zone where the node resides. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Indicates the node ID. Id pulumi.StringInput `pulumi:"id"` // Specifies the name of the instance. Name pulumi.StringInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringInput `pulumi:"status"` // Indicates whether the node support reduce. SupportReduce pulumi.BoolInput `pulumi:"supportReduce"` }
func (GetRedisInstanceNodeArgs) ElementType ¶
func (GetRedisInstanceNodeArgs) ElementType() reflect.Type
func (GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutput ¶
func (i GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput
func (GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutputWithContext ¶
func (i GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutputWithContext(ctx context.Context) GetRedisInstanceNodeOutput
type GetRedisInstanceNodeArray ¶
type GetRedisInstanceNodeArray []GetRedisInstanceNodeInput
func (GetRedisInstanceNodeArray) ElementType ¶
func (GetRedisInstanceNodeArray) ElementType() reflect.Type
func (GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutput ¶
func (i GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput
func (GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutputWithContext ¶
func (i GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutputWithContext(ctx context.Context) GetRedisInstanceNodeArrayOutput
type GetRedisInstanceNodeArrayInput ¶
type GetRedisInstanceNodeArrayInput interface { pulumi.Input ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput ToGetRedisInstanceNodeArrayOutputWithContext(context.Context) GetRedisInstanceNodeArrayOutput }
GetRedisInstanceNodeArrayInput is an input type that accepts GetRedisInstanceNodeArray and GetRedisInstanceNodeArrayOutput values. You can construct a concrete instance of `GetRedisInstanceNodeArrayInput` via:
GetRedisInstanceNodeArray{ GetRedisInstanceNodeArgs{...} }
type GetRedisInstanceNodeArrayOutput ¶
type GetRedisInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceNodeArrayOutput) ElementType ¶
func (GetRedisInstanceNodeArrayOutput) ElementType() reflect.Type
func (GetRedisInstanceNodeArrayOutput) Index ¶
func (o GetRedisInstanceNodeArrayOutput) Index(i pulumi.IntInput) GetRedisInstanceNodeOutput
func (GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutput ¶
func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput
func (GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutputWithContext ¶
func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutputWithContext(ctx context.Context) GetRedisInstanceNodeArrayOutput
type GetRedisInstanceNodeInput ¶
type GetRedisInstanceNodeInput interface { pulumi.Input ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput ToGetRedisInstanceNodeOutputWithContext(context.Context) GetRedisInstanceNodeOutput }
GetRedisInstanceNodeInput is an input type that accepts GetRedisInstanceNodeArgs and GetRedisInstanceNodeOutput values. You can construct a concrete instance of `GetRedisInstanceNodeInput` via:
GetRedisInstanceNodeArgs{...}
type GetRedisInstanceNodeOutput ¶
type GetRedisInstanceNodeOutput struct{ *pulumi.OutputState }
func (GetRedisInstanceNodeOutput) AvailabilityZone ¶
func (o GetRedisInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (GetRedisInstanceNodeOutput) ElementType ¶
func (GetRedisInstanceNodeOutput) ElementType() reflect.Type
func (GetRedisInstanceNodeOutput) Id ¶
func (o GetRedisInstanceNodeOutput) Id() pulumi.StringOutput
Indicates the node ID.
func (GetRedisInstanceNodeOutput) Name ¶
func (o GetRedisInstanceNodeOutput) Name() pulumi.StringOutput
Specifies the name of the instance.
func (GetRedisInstanceNodeOutput) PrivateIp ¶
func (o GetRedisInstanceNodeOutput) PrivateIp() pulumi.StringOutput
Indicates the private IP address of a node.
func (GetRedisInstanceNodeOutput) Status ¶
func (o GetRedisInstanceNodeOutput) Status() pulumi.StringOutput
Indicates the node status.
func (GetRedisInstanceNodeOutput) SupportReduce ¶
func (o GetRedisInstanceNodeOutput) SupportReduce() pulumi.BoolOutput
Indicates whether the node support reduce.
func (GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutput ¶
func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput
func (GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutputWithContext ¶
func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutputWithContext(ctx context.Context) GetRedisInstanceNodeOutput
type InfluxInstance ¶
type InfluxInstance struct { pulumi.CustomResourceState // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Specifies the advanced backup policy. Structure is documented below. BackupStrategy InfluxInstanceBackupStrategyOutput `pulumi:"backupStrategy"` // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"` // Specifies the Parameter Template ID. ConfigurationId pulumi.StringOutput `pulumi:"configurationId"` // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore InfluxInstanceDatastoreOutput `pulumi:"datastore"` // Indicates the default username. DbUserName pulumi.StringOutput `pulumi:"dbUserName"` // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"` // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"` // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"` // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) // Changing this parameter will create a new resource. Flavor pulumi.StringOutput `pulumi:"flavor"` // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"` // Indicates the LB IP address of the db. LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"` // Indicates the LB port of the db. LbPort pulumi.StringOutput `pulumi:"lbPort"` // Indicates the instance type. Mode pulumi.StringOutput `pulumi:"mode"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringOutput `pulumi:"name"` // Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**. NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes InfluxInstanceNodeArrayOutput `pulumi:"nodes"` // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringOutput `pulumi:"password"` // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrOutput `pulumi:"period"` // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Indicates the database port. Port pulumi.IntOutput `pulumi:"port"` // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` // The region in which to create the influx instance resource. If omitted, the // provider-level region will be used. Changing this creates a new influx instance resource. Region pulumi.StringOutput `pulumi:"region"` // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` // Indicates the node status. Status pulumi.StringOutput `pulumi:"status"` // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The key/value pairs to associate with the instance. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) VolumeSize pulumi.IntOutput `pulumi:"volumeSize"` // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
GaussDB for influx instance management within HuaweiCoud.
## Example Usage ### create a gaussdb for influx instance with tags
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewInfluxInstance(ctx, "instance1", &GaussDBforNoSQL.InfluxInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.influxdb.large.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
``` ### create a gaussdb influx instance with backup strategy
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewInfluxInstance(ctx, "instance1", &GaussDBforNoSQL.InfluxInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.influxdb.large.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), BackupStrategy: &gaussdbfornosql.InfluxInstanceBackupStrategyArgs{ StartTime: pulumi.String("03:00-04:00"), KeepDays: pulumi.Int(14), }, }) if err != nil { return err } return nil }) }
```
## Import
GaussDB influx instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:GaussDBforNoSQL/influxInstance:InfluxInstance instance_1 e6f6b1fde738489793ce09320d732037in13
```
func GetInfluxInstance ¶
func GetInfluxInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InfluxInstanceState, opts ...pulumi.ResourceOption) (*InfluxInstance, error)
GetInfluxInstance gets an existing InfluxInstance 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 NewInfluxInstance ¶
func NewInfluxInstance(ctx *pulumi.Context, name string, args *InfluxInstanceArgs, opts ...pulumi.ResourceOption) (*InfluxInstance, error)
NewInfluxInstance registers a new resource with the given unique name, arguments, and options.
func (*InfluxInstance) ElementType ¶
func (*InfluxInstance) ElementType() reflect.Type
func (*InfluxInstance) ToInfluxInstanceOutput ¶
func (i *InfluxInstance) ToInfluxInstanceOutput() InfluxInstanceOutput
func (*InfluxInstance) ToInfluxInstanceOutputWithContext ¶
func (i *InfluxInstance) ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput
type InfluxInstanceArgs ¶
type InfluxInstanceArgs struct { // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy InfluxInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore InfluxInstanceDatastorePtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) // Changing this parameter will create a new resource. Flavor pulumi.StringInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**. NodeNum pulumi.IntPtrInput // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringInput // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // The region in which to create the influx instance resource. If omitted, the // provider-level region will be used. Changing this creates a new influx instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) VolumeSize pulumi.IntInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringInput }
The set of arguments for constructing a InfluxInstance resource.
func (InfluxInstanceArgs) ElementType ¶
func (InfluxInstanceArgs) ElementType() reflect.Type
type InfluxInstanceArray ¶
type InfluxInstanceArray []InfluxInstanceInput
func (InfluxInstanceArray) ElementType ¶
func (InfluxInstanceArray) ElementType() reflect.Type
func (InfluxInstanceArray) ToInfluxInstanceArrayOutput ¶
func (i InfluxInstanceArray) ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput
func (InfluxInstanceArray) ToInfluxInstanceArrayOutputWithContext ¶
func (i InfluxInstanceArray) ToInfluxInstanceArrayOutputWithContext(ctx context.Context) InfluxInstanceArrayOutput
type InfluxInstanceArrayInput ¶
type InfluxInstanceArrayInput interface { pulumi.Input ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput ToInfluxInstanceArrayOutputWithContext(context.Context) InfluxInstanceArrayOutput }
InfluxInstanceArrayInput is an input type that accepts InfluxInstanceArray and InfluxInstanceArrayOutput values. You can construct a concrete instance of `InfluxInstanceArrayInput` via:
InfluxInstanceArray{ InfluxInstanceArgs{...} }
type InfluxInstanceArrayOutput ¶
type InfluxInstanceArrayOutput struct{ *pulumi.OutputState }
func (InfluxInstanceArrayOutput) ElementType ¶
func (InfluxInstanceArrayOutput) ElementType() reflect.Type
func (InfluxInstanceArrayOutput) Index ¶
func (o InfluxInstanceArrayOutput) Index(i pulumi.IntInput) InfluxInstanceOutput
func (InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutput ¶
func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput
func (InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutputWithContext ¶
func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutputWithContext(ctx context.Context) InfluxInstanceArrayOutput
type InfluxInstanceBackupStrategy ¶
type InfluxInstanceBackupStrategy struct { // Specifies the number of days to retain the generated backup files. The value ranges from // **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not // transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays *int `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime string `pulumi:"startTime"` }
type InfluxInstanceBackupStrategyArgs ¶
type InfluxInstanceBackupStrategyArgs struct { // Specifies the number of days to retain the generated backup files. The value ranges from // **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not // transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays pulumi.IntPtrInput `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (InfluxInstanceBackupStrategyArgs) ElementType ¶
func (InfluxInstanceBackupStrategyArgs) ElementType() reflect.Type
func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutput ¶
func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput
func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutputWithContext ¶
func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput
func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutput ¶
func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutputWithContext ¶
func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
type InfluxInstanceBackupStrategyInput ¶
type InfluxInstanceBackupStrategyInput interface { pulumi.Input ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput ToInfluxInstanceBackupStrategyOutputWithContext(context.Context) InfluxInstanceBackupStrategyOutput }
InfluxInstanceBackupStrategyInput is an input type that accepts InfluxInstanceBackupStrategyArgs and InfluxInstanceBackupStrategyOutput values. You can construct a concrete instance of `InfluxInstanceBackupStrategyInput` via:
InfluxInstanceBackupStrategyArgs{...}
type InfluxInstanceBackupStrategyOutput ¶
type InfluxInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (InfluxInstanceBackupStrategyOutput) ElementType ¶
func (InfluxInstanceBackupStrategyOutput) ElementType() reflect.Type
func (InfluxInstanceBackupStrategyOutput) KeepDays ¶
func (o InfluxInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (InfluxInstanceBackupStrategyOutput) StartTime ¶
func (o InfluxInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutput ¶
func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput
func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutputWithContext ¶
func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput
func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutput ¶
func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext ¶
func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
type InfluxInstanceBackupStrategyPtrInput ¶
type InfluxInstanceBackupStrategyPtrInput interface { pulumi.Input ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput ToInfluxInstanceBackupStrategyPtrOutputWithContext(context.Context) InfluxInstanceBackupStrategyPtrOutput }
InfluxInstanceBackupStrategyPtrInput is an input type that accepts InfluxInstanceBackupStrategyArgs, InfluxInstanceBackupStrategyPtr and InfluxInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `InfluxInstanceBackupStrategyPtrInput` via:
InfluxInstanceBackupStrategyArgs{...} or: nil
func InfluxInstanceBackupStrategyPtr ¶
func InfluxInstanceBackupStrategyPtr(v *InfluxInstanceBackupStrategyArgs) InfluxInstanceBackupStrategyPtrInput
type InfluxInstanceBackupStrategyPtrOutput ¶
type InfluxInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }
func (InfluxInstanceBackupStrategyPtrOutput) ElementType ¶
func (InfluxInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
func (InfluxInstanceBackupStrategyPtrOutput) KeepDays ¶
func (o InfluxInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (InfluxInstanceBackupStrategyPtrOutput) StartTime ¶
func (o InfluxInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutput ¶
func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
func (InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext ¶
func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput
type InfluxInstanceDatastore ¶
type InfluxInstanceDatastore struct { // Specifies the database engine. Only **influxdb** is supported now. // Changing this parameter will create a new resource. Engine string `pulumi:"engine"` // Specifies the storage engine. Only **rocksDB** is supported now. // Changing this parameter will create a new resource. StorageEngine string `pulumi:"storageEngine"` // Specifies the database version. // Changing this parameter will create a new resource. Version string `pulumi:"version"` }
type InfluxInstanceDatastoreArgs ¶
type InfluxInstanceDatastoreArgs struct { // Specifies the database engine. Only **influxdb** is supported now. // Changing this parameter will create a new resource. Engine pulumi.StringInput `pulumi:"engine"` // Specifies the storage engine. Only **rocksDB** is supported now. // Changing this parameter will create a new resource. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Specifies the database version. // Changing this parameter will create a new resource. Version pulumi.StringInput `pulumi:"version"` }
func (InfluxInstanceDatastoreArgs) ElementType ¶
func (InfluxInstanceDatastoreArgs) ElementType() reflect.Type
func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutput ¶
func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput
func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutputWithContext ¶
func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput
func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutput ¶
func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutputWithContext ¶
func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
type InfluxInstanceDatastoreInput ¶
type InfluxInstanceDatastoreInput interface { pulumi.Input ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput ToInfluxInstanceDatastoreOutputWithContext(context.Context) InfluxInstanceDatastoreOutput }
InfluxInstanceDatastoreInput is an input type that accepts InfluxInstanceDatastoreArgs and InfluxInstanceDatastoreOutput values. You can construct a concrete instance of `InfluxInstanceDatastoreInput` via:
InfluxInstanceDatastoreArgs{...}
type InfluxInstanceDatastoreOutput ¶
type InfluxInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (InfluxInstanceDatastoreOutput) ElementType ¶
func (InfluxInstanceDatastoreOutput) ElementType() reflect.Type
func (InfluxInstanceDatastoreOutput) Engine ¶
func (o InfluxInstanceDatastoreOutput) Engine() pulumi.StringOutput
Specifies the database engine. Only **influxdb** is supported now. Changing this parameter will create a new resource.
func (InfluxInstanceDatastoreOutput) StorageEngine ¶
func (o InfluxInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Specifies the storage engine. Only **rocksDB** is supported now. Changing this parameter will create a new resource.
func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutput ¶
func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput
func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutputWithContext ¶
func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput
func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutput ¶
func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutputWithContext ¶
func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
func (InfluxInstanceDatastoreOutput) Version ¶
func (o InfluxInstanceDatastoreOutput) Version() pulumi.StringOutput
Specifies the database version. Changing this parameter will create a new resource.
type InfluxInstanceDatastorePtrInput ¶
type InfluxInstanceDatastorePtrInput interface { pulumi.Input ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput ToInfluxInstanceDatastorePtrOutputWithContext(context.Context) InfluxInstanceDatastorePtrOutput }
InfluxInstanceDatastorePtrInput is an input type that accepts InfluxInstanceDatastoreArgs, InfluxInstanceDatastorePtr and InfluxInstanceDatastorePtrOutput values. You can construct a concrete instance of `InfluxInstanceDatastorePtrInput` via:
InfluxInstanceDatastoreArgs{...} or: nil
func InfluxInstanceDatastorePtr ¶
func InfluxInstanceDatastorePtr(v *InfluxInstanceDatastoreArgs) InfluxInstanceDatastorePtrInput
type InfluxInstanceDatastorePtrOutput ¶
type InfluxInstanceDatastorePtrOutput struct{ *pulumi.OutputState }
func (InfluxInstanceDatastorePtrOutput) Elem ¶
func (o InfluxInstanceDatastorePtrOutput) Elem() InfluxInstanceDatastoreOutput
func (InfluxInstanceDatastorePtrOutput) ElementType ¶
func (InfluxInstanceDatastorePtrOutput) ElementType() reflect.Type
func (InfluxInstanceDatastorePtrOutput) Engine ¶
func (o InfluxInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
Specifies the database engine. Only **influxdb** is supported now. Changing this parameter will create a new resource.
func (InfluxInstanceDatastorePtrOutput) StorageEngine ¶
func (o InfluxInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine. Only **rocksDB** is supported now. Changing this parameter will create a new resource.
func (InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutput ¶
func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
func (InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutputWithContext ¶
func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput
func (InfluxInstanceDatastorePtrOutput) Version ¶
func (o InfluxInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
Specifies the database version. Changing this parameter will create a new resource.
type InfluxInstanceInput ¶
type InfluxInstanceInput interface { pulumi.Input ToInfluxInstanceOutput() InfluxInstanceOutput ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput }
type InfluxInstanceMap ¶
type InfluxInstanceMap map[string]InfluxInstanceInput
func (InfluxInstanceMap) ElementType ¶
func (InfluxInstanceMap) ElementType() reflect.Type
func (InfluxInstanceMap) ToInfluxInstanceMapOutput ¶
func (i InfluxInstanceMap) ToInfluxInstanceMapOutput() InfluxInstanceMapOutput
func (InfluxInstanceMap) ToInfluxInstanceMapOutputWithContext ¶
func (i InfluxInstanceMap) ToInfluxInstanceMapOutputWithContext(ctx context.Context) InfluxInstanceMapOutput
type InfluxInstanceMapInput ¶
type InfluxInstanceMapInput interface { pulumi.Input ToInfluxInstanceMapOutput() InfluxInstanceMapOutput ToInfluxInstanceMapOutputWithContext(context.Context) InfluxInstanceMapOutput }
InfluxInstanceMapInput is an input type that accepts InfluxInstanceMap and InfluxInstanceMapOutput values. You can construct a concrete instance of `InfluxInstanceMapInput` via:
InfluxInstanceMap{ "key": InfluxInstanceArgs{...} }
type InfluxInstanceMapOutput ¶
type InfluxInstanceMapOutput struct{ *pulumi.OutputState }
func (InfluxInstanceMapOutput) ElementType ¶
func (InfluxInstanceMapOutput) ElementType() reflect.Type
func (InfluxInstanceMapOutput) MapIndex ¶
func (o InfluxInstanceMapOutput) MapIndex(k pulumi.StringInput) InfluxInstanceOutput
func (InfluxInstanceMapOutput) ToInfluxInstanceMapOutput ¶
func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutput() InfluxInstanceMapOutput
func (InfluxInstanceMapOutput) ToInfluxInstanceMapOutputWithContext ¶
func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutputWithContext(ctx context.Context) InfluxInstanceMapOutput
type InfluxInstanceNode ¶
type InfluxInstanceNode struct { // Indicates the node ID. Id *string `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name *string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp *string `pulumi:"privateIp"` // Indicates the node status. Status *string `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce *bool `pulumi:"supportReduce"` }
type InfluxInstanceNodeArgs ¶
type InfluxInstanceNodeArgs struct { // Indicates the node ID. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringPtrInput `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"` }
func (InfluxInstanceNodeArgs) ElementType ¶
func (InfluxInstanceNodeArgs) ElementType() reflect.Type
func (InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutput ¶
func (i InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput
func (InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutputWithContext ¶
func (i InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutputWithContext(ctx context.Context) InfluxInstanceNodeOutput
type InfluxInstanceNodeArray ¶
type InfluxInstanceNodeArray []InfluxInstanceNodeInput
func (InfluxInstanceNodeArray) ElementType ¶
func (InfluxInstanceNodeArray) ElementType() reflect.Type
func (InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutput ¶
func (i InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput
func (InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutputWithContext ¶
func (i InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutputWithContext(ctx context.Context) InfluxInstanceNodeArrayOutput
type InfluxInstanceNodeArrayInput ¶
type InfluxInstanceNodeArrayInput interface { pulumi.Input ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput ToInfluxInstanceNodeArrayOutputWithContext(context.Context) InfluxInstanceNodeArrayOutput }
InfluxInstanceNodeArrayInput is an input type that accepts InfluxInstanceNodeArray and InfluxInstanceNodeArrayOutput values. You can construct a concrete instance of `InfluxInstanceNodeArrayInput` via:
InfluxInstanceNodeArray{ InfluxInstanceNodeArgs{...} }
type InfluxInstanceNodeArrayOutput ¶
type InfluxInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (InfluxInstanceNodeArrayOutput) ElementType ¶
func (InfluxInstanceNodeArrayOutput) ElementType() reflect.Type
func (InfluxInstanceNodeArrayOutput) Index ¶
func (o InfluxInstanceNodeArrayOutput) Index(i pulumi.IntInput) InfluxInstanceNodeOutput
func (InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutput ¶
func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput
func (InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutputWithContext ¶
func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutputWithContext(ctx context.Context) InfluxInstanceNodeArrayOutput
type InfluxInstanceNodeInput ¶
type InfluxInstanceNodeInput interface { pulumi.Input ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput ToInfluxInstanceNodeOutputWithContext(context.Context) InfluxInstanceNodeOutput }
InfluxInstanceNodeInput is an input type that accepts InfluxInstanceNodeArgs and InfluxInstanceNodeOutput values. You can construct a concrete instance of `InfluxInstanceNodeInput` via:
InfluxInstanceNodeArgs{...}
type InfluxInstanceNodeOutput ¶
type InfluxInstanceNodeOutput struct{ *pulumi.OutputState }
func (InfluxInstanceNodeOutput) ElementType ¶
func (InfluxInstanceNodeOutput) ElementType() reflect.Type
func (InfluxInstanceNodeOutput) Id ¶
func (o InfluxInstanceNodeOutput) Id() pulumi.StringPtrOutput
Indicates the node ID.
func (InfluxInstanceNodeOutput) Name ¶
func (o InfluxInstanceNodeOutput) Name() pulumi.StringPtrOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (InfluxInstanceNodeOutput) PrivateIp ¶
func (o InfluxInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
Indicates the private IP address of a node.
func (InfluxInstanceNodeOutput) Status ¶
func (o InfluxInstanceNodeOutput) Status() pulumi.StringPtrOutput
Indicates the node status.
func (InfluxInstanceNodeOutput) SupportReduce ¶
func (o InfluxInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
Indicates whether the node support reduce or not.
func (InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutput ¶
func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput
func (InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutputWithContext ¶
func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutputWithContext(ctx context.Context) InfluxInstanceNodeOutput
type InfluxInstanceOutput ¶
type InfluxInstanceOutput struct{ *pulumi.OutputState }
func (InfluxInstanceOutput) AutoRenew ¶
func (o InfluxInstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether auto renew is enabled. Valid values are **true** and **false**.
func (InfluxInstanceOutput) AvailabilityZone ¶
func (o InfluxInstanceOutput) AvailabilityZone() pulumi.StringOutput
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) BackupStrategy ¶
func (o InfluxInstanceOutput) BackupStrategy() InfluxInstanceBackupStrategyOutput
Specifies the advanced backup policy. Structure is documented below.
func (InfluxInstanceOutput) ChargingMode ¶
func (o InfluxInstanceOutput) ChargingMode() pulumi.StringPtrOutput
Specifies the charging mode of the instance. Valid values are **prePaid** and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
func (InfluxInstanceOutput) ConfigurationId ¶
func (o InfluxInstanceOutput) ConfigurationId() pulumi.StringOutput
Specifies the Parameter Template ID.
func (InfluxInstanceOutput) Datastore ¶
func (o InfluxInstanceOutput) Datastore() InfluxInstanceDatastoreOutput
Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) DbUserName ¶
func (o InfluxInstanceOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (InfluxInstanceOutput) DedicatedResourceId ¶
func (o InfluxInstanceOutput) DedicatedResourceId() pulumi.StringOutput
Specifies the dedicated resource ID. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) DedicatedResourceName ¶
func (o InfluxInstanceOutput) DedicatedResourceName() pulumi.StringOutput
Specifies the dedicated resource name. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) ElementType ¶
func (InfluxInstanceOutput) ElementType() reflect.Type
func (InfluxInstanceOutput) EnterpriseProjectId ¶
func (o InfluxInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) Flavor ¶
func (o InfluxInstanceOutput) Flavor() pulumi.StringOutput
Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) Changing this parameter will create a new resource.
func (InfluxInstanceOutput) ForceImport ¶
func (o InfluxInstanceOutput) ForceImport() pulumi.BoolPtrOutput
If specified, try to import the instance instead of creating if the name already existed.
func (InfluxInstanceOutput) LbIpAddress ¶ added in v0.0.8
func (o InfluxInstanceOutput) LbIpAddress() pulumi.StringOutput
Indicates the LB IP address of the db.
func (InfluxInstanceOutput) LbPort ¶ added in v0.0.8
func (o InfluxInstanceOutput) LbPort() pulumi.StringOutput
Indicates the LB port of the db.
func (InfluxInstanceOutput) Mode ¶
func (o InfluxInstanceOutput) Mode() pulumi.StringOutput
Indicates the instance type.
func (InfluxInstanceOutput) Name ¶
func (o InfluxInstanceOutput) Name() pulumi.StringOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (InfluxInstanceOutput) NodeNum ¶
func (o InfluxInstanceOutput) NodeNum() pulumi.IntPtrOutput
Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**.
func (InfluxInstanceOutput) Nodes ¶
func (o InfluxInstanceOutput) Nodes() InfluxInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (InfluxInstanceOutput) Password ¶
func (o InfluxInstanceOutput) Password() pulumi.StringOutput
Specifies the database password. The value must be **8** to **32** characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
func (InfluxInstanceOutput) Period ¶
func (o InfluxInstanceOutput) Period() pulumi.IntPtrOutput
Specifies the charging period of the instance. If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.
func (InfluxInstanceOutput) PeriodUnit ¶
func (o InfluxInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
Specifies the charging period unit of the instance. Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.
func (InfluxInstanceOutput) Port ¶
func (o InfluxInstanceOutput) Port() pulumi.IntOutput
Indicates the database port.
func (InfluxInstanceOutput) PrivateIps ¶
func (o InfluxInstanceOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the IP address list of the db.
func (InfluxInstanceOutput) Region ¶
func (o InfluxInstanceOutput) Region() pulumi.StringOutput
The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.
func (InfluxInstanceOutput) SecurityGroupId ¶
func (o InfluxInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
func (InfluxInstanceOutput) Ssl ¶
func (o InfluxInstanceOutput) Ssl() pulumi.BoolPtrOutput
Specifies whether to enable or disable SSL. Defaults to **false**. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) Status ¶
func (o InfluxInstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (InfluxInstanceOutput) SubnetId ¶
func (o InfluxInstanceOutput) SubnetId() pulumi.StringOutput
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
func (InfluxInstanceOutput) Tags ¶
func (o InfluxInstanceOutput) Tags() pulumi.StringMapOutput
The key/value pairs to associate with the instance.
func (InfluxInstanceOutput) ToInfluxInstanceOutput ¶
func (o InfluxInstanceOutput) ToInfluxInstanceOutput() InfluxInstanceOutput
func (InfluxInstanceOutput) ToInfluxInstanceOutputWithContext ¶
func (o InfluxInstanceOutput) ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput
func (InfluxInstanceOutput) VolumeSize ¶
func (o InfluxInstanceOutput) VolumeSize() pulumi.IntOutput
Specifies the storage space in GB. The value must be a multiple of **10**. For a GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
func (InfluxInstanceOutput) VpcId ¶
func (o InfluxInstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID. Changing this parameter will create a new resource.
type InfluxInstanceState ¶
type InfluxInstanceState struct { // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringPtrInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy InfluxInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore InfluxInstanceDatastorePtrInput // Indicates the default username. DbUserName pulumi.StringPtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) // Changing this parameter will create a new resource. Flavor pulumi.StringPtrInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Indicates the LB IP address of the db. LbIpAddress pulumi.StringPtrInput // Indicates the LB port of the db. LbPort pulumi.StringPtrInput // Indicates the instance type. Mode pulumi.StringPtrInput // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**. NodeNum pulumi.IntPtrInput // Indicates the instance nodes information. Structure is documented below. Nodes InfluxInstanceNodeArrayInput // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringPtrInput // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // Indicates the database port. Port pulumi.IntPtrInput // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayInput // The region in which to create the influx instance resource. If omitted, the // provider-level region will be used. Changing this creates a new influx instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Indicates the node status. Status pulumi.StringPtrInput // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringPtrInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) VolumeSize pulumi.IntPtrInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringPtrInput }
func (InfluxInstanceState) ElementType ¶
func (InfluxInstanceState) ElementType() reflect.Type
type LookupCassandraInstanceArgs ¶
type LookupCassandraInstanceArgs struct { // Specifies the name of the instance. Name *string `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region *string `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId *string `pulumi:"subnetId"` // Specifies the VPC ID. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getCassandraInstance.
type LookupCassandraInstanceOutputArgs ¶
type LookupCassandraInstanceOutputArgs struct { // Specifies the name of the instance. Name pulumi.StringPtrInput `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // Specifies the VPC ID. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getCassandraInstance.
func (LookupCassandraInstanceOutputArgs) ElementType ¶
func (LookupCassandraInstanceOutputArgs) ElementType() reflect.Type
type LookupCassandraInstanceResult ¶
type LookupCassandraInstanceResult struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the advanced backup policy. Structure is documented below. BackupStrategies []GetCassandraInstanceBackupStrategy `pulumi:"backupStrategies"` // Indicates the database information. Structure is documented below. Datastores []GetCassandraInstanceDatastore `pulumi:"datastores"` // Indicates the default username. DbUserName string `pulumi:"dbUserName"` // Indicates the enterprise project id. EnterpriseProjectId string `pulumi:"enterpriseProjectId"` // Indicates the instance specifications. Flavor string `pulumi:"flavor"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Indicates the instance mode. Mode string `pulumi:"mode"` // Indicates the node name. Name string `pulumi:"name"` // Indicates the count of the nodes. NodeNum int `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes []GetCassandraInstanceNode `pulumi:"nodes"` // Indicates the database port. Port int `pulumi:"port"` // Indicates the list of private IP address of the nodes. PrivateIps []string `pulumi:"privateIps"` Region string `pulumi:"region"` // Indicates the security group ID. SecurityGroupId string `pulumi:"securityGroupId"` // Indicates the node status. Status string `pulumi:"status"` SubnetId string `pulumi:"subnetId"` // Indicates the key/value tags of the instance. Tags map[string]string `pulumi:"tags"` // Indicates the size of the volume. VolumeSize int `pulumi:"volumeSize"` VpcId string `pulumi:"vpcId"` }
A collection of values returned by getCassandraInstance.
func LookupCassandraInstance ¶
func LookupCassandraInstance(ctx *pulumi.Context, args *LookupCassandraInstanceArgs, opts ...pulumi.InvokeOption) (*LookupCassandraInstanceResult, error)
Use this data source to get available HuaweiCloud gaussdb cassandra instance.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetCassandraInstance(ctx, &gaussdbfornosql.GetCassandraInstanceArgs{ Name: pulumi.StringRef("gaussdb-instance"), }, nil) if err != nil { return err } return nil }) }
```
type LookupCassandraInstanceResultOutput ¶
type LookupCassandraInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCassandraInstance.
func LookupCassandraInstanceOutput ¶
func LookupCassandraInstanceOutput(ctx *pulumi.Context, args LookupCassandraInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupCassandraInstanceResultOutput
func (LookupCassandraInstanceResultOutput) AvailabilityZone ¶
func (o LookupCassandraInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (LookupCassandraInstanceResultOutput) BackupStrategies ¶
func (o LookupCassandraInstanceResultOutput) BackupStrategies() GetCassandraInstanceBackupStrategyArrayOutput
Indicates the advanced backup policy. Structure is documented below.
func (LookupCassandraInstanceResultOutput) Datastores ¶
func (o LookupCassandraInstanceResultOutput) Datastores() GetCassandraInstanceDatastoreArrayOutput
Indicates the database information. Structure is documented below.
func (LookupCassandraInstanceResultOutput) DbUserName ¶
func (o LookupCassandraInstanceResultOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (LookupCassandraInstanceResultOutput) ElementType ¶
func (LookupCassandraInstanceResultOutput) ElementType() reflect.Type
func (LookupCassandraInstanceResultOutput) EnterpriseProjectId ¶
func (o LookupCassandraInstanceResultOutput) EnterpriseProjectId() pulumi.StringOutput
Indicates the enterprise project id.
func (LookupCassandraInstanceResultOutput) Flavor ¶
func (o LookupCassandraInstanceResultOutput) Flavor() pulumi.StringOutput
Indicates the instance specifications.
func (LookupCassandraInstanceResultOutput) Id ¶
func (o LookupCassandraInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCassandraInstanceResultOutput) Mode ¶
func (o LookupCassandraInstanceResultOutput) Mode() pulumi.StringOutput
Indicates the instance mode.
func (LookupCassandraInstanceResultOutput) Name ¶
func (o LookupCassandraInstanceResultOutput) Name() pulumi.StringOutput
Indicates the node name.
func (LookupCassandraInstanceResultOutput) NodeNum ¶
func (o LookupCassandraInstanceResultOutput) NodeNum() pulumi.IntOutput
Indicates the count of the nodes.
func (LookupCassandraInstanceResultOutput) Nodes ¶
func (o LookupCassandraInstanceResultOutput) Nodes() GetCassandraInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (LookupCassandraInstanceResultOutput) Port ¶
func (o LookupCassandraInstanceResultOutput) Port() pulumi.IntOutput
Indicates the database port.
func (LookupCassandraInstanceResultOutput) PrivateIps ¶
func (o LookupCassandraInstanceResultOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the list of private IP address of the nodes.
func (LookupCassandraInstanceResultOutput) Region ¶
func (o LookupCassandraInstanceResultOutput) Region() pulumi.StringOutput
func (LookupCassandraInstanceResultOutput) SecurityGroupId ¶
func (o LookupCassandraInstanceResultOutput) SecurityGroupId() pulumi.StringOutput
Indicates the security group ID.
func (LookupCassandraInstanceResultOutput) Status ¶
func (o LookupCassandraInstanceResultOutput) Status() pulumi.StringOutput
Indicates the node status.
func (LookupCassandraInstanceResultOutput) SubnetId ¶
func (o LookupCassandraInstanceResultOutput) SubnetId() pulumi.StringOutput
func (LookupCassandraInstanceResultOutput) Tags ¶
func (o LookupCassandraInstanceResultOutput) Tags() pulumi.StringMapOutput
Indicates the key/value tags of the instance.
func (LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutput ¶
func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutput() LookupCassandraInstanceResultOutput
func (LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutputWithContext ¶
func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutputWithContext(ctx context.Context) LookupCassandraInstanceResultOutput
func (LookupCassandraInstanceResultOutput) VolumeSize ¶
func (o LookupCassandraInstanceResultOutput) VolumeSize() pulumi.IntOutput
Indicates the size of the volume.
func (LookupCassandraInstanceResultOutput) VpcId ¶
func (o LookupCassandraInstanceResultOutput) VpcId() pulumi.StringOutput
type LookupRedisInstanceArgs ¶
type LookupRedisInstanceArgs struct { // Specifies the name of the instance. Name *string `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region *string `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId *string `pulumi:"subnetId"` // Specifies the VPC ID. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getRedisInstance.
type LookupRedisInstanceOutputArgs ¶
type LookupRedisInstanceOutputArgs struct { // Specifies the name of the instance. Name pulumi.StringPtrInput `pulumi:"name"` // The region in which to obtain the instance. If omitted, the provider-level region will // be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the network ID of a subnet. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // Specifies the VPC ID. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getRedisInstance.
func (LookupRedisInstanceOutputArgs) ElementType ¶
func (LookupRedisInstanceOutputArgs) ElementType() reflect.Type
type LookupRedisInstanceResult ¶
type LookupRedisInstanceResult struct { // Indicates the availability zone where the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // Indicates the advanced backup policy. Structure is documented below. BackupStrategies []GetRedisInstanceBackupStrategy `pulumi:"backupStrategies"` // Indicates the database information. Structure is documented below. Datastores []GetRedisInstanceDatastore `pulumi:"datastores"` // Indicates the default username. DbUserName string `pulumi:"dbUserName"` // Indicates the enterprise project id. EnterpriseProjectId string `pulumi:"enterpriseProjectId"` // Indicates the instance specifications. Flavor string `pulumi:"flavor"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Indicates the instance mode. Mode string `pulumi:"mode"` // Indicates the node name. Name string `pulumi:"name"` // Indicates the count of the nodes. NodeNum int `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes []GetRedisInstanceNode `pulumi:"nodes"` // Indicates the database port. Port int `pulumi:"port"` // Indicates the list of private IP address of the nodes. PrivateIps []string `pulumi:"privateIps"` Region string `pulumi:"region"` // Indicates the security group ID. SecurityGroupId string `pulumi:"securityGroupId"` // Indicates the node status. Status string `pulumi:"status"` SubnetId string `pulumi:"subnetId"` // Indicates the key/value tags of the instance. Tags map[string]string `pulumi:"tags"` // Indicates the size of the volume. VolumeSize int `pulumi:"volumeSize"` VpcId string `pulumi:"vpcId"` }
A collection of values returned by getRedisInstance.
func LookupRedisInstance ¶
func LookupRedisInstance(ctx *pulumi.Context, args *LookupRedisInstanceArgs, opts ...pulumi.InvokeOption) (*LookupRedisInstanceResult, error)
Use this data source to get available HuaweiCloud gaussdb redis instance.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.GetRedisInstance(ctx, &gaussdbfornosql.GetRedisInstanceArgs{ Name: pulumi.StringRef("gaussdb-instance"), }, nil) if err != nil { return err } return nil }) }
```
type LookupRedisInstanceResultOutput ¶
type LookupRedisInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRedisInstance.
func LookupRedisInstanceOutput ¶
func LookupRedisInstanceOutput(ctx *pulumi.Context, args LookupRedisInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupRedisInstanceResultOutput
func (LookupRedisInstanceResultOutput) AvailabilityZone ¶
func (o LookupRedisInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
Indicates the availability zone where the node resides.
func (LookupRedisInstanceResultOutput) BackupStrategies ¶
func (o LookupRedisInstanceResultOutput) BackupStrategies() GetRedisInstanceBackupStrategyArrayOutput
Indicates the advanced backup policy. Structure is documented below.
func (LookupRedisInstanceResultOutput) Datastores ¶
func (o LookupRedisInstanceResultOutput) Datastores() GetRedisInstanceDatastoreArrayOutput
Indicates the database information. Structure is documented below.
func (LookupRedisInstanceResultOutput) DbUserName ¶
func (o LookupRedisInstanceResultOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (LookupRedisInstanceResultOutput) ElementType ¶
func (LookupRedisInstanceResultOutput) ElementType() reflect.Type
func (LookupRedisInstanceResultOutput) EnterpriseProjectId ¶
func (o LookupRedisInstanceResultOutput) EnterpriseProjectId() pulumi.StringOutput
Indicates the enterprise project id.
func (LookupRedisInstanceResultOutput) Flavor ¶
func (o LookupRedisInstanceResultOutput) Flavor() pulumi.StringOutput
Indicates the instance specifications.
func (LookupRedisInstanceResultOutput) Id ¶
func (o LookupRedisInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRedisInstanceResultOutput) Mode ¶
func (o LookupRedisInstanceResultOutput) Mode() pulumi.StringOutput
Indicates the instance mode.
func (LookupRedisInstanceResultOutput) Name ¶
func (o LookupRedisInstanceResultOutput) Name() pulumi.StringOutput
Indicates the node name.
func (LookupRedisInstanceResultOutput) NodeNum ¶
func (o LookupRedisInstanceResultOutput) NodeNum() pulumi.IntOutput
Indicates the count of the nodes.
func (LookupRedisInstanceResultOutput) Nodes ¶
func (o LookupRedisInstanceResultOutput) Nodes() GetRedisInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (LookupRedisInstanceResultOutput) Port ¶
func (o LookupRedisInstanceResultOutput) Port() pulumi.IntOutput
Indicates the database port.
func (LookupRedisInstanceResultOutput) PrivateIps ¶
func (o LookupRedisInstanceResultOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the list of private IP address of the nodes.
func (LookupRedisInstanceResultOutput) Region ¶
func (o LookupRedisInstanceResultOutput) Region() pulumi.StringOutput
func (LookupRedisInstanceResultOutput) SecurityGroupId ¶
func (o LookupRedisInstanceResultOutput) SecurityGroupId() pulumi.StringOutput
Indicates the security group ID.
func (LookupRedisInstanceResultOutput) Status ¶
func (o LookupRedisInstanceResultOutput) Status() pulumi.StringOutput
Indicates the node status.
func (LookupRedisInstanceResultOutput) SubnetId ¶
func (o LookupRedisInstanceResultOutput) SubnetId() pulumi.StringOutput
func (LookupRedisInstanceResultOutput) Tags ¶
func (o LookupRedisInstanceResultOutput) Tags() pulumi.StringMapOutput
Indicates the key/value tags of the instance.
func (LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutput ¶
func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutput() LookupRedisInstanceResultOutput
func (LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutputWithContext ¶
func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutputWithContext(ctx context.Context) LookupRedisInstanceResultOutput
func (LookupRedisInstanceResultOutput) VolumeSize ¶
func (o LookupRedisInstanceResultOutput) VolumeSize() pulumi.IntOutput
Indicates the size of the volume.
func (LookupRedisInstanceResultOutput) VpcId ¶
func (o LookupRedisInstanceResultOutput) VpcId() pulumi.StringOutput
type MongoInstance ¶
type MongoInstance struct { pulumi.CustomResourceState // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Specifies the advanced backup policy. Structure is documented below. BackupStrategy MongoInstanceBackupStrategyOutput `pulumi:"backupStrategy"` // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"` // Specifies the Parameter Template ID. ConfigurationId pulumi.StringOutput `pulumi:"configurationId"` // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore MongoInstanceDatastoreOutput `pulumi:"datastore"` // Indicates the default username. DbUserName pulumi.StringOutput `pulumi:"dbUserName"` // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"` // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"` // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"` // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) // Changing this parameter will create a new resource. Flavor pulumi.StringOutput `pulumi:"flavor"` // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"` // Indicates the LB IP address of the db. LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"` // Indicates the LB port of the db. LbPort pulumi.StringOutput `pulumi:"lbPort"` // Indicates the instance type. Mode pulumi.StringOutput `pulumi:"mode"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringOutput `pulumi:"name"` // Specifies the number of nodes, only **3** is supported now. Defaults to **3**. // Changing this parameter will create a new resource. NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes MongoInstanceNodeArrayOutput `pulumi:"nodes"` // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringOutput `pulumi:"password"` // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrOutput `pulumi:"period"` // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Indicates the database port. Port pulumi.IntOutput `pulumi:"port"` // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` // The region in which to create the mongo instance resource. If omitted, the // provider-level region will be used. Changing this creates a new mongo instance resource. Region pulumi.StringOutput `pulumi:"region"` // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` // Indicates the node status. Status pulumi.StringOutput `pulumi:"status"` // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The key/value pairs to associate with the instance. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) VolumeSize pulumi.IntOutput `pulumi:"volumeSize"` // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
GaussDB for mongo instance management within HuaweiCoud.
## Example Usage ### create a gaussdb for mongo instance with tags
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewMongoInstance(ctx, "instance1", &GaussDBforNoSQL.MongoInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.mongodb.repset.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
``` ### create a gaussdb mongo instance with backup strategy
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewMongoInstance(ctx, "instance1", &GaussDBforNoSQL.MongoInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.mongodb.repset.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), BackupStrategy: &gaussdbfornosql.MongoInstanceBackupStrategyArgs{ StartTime: pulumi.String("03:00-04:00"), KeepDays: pulumi.Int(14), }, }) if err != nil { return err } return nil }) }
```
## Import
GaussDB mongo instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:GaussDBforNoSQL/mongoInstance:MongoInstance instance_1 2d3cb29c73754417bbbf46b1f856b371in10
```
func GetMongoInstance ¶
func GetMongoInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MongoInstanceState, opts ...pulumi.ResourceOption) (*MongoInstance, error)
GetMongoInstance gets an existing MongoInstance 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 NewMongoInstance ¶
func NewMongoInstance(ctx *pulumi.Context, name string, args *MongoInstanceArgs, opts ...pulumi.ResourceOption) (*MongoInstance, error)
NewMongoInstance registers a new resource with the given unique name, arguments, and options.
func (*MongoInstance) ElementType ¶
func (*MongoInstance) ElementType() reflect.Type
func (*MongoInstance) ToMongoInstanceOutput ¶
func (i *MongoInstance) ToMongoInstanceOutput() MongoInstanceOutput
func (*MongoInstance) ToMongoInstanceOutputWithContext ¶
func (i *MongoInstance) ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput
type MongoInstanceArgs ¶
type MongoInstanceArgs struct { // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy MongoInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore MongoInstanceDatastorePtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) // Changing this parameter will create a new resource. Flavor pulumi.StringInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, only **3** is supported now. Defaults to **3**. // Changing this parameter will create a new resource. NodeNum pulumi.IntPtrInput // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringInput // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // The region in which to create the mongo instance resource. If omitted, the // provider-level region will be used. Changing this creates a new mongo instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) VolumeSize pulumi.IntInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringInput }
The set of arguments for constructing a MongoInstance resource.
func (MongoInstanceArgs) ElementType ¶
func (MongoInstanceArgs) ElementType() reflect.Type
type MongoInstanceArray ¶
type MongoInstanceArray []MongoInstanceInput
func (MongoInstanceArray) ElementType ¶
func (MongoInstanceArray) ElementType() reflect.Type
func (MongoInstanceArray) ToMongoInstanceArrayOutput ¶
func (i MongoInstanceArray) ToMongoInstanceArrayOutput() MongoInstanceArrayOutput
func (MongoInstanceArray) ToMongoInstanceArrayOutputWithContext ¶
func (i MongoInstanceArray) ToMongoInstanceArrayOutputWithContext(ctx context.Context) MongoInstanceArrayOutput
type MongoInstanceArrayInput ¶
type MongoInstanceArrayInput interface { pulumi.Input ToMongoInstanceArrayOutput() MongoInstanceArrayOutput ToMongoInstanceArrayOutputWithContext(context.Context) MongoInstanceArrayOutput }
MongoInstanceArrayInput is an input type that accepts MongoInstanceArray and MongoInstanceArrayOutput values. You can construct a concrete instance of `MongoInstanceArrayInput` via:
MongoInstanceArray{ MongoInstanceArgs{...} }
type MongoInstanceArrayOutput ¶
type MongoInstanceArrayOutput struct{ *pulumi.OutputState }
func (MongoInstanceArrayOutput) ElementType ¶
func (MongoInstanceArrayOutput) ElementType() reflect.Type
func (MongoInstanceArrayOutput) Index ¶
func (o MongoInstanceArrayOutput) Index(i pulumi.IntInput) MongoInstanceOutput
func (MongoInstanceArrayOutput) ToMongoInstanceArrayOutput ¶
func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutput() MongoInstanceArrayOutput
func (MongoInstanceArrayOutput) ToMongoInstanceArrayOutputWithContext ¶
func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutputWithContext(ctx context.Context) MongoInstanceArrayOutput
type MongoInstanceBackupStrategy ¶
type MongoInstanceBackupStrategy struct { // Specifies the number of days to retain the generated backup files. The value ranges from // **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not // transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays *int `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime string `pulumi:"startTime"` }
type MongoInstanceBackupStrategyArgs ¶
type MongoInstanceBackupStrategyArgs struct { // Specifies the number of days to retain the generated backup files. The value ranges from // **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not // transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays pulumi.IntPtrInput `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (MongoInstanceBackupStrategyArgs) ElementType ¶
func (MongoInstanceBackupStrategyArgs) ElementType() reflect.Type
func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutput ¶
func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput
func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutputWithContext ¶
func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput
func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutput ¶
func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutputWithContext ¶
func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
type MongoInstanceBackupStrategyInput ¶
type MongoInstanceBackupStrategyInput interface { pulumi.Input ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput ToMongoInstanceBackupStrategyOutputWithContext(context.Context) MongoInstanceBackupStrategyOutput }
MongoInstanceBackupStrategyInput is an input type that accepts MongoInstanceBackupStrategyArgs and MongoInstanceBackupStrategyOutput values. You can construct a concrete instance of `MongoInstanceBackupStrategyInput` via:
MongoInstanceBackupStrategyArgs{...}
type MongoInstanceBackupStrategyOutput ¶
type MongoInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (MongoInstanceBackupStrategyOutput) ElementType ¶
func (MongoInstanceBackupStrategyOutput) ElementType() reflect.Type
func (MongoInstanceBackupStrategyOutput) KeepDays ¶
func (o MongoInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (MongoInstanceBackupStrategyOutput) StartTime ¶
func (o MongoInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutput ¶
func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput
func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutputWithContext ¶
func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput
func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutput ¶
func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext ¶
func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
type MongoInstanceBackupStrategyPtrInput ¶
type MongoInstanceBackupStrategyPtrInput interface { pulumi.Input ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput ToMongoInstanceBackupStrategyPtrOutputWithContext(context.Context) MongoInstanceBackupStrategyPtrOutput }
MongoInstanceBackupStrategyPtrInput is an input type that accepts MongoInstanceBackupStrategyArgs, MongoInstanceBackupStrategyPtr and MongoInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `MongoInstanceBackupStrategyPtrInput` via:
MongoInstanceBackupStrategyArgs{...} or: nil
func MongoInstanceBackupStrategyPtr ¶
func MongoInstanceBackupStrategyPtr(v *MongoInstanceBackupStrategyArgs) MongoInstanceBackupStrategyPtrInput
type MongoInstanceBackupStrategyPtrOutput ¶
type MongoInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }
func (MongoInstanceBackupStrategyPtrOutput) ElementType ¶
func (MongoInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
func (MongoInstanceBackupStrategyPtrOutput) KeepDays ¶
func (o MongoInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (MongoInstanceBackupStrategyPtrOutput) StartTime ¶
func (o MongoInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutput ¶
func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
func (MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext ¶
func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput
type MongoInstanceDatastore ¶
type MongoInstanceDatastore struct { // Specifies the database engine. Only **mongodb** is supported now. Engine string `pulumi:"engine"` // Specifies the storage engine. Only **rocksDB** is supported now. StorageEngine string `pulumi:"storageEngine"` // Specifies the database version. Version string `pulumi:"version"` }
type MongoInstanceDatastoreArgs ¶
type MongoInstanceDatastoreArgs struct { // Specifies the database engine. Only **mongodb** is supported now. Engine pulumi.StringInput `pulumi:"engine"` // Specifies the storage engine. Only **rocksDB** is supported now. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Specifies the database version. Version pulumi.StringInput `pulumi:"version"` }
func (MongoInstanceDatastoreArgs) ElementType ¶
func (MongoInstanceDatastoreArgs) ElementType() reflect.Type
func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutput ¶
func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput
func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutputWithContext ¶
func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput
func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutput ¶
func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutputWithContext ¶
func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
type MongoInstanceDatastoreInput ¶
type MongoInstanceDatastoreInput interface { pulumi.Input ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput ToMongoInstanceDatastoreOutputWithContext(context.Context) MongoInstanceDatastoreOutput }
MongoInstanceDatastoreInput is an input type that accepts MongoInstanceDatastoreArgs and MongoInstanceDatastoreOutput values. You can construct a concrete instance of `MongoInstanceDatastoreInput` via:
MongoInstanceDatastoreArgs{...}
type MongoInstanceDatastoreOutput ¶
type MongoInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (MongoInstanceDatastoreOutput) ElementType ¶
func (MongoInstanceDatastoreOutput) ElementType() reflect.Type
func (MongoInstanceDatastoreOutput) Engine ¶
func (o MongoInstanceDatastoreOutput) Engine() pulumi.StringOutput
Specifies the database engine. Only **mongodb** is supported now.
func (MongoInstanceDatastoreOutput) StorageEngine ¶
func (o MongoInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Specifies the storage engine. Only **rocksDB** is supported now.
func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutput ¶
func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput
func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutputWithContext ¶
func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput
func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutput ¶
func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutputWithContext ¶
func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
func (MongoInstanceDatastoreOutput) Version ¶
func (o MongoInstanceDatastoreOutput) Version() pulumi.StringOutput
Specifies the database version.
type MongoInstanceDatastorePtrInput ¶
type MongoInstanceDatastorePtrInput interface { pulumi.Input ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput ToMongoInstanceDatastorePtrOutputWithContext(context.Context) MongoInstanceDatastorePtrOutput }
MongoInstanceDatastorePtrInput is an input type that accepts MongoInstanceDatastoreArgs, MongoInstanceDatastorePtr and MongoInstanceDatastorePtrOutput values. You can construct a concrete instance of `MongoInstanceDatastorePtrInput` via:
MongoInstanceDatastoreArgs{...} or: nil
func MongoInstanceDatastorePtr ¶
func MongoInstanceDatastorePtr(v *MongoInstanceDatastoreArgs) MongoInstanceDatastorePtrInput
type MongoInstanceDatastorePtrOutput ¶
type MongoInstanceDatastorePtrOutput struct{ *pulumi.OutputState }
func (MongoInstanceDatastorePtrOutput) Elem ¶
func (o MongoInstanceDatastorePtrOutput) Elem() MongoInstanceDatastoreOutput
func (MongoInstanceDatastorePtrOutput) ElementType ¶
func (MongoInstanceDatastorePtrOutput) ElementType() reflect.Type
func (MongoInstanceDatastorePtrOutput) Engine ¶
func (o MongoInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
Specifies the database engine. Only **mongodb** is supported now.
func (MongoInstanceDatastorePtrOutput) StorageEngine ¶
func (o MongoInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine. Only **rocksDB** is supported now.
func (MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutput ¶
func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
func (MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutputWithContext ¶
func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput
func (MongoInstanceDatastorePtrOutput) Version ¶
func (o MongoInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
Specifies the database version.
type MongoInstanceInput ¶
type MongoInstanceInput interface { pulumi.Input ToMongoInstanceOutput() MongoInstanceOutput ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput }
type MongoInstanceMap ¶
type MongoInstanceMap map[string]MongoInstanceInput
func (MongoInstanceMap) ElementType ¶
func (MongoInstanceMap) ElementType() reflect.Type
func (MongoInstanceMap) ToMongoInstanceMapOutput ¶
func (i MongoInstanceMap) ToMongoInstanceMapOutput() MongoInstanceMapOutput
func (MongoInstanceMap) ToMongoInstanceMapOutputWithContext ¶
func (i MongoInstanceMap) ToMongoInstanceMapOutputWithContext(ctx context.Context) MongoInstanceMapOutput
type MongoInstanceMapInput ¶
type MongoInstanceMapInput interface { pulumi.Input ToMongoInstanceMapOutput() MongoInstanceMapOutput ToMongoInstanceMapOutputWithContext(context.Context) MongoInstanceMapOutput }
MongoInstanceMapInput is an input type that accepts MongoInstanceMap and MongoInstanceMapOutput values. You can construct a concrete instance of `MongoInstanceMapInput` via:
MongoInstanceMap{ "key": MongoInstanceArgs{...} }
type MongoInstanceMapOutput ¶
type MongoInstanceMapOutput struct{ *pulumi.OutputState }
func (MongoInstanceMapOutput) ElementType ¶
func (MongoInstanceMapOutput) ElementType() reflect.Type
func (MongoInstanceMapOutput) MapIndex ¶
func (o MongoInstanceMapOutput) MapIndex(k pulumi.StringInput) MongoInstanceOutput
func (MongoInstanceMapOutput) ToMongoInstanceMapOutput ¶
func (o MongoInstanceMapOutput) ToMongoInstanceMapOutput() MongoInstanceMapOutput
func (MongoInstanceMapOutput) ToMongoInstanceMapOutputWithContext ¶
func (o MongoInstanceMapOutput) ToMongoInstanceMapOutputWithContext(ctx context.Context) MongoInstanceMapOutput
type MongoInstanceNode ¶
type MongoInstanceNode struct { // Indicates the node ID. Id *string `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name *string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp *string `pulumi:"privateIp"` // Indicates the node status. Status *string `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce *bool `pulumi:"supportReduce"` }
type MongoInstanceNodeArgs ¶
type MongoInstanceNodeArgs struct { // Indicates the node ID. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // Indicates the node status. Status pulumi.StringPtrInput `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"` }
func (MongoInstanceNodeArgs) ElementType ¶
func (MongoInstanceNodeArgs) ElementType() reflect.Type
func (MongoInstanceNodeArgs) ToMongoInstanceNodeOutput ¶
func (i MongoInstanceNodeArgs) ToMongoInstanceNodeOutput() MongoInstanceNodeOutput
func (MongoInstanceNodeArgs) ToMongoInstanceNodeOutputWithContext ¶
func (i MongoInstanceNodeArgs) ToMongoInstanceNodeOutputWithContext(ctx context.Context) MongoInstanceNodeOutput
type MongoInstanceNodeArray ¶
type MongoInstanceNodeArray []MongoInstanceNodeInput
func (MongoInstanceNodeArray) ElementType ¶
func (MongoInstanceNodeArray) ElementType() reflect.Type
func (MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutput ¶
func (i MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput
func (MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutputWithContext ¶
func (i MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutputWithContext(ctx context.Context) MongoInstanceNodeArrayOutput
type MongoInstanceNodeArrayInput ¶
type MongoInstanceNodeArrayInput interface { pulumi.Input ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput ToMongoInstanceNodeArrayOutputWithContext(context.Context) MongoInstanceNodeArrayOutput }
MongoInstanceNodeArrayInput is an input type that accepts MongoInstanceNodeArray and MongoInstanceNodeArrayOutput values. You can construct a concrete instance of `MongoInstanceNodeArrayInput` via:
MongoInstanceNodeArray{ MongoInstanceNodeArgs{...} }
type MongoInstanceNodeArrayOutput ¶
type MongoInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (MongoInstanceNodeArrayOutput) ElementType ¶
func (MongoInstanceNodeArrayOutput) ElementType() reflect.Type
func (MongoInstanceNodeArrayOutput) Index ¶
func (o MongoInstanceNodeArrayOutput) Index(i pulumi.IntInput) MongoInstanceNodeOutput
func (MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutput ¶
func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput
func (MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutputWithContext ¶
func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutputWithContext(ctx context.Context) MongoInstanceNodeArrayOutput
type MongoInstanceNodeInput ¶
type MongoInstanceNodeInput interface { pulumi.Input ToMongoInstanceNodeOutput() MongoInstanceNodeOutput ToMongoInstanceNodeOutputWithContext(context.Context) MongoInstanceNodeOutput }
MongoInstanceNodeInput is an input type that accepts MongoInstanceNodeArgs and MongoInstanceNodeOutput values. You can construct a concrete instance of `MongoInstanceNodeInput` via:
MongoInstanceNodeArgs{...}
type MongoInstanceNodeOutput ¶
type MongoInstanceNodeOutput struct{ *pulumi.OutputState }
func (MongoInstanceNodeOutput) ElementType ¶
func (MongoInstanceNodeOutput) ElementType() reflect.Type
func (MongoInstanceNodeOutput) Id ¶
func (o MongoInstanceNodeOutput) Id() pulumi.StringPtrOutput
Indicates the node ID.
func (MongoInstanceNodeOutput) Name ¶
func (o MongoInstanceNodeOutput) Name() pulumi.StringPtrOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (MongoInstanceNodeOutput) PrivateIp ¶
func (o MongoInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
Indicates the private IP address of a node.
func (MongoInstanceNodeOutput) Status ¶
func (o MongoInstanceNodeOutput) Status() pulumi.StringPtrOutput
Indicates the node status.
func (MongoInstanceNodeOutput) SupportReduce ¶
func (o MongoInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
Indicates whether the node support reduce or not.
func (MongoInstanceNodeOutput) ToMongoInstanceNodeOutput ¶
func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutput() MongoInstanceNodeOutput
func (MongoInstanceNodeOutput) ToMongoInstanceNodeOutputWithContext ¶
func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutputWithContext(ctx context.Context) MongoInstanceNodeOutput
type MongoInstanceOutput ¶
type MongoInstanceOutput struct{ *pulumi.OutputState }
func (MongoInstanceOutput) AutoRenew ¶
func (o MongoInstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether auto renew is enabled. Valid values are **true** and **false**.
func (MongoInstanceOutput) AvailabilityZone ¶
func (o MongoInstanceOutput) AvailabilityZone() pulumi.StringOutput
Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.
func (MongoInstanceOutput) BackupStrategy ¶
func (o MongoInstanceOutput) BackupStrategy() MongoInstanceBackupStrategyOutput
Specifies the advanced backup policy. Structure is documented below.
func (MongoInstanceOutput) ChargingMode ¶
func (o MongoInstanceOutput) ChargingMode() pulumi.StringPtrOutput
Specifies the charging mode of the instance. Valid values are **prePaid** and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
func (MongoInstanceOutput) ConfigurationId ¶
func (o MongoInstanceOutput) ConfigurationId() pulumi.StringOutput
Specifies the Parameter Template ID.
func (MongoInstanceOutput) Datastore ¶
func (o MongoInstanceOutput) Datastore() MongoInstanceDatastoreOutput
Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
func (MongoInstanceOutput) DbUserName ¶
func (o MongoInstanceOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (MongoInstanceOutput) DedicatedResourceId ¶
func (o MongoInstanceOutput) DedicatedResourceId() pulumi.StringOutput
Specifies the dedicated resource ID. Changing this parameter will create a new resource.
func (MongoInstanceOutput) DedicatedResourceName ¶
func (o MongoInstanceOutput) DedicatedResourceName() pulumi.StringOutput
Specifies the dedicated resource name. Changing this parameter will create a new resource.
func (MongoInstanceOutput) ElementType ¶
func (MongoInstanceOutput) ElementType() reflect.Type
func (MongoInstanceOutput) EnterpriseProjectId ¶
func (o MongoInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
func (MongoInstanceOutput) Flavor ¶
func (o MongoInstanceOutput) Flavor() pulumi.StringOutput
Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) Changing this parameter will create a new resource.
func (MongoInstanceOutput) ForceImport ¶
func (o MongoInstanceOutput) ForceImport() pulumi.BoolPtrOutput
If specified, try to import the instance instead of creating if the name already existed.
func (MongoInstanceOutput) LbIpAddress ¶ added in v0.0.8
func (o MongoInstanceOutput) LbIpAddress() pulumi.StringOutput
Indicates the LB IP address of the db.
func (MongoInstanceOutput) LbPort ¶ added in v0.0.8
func (o MongoInstanceOutput) LbPort() pulumi.StringOutput
Indicates the LB port of the db.
func (MongoInstanceOutput) Mode ¶
func (o MongoInstanceOutput) Mode() pulumi.StringOutput
Indicates the instance type.
func (MongoInstanceOutput) Name ¶
func (o MongoInstanceOutput) Name() pulumi.StringOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
func (MongoInstanceOutput) NodeNum ¶
func (o MongoInstanceOutput) NodeNum() pulumi.IntPtrOutput
Specifies the number of nodes, only **3** is supported now. Defaults to **3**. Changing this parameter will create a new resource.
func (MongoInstanceOutput) Nodes ¶
func (o MongoInstanceOutput) Nodes() MongoInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (MongoInstanceOutput) Password ¶
func (o MongoInstanceOutput) Password() pulumi.StringOutput
Specifies the database password. The value must be **8** to **32** characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
func (MongoInstanceOutput) Period ¶
func (o MongoInstanceOutput) Period() pulumi.IntPtrOutput
Specifies the charging period of the instance. If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.
func (MongoInstanceOutput) PeriodUnit ¶
func (o MongoInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
Specifies the charging period unit of the instance. Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.
func (MongoInstanceOutput) Port ¶
func (o MongoInstanceOutput) Port() pulumi.IntOutput
Indicates the database port.
func (MongoInstanceOutput) PrivateIps ¶
func (o MongoInstanceOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the IP address list of the db.
func (MongoInstanceOutput) Region ¶
func (o MongoInstanceOutput) Region() pulumi.StringOutput
The region in which to create the mongo instance resource. If omitted, the provider-level region will be used. Changing this creates a new mongo instance resource.
func (MongoInstanceOutput) SecurityGroupId ¶
func (o MongoInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
func (MongoInstanceOutput) Ssl ¶
func (o MongoInstanceOutput) Ssl() pulumi.BoolPtrOutput
Specifies whether to enable or disable SSL. Defaults to **false**. Changing this parameter will create a new resource.
func (MongoInstanceOutput) Status ¶
func (o MongoInstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (MongoInstanceOutput) SubnetId ¶
func (o MongoInstanceOutput) SubnetId() pulumi.StringOutput
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
func (MongoInstanceOutput) Tags ¶
func (o MongoInstanceOutput) Tags() pulumi.StringMapOutput
The key/value pairs to associate with the instance.
func (MongoInstanceOutput) ToMongoInstanceOutput ¶
func (o MongoInstanceOutput) ToMongoInstanceOutput() MongoInstanceOutput
func (MongoInstanceOutput) ToMongoInstanceOutputWithContext ¶
func (o MongoInstanceOutput) ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput
func (MongoInstanceOutput) VolumeSize ¶
func (o MongoInstanceOutput) VolumeSize() pulumi.IntOutput
Specifies the storage space in GB. The value must be a multiple of **10**. For a GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
func (MongoInstanceOutput) VpcId ¶
func (o MongoInstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID. Changing this parameter will create a new resource.
type MongoInstanceState ¶
type MongoInstanceState struct { // Specifies whether auto renew is enabled. // Valid values are **true** and **false**. AutoRenew pulumi.StringPtrInput // Specifies the AZ name. For a three-AZ deployment instance, // use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringPtrInput // Specifies the advanced backup policy. Structure is documented below. BackupStrategy MongoInstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. Valid values are **prePaid** // and **postPaid**, defaults to **postPaid**. Changing this will do nothing. ChargingMode pulumi.StringPtrInput // Specifies the Parameter Template ID. ConfigurationId pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore MongoInstanceDatastorePtrInput // Indicates the default username. DbUserName pulumi.StringPtrInput // Specifies the dedicated resource ID. Changing this parameter // will create a new resource. DedicatedResourceId pulumi.StringPtrInput // Specifies the dedicated resource name. Changing this // parameter will create a new resource. DedicatedResourceName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) // Changing this parameter will create a new resource. Flavor pulumi.StringPtrInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Indicates the LB IP address of the db. LbIpAddress pulumi.StringPtrInput // Indicates the LB port of the db. LbPort pulumi.StringPtrInput // Indicates the instance type. Mode pulumi.StringPtrInput // Specifies the instance name, which can be the same as an existing instance name. The // value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only // letters, digits, hyphens (-), and underscores (_). Name pulumi.StringPtrInput // Specifies the number of nodes, only **3** is supported now. Defaults to **3**. // Changing this parameter will create a new resource. NodeNum pulumi.IntPtrInput // Indicates the instance nodes information. Structure is documented below. Nodes MongoInstanceNodeArrayInput // Specifies the database password. The value must be **8** to **32** characters in // length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are // advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringPtrInput // Specifies the charging period of the instance. // If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the // value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this // will do nothing. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. // Changing this will do nothing. PeriodUnit pulumi.StringPtrInput // Indicates the database port. Port pulumi.IntPtrInput // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayInput // The region in which to create the mongo instance resource. If omitted, the // provider-level region will be used. Changing this creates a new mongo instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to **false**. Changing this // parameter will create a new resource. Ssl pulumi.BoolPtrInput // Indicates the node status. Status pulumi.StringPtrInput // Specifies the network ID of a subnet. Changing this parameter will create // a new resource. SubnetId pulumi.StringPtrInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. The value must be a multiple of **10**. For a // GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the // instance performance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) VolumeSize pulumi.IntPtrInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringPtrInput }
func (MongoInstanceState) ElementType ¶
func (MongoInstanceState) ElementType() reflect.Type
type RedisInstance ¶
type RedisInstance struct { pulumi.CustomResourceState AutoPay pulumi.StringPtrOutput `pulumi:"autoPay"` // Specifies whether auto renew is enabled. Valid values are "true" and "false". AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // Specifies the AZ name. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. // For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Specifies the advanced backup policy. Structure is documented below. Do nothing // in update method if change this parameter. BackupStrategy RedisInstanceBackupStrategyOutput `pulumi:"backupStrategy"` // Specifies the charging mode of the GaussDB for Redis instance. Valid values are // *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter. ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"` // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore RedisInstanceDatastoreOutput `pulumi:"datastore"` // Indicates the default username. DbUserName pulumi.StringOutput `pulumi:"dbUserName"` // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"` // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html). Flavor pulumi.StringOutput `pulumi:"flavor"` // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"` // Indicates the LB IP address of the db. LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"` // Indicates the LB port of the db. LbPort pulumi.StringOutput `pulumi:"lbPort"` // Indicates the instance type. Mode pulumi.StringOutput `pulumi:"mode"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format. Name pulumi.StringOutput `pulumi:"name"` // Specifies the number of nodes, ranges from 2 to 12. Defaults to 3. NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"` // Indicates the instance nodes information. Structure is documented below. Nodes RedisInstanceNodeArrayOutput `pulumi:"nodes"` // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringOutput `pulumi:"password"` // Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set // to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This // parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter. Period pulumi.IntPtrOutput `pulumi:"period"` // Specifies the charging period unit of the GaussDB for Redis instance. Valid values // are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update // method if change this parameter. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Specifies the port number for accessing the instance. You can specify a port number // based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**, // **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and // **50069**. Defaults to **6379**. // If you want to use this instance for dual-active DR, set the port to **8635**. Port pulumi.IntOutput `pulumi:"port"` // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` // The region in which to create the Redis instance resource. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If // omitted, the provider-level region will be used. Changing this creates a new Redis instance resource. Region pulumi.StringOutput `pulumi:"region"` // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // Specifies whether SSL is enabled. Defaults to **false**. Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` // Indicates the node status. Status pulumi.StringOutput `pulumi:"status"` // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The key/value pairs to associate with the instance. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and // maximum storage space depends on the flavor and nodes_num. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html) VolumeSize pulumi.IntOutput `pulumi:"volumeSize"` // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
GaussDB for Redis instance management within HuaweiCoud.
## Example Usage ### create a gaussdb for redis instance with tags
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewRedisInstance(ctx, "test", &GaussDBforNoSQL.RedisInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.redis.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
``` ### create a gaussdb redis instance with backup strategy
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GaussDBforNoSQL.NewRedisInstance(ctx, "test", &GaussDBforNoSQL.RedisInstanceArgs{ Password: pulumi.Any(_var.Password), Flavor: pulumi.String("geminidb.redis.xlarge.4"), VolumeSize: pulumi.Int(100), VpcId: pulumi.Any(_var.Vpc_id), SubnetId: pulumi.Any(_var.Subnet_id), SecurityGroupId: pulumi.Any(_var.Secgroup_id), AvailabilityZone: pulumi.Any(_var.Availability_zone), BackupStrategy: &gaussdbfornosql.RedisInstanceBackupStrategyArgs{ StartTime: pulumi.String("03:00-04:00"), KeepDays: pulumi.Int(14), }, }) if err != nil { return err } return nil }) }
```
## Import
GaussDB Redis instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:GaussDBforNoSQL/redisInstance:RedisInstance instance_1 d54b21f037ed447aad4bfd20927711c6in12
```
func GetRedisInstance ¶
func GetRedisInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RedisInstanceState, opts ...pulumi.ResourceOption) (*RedisInstance, error)
GetRedisInstance gets an existing RedisInstance 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 NewRedisInstance ¶
func NewRedisInstance(ctx *pulumi.Context, name string, args *RedisInstanceArgs, opts ...pulumi.ResourceOption) (*RedisInstance, error)
NewRedisInstance registers a new resource with the given unique name, arguments, and options.
func (*RedisInstance) ElementType ¶
func (*RedisInstance) ElementType() reflect.Type
func (*RedisInstance) ToRedisInstanceOutput ¶
func (i *RedisInstance) ToRedisInstanceOutput() RedisInstanceOutput
func (*RedisInstance) ToRedisInstanceOutputWithContext ¶
func (i *RedisInstance) ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput
type RedisInstanceArgs ¶
type RedisInstanceArgs struct { AutoPay pulumi.StringPtrInput // Specifies whether auto renew is enabled. Valid values are "true" and "false". AutoRenew pulumi.StringPtrInput // Specifies the AZ name. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. // For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringInput // Specifies the advanced backup policy. Structure is documented below. Do nothing // in update method if change this parameter. BackupStrategy RedisInstanceBackupStrategyPtrInput // Specifies the charging mode of the GaussDB for Redis instance. Valid values are // *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter. ChargingMode pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore RedisInstanceDatastorePtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html). Flavor pulumi.StringInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format. Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from 2 to 12. Defaults to 3. NodeNum pulumi.IntPtrInput // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringInput // Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set // to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This // parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter. Period pulumi.IntPtrInput // Specifies the charging period unit of the GaussDB for Redis instance. Valid values // are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update // method if change this parameter. PeriodUnit pulumi.StringPtrInput // Specifies the port number for accessing the instance. You can specify a port number // based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**, // **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and // **50069**. Defaults to **6379**. // If you want to use this instance for dual-active DR, set the port to **8635**. Port pulumi.IntPtrInput // The region in which to create the Redis instance resource. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If // omitted, the provider-level region will be used. Changing this creates a new Redis instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether SSL is enabled. Defaults to **false**. Ssl pulumi.BoolPtrInput // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and // maximum storage space depends on the flavor and nodes_num. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html) VolumeSize pulumi.IntInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringInput }
The set of arguments for constructing a RedisInstance resource.
func (RedisInstanceArgs) ElementType ¶
func (RedisInstanceArgs) ElementType() reflect.Type
type RedisInstanceArray ¶
type RedisInstanceArray []RedisInstanceInput
func (RedisInstanceArray) ElementType ¶
func (RedisInstanceArray) ElementType() reflect.Type
func (RedisInstanceArray) ToRedisInstanceArrayOutput ¶
func (i RedisInstanceArray) ToRedisInstanceArrayOutput() RedisInstanceArrayOutput
func (RedisInstanceArray) ToRedisInstanceArrayOutputWithContext ¶
func (i RedisInstanceArray) ToRedisInstanceArrayOutputWithContext(ctx context.Context) RedisInstanceArrayOutput
type RedisInstanceArrayInput ¶
type RedisInstanceArrayInput interface { pulumi.Input ToRedisInstanceArrayOutput() RedisInstanceArrayOutput ToRedisInstanceArrayOutputWithContext(context.Context) RedisInstanceArrayOutput }
RedisInstanceArrayInput is an input type that accepts RedisInstanceArray and RedisInstanceArrayOutput values. You can construct a concrete instance of `RedisInstanceArrayInput` via:
RedisInstanceArray{ RedisInstanceArgs{...} }
type RedisInstanceArrayOutput ¶
type RedisInstanceArrayOutput struct{ *pulumi.OutputState }
func (RedisInstanceArrayOutput) ElementType ¶
func (RedisInstanceArrayOutput) ElementType() reflect.Type
func (RedisInstanceArrayOutput) Index ¶
func (o RedisInstanceArrayOutput) Index(i pulumi.IntInput) RedisInstanceOutput
func (RedisInstanceArrayOutput) ToRedisInstanceArrayOutput ¶
func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutput() RedisInstanceArrayOutput
func (RedisInstanceArrayOutput) ToRedisInstanceArrayOutputWithContext ¶
func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutputWithContext(ctx context.Context) RedisInstanceArrayOutput
type RedisInstanceBackupStrategy ¶
type RedisInstanceBackupStrategy struct { // Specifies the number of days to retain the generated backup files. The value ranges from // 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, // the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays *int `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime string `pulumi:"startTime"` }
type RedisInstanceBackupStrategyArgs ¶
type RedisInstanceBackupStrategyArgs struct { // Specifies the number of days to retain the generated backup files. The value ranges from // 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, // the automated backup policy is enabled by default. Backup files are stored for seven days by default. KeepDays pulumi.IntPtrInput `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The // HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example // value: 08:00-09:00, 03:00-04:00. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (RedisInstanceBackupStrategyArgs) ElementType ¶
func (RedisInstanceBackupStrategyArgs) ElementType() reflect.Type
func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutput ¶
func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput
func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutputWithContext ¶
func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput
func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutput ¶
func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutputWithContext ¶
func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
type RedisInstanceBackupStrategyInput ¶
type RedisInstanceBackupStrategyInput interface { pulumi.Input ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput ToRedisInstanceBackupStrategyOutputWithContext(context.Context) RedisInstanceBackupStrategyOutput }
RedisInstanceBackupStrategyInput is an input type that accepts RedisInstanceBackupStrategyArgs and RedisInstanceBackupStrategyOutput values. You can construct a concrete instance of `RedisInstanceBackupStrategyInput` via:
RedisInstanceBackupStrategyArgs{...}
type RedisInstanceBackupStrategyOutput ¶
type RedisInstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (RedisInstanceBackupStrategyOutput) ElementType ¶
func (RedisInstanceBackupStrategyOutput) ElementType() reflect.Type
func (RedisInstanceBackupStrategyOutput) KeepDays ¶
func (o RedisInstanceBackupStrategyOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (RedisInstanceBackupStrategyOutput) StartTime ¶
func (o RedisInstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutput ¶
func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput
func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutputWithContext ¶
func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput
func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutput ¶
func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext ¶
func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
type RedisInstanceBackupStrategyPtrInput ¶
type RedisInstanceBackupStrategyPtrInput interface { pulumi.Input ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput ToRedisInstanceBackupStrategyPtrOutputWithContext(context.Context) RedisInstanceBackupStrategyPtrOutput }
RedisInstanceBackupStrategyPtrInput is an input type that accepts RedisInstanceBackupStrategyArgs, RedisInstanceBackupStrategyPtr and RedisInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `RedisInstanceBackupStrategyPtrInput` via:
RedisInstanceBackupStrategyArgs{...} or: nil
func RedisInstanceBackupStrategyPtr ¶
func RedisInstanceBackupStrategyPtr(v *RedisInstanceBackupStrategyArgs) RedisInstanceBackupStrategyPtrInput
type RedisInstanceBackupStrategyPtrOutput ¶
type RedisInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }
func (RedisInstanceBackupStrategyPtrOutput) ElementType ¶
func (RedisInstanceBackupStrategyPtrOutput) ElementType() reflect.Type
func (RedisInstanceBackupStrategyPtrOutput) KeepDays ¶
func (o RedisInstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (RedisInstanceBackupStrategyPtrOutput) StartTime ¶
func (o RedisInstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
func (RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutput ¶
func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
func (RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext ¶
func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput
type RedisInstanceDatastore ¶
type RedisInstanceDatastore struct { // Specifies the database engine. Only "redis" is supported now. // Changing this parameter will create a new resource. Engine string `pulumi:"engine"` // Specifies the storage engine. Only "rocksDB" is supported now. // Changing this parameter will create a new resource. StorageEngine string `pulumi:"storageEngine"` // Specifies the database version. Only "5.0" is supported now. // Changing this parameter will create a new resource. Version string `pulumi:"version"` }
type RedisInstanceDatastoreArgs ¶
type RedisInstanceDatastoreArgs struct { // Specifies the database engine. Only "redis" is supported now. // Changing this parameter will create a new resource. Engine pulumi.StringInput `pulumi:"engine"` // Specifies the storage engine. Only "rocksDB" is supported now. // Changing this parameter will create a new resource. StorageEngine pulumi.StringInput `pulumi:"storageEngine"` // Specifies the database version. Only "5.0" is supported now. // Changing this parameter will create a new resource. Version pulumi.StringInput `pulumi:"version"` }
func (RedisInstanceDatastoreArgs) ElementType ¶
func (RedisInstanceDatastoreArgs) ElementType() reflect.Type
func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutput ¶
func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput
func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutputWithContext ¶
func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput
func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutput ¶
func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutputWithContext ¶
func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
type RedisInstanceDatastoreInput ¶
type RedisInstanceDatastoreInput interface { pulumi.Input ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput ToRedisInstanceDatastoreOutputWithContext(context.Context) RedisInstanceDatastoreOutput }
RedisInstanceDatastoreInput is an input type that accepts RedisInstanceDatastoreArgs and RedisInstanceDatastoreOutput values. You can construct a concrete instance of `RedisInstanceDatastoreInput` via:
RedisInstanceDatastoreArgs{...}
type RedisInstanceDatastoreOutput ¶
type RedisInstanceDatastoreOutput struct{ *pulumi.OutputState }
func (RedisInstanceDatastoreOutput) ElementType ¶
func (RedisInstanceDatastoreOutput) ElementType() reflect.Type
func (RedisInstanceDatastoreOutput) Engine ¶
func (o RedisInstanceDatastoreOutput) Engine() pulumi.StringOutput
Specifies the database engine. Only "redis" is supported now. Changing this parameter will create a new resource.
func (RedisInstanceDatastoreOutput) StorageEngine ¶
func (o RedisInstanceDatastoreOutput) StorageEngine() pulumi.StringOutput
Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutput ¶
func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput
func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutputWithContext ¶
func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput
func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutput ¶
func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutputWithContext ¶
func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
func (RedisInstanceDatastoreOutput) Version ¶
func (o RedisInstanceDatastoreOutput) Version() pulumi.StringOutput
Specifies the database version. Only "5.0" is supported now. Changing this parameter will create a new resource.
type RedisInstanceDatastorePtrInput ¶
type RedisInstanceDatastorePtrInput interface { pulumi.Input ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput ToRedisInstanceDatastorePtrOutputWithContext(context.Context) RedisInstanceDatastorePtrOutput }
RedisInstanceDatastorePtrInput is an input type that accepts RedisInstanceDatastoreArgs, RedisInstanceDatastorePtr and RedisInstanceDatastorePtrOutput values. You can construct a concrete instance of `RedisInstanceDatastorePtrInput` via:
RedisInstanceDatastoreArgs{...} or: nil
func RedisInstanceDatastorePtr ¶
func RedisInstanceDatastorePtr(v *RedisInstanceDatastoreArgs) RedisInstanceDatastorePtrInput
type RedisInstanceDatastorePtrOutput ¶
type RedisInstanceDatastorePtrOutput struct{ *pulumi.OutputState }
func (RedisInstanceDatastorePtrOutput) Elem ¶
func (o RedisInstanceDatastorePtrOutput) Elem() RedisInstanceDatastoreOutput
func (RedisInstanceDatastorePtrOutput) ElementType ¶
func (RedisInstanceDatastorePtrOutput) ElementType() reflect.Type
func (RedisInstanceDatastorePtrOutput) Engine ¶
func (o RedisInstanceDatastorePtrOutput) Engine() pulumi.StringPtrOutput
Specifies the database engine. Only "redis" is supported now. Changing this parameter will create a new resource.
func (RedisInstanceDatastorePtrOutput) StorageEngine ¶
func (o RedisInstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
func (RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutput ¶
func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
func (RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutputWithContext ¶
func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput
func (RedisInstanceDatastorePtrOutput) Version ¶
func (o RedisInstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
Specifies the database version. Only "5.0" is supported now. Changing this parameter will create a new resource.
type RedisInstanceInput ¶
type RedisInstanceInput interface { pulumi.Input ToRedisInstanceOutput() RedisInstanceOutput ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput }
type RedisInstanceMap ¶
type RedisInstanceMap map[string]RedisInstanceInput
func (RedisInstanceMap) ElementType ¶
func (RedisInstanceMap) ElementType() reflect.Type
func (RedisInstanceMap) ToRedisInstanceMapOutput ¶
func (i RedisInstanceMap) ToRedisInstanceMapOutput() RedisInstanceMapOutput
func (RedisInstanceMap) ToRedisInstanceMapOutputWithContext ¶
func (i RedisInstanceMap) ToRedisInstanceMapOutputWithContext(ctx context.Context) RedisInstanceMapOutput
type RedisInstanceMapInput ¶
type RedisInstanceMapInput interface { pulumi.Input ToRedisInstanceMapOutput() RedisInstanceMapOutput ToRedisInstanceMapOutputWithContext(context.Context) RedisInstanceMapOutput }
RedisInstanceMapInput is an input type that accepts RedisInstanceMap and RedisInstanceMapOutput values. You can construct a concrete instance of `RedisInstanceMapInput` via:
RedisInstanceMap{ "key": RedisInstanceArgs{...} }
type RedisInstanceMapOutput ¶
type RedisInstanceMapOutput struct{ *pulumi.OutputState }
func (RedisInstanceMapOutput) ElementType ¶
func (RedisInstanceMapOutput) ElementType() reflect.Type
func (RedisInstanceMapOutput) MapIndex ¶
func (o RedisInstanceMapOutput) MapIndex(k pulumi.StringInput) RedisInstanceOutput
func (RedisInstanceMapOutput) ToRedisInstanceMapOutput ¶
func (o RedisInstanceMapOutput) ToRedisInstanceMapOutput() RedisInstanceMapOutput
func (RedisInstanceMapOutput) ToRedisInstanceMapOutputWithContext ¶
func (o RedisInstanceMapOutput) ToRedisInstanceMapOutputWithContext(ctx context.Context) RedisInstanceMapOutput
type RedisInstanceNode ¶
type RedisInstanceNode struct { // Indicates the node ID. Id *string `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format. Name *string `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp *string `pulumi:"privateIp"` // Indicates the public IP address of a node. PublicIp *string `pulumi:"publicIp"` // Indicates the node status. Status *string `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce *bool `pulumi:"supportReduce"` }
type RedisInstanceNodeArgs ¶
type RedisInstanceNodeArgs struct { // Indicates the node ID. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format. Name pulumi.StringPtrInput `pulumi:"name"` // Indicates the private IP address of a node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // Indicates the public IP address of a node. PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` // Indicates the node status. Status pulumi.StringPtrInput `pulumi:"status"` // Indicates whether the node support reduce or not. SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"` }
func (RedisInstanceNodeArgs) ElementType ¶
func (RedisInstanceNodeArgs) ElementType() reflect.Type
func (RedisInstanceNodeArgs) ToRedisInstanceNodeOutput ¶
func (i RedisInstanceNodeArgs) ToRedisInstanceNodeOutput() RedisInstanceNodeOutput
func (RedisInstanceNodeArgs) ToRedisInstanceNodeOutputWithContext ¶
func (i RedisInstanceNodeArgs) ToRedisInstanceNodeOutputWithContext(ctx context.Context) RedisInstanceNodeOutput
type RedisInstanceNodeArray ¶
type RedisInstanceNodeArray []RedisInstanceNodeInput
func (RedisInstanceNodeArray) ElementType ¶
func (RedisInstanceNodeArray) ElementType() reflect.Type
func (RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutput ¶
func (i RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput
func (RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutputWithContext ¶
func (i RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutputWithContext(ctx context.Context) RedisInstanceNodeArrayOutput
type RedisInstanceNodeArrayInput ¶
type RedisInstanceNodeArrayInput interface { pulumi.Input ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput ToRedisInstanceNodeArrayOutputWithContext(context.Context) RedisInstanceNodeArrayOutput }
RedisInstanceNodeArrayInput is an input type that accepts RedisInstanceNodeArray and RedisInstanceNodeArrayOutput values. You can construct a concrete instance of `RedisInstanceNodeArrayInput` via:
RedisInstanceNodeArray{ RedisInstanceNodeArgs{...} }
type RedisInstanceNodeArrayOutput ¶
type RedisInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (RedisInstanceNodeArrayOutput) ElementType ¶
func (RedisInstanceNodeArrayOutput) ElementType() reflect.Type
func (RedisInstanceNodeArrayOutput) Index ¶
func (o RedisInstanceNodeArrayOutput) Index(i pulumi.IntInput) RedisInstanceNodeOutput
func (RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutput ¶
func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput
func (RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutputWithContext ¶
func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutputWithContext(ctx context.Context) RedisInstanceNodeArrayOutput
type RedisInstanceNodeInput ¶
type RedisInstanceNodeInput interface { pulumi.Input ToRedisInstanceNodeOutput() RedisInstanceNodeOutput ToRedisInstanceNodeOutputWithContext(context.Context) RedisInstanceNodeOutput }
RedisInstanceNodeInput is an input type that accepts RedisInstanceNodeArgs and RedisInstanceNodeOutput values. You can construct a concrete instance of `RedisInstanceNodeInput` via:
RedisInstanceNodeArgs{...}
type RedisInstanceNodeOutput ¶
type RedisInstanceNodeOutput struct{ *pulumi.OutputState }
func (RedisInstanceNodeOutput) ElementType ¶
func (RedisInstanceNodeOutput) ElementType() reflect.Type
func (RedisInstanceNodeOutput) Id ¶
func (o RedisInstanceNodeOutput) Id() pulumi.StringPtrOutput
Indicates the node ID.
func (RedisInstanceNodeOutput) Name ¶
func (o RedisInstanceNodeOutput) Name() pulumi.StringPtrOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
func (RedisInstanceNodeOutput) PrivateIp ¶
func (o RedisInstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
Indicates the private IP address of a node.
func (RedisInstanceNodeOutput) PublicIp ¶ added in v0.0.8
func (o RedisInstanceNodeOutput) PublicIp() pulumi.StringPtrOutput
Indicates the public IP address of a node.
func (RedisInstanceNodeOutput) Status ¶
func (o RedisInstanceNodeOutput) Status() pulumi.StringPtrOutput
Indicates the node status.
func (RedisInstanceNodeOutput) SupportReduce ¶
func (o RedisInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput
Indicates whether the node support reduce or not.
func (RedisInstanceNodeOutput) ToRedisInstanceNodeOutput ¶
func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutput() RedisInstanceNodeOutput
func (RedisInstanceNodeOutput) ToRedisInstanceNodeOutputWithContext ¶
func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutputWithContext(ctx context.Context) RedisInstanceNodeOutput
type RedisInstanceOutput ¶
type RedisInstanceOutput struct{ *pulumi.OutputState }
func (RedisInstanceOutput) AutoPay ¶
func (o RedisInstanceOutput) AutoPay() pulumi.StringPtrOutput
func (RedisInstanceOutput) AutoRenew ¶
func (o RedisInstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether auto renew is enabled. Valid values are "true" and "false".
func (RedisInstanceOutput) AvailabilityZone ¶
func (o RedisInstanceOutput) AvailabilityZone() pulumi.StringOutput
Specifies the AZ name. See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.
func (RedisInstanceOutput) BackupStrategy ¶
func (o RedisInstanceOutput) BackupStrategy() RedisInstanceBackupStrategyOutput
Specifies the advanced backup policy. Structure is documented below. Do nothing in update method if change this parameter.
func (RedisInstanceOutput) ChargingMode ¶
func (o RedisInstanceOutput) ChargingMode() pulumi.StringPtrOutput
Specifies the charging mode of the GaussDB for Redis instance. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter.
func (RedisInstanceOutput) Datastore ¶
func (o RedisInstanceOutput) Datastore() RedisInstanceDatastoreOutput
Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
func (RedisInstanceOutput) DbUserName ¶
func (o RedisInstanceOutput) DbUserName() pulumi.StringOutput
Indicates the default username.
func (RedisInstanceOutput) ElementType ¶
func (RedisInstanceOutput) ElementType() reflect.Type
func (RedisInstanceOutput) EnterpriseProjectId ¶
func (o RedisInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput
Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
func (RedisInstanceOutput) Flavor ¶
func (o RedisInstanceOutput) Flavor() pulumi.StringOutput
Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html).
func (RedisInstanceOutput) ForceImport ¶
func (o RedisInstanceOutput) ForceImport() pulumi.BoolPtrOutput
If specified, try to import the instance instead of creating if the name already existed.
func (RedisInstanceOutput) LbIpAddress ¶ added in v0.0.8
func (o RedisInstanceOutput) LbIpAddress() pulumi.StringOutput
Indicates the LB IP address of the db.
func (RedisInstanceOutput) LbPort ¶ added in v0.0.8
func (o RedisInstanceOutput) LbPort() pulumi.StringOutput
Indicates the LB port of the db.
func (RedisInstanceOutput) Mode ¶
func (o RedisInstanceOutput) Mode() pulumi.StringOutput
Indicates the instance type.
func (RedisInstanceOutput) Name ¶
func (o RedisInstanceOutput) Name() pulumi.StringOutput
Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
func (RedisInstanceOutput) NodeNum ¶
func (o RedisInstanceOutput) NodeNum() pulumi.IntPtrOutput
Specifies the number of nodes, ranges from 2 to 12. Defaults to 3.
func (RedisInstanceOutput) Nodes ¶
func (o RedisInstanceOutput) Nodes() RedisInstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (RedisInstanceOutput) Password ¶
func (o RedisInstanceOutput) Password() pulumi.StringOutput
Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
func (RedisInstanceOutput) Period ¶
func (o RedisInstanceOutput) Period() pulumi.IntPtrOutput
Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.
func (RedisInstanceOutput) PeriodUnit ¶
func (o RedisInstanceOutput) PeriodUnit() pulumi.StringPtrOutput
Specifies the charging period unit of the GaussDB for Redis instance. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.
func (RedisInstanceOutput) Port ¶
func (o RedisInstanceOutput) Port() pulumi.IntOutput
Specifies the port number for accessing the instance. You can specify a port number based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**, **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and **50069**. Defaults to **6379**. If you want to use this instance for dual-active DR, set the port to **8635**.
func (RedisInstanceOutput) PrivateIps ¶
func (o RedisInstanceOutput) PrivateIps() pulumi.StringArrayOutput
Indicates the IP address list of the db.
func (RedisInstanceOutput) Region ¶
func (o RedisInstanceOutput) Region() pulumi.StringOutput
The region in which to create the Redis instance resource. See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If omitted, the provider-level region will be used. Changing this creates a new Redis instance resource.
func (RedisInstanceOutput) SecurityGroupId ¶
func (o RedisInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
func (RedisInstanceOutput) Ssl ¶ added in v0.0.8
func (o RedisInstanceOutput) Ssl() pulumi.BoolPtrOutput
Specifies whether SSL is enabled. Defaults to **false**.
func (RedisInstanceOutput) Status ¶
func (o RedisInstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (RedisInstanceOutput) SubnetId ¶
func (o RedisInstanceOutput) SubnetId() pulumi.StringOutput
Specifies the network ID of a subnet. Changing this parameter will create a new resource.
func (RedisInstanceOutput) Tags ¶
func (o RedisInstanceOutput) Tags() pulumi.StringMapOutput
The key/value pairs to associate with the instance.
func (RedisInstanceOutput) ToRedisInstanceOutput ¶
func (o RedisInstanceOutput) ToRedisInstanceOutput() RedisInstanceOutput
func (RedisInstanceOutput) ToRedisInstanceOutputWithContext ¶
func (o RedisInstanceOutput) ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput
func (RedisInstanceOutput) VolumeSize ¶
func (o RedisInstanceOutput) VolumeSize() pulumi.IntOutput
Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and maximum storage space depends on the flavor and nodes_num. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html)
func (RedisInstanceOutput) VpcId ¶
func (o RedisInstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID. Changing this parameter will create a new resource.
type RedisInstanceState ¶
type RedisInstanceState struct { AutoPay pulumi.StringPtrInput // Specifies whether auto renew is enabled. Valid values are "true" and "false". AutoRenew pulumi.StringPtrInput // Specifies the AZ name. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. // For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. // Changing this parameter will create a new resource. AvailabilityZone pulumi.StringPtrInput // Specifies the advanced backup policy. Structure is documented below. Do nothing // in update method if change this parameter. BackupStrategy RedisInstanceBackupStrategyPtrInput // Specifies the charging mode of the GaussDB for Redis instance. Valid values are // *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter. ChargingMode pulumi.StringPtrInput // Specifies the database information. Structure is documented below. Changing // this parameter will create a new resource. Datastore RedisInstanceDatastorePtrInput // Indicates the default username. DbUserName pulumi.StringPtrInput // Specifies the enterprise project id, Only valid for users who // have enabled the enterprise multi-project service. Changing this parameter will create a new resource. EnterpriseProjectId pulumi.StringPtrInput // Specifies the instance specifications. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html). Flavor pulumi.StringPtrInput // If specified, try to import the instance instead of creating if the name already // existed. ForceImport pulumi.BoolPtrInput // Indicates the LB IP address of the db. LbIpAddress pulumi.StringPtrInput // Indicates the LB port of the db. LbPort pulumi.StringPtrInput // Indicates the instance type. Mode pulumi.StringPtrInput // Specifies the instance name, which can be the same as an existing instance name. The value // must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, // digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format. Name pulumi.StringPtrInput // Specifies the number of nodes, ranges from 2 to 12. Defaults to 3. NodeNum pulumi.IntPtrInput // Indicates the instance nodes information. Structure is documented below. Nodes RedisInstanceNodeArrayInput // Specifies the database password. The value must be 8 to 32 characters in length, // including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to // enter a strong password to improve security, preventing security risks such as brute force cracking. Password pulumi.StringPtrInput // Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set // to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This // parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter. Period pulumi.IntPtrInput // Specifies the charging period unit of the GaussDB for Redis instance. Valid values // are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update // method if change this parameter. PeriodUnit pulumi.StringPtrInput // Specifies the port number for accessing the instance. You can specify a port number // based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**, // **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and // **50069**. Defaults to **6379**. // If you want to use this instance for dual-active DR, set the port to **8635**. Port pulumi.IntPtrInput // Indicates the IP address list of the db. PrivateIps pulumi.StringArrayInput // The region in which to create the Redis instance resource. // See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If // omitted, the provider-level region will be used. Changing this creates a new Redis instance resource. Region pulumi.StringPtrInput // Specifies the security group ID. Required if the selected subnet doesn't // enable network ACL. SecurityGroupId pulumi.StringPtrInput // Specifies whether SSL is enabled. Defaults to **false**. Ssl pulumi.BoolPtrInput // Indicates the node status. Status pulumi.StringPtrInput // Specifies the network ID of a subnet. Changing this parameter will create a // new resource. SubnetId pulumi.StringPtrInput // The key/value pairs to associate with the instance. Tags pulumi.StringMapInput // Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and // maximum storage space depends on the flavor and nodes_num. For details, // see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html) VolumeSize pulumi.IntPtrInput // Specifies the VPC ID. Changing this parameter will create a new resource. VpcId pulumi.StringPtrInput }
func (RedisInstanceState) ElementType ¶
func (RedisInstanceState) ElementType() reflect.Type