Documentation ¶
Index ¶
- func ManagedDatabaseMysql_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ManagedDatabaseMysql_IsConstruct(x interface{}) *bool
- func ManagedDatabaseMysql_IsTerraformElement(x interface{}) *bool
- func ManagedDatabaseMysql_IsTerraformResource(x interface{}) *bool
- func ManagedDatabaseMysql_TfResourceType() *string
- func NewManagedDatabaseMysqlComponentsList_Override(m ManagedDatabaseMysqlComponentsList, ...)
- func NewManagedDatabaseMysqlComponentsOutputReference_Override(m ManagedDatabaseMysqlComponentsOutputReference, ...)
- func NewManagedDatabaseMysqlNetworkList_Override(m ManagedDatabaseMysqlNetworkList, ...)
- func NewManagedDatabaseMysqlNetworkOutputReference_Override(m ManagedDatabaseMysqlNetworkOutputReference, ...)
- func NewManagedDatabaseMysqlNodeStatesList_Override(m ManagedDatabaseMysqlNodeStatesList, ...)
- func NewManagedDatabaseMysqlNodeStatesOutputReference_Override(m ManagedDatabaseMysqlNodeStatesOutputReference, ...)
- func NewManagedDatabaseMysqlPropertiesMigrationOutputReference_Override(m ManagedDatabaseMysqlPropertiesMigrationOutputReference, ...)
- func NewManagedDatabaseMysqlPropertiesOutputReference_Override(m ManagedDatabaseMysqlPropertiesOutputReference, ...)
- func NewManagedDatabaseMysql_Override(m ManagedDatabaseMysql, scope constructs.Construct, id *string, ...)
- type ManagedDatabaseMysql
- type ManagedDatabaseMysqlComponents
- type ManagedDatabaseMysqlComponentsList
- type ManagedDatabaseMysqlComponentsOutputReference
- type ManagedDatabaseMysqlConfig
- type ManagedDatabaseMysqlNetwork
- type ManagedDatabaseMysqlNetworkList
- type ManagedDatabaseMysqlNetworkOutputReference
- type ManagedDatabaseMysqlNodeStates
- type ManagedDatabaseMysqlNodeStatesList
- type ManagedDatabaseMysqlNodeStatesOutputReference
- type ManagedDatabaseMysqlProperties
- type ManagedDatabaseMysqlPropertiesMigration
- type ManagedDatabaseMysqlPropertiesMigrationOutputReference
- type ManagedDatabaseMysqlPropertiesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagedDatabaseMysql_GenerateConfigForImport ¶
func ManagedDatabaseMysql_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ManagedDatabaseMysql resource upon running "cdktf plan <stack-name>".
func ManagedDatabaseMysql_IsConstruct ¶
func ManagedDatabaseMysql_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ManagedDatabaseMysql_IsTerraformElement ¶
func ManagedDatabaseMysql_IsTerraformElement(x interface{}) *bool
Experimental.
func ManagedDatabaseMysql_IsTerraformResource ¶
func ManagedDatabaseMysql_IsTerraformResource(x interface{}) *bool
Experimental.
func ManagedDatabaseMysql_TfResourceType ¶
func ManagedDatabaseMysql_TfResourceType() *string
func NewManagedDatabaseMysqlComponentsList_Override ¶
func NewManagedDatabaseMysqlComponentsList_Override(m ManagedDatabaseMysqlComponentsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewManagedDatabaseMysqlComponentsOutputReference_Override ¶
func NewManagedDatabaseMysqlComponentsOutputReference_Override(m ManagedDatabaseMysqlComponentsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewManagedDatabaseMysqlNetworkList_Override ¶ added in v14.1.0
func NewManagedDatabaseMysqlNetworkList_Override(m ManagedDatabaseMysqlNetworkList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewManagedDatabaseMysqlNetworkOutputReference_Override ¶ added in v14.1.0
func NewManagedDatabaseMysqlNetworkOutputReference_Override(m ManagedDatabaseMysqlNetworkOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewManagedDatabaseMysqlNodeStatesList_Override ¶
func NewManagedDatabaseMysqlNodeStatesList_Override(m ManagedDatabaseMysqlNodeStatesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewManagedDatabaseMysqlNodeStatesOutputReference_Override ¶
func NewManagedDatabaseMysqlNodeStatesOutputReference_Override(m ManagedDatabaseMysqlNodeStatesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewManagedDatabaseMysqlPropertiesMigrationOutputReference_Override ¶
func NewManagedDatabaseMysqlPropertiesMigrationOutputReference_Override(m ManagedDatabaseMysqlPropertiesMigrationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewManagedDatabaseMysqlPropertiesOutputReference_Override ¶
func NewManagedDatabaseMysqlPropertiesOutputReference_Override(m ManagedDatabaseMysqlPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewManagedDatabaseMysql_Override ¶
func NewManagedDatabaseMysql_Override(m ManagedDatabaseMysql, scope constructs.Construct, id *string, config *ManagedDatabaseMysqlConfig)
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql upcloud_managed_database_mysql} Resource.
Types ¶
type ManagedDatabaseMysql ¶
type ManagedDatabaseMysql interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack Components() ManagedDatabaseMysqlComponentsList // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MaintenanceWindowDow() *string SetMaintenanceWindowDow(val *string) MaintenanceWindowDowInput() *string MaintenanceWindowTime() *string SetMaintenanceWindowTime(val *string) MaintenanceWindowTimeInput() *string Name() *string SetName(val *string) NameInput() *string Network() ManagedDatabaseMysqlNetworkList NetworkInput() interface{} // The tree node. Node() constructs.Node NodeStates() ManagedDatabaseMysqlNodeStatesList Plan() *string SetPlan(val *string) PlanInput() *string Powered() interface{} SetPowered(val interface{}) PoweredInput() interface{} PrimaryDatabase() *string Properties() ManagedDatabaseMysqlPropertiesOutputReference PropertiesInput() *ManagedDatabaseMysqlProperties // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} ServiceHost() *string ServicePassword() *string ServicePort() *string ServiceUri() *string ServiceUsername() *string State() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Title() *string SetTitle(val *string) TitleInput() *string Type() *string Zone() *string SetZone(val *string) ZoneInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutNetwork(value interface{}) PutProperties(value *ManagedDatabaseMysqlProperties) ResetId() ResetLabels() ResetMaintenanceWindowDow() ResetMaintenanceWindowTime() ResetNetwork() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPowered() ResetProperties() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql upcloud_managed_database_mysql}.
func NewManagedDatabaseMysql ¶
func NewManagedDatabaseMysql(scope constructs.Construct, id *string, config *ManagedDatabaseMysqlConfig) ManagedDatabaseMysql
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql upcloud_managed_database_mysql} Resource.
type ManagedDatabaseMysqlComponents ¶
type ManagedDatabaseMysqlComponents struct { }
type ManagedDatabaseMysqlComponentsList ¶
type ManagedDatabaseMysqlComponentsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ManagedDatabaseMysqlComponentsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlComponentsList ¶
func NewManagedDatabaseMysqlComponentsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedDatabaseMysqlComponentsList
type ManagedDatabaseMysqlComponentsOutputReference ¶
type ManagedDatabaseMysqlComponentsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Component() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string InternalValue() *ManagedDatabaseMysqlComponents SetInternalValue(val *ManagedDatabaseMysqlComponents) Port() *float64 Route() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Usage() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlComponentsOutputReference ¶
func NewManagedDatabaseMysqlComponentsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedDatabaseMysqlComponentsOutputReference
type ManagedDatabaseMysqlConfig ¶
type ManagedDatabaseMysqlConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Name of the service. // // The name is used as a prefix for the logical hostname. Must be unique within an account // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name} Name *string `field:"required" json:"name" yaml:"name"` // Service plan to use. // // This determines how much resources the instance will have. You can list available plans with `upctl database plans <type>`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#plan ManagedDatabaseMysql#plan} Plan *string `field:"required" json:"plan" yaml:"plan"` // Title of a managed database instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#title ManagedDatabaseMysql#title} Title *string `field:"required" json:"title" yaml:"title"` // Zone where the instance resides, e.g. `de-fra1`. You can list available zones with `upctl zone list`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#zone ManagedDatabaseMysql#zone} Zone *string `field:"required" json:"zone" yaml:"zone"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#id ManagedDatabaseMysql#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // User defined key-value pairs to classify the managed database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#labels ManagedDatabaseMysql#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#maintenance_window_dow ManagedDatabaseMysql#maintenance_window_dow} MaintenanceWindowDow *string `field:"optional" json:"maintenanceWindowDow" yaml:"maintenanceWindowDow"` // Maintenance window UTC time in hh:mm:ss format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#maintenance_window_time ManagedDatabaseMysql#maintenance_window_time} MaintenanceWindowTime *string `field:"optional" json:"maintenanceWindowTime" yaml:"maintenanceWindowTime"` // network block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#network ManagedDatabaseMysql#network} Network interface{} `field:"optional" json:"network" yaml:"network"` // The administrative power state of the service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#powered ManagedDatabaseMysql#powered} Powered interface{} `field:"optional" json:"powered" yaml:"powered"` // properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#properties ManagedDatabaseMysql#properties} Properties *ManagedDatabaseMysqlProperties `field:"optional" json:"properties" yaml:"properties"` }
type ManagedDatabaseMysqlNetwork ¶ added in v14.1.0
type ManagedDatabaseMysqlNetwork struct { // Network family. Currently only `IPv4` is supported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#family ManagedDatabaseMysql#family} Family *string `field:"required" json:"family" yaml:"family"` // The name of the network. Must be unique within the service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name} Name *string `field:"required" json:"name" yaml:"name"` // The type of the network. Must be private. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#type ManagedDatabaseMysql#type} Type *string `field:"required" json:"type" yaml:"type"` // Private network UUID. Must reside in the same zone as the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#uuid ManagedDatabaseMysql#uuid} Uuid *string `field:"required" json:"uuid" yaml:"uuid"` }
type ManagedDatabaseMysqlNetworkList ¶ added in v14.1.0
type ManagedDatabaseMysqlNetworkList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ManagedDatabaseMysqlNetworkOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlNetworkList ¶ added in v14.1.0
func NewManagedDatabaseMysqlNetworkList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedDatabaseMysqlNetworkList
type ManagedDatabaseMysqlNetworkOutputReference ¶ added in v14.1.0
type ManagedDatabaseMysqlNetworkOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Family() *string SetFamily(val *string) FamilyInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Uuid() *string SetUuid(val *string) UuidInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlNetworkOutputReference ¶ added in v14.1.0
func NewManagedDatabaseMysqlNetworkOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedDatabaseMysqlNetworkOutputReference
type ManagedDatabaseMysqlNodeStates ¶
type ManagedDatabaseMysqlNodeStates struct { }
type ManagedDatabaseMysqlNodeStatesList ¶
type ManagedDatabaseMysqlNodeStatesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ManagedDatabaseMysqlNodeStatesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlNodeStatesList ¶
func NewManagedDatabaseMysqlNodeStatesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedDatabaseMysqlNodeStatesList
type ManagedDatabaseMysqlNodeStatesOutputReference ¶
type ManagedDatabaseMysqlNodeStatesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ManagedDatabaseMysqlNodeStates SetInternalValue(val *ManagedDatabaseMysqlNodeStates) Name() *string Role() *string State() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlNodeStatesOutputReference ¶
func NewManagedDatabaseMysqlNodeStatesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedDatabaseMysqlNodeStatesOutputReference
type ManagedDatabaseMysqlProperties ¶
type ManagedDatabaseMysqlProperties struct { // Custom password for admin user. // // Defaults to random string. This must be set only when a new service is being created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#admin_password ManagedDatabaseMysql#admin_password} AdminPassword *string `field:"optional" json:"adminPassword" yaml:"adminPassword"` // Custom username for admin user. This must be set only when a new service is being created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#admin_username ManagedDatabaseMysql#admin_username} AdminUsername *string `field:"optional" json:"adminUsername" yaml:"adminUsername"` // Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#automatic_utility_network_ip_filter ManagedDatabaseMysql#automatic_utility_network_ip_filter} AutomaticUtilityNetworkIpFilter interface{} `field:"optional" json:"automaticUtilityNetworkIpFilter" yaml:"automaticUtilityNetworkIpFilter"` // The hour of day (in UTC) when backup for the service is started. // // New backup is only started if previous backup has already completed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#backup_hour ManagedDatabaseMysql#backup_hour} BackupHour *float64 `field:"optional" json:"backupHour" yaml:"backupHour"` // The minute of an hour when backup for the service is started. // // New backup is only started if previous backup has already completed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#backup_minute ManagedDatabaseMysql#backup_minute} BackupMinute *float64 `field:"optional" json:"backupMinute" yaml:"backupMinute"` // The minimum amount of time in seconds to keep binlog entries before deletion. // // This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#binlog_retention_period ManagedDatabaseMysql#binlog_retention_period} BinlogRetentionPeriod *float64 `field:"optional" json:"binlogRetentionPeriod" yaml:"binlogRetentionPeriod"` // The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#connect_timeout ManagedDatabaseMysql#connect_timeout} ConnectTimeout *float64 `field:"optional" json:"connectTimeout" yaml:"connectTimeout"` // Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#default_time_zone ManagedDatabaseMysql#default_time_zone} DefaultTimeZone *string `field:"optional" json:"defaultTimeZone" yaml:"defaultTimeZone"` // The maximum permitted result length in bytes for the GROUP_CONCAT() function. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#group_concat_max_len ManagedDatabaseMysql#group_concat_max_len} GroupConcatMaxLen *float64 `field:"optional" json:"groupConcatMaxLen" yaml:"groupConcatMaxLen"` // The time, in seconds, before cached statistics expire. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#information_schema_stats_expiry ManagedDatabaseMysql#information_schema_stats_expiry} InformationSchemaStatsExpiry *float64 `field:"optional" json:"informationSchemaStatsExpiry" yaml:"informationSchemaStatsExpiry"` // Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. // // Default is 25. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_change_buffer_max_size ManagedDatabaseMysql#innodb_change_buffer_max_size} InnodbChangeBufferMaxSize *float64 `field:"optional" json:"innodbChangeBufferMaxSize" yaml:"innodbChangeBufferMaxSize"` // Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_flush_neighbors ManagedDatabaseMysql#innodb_flush_neighbors} InnodbFlushNeighbors *float64 `field:"optional" json:"innodbFlushNeighbors" yaml:"innodbFlushNeighbors"` // Minimum length of words that are stored in an InnoDB FULLTEXT index. // // Changing this parameter will lead to a restart of the MySQL service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_ft_min_token_size ManagedDatabaseMysql#innodb_ft_min_token_size} InnodbFtMinTokenSize *float64 `field:"optional" json:"innodbFtMinTokenSize" yaml:"innodbFtMinTokenSize"` // This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_ft_server_stopword_table ManagedDatabaseMysql#innodb_ft_server_stopword_table} InnodbFtServerStopwordTable *string `field:"optional" json:"innodbFtServerStopwordTable" yaml:"innodbFtServerStopwordTable"` // The length of time in seconds an InnoDB transaction waits for a row lock before giving up. // // Default is 120. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_lock_wait_timeout ManagedDatabaseMysql#innodb_lock_wait_timeout} InnodbLockWaitTimeout *float64 `field:"optional" json:"innodbLockWaitTimeout" yaml:"innodbLockWaitTimeout"` // The size in bytes of the buffer that InnoDB uses to write to the log files on disk. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_log_buffer_size ManagedDatabaseMysql#innodb_log_buffer_size} InnodbLogBufferSize *float64 `field:"optional" json:"innodbLogBufferSize" yaml:"innodbLogBufferSize"` // The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_online_alter_log_max_size ManagedDatabaseMysql#innodb_online_alter_log_max_size} InnodbOnlineAlterLogMaxSize *float64 `field:"optional" json:"innodbOnlineAlterLogMaxSize" yaml:"innodbOnlineAlterLogMaxSize"` // When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_print_all_deadlocks ManagedDatabaseMysql#innodb_print_all_deadlocks} InnodbPrintAllDeadlocks interface{} `field:"optional" json:"innodbPrintAllDeadlocks" yaml:"innodbPrintAllDeadlocks"` // The number of I/O threads for read operations in InnoDB. // // Default is 4. Changing this parameter will lead to a restart of the MySQL service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_read_io_threads ManagedDatabaseMysql#innodb_read_io_threads} InnodbReadIoThreads *float64 `field:"optional" json:"innodbReadIoThreads" yaml:"innodbReadIoThreads"` // When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. // // Changing this parameter will lead to a restart of the MySQL service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_rollback_on_timeout ManagedDatabaseMysql#innodb_rollback_on_timeout} InnodbRollbackOnTimeout interface{} `field:"optional" json:"innodbRollbackOnTimeout" yaml:"innodbRollbackOnTimeout"` // Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_thread_concurrency ManagedDatabaseMysql#innodb_thread_concurrency} InnodbThreadConcurrency *float64 `field:"optional" json:"innodbThreadConcurrency" yaml:"innodbThreadConcurrency"` // The number of I/O threads for write operations in InnoDB. // // Default is 4. Changing this parameter will lead to a restart of the MySQL service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#innodb_write_io_threads ManagedDatabaseMysql#innodb_write_io_threads} InnodbWriteIoThreads *float64 `field:"optional" json:"innodbWriteIoThreads" yaml:"innodbWriteIoThreads"` // The number of seconds the server waits for activity on an interactive connection before closing it. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#interactive_timeout ManagedDatabaseMysql#interactive_timeout} InteractiveTimeout *float64 `field:"optional" json:"interactiveTimeout" yaml:"interactiveTimeout"` // The storage engine for in-memory internal temporary tables. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#internal_tmp_mem_storage_engine ManagedDatabaseMysql#internal_tmp_mem_storage_engine} InternalTmpMemStorageEngine *string `field:"optional" json:"internalTmpMemStorageEngine" yaml:"internalTmpMemStorageEngine"` // IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#ip_filter ManagedDatabaseMysql#ip_filter} IpFilter *[]*string `field:"optional" json:"ipFilter" yaml:"ipFilter"` // The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Default is 10s. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#long_query_time ManagedDatabaseMysql#long_query_time} LongQueryTime *float64 `field:"optional" json:"longQueryTime" yaml:"longQueryTime"` // Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#max_allowed_packet ManagedDatabaseMysql#max_allowed_packet} MaxAllowedPacket *float64 `field:"optional" json:"maxAllowedPacket" yaml:"maxAllowedPacket"` // Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#max_heap_table_size ManagedDatabaseMysql#max_heap_table_size} MaxHeapTableSize *float64 `field:"optional" json:"maxHeapTableSize" yaml:"maxHeapTableSize"` // migration block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#migration ManagedDatabaseMysql#migration} Migration *ManagedDatabaseMysqlPropertiesMigration `field:"optional" json:"migration" yaml:"migration"` // Start sizes of connection buffer and result buffer. // // Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#net_buffer_length ManagedDatabaseMysql#net_buffer_length} NetBufferLength *float64 `field:"optional" json:"netBufferLength" yaml:"netBufferLength"` // The number of seconds to wait for more data from a connection before aborting the read. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#net_read_timeout ManagedDatabaseMysql#net_read_timeout} NetReadTimeout *float64 `field:"optional" json:"netReadTimeout" yaml:"netReadTimeout"` // The number of seconds to wait for a block to be written to a connection before aborting the write. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#net_write_timeout ManagedDatabaseMysql#net_write_timeout} NetWriteTimeout *float64 `field:"optional" json:"netWriteTimeout" yaml:"netWriteTimeout"` // Public Access. Allow access to the service from the public Internet. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#public_access ManagedDatabaseMysql#public_access} PublicAccess interface{} `field:"optional" json:"publicAccess" yaml:"publicAccess"` // Service logging. Store logs for the service so that they are available in the HTTP API and console. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#service_log ManagedDatabaseMysql#service_log} ServiceLog interface{} `field:"optional" json:"serviceLog" yaml:"serviceLog"` // Slow query log enables capturing of slow queries. // // Setting slow_query_log to false also truncates the mysql.slow_log table. Default is off. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#slow_query_log ManagedDatabaseMysql#slow_query_log} SlowQueryLog interface{} `field:"optional" json:"slowQueryLog" yaml:"slowQueryLog"` // Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#sort_buffer_size ManagedDatabaseMysql#sort_buffer_size} SortBufferSize *float64 `field:"optional" json:"sortBufferSize" yaml:"sortBufferSize"` // Global SQL mode. // // Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#sql_mode ManagedDatabaseMysql#sql_mode} SqlMode *string `field:"optional" json:"sqlMode" yaml:"sqlMode"` // Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. // // It is recommended to always have primary keys because various functionality may break if any large table is missing them. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#sql_require_primary_key ManagedDatabaseMysql#sql_require_primary_key} SqlRequirePrimaryKey interface{} `field:"optional" json:"sqlRequirePrimaryKey" yaml:"sqlRequirePrimaryKey"` // Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#tmp_table_size ManagedDatabaseMysql#tmp_table_size} TmpTableSize *float64 `field:"optional" json:"tmpTableSize" yaml:"tmpTableSize"` // MySQL major version. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#version ManagedDatabaseMysql#version} Version *string `field:"optional" json:"version" yaml:"version"` // The number of seconds the server waits for activity on a noninteractive connection before closing it. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout} WaitTimeout *float64 `field:"optional" json:"waitTimeout" yaml:"waitTimeout"` }
type ManagedDatabaseMysqlPropertiesMigration ¶
type ManagedDatabaseMysqlPropertiesMigration struct { // Database name for bootstrapping the initial connection. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#dbname ManagedDatabaseMysql#dbname} Dbname *string `field:"optional" json:"dbname" yaml:"dbname"` // Hostname or IP address of the server where to migrate data from. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#host ManagedDatabaseMysql#host} Host *string `field:"optional" json:"host" yaml:"host"` // Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#ignore_dbs ManagedDatabaseMysql#ignore_dbs} IgnoreDbs *string `field:"optional" json:"ignoreDbs" yaml:"ignoreDbs"` // Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#ignore_roles ManagedDatabaseMysql#ignore_roles} IgnoreRoles *string `field:"optional" json:"ignoreRoles" yaml:"ignoreRoles"` // The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#method ManagedDatabaseMysql#method} Method *string `field:"optional" json:"method" yaml:"method"` // Password for authentication with the server where to migrate data from. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#password ManagedDatabaseMysql#password} Password *string `field:"optional" json:"password" yaml:"password"` // Port number of the server where to migrate data from. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#port ManagedDatabaseMysql#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // The server where to migrate data from is secured with SSL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#ssl ManagedDatabaseMysql#ssl} Ssl interface{} `field:"optional" json:"ssl" yaml:"ssl"` // User name for authentication with the server where to migrate data from. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.13.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username} Username *string `field:"optional" json:"username" yaml:"username"` }
type ManagedDatabaseMysqlPropertiesMigrationOutputReference ¶
type ManagedDatabaseMysqlPropertiesMigrationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dbname() *string SetDbname(val *string) DbnameInput() *string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string IgnoreDbs() *string SetIgnoreDbs(val *string) IgnoreDbsInput() *string IgnoreRoles() *string SetIgnoreRoles(val *string) IgnoreRolesInput() *string InternalValue() *ManagedDatabaseMysqlPropertiesMigration SetInternalValue(val *ManagedDatabaseMysqlPropertiesMigration) Method() *string SetMethod(val *string) MethodInput() *string Password() *string SetPassword(val *string) PasswordInput() *string Port() *float64 SetPort(val *float64) PortInput() *float64 Ssl() interface{} SetSsl(val interface{}) SslInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Username() *string SetUsername(val *string) UsernameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDbname() ResetHost() ResetIgnoreDbs() ResetIgnoreRoles() ResetMethod() ResetPassword() ResetPort() ResetSsl() ResetUsername() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlPropertiesMigrationOutputReference ¶
func NewManagedDatabaseMysqlPropertiesMigrationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ManagedDatabaseMysqlPropertiesMigrationOutputReference
type ManagedDatabaseMysqlPropertiesOutputReference ¶
type ManagedDatabaseMysqlPropertiesOutputReference interface { cdktf.ComplexObject AdminPassword() *string SetAdminPassword(val *string) AdminPasswordInput() *string AdminUsername() *string SetAdminUsername(val *string) AdminUsernameInput() *string AutomaticUtilityNetworkIpFilter() interface{} SetAutomaticUtilityNetworkIpFilter(val interface{}) AutomaticUtilityNetworkIpFilterInput() interface{} BackupHour() *float64 SetBackupHour(val *float64) BackupHourInput() *float64 BackupMinute() *float64 SetBackupMinute(val *float64) BackupMinuteInput() *float64 BinlogRetentionPeriod() *float64 SetBinlogRetentionPeriod(val *float64) BinlogRetentionPeriodInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ConnectTimeout() *float64 SetConnectTimeout(val *float64) ConnectTimeoutInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DefaultTimeZone() *string SetDefaultTimeZone(val *string) DefaultTimeZoneInput() *string // Experimental. Fqn() *string GroupConcatMaxLen() *float64 SetGroupConcatMaxLen(val *float64) GroupConcatMaxLenInput() *float64 InformationSchemaStatsExpiry() *float64 SetInformationSchemaStatsExpiry(val *float64) InformationSchemaStatsExpiryInput() *float64 InnodbChangeBufferMaxSize() *float64 SetInnodbChangeBufferMaxSize(val *float64) InnodbChangeBufferMaxSizeInput() *float64 InnodbFlushNeighbors() *float64 SetInnodbFlushNeighbors(val *float64) InnodbFlushNeighborsInput() *float64 InnodbFtMinTokenSize() *float64 SetInnodbFtMinTokenSize(val *float64) InnodbFtMinTokenSizeInput() *float64 InnodbFtServerStopwordTable() *string SetInnodbFtServerStopwordTable(val *string) InnodbFtServerStopwordTableInput() *string InnodbLockWaitTimeout() *float64 SetInnodbLockWaitTimeout(val *float64) InnodbLockWaitTimeoutInput() *float64 InnodbLogBufferSize() *float64 SetInnodbLogBufferSize(val *float64) InnodbLogBufferSizeInput() *float64 InnodbOnlineAlterLogMaxSize() *float64 SetInnodbOnlineAlterLogMaxSize(val *float64) InnodbOnlineAlterLogMaxSizeInput() *float64 InnodbPrintAllDeadlocks() interface{} SetInnodbPrintAllDeadlocks(val interface{}) InnodbPrintAllDeadlocksInput() interface{} InnodbReadIoThreads() *float64 SetInnodbReadIoThreads(val *float64) InnodbReadIoThreadsInput() *float64 InnodbRollbackOnTimeout() interface{} SetInnodbRollbackOnTimeout(val interface{}) InnodbRollbackOnTimeoutInput() interface{} InnodbThreadConcurrency() *float64 SetInnodbThreadConcurrency(val *float64) InnodbThreadConcurrencyInput() *float64 InnodbWriteIoThreads() *float64 SetInnodbWriteIoThreads(val *float64) InnodbWriteIoThreadsInput() *float64 InteractiveTimeout() *float64 SetInteractiveTimeout(val *float64) InteractiveTimeoutInput() *float64 InternalTmpMemStorageEngine() *string SetInternalTmpMemStorageEngine(val *string) InternalTmpMemStorageEngineInput() *string InternalValue() *ManagedDatabaseMysqlProperties SetInternalValue(val *ManagedDatabaseMysqlProperties) IpFilter() *[]*string SetIpFilter(val *[]*string) IpFilterInput() *[]*string LongQueryTime() *float64 SetLongQueryTime(val *float64) LongQueryTimeInput() *float64 MaxAllowedPacket() *float64 SetMaxAllowedPacket(val *float64) MaxAllowedPacketInput() *float64 MaxHeapTableSize() *float64 SetMaxHeapTableSize(val *float64) MaxHeapTableSizeInput() *float64 Migration() ManagedDatabaseMysqlPropertiesMigrationOutputReference MigrationInput() *ManagedDatabaseMysqlPropertiesMigration NetBufferLength() *float64 SetNetBufferLength(val *float64) NetBufferLengthInput() *float64 NetReadTimeout() *float64 SetNetReadTimeout(val *float64) NetReadTimeoutInput() *float64 NetWriteTimeout() *float64 SetNetWriteTimeout(val *float64) NetWriteTimeoutInput() *float64 PublicAccess() interface{} SetPublicAccess(val interface{}) PublicAccessInput() interface{} ServiceLog() interface{} SetServiceLog(val interface{}) ServiceLogInput() interface{} SlowQueryLog() interface{} SetSlowQueryLog(val interface{}) SlowQueryLogInput() interface{} SortBufferSize() *float64 SetSortBufferSize(val *float64) SortBufferSizeInput() *float64 SqlMode() *string SetSqlMode(val *string) SqlModeInput() *string SqlRequirePrimaryKey() interface{} SetSqlRequirePrimaryKey(val interface{}) SqlRequirePrimaryKeyInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TmpTableSize() *float64 SetTmpTableSize(val *float64) TmpTableSizeInput() *float64 Version() *string SetVersion(val *string) VersionInput() *string WaitTimeout() *float64 SetWaitTimeout(val *float64) WaitTimeoutInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutMigration(value *ManagedDatabaseMysqlPropertiesMigration) ResetAdminPassword() ResetAdminUsername() ResetAutomaticUtilityNetworkIpFilter() ResetBackupHour() ResetBackupMinute() ResetBinlogRetentionPeriod() ResetConnectTimeout() ResetDefaultTimeZone() ResetGroupConcatMaxLen() ResetInformationSchemaStatsExpiry() ResetInnodbChangeBufferMaxSize() ResetInnodbFlushNeighbors() ResetInnodbFtMinTokenSize() ResetInnodbFtServerStopwordTable() ResetInnodbLockWaitTimeout() ResetInnodbLogBufferSize() ResetInnodbOnlineAlterLogMaxSize() ResetInnodbPrintAllDeadlocks() ResetInnodbReadIoThreads() ResetInnodbRollbackOnTimeout() ResetInnodbThreadConcurrency() ResetInnodbWriteIoThreads() ResetInteractiveTimeout() ResetInternalTmpMemStorageEngine() ResetIpFilter() ResetLongQueryTime() ResetMaxAllowedPacket() ResetMaxHeapTableSize() ResetMigration() ResetNetBufferLength() ResetNetReadTimeout() ResetNetWriteTimeout() ResetPublicAccess() ResetServiceLog() ResetSlowQueryLog() ResetSortBufferSize() ResetSqlMode() ResetSqlRequirePrimaryKey() ResetTmpTableSize() ResetVersion() ResetWaitTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewManagedDatabaseMysqlPropertiesOutputReference ¶
func NewManagedDatabaseMysqlPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ManagedDatabaseMysqlPropertiesOutputReference
Source Files ¶
- ManagedDatabaseMysql.go
- ManagedDatabaseMysqlComponents.go
- ManagedDatabaseMysqlComponentsList.go
- ManagedDatabaseMysqlComponentsList__checks.go
- ManagedDatabaseMysqlComponentsOutputReference.go
- ManagedDatabaseMysqlComponentsOutputReference__checks.go
- ManagedDatabaseMysqlConfig.go
- ManagedDatabaseMysqlNetwork.go
- ManagedDatabaseMysqlNetworkList.go
- ManagedDatabaseMysqlNetworkList__checks.go
- ManagedDatabaseMysqlNetworkOutputReference.go
- ManagedDatabaseMysqlNetworkOutputReference__checks.go
- ManagedDatabaseMysqlNodeStates.go
- ManagedDatabaseMysqlNodeStatesList.go
- ManagedDatabaseMysqlNodeStatesList__checks.go
- ManagedDatabaseMysqlNodeStatesOutputReference.go
- ManagedDatabaseMysqlNodeStatesOutputReference__checks.go
- ManagedDatabaseMysqlProperties.go
- ManagedDatabaseMysqlPropertiesMigration.go
- ManagedDatabaseMysqlPropertiesMigrationOutputReference.go
- ManagedDatabaseMysqlPropertiesMigrationOutputReference__checks.go
- ManagedDatabaseMysqlPropertiesOutputReference.go
- ManagedDatabaseMysqlPropertiesOutputReference__checks.go
- ManagedDatabaseMysql__checks.go
- main.go