Documentation
¶
Index ¶
- func NewServerNicFirewallOutputReference_Override(s ServerNicFirewallOutputReference, ...)
- func NewServerNicOutputReference_Override(s ServerNicOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServerTimeoutsOutputReference_Override(s ServerTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServerVolumeOutputReference_Override(s ServerVolumeOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServer_Override(s Server, scope constructs.Construct, id *string, config *ServerConfig)
- func Server_IsConstruct(x interface{}) *bool
- func Server_TfResourceType() *string
- type Server
- type ServerConfig
- type ServerNic
- type ServerNicFirewall
- type ServerNicFirewallOutputReference
- type ServerNicOutputReference
- type ServerTimeouts
- type ServerTimeoutsOutputReference
- type ServerVolume
- type ServerVolumeOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerNicFirewallOutputReference_Override ¶
func NewServerNicFirewallOutputReference_Override(s ServerNicFirewallOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServerNicOutputReference_Override ¶
func NewServerNicOutputReference_Override(s ServerNicOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServerTimeoutsOutputReference_Override ¶
func NewServerTimeoutsOutputReference_Override(s ServerTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServerVolumeOutputReference_Override ¶
func NewServerVolumeOutputReference_Override(s ServerVolumeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServer_Override ¶
func NewServer_Override(s Server, scope constructs.Construct, id *string, config *ServerConfig)
Create a new {@link https://www.terraform.io/docs/providers/ionoscloud/r/server ionoscloud_server} Resource.
func Server_IsConstruct ¶
func Server_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 Server_TfResourceType ¶
func Server_TfResourceType() *string
Types ¶
type Server ¶
type Server interface { cdktf.TerraformResource AvailabilityZone() *string SetAvailabilityZone(val *string) AvailabilityZoneInput() *string BootCdrom() *string SetBootCdrom(val *string) BootCdromInput() *string BootImage() *string SetBootImage(val *string) BootImageInput() *string BootVolume() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} Cores() *float64 SetCores(val *float64) CoresInput() *float64 // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CpuFamily() *string SetCpuFamily(val *string) CpuFamilyInput() *string DatacenterId() *string SetDatacenterId(val *string) DatacenterIdInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) FirewallruleId() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string ImageName() *string SetImageName(val *string) ImageNameInput() *string ImagePassword() *string SetImagePassword(val *string) ImagePasswordInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string Nic() ServerNicOutputReference NicInput() *ServerNic // The tree node. Node() constructs.Node PrimaryIp() *string PrimaryNic() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Ram() *float64 SetRam(val *float64) RamInput() *float64 // Experimental. RawOverrides() interface{} SshKeyPath() *[]*string SetSshKeyPath(val *[]*string) SshKeyPathInput() *[]*string TemplateUuid() *string SetTemplateUuid(val *string) TemplateUuidInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ServerTimeoutsOutputReference TimeoutsInput() interface{} Type() *string SetType(val *string) TypeInput() *string Volume() ServerVolumeOutputReference VolumeInput() *ServerVolume // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutNic(value *ServerNic) PutTimeouts(value *ServerTimeouts) PutVolume(value *ServerVolume) ResetAvailabilityZone() ResetBootCdrom() ResetBootImage() ResetCores() ResetCpuFamily() ResetId() ResetImageName() ResetImagePassword() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRam() ResetSshKeyPath() ResetTemplateUuid() ResetTimeouts() ResetType() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/ionoscloud/r/server ionoscloud_server}.
func NewServer ¶
func NewServer(scope constructs.Construct, id *string, config *ServerConfig) Server
Create a new {@link https://www.terraform.io/docs/providers/ionoscloud/r/server ionoscloud_server} Resource.
type ServerConfig ¶
type ServerConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#datacenter_id Server#datacenter_id}. DatacenterId *string `field:"required" json:"datacenterId" yaml:"datacenterId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#name Server#name}. Name *string `field:"required" json:"name" yaml:"name"` // nic block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#nic Server#nic} Nic *ServerNic `field:"required" json:"nic" yaml:"nic"` // volume block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#volume Server#volume} Volume *ServerVolume `field:"required" json:"volume" yaml:"volume"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#availability_zone Server#availability_zone}. AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#boot_cdrom Server#boot_cdrom}. BootCdrom *string `field:"optional" json:"bootCdrom" yaml:"bootCdrom"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#boot_image Server#boot_image}. BootImage *string `field:"optional" json:"bootImage" yaml:"bootImage"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#cores Server#cores}. Cores *float64 `field:"optional" json:"cores" yaml:"cores"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#cpu_family Server#cpu_family}. CpuFamily *string `field:"optional" json:"cpuFamily" yaml:"cpuFamily"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#id Server#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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#image_name Server#image_name}. ImageName *string `field:"optional" json:"imageName" yaml:"imageName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#image_password Server#image_password}. ImagePassword *string `field:"optional" json:"imagePassword" yaml:"imagePassword"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#ram Server#ram}. Ram *float64 `field:"optional" json:"ram" yaml:"ram"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#ssh_key_path Server#ssh_key_path}. SshKeyPath *[]*string `field:"optional" json:"sshKeyPath" yaml:"sshKeyPath"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#template_uuid Server#template_uuid}. TemplateUuid *string `field:"optional" json:"templateUuid" yaml:"templateUuid"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#timeouts Server#timeouts} Timeouts *ServerTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // server usages: ENTERPRISE or CUBE. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#type Server#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ServerNic ¶
type ServerNic struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#lan Server#lan}. Lan *float64 `field:"required" json:"lan" yaml:"lan"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#dhcp Server#dhcp}. Dhcp interface{} `field:"optional" json:"dhcp" yaml:"dhcp"` // firewall block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#firewall Server#firewall} Firewall *ServerNicFirewall `field:"optional" json:"firewall" yaml:"firewall"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#firewall_active Server#firewall_active}. FirewallActive interface{} `field:"optional" json:"firewallActive" yaml:"firewallActive"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#firewall_type Server#firewall_type}. FirewallType *string `field:"optional" json:"firewallType" yaml:"firewallType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#ips Server#ips}. Ips *[]*string `field:"optional" json:"ips" yaml:"ips"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#name Server#name}. Name *string `field:"optional" json:"name" yaml:"name"` }
type ServerNicFirewall ¶
type ServerNicFirewall struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#protocol Server#protocol}. Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#icmp_code Server#icmp_code}. IcmpCode *string `field:"optional" json:"icmpCode" yaml:"icmpCode"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#icmp_type Server#icmp_type}. IcmpType *string `field:"optional" json:"icmpType" yaml:"icmpType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#name Server#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#port_range_end Server#port_range_end}. PortRangeEnd *float64 `field:"optional" json:"portRangeEnd" yaml:"portRangeEnd"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#port_range_start Server#port_range_start}. PortRangeStart *float64 `field:"optional" json:"portRangeStart" yaml:"portRangeStart"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#source_ip Server#source_ip}. SourceIp *string `field:"optional" json:"sourceIp" yaml:"sourceIp"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#source_mac Server#source_mac}. SourceMac *string `field:"optional" json:"sourceMac" yaml:"sourceMac"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#target_ip Server#target_ip}. TargetIp *string `field:"optional" json:"targetIp" yaml:"targetIp"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#type Server#type}. Type *string `field:"optional" json:"type" yaml:"type"` }
type ServerNicFirewallOutputReference ¶
type ServerNicFirewallOutputReference 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 IcmpCode() *string SetIcmpCode(val *string) IcmpCodeInput() *string IcmpType() *string SetIcmpType(val *string) IcmpTypeInput() *string InternalValue() *ServerNicFirewall SetInternalValue(val *ServerNicFirewall) Name() *string SetName(val *string) NameInput() *string PortRangeEnd() *float64 SetPortRangeEnd(val *float64) PortRangeEndInput() *float64 PortRangeStart() *float64 SetPortRangeStart(val *float64) PortRangeStartInput() *float64 Protocol() *string SetProtocol(val *string) ProtocolInput() *string SourceIp() *string SetSourceIp(val *string) SourceIpInput() *string SourceMac() *string SetSourceMac(val *string) SourceMacInput() *string TargetIp() *string SetTargetIp(val *string) TargetIpInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *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 ResetIcmpCode() ResetIcmpType() ResetName() ResetPortRangeEnd() ResetPortRangeStart() ResetSourceIp() ResetSourceMac() ResetTargetIp() ResetType() // 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 NewServerNicFirewallOutputReference ¶
func NewServerNicFirewallOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServerNicFirewallOutputReference
type ServerNicOutputReference ¶
type ServerNicOutputReference 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 DeviceNumber() *float64 Dhcp() interface{} SetDhcp(val interface{}) DhcpInput() interface{} Firewall() ServerNicFirewallOutputReference FirewallActive() interface{} SetFirewallActive(val interface{}) FirewallActiveInput() interface{} FirewallInput() *ServerNicFirewall FirewallType() *string SetFirewallType(val *string) FirewallTypeInput() *string // Experimental. Fqn() *string Id() *string InternalValue() *ServerNic SetInternalValue(val *ServerNic) Ips() *[]*string SetIps(val *[]*string) IpsInput() *[]*string Lan() *float64 SetLan(val *float64) LanInput() *float64 Mac() *string Name() *string SetName(val *string) NameInput() *string PciSlot() *float64 // 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 PutFirewall(value *ServerNicFirewall) ResetDhcp() ResetFirewall() ResetFirewallActive() ResetFirewallType() ResetIps() ResetName() // 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 NewServerNicOutputReference ¶
func NewServerNicOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServerNicOutputReference
type ServerTimeouts ¶
type ServerTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#create Server#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#default Server#default}. Default *string `field:"optional" json:"default" yaml:"default"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#delete Server#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#update Server#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ServerTimeoutsOutputReference ¶
type ServerTimeoutsOutputReference 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) Create() *string SetCreate(val *string) CreateInput() *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 Default() *string SetDefault(val *string) DefaultInput() *string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *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 ResetCreate() ResetDefault() ResetDelete() ResetUpdate() // 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 NewServerTimeoutsOutputReference ¶
func NewServerTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServerTimeoutsOutputReference
type ServerVolume ¶
type ServerVolume struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#disk_type Server#disk_type}. DiskType *string `field:"required" json:"diskType" yaml:"diskType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#availability_zone Server#availability_zone}. AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // The uuid of the Backup Unit that user has access to. // // The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#backup_unit_id Server#backup_unit_id} BackupUnitId *string `field:"optional" json:"backupUnitId" yaml:"backupUnitId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#bus Server#bus}. Bus *string `field:"optional" json:"bus" yaml:"bus"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#image_password Server#image_password}. ImagePassword *string `field:"optional" json:"imagePassword" yaml:"imagePassword"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#licence_type Server#licence_type}. LicenceType *string `field:"optional" json:"licenceType" yaml:"licenceType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#name Server#name}. Name *string `field:"optional" json:"name" yaml:"name"` // The size of the volume in GB. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#size Server#size} Size *float64 `field:"optional" json:"size" yaml:"size"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#ssh_key_path Server#ssh_key_path}. SshKeyPath *[]*string `field:"optional" json:"sshKeyPath" yaml:"sshKeyPath"` // The cloud-init configuration for the volume as base64 encoded string. // // The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ionoscloud/r/server#user_data Server#user_data} UserData *string `field:"optional" json:"userData" yaml:"userData"` }
type ServerVolumeOutputReference ¶
type ServerVolumeOutputReference interface { cdktf.ComplexObject AvailabilityZone() *string SetAvailabilityZone(val *string) AvailabilityZoneInput() *string BackupUnitId() *string SetBackupUnitId(val *string) BackupUnitIdInput() *string BootServer() *string Bus() *string SetBus(val *string) BusInput() *string // 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) CpuHotPlug() cdktf.IResolvable // 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 DeviceNumber() *float64 DiscVirtioHotPlug() cdktf.IResolvable DiscVirtioHotUnplug() cdktf.IResolvable DiskType() *string SetDiskType(val *string) DiskTypeInput() *string // Experimental. Fqn() *string ImagePassword() *string SetImagePassword(val *string) ImagePasswordInput() *string InternalValue() *ServerVolume SetInternalValue(val *ServerVolume) LicenceType() *string SetLicenceType(val *string) LicenceTypeInput() *string Name() *string SetName(val *string) NameInput() *string NicHotPlug() cdktf.IResolvable NicHotUnplug() cdktf.IResolvable PciSlot() *float64 RamHotPlug() cdktf.IResolvable Size() *float64 SetSize(val *float64) SizeInput() *float64 SshKeyPath() *[]*string SetSshKeyPath(val *[]*string) SshKeyPathInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UserData() *string SetUserData(val *string) UserDataInput() *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 ResetAvailabilityZone() ResetBackupUnitId() ResetBus() ResetImagePassword() ResetLicenceType() ResetName() ResetSize() ResetSshKeyPath() ResetUserData() // 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 NewServerVolumeOutputReference ¶
func NewServerVolumeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServerVolumeOutputReference
Source Files
¶
- server.go
- server_Server.go
- server_ServerConfig.go
- server_ServerNic.go
- server_ServerNicFirewall.go
- server_ServerNicFirewallOutputReference.go
- server_ServerNicFirewallOutputReference__runtime_type_checks.go
- server_ServerNicOutputReference.go
- server_ServerNicOutputReference__runtime_type_checks.go
- server_ServerTimeouts.go
- server_ServerTimeoutsOutputReference.go
- server_ServerTimeoutsOutputReference__runtime_type_checks.go
- server_ServerVolume.go
- server_ServerVolumeOutputReference.go
- server_ServerVolumeOutputReference__runtime_type_checks.go
- server_Server__runtime_type_checks.go