Documentation
¶
Index ¶
- func NewServerLabelList_Override(s ServerLabelList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServerLabelOutputReference_Override(s ServerLabelOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServerNicFirewallList_Override(s ServerNicFirewallList, terraformResource cdktf.IInterpolatingParent, ...)
- 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_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func Server_IsConstruct(x interface{}) *bool
- func Server_IsTerraformElement(x interface{}) *bool
- func Server_IsTerraformResource(x interface{}) *bool
- func Server_TfResourceType() *string
- type Server
- type ServerConfig
- type ServerLabel
- type ServerLabelList
- type ServerLabelOutputReference
- type ServerNic
- type ServerNicFirewall
- type ServerNicFirewallList
- type ServerNicFirewallOutputReference
- type ServerNicOutputReference
- type ServerTimeouts
- type ServerTimeoutsOutputReference
- type ServerVolume
- type ServerVolumeOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerLabelList_Override ¶
func NewServerLabelList_Override(s ServerLabelList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServerLabelOutputReference_Override ¶
func NewServerLabelOutputReference_Override(s ServerLabelOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServerNicFirewallList_Override ¶
func NewServerNicFirewallList_Override(s ServerNicFirewallList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServerNicFirewallOutputReference_Override ¶
func NewServerNicFirewallOutputReference_Override(s ServerNicFirewallOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server ionoscloud_server} Resource.
func Server_GenerateConfigForImport ¶
func Server_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a Server resource upon running "cdktf plan <stack-name>".
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_IsTerraformResource ¶
func Server_IsTerraformResource(x interface{}) *bool
Experimental.
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() interface{} // Experimental. SetCount(val interface{}) CpuFamily() *string SetCpuFamily(val *string) CpuFamilyInput() *string DatacenterId() *string SetDatacenterId(val *string) DatacenterIdInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) FirewallruleId() *string FirewallruleIds() *[]*string SetFirewallruleIds(val *[]*string) FirewallruleIdsInput() *[]*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 InlineVolumeIds() *[]*string Label() ServerLabelList LabelInput() interface{} // 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 SshKeys() *[]*string SetSshKeys(val *[]*string) SshKeysInput() *[]*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 VmState() *string SetVmState(val *string) VmStateInput() *string Volume() ServerVolumeOutputReference VolumeInput() *ServerVolume // 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) PutLabel(value interface{}) PutNic(value *ServerNic) PutTimeouts(value *ServerTimeouts) PutVolume(value *ServerVolume) ResetAvailabilityZone() ResetBootCdrom() ResetBootImage() ResetCores() ResetCpuFamily() ResetFirewallruleIds() ResetId() ResetImageName() ResetImagePassword() ResetLabel() ResetNic() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRam() ResetSshKeyPath() ResetSshKeys() ResetTemplateUuid() ResetTimeouts() ResetType() ResetVmState() 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/ionos-cloud/ionoscloud/6.5.9/docs/resources/server ionoscloud_server}.
func NewServer ¶
func NewServer(scope constructs.Construct, id *string, config *ServerConfig) Server
Create a new {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server ionoscloud_server} Resource.
type ServerConfig ¶
type ServerConfig 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"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#datacenter_id Server#datacenter_id}. DatacenterId *string `field:"required" json:"datacenterId" yaml:"datacenterId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#name Server#name}. Name *string `field:"required" json:"name" yaml:"name"` // volume block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#volume Server#volume} Volume *ServerVolume `field:"required" json:"volume" yaml:"volume"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#availability_zone Server#availability_zone}. AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // The associated boot drive, if any. // // Must be the UUID of a bootable CDROM image that you can retrieve using the image data source // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#boot_cdrom Server#boot_cdrom} BootCdrom *string `field:"optional" json:"bootCdrom" yaml:"bootCdrom"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#boot_image Server#boot_image}. BootImage *string `field:"optional" json:"bootImage" yaml:"bootImage"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#cores Server#cores}. Cores *float64 `field:"optional" json:"cores" yaml:"cores"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#cpu_family Server#cpu_family}. CpuFamily *string `field:"optional" json:"cpuFamily" yaml:"cpuFamily"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#firewallrule_ids Server#firewallrule_ids}. FirewallruleIds *[]*string `field:"optional" json:"firewallruleIds" yaml:"firewallruleIds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#image_name Server#image_name}. ImageName *string `field:"optional" json:"imageName" yaml:"imageName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#image_password Server#image_password}. ImagePassword *string `field:"optional" json:"imagePassword" yaml:"imagePassword"` // label block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#label Server#label} Label interface{} `field:"optional" json:"label" yaml:"label"` // nic block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#nic Server#nic} Nic *ServerNic `field:"optional" json:"nic" yaml:"nic"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ram Server#ram}. Ram *float64 `field:"optional" json:"ram" yaml:"ram"` // Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. // // Does not support `~` expansion to homedir in the given path. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. This property is immutable. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ssh_key_path Server#ssh_key_path} SshKeyPath *[]*string `field:"optional" json:"sshKeyPath" yaml:"sshKeyPath"` // Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. // // This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ssh_keys Server#ssh_keys} SshKeys *[]*string `field:"optional" json:"sshKeys" yaml:"sshKeys"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#template_uuid Server#template_uuid}. TemplateUuid *string `field:"optional" json:"templateUuid" yaml:"templateUuid"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#timeouts Server#timeouts} Timeouts *ServerTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // server usages: ENTERPRISE or CUBE. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#type Server#type} Type *string `field:"optional" json:"type" yaml:"type"` // Sets the power state of the server. // // Possible values: `RUNNING`, `SHUTOFF` or `SUSPENDED`. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#vm_state Server#vm_state} VmState *string `field:"optional" json:"vmState" yaml:"vmState"` }
type ServerLabel ¶
type ServerLabel struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#key Server#key}. Key *string `field:"required" json:"key" yaml:"key"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#value Server#value}. Value *string `field:"required" json:"value" yaml:"value"` }
type ServerLabelList ¶
type ServerLabelList 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) ServerLabelOutputReference // 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 NewServerLabelList ¶
func NewServerLabelList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServerLabelList
type ServerLabelOutputReference ¶
type ServerLabelOutputReference 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() interface{} SetInternalValue(val interface{}) Key() *string SetKey(val *string) KeyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *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 NewServerLabelOutputReference ¶
func NewServerLabelOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServerLabelOutputReference
type ServerNic ¶
type ServerNic struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#lan Server#lan}. Lan *float64 `field:"required" json:"lan" yaml:"lan"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#dhcp Server#dhcp}. Dhcp interface{} `field:"optional" json:"dhcp" yaml:"dhcp"` // Indicates whether this NIC receives an IPv6 address through DHCP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#dhcpv6 Server#dhcpv6} Dhcpv6 interface{} `field:"optional" json:"dhcpv6" yaml:"dhcpv6"` // firewall block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#firewall Server#firewall} Firewall interface{} `field:"optional" json:"firewall" yaml:"firewall"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#firewall_active Server#firewall_active}. FirewallActive interface{} `field:"optional" json:"firewallActive" yaml:"firewallActive"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#firewall_type Server#firewall_type}. FirewallType *string `field:"optional" json:"firewallType" yaml:"firewallType"` // Collection of IP addresses assigned to a nic. // // Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ips Server#ips} Ips *[]*string `field:"optional" json:"ips" yaml:"ips"` // IPv6 CIDR block assigned to the NIC. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ipv6_cidr_block Server#ipv6_cidr_block} Ipv6CidrBlock *string `field:"optional" json:"ipv6CidrBlock" yaml:"ipv6CidrBlock"` // Collection for IPv6 addresses assigned to a nic. // // Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ipv6_ips Server#ipv6_ips} Ipv6Ips *[]*string `field:"optional" json:"ipv6Ips" yaml:"ipv6Ips"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#name Server#name}. Name *string `field:"optional" json:"name" yaml:"name"` }
type ServerNicFirewall ¶
type ServerNicFirewall struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#protocol Server#protocol}. Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#icmp_code Server#icmp_code}. IcmpCode *string `field:"optional" json:"icmpCode" yaml:"icmpCode"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#icmp_type Server#icmp_type}. IcmpType *string `field:"optional" json:"icmpType" yaml:"icmpType"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#name Server#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#port_range_end Server#port_range_end}. PortRangeEnd *float64 `field:"optional" json:"portRangeEnd" yaml:"portRangeEnd"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#port_range_start Server#port_range_start}. PortRangeStart *float64 `field:"optional" json:"portRangeStart" yaml:"portRangeStart"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#source_ip Server#source_ip}. SourceIp *string `field:"optional" json:"sourceIp" yaml:"sourceIp"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#source_mac Server#source_mac}. SourceMac *string `field:"optional" json:"sourceMac" yaml:"sourceMac"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#target_ip Server#target_ip}. TargetIp *string `field:"optional" json:"targetIp" yaml:"targetIp"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#type Server#type}. Type *string `field:"optional" json:"type" yaml:"type"` }
type ServerNicFirewallList ¶
type ServerNicFirewallList 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) ServerNicFirewallOutputReference // 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 NewServerNicFirewallList ¶
func NewServerNicFirewallList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServerNicFirewallList
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 Id() *string InternalValue() interface{} SetInternalValue(val interface{}) 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, complexObjectIndex *float64, complexObjectIsFromSet *bool) 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{} Dhcpv6() interface{} SetDhcpv6(val interface{}) Dhcpv6Input() interface{} Firewall() ServerNicFirewallList FirewallActive() interface{} SetFirewallActive(val interface{}) FirewallActiveInput() interface{} FirewallInput() interface{} FirewallType() *string SetFirewallType(val *string) FirewallTypeInput() *string // Experimental. Fqn() *string Id() *string InternalValue() *ServerNic SetInternalValue(val *ServerNic) Ips() *[]*string SetIps(val *[]*string) IpsInput() *[]*string Ipv6CidrBlock() *string SetIpv6CidrBlock(val *string) Ipv6CidrBlockInput() *string Ipv6Ips() *[]*string SetIpv6Ips(val *[]*string) Ipv6IpsInput() *[]*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 interface{}) ResetDhcp() ResetDhcpv6() ResetFirewall() ResetFirewallActive() ResetFirewallType() ResetIps() ResetIpv6CidrBlock() ResetIpv6Ips() 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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#create Server#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#default Server#default}. Default *string `field:"optional" json:"default" yaml:"default"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#delete Server#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#disk_type Server#disk_type}. DiskType *string `field:"required" json:"diskType" yaml:"diskType"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#backup_unit_id Server#backup_unit_id} BackupUnitId *string `field:"optional" json:"backupUnitId" yaml:"backupUnitId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#bus Server#bus}. Bus *string `field:"optional" json:"bus" yaml:"bus"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#image_password Server#image_password}. ImagePassword *string `field:"optional" json:"imagePassword" yaml:"imagePassword"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#licence_type Server#licence_type}. LicenceType *string `field:"optional" json:"licenceType" yaml:"licenceType"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#size Server#size} Size *float64 `field:"optional" json:"size" yaml:"size"` // Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. // // This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ssh_key_path Server#ssh_key_path} SshKeyPath *[]*string `field:"optional" json:"sshKeyPath" yaml:"sshKeyPath"` // Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. // // This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/server#ssh_keys Server#ssh_keys} SshKeys *[]*string `field:"optional" json:"sshKeys" yaml:"sshKeys"` // 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://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.5.9/docs/resources/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 SshKeys() *[]*string SetSshKeys(val *[]*string) SshKeysInput() *[]*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() ResetSshKeys() 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
- ServerConfig.go
- ServerLabel.go
- ServerLabelList.go
- ServerLabelList__checks.go
- ServerLabelOutputReference.go
- ServerLabelOutputReference__checks.go
- ServerNic.go
- ServerNicFirewall.go
- ServerNicFirewallList.go
- ServerNicFirewallList__checks.go
- ServerNicFirewallOutputReference.go
- ServerNicFirewallOutputReference__checks.go
- ServerNicOutputReference.go
- ServerNicOutputReference__checks.go
- ServerTimeouts.go
- ServerTimeoutsOutputReference.go
- ServerTimeoutsOutputReference__checks.go
- ServerVolume.go
- ServerVolumeOutputReference.go
- ServerVolumeOutputReference__checks.go
- Server__checks.go
- main.go