Represents a {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2 opentelekomcloud_compute_flavor_v2}.
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
dataopentelekomcloudcomputeflavorv2.NewDataOpentelekomcloudComputeFlavorV2(scope Construct, id *string, config DataOpentelekomcloudComputeFlavorV2Config) DataOpentelekomcloudComputeFlavorV2
Name | Type | Description |
---|---|---|
scope |
github.com/aws/constructs-go/constructs/v10.Construct |
The scope in which to define this construct. |
id |
*string |
The scoped construct ID. |
config |
DataOpentelekomcloudComputeFlavorV2Config |
No description. |
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The scoped construct ID.
Must be unique amongst siblings in the same scope
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
Adds this resource to the terraform JSON output. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
InterpolationForAttribute |
No description. |
ResetAvailabilityZone |
No description. |
ResetDisk |
No description. |
ResetFlavorId |
No description. |
ResetId |
No description. |
ResetMinDisk |
No description. |
ResetMinRam |
No description. |
ResetName |
No description. |
ResetRam |
No description. |
ResetRegion |
No description. |
ResetResourceType |
No description. |
ResetRxTxFactor |
No description. |
ResetSwap |
No description. |
ResetVcpus |
No description. |
func ToString() *string
Returns a string representation of this construct.
func AddOverride(path *string, value interface{})
- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}
Adds this resource to the terraform JSON output.
func ToMetadata() interface{}
func ToTerraform() interface{}
Adds this resource to the terraform JSON output.
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(terraformAttribute *string) IResolvable
- Type: *string
func ResetAvailabilityZone()
func ResetDisk()
func ResetFlavorId()
func ResetId()
func ResetMinDisk()
func ResetMinRam()
func ResetName()
func ResetRam()
func ResetRegion()
func ResetResourceType()
func ResetRxTxFactor()
func ResetSwap()
func ResetVcpus()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformDataSource |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a DataOpentelekomcloudComputeFlavorV2 resource upon running "cdktf plan ". |
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
dataopentelekomcloudcomputeflavorv2.DataOpentelekomcloudComputeFlavorV2_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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
dataopentelekomcloudcomputeflavorv2.DataOpentelekomcloudComputeFlavorV2_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
dataopentelekomcloudcomputeflavorv2.DataOpentelekomcloudComputeFlavorV2_IsTerraformDataSource(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
dataopentelekomcloudcomputeflavorv2.DataOpentelekomcloudComputeFlavorV2_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource
Generates CDKTF code for importing a DataOpentelekomcloudComputeFlavorV2 resource upon running "cdktf plan ".
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The construct id used in the generated config for the DataOpentelekomcloudComputeFlavorV2 to import.
- Type: *string
The id of the existing DataOpentelekomcloudComputeFlavorV2 that should be imported.
Refer to the {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#import import section} in the documentation of this resource for the id to use
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
? Optional instance of the provider where the DataOpentelekomcloudComputeFlavorV2 to import is found.
Name | Type | Description |
---|---|---|
Node |
github.com/aws/constructs-go/constructs/v10.Node |
The tree node. |
CdktfStack |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack |
No description. |
Fqn |
*string |
No description. |
FriendlyUniqueId |
*string |
No description. |
TerraformMetaArguments |
*map[string]interface{} |
No description. |
TerraformResourceType |
*string |
No description. |
TerraformGeneratorMetadata |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata |
No description. |
Count |
interface{} |
No description. |
DependsOn |
*[]*string |
No description. |
ForEach |
github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator |
No description. |
Lifecycle |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle |
No description. |
Provider |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider |
No description. |
ExtraSpecs |
github.com/hashicorp/terraform-cdk-go/cdktf.StringMap |
No description. |
AvailabilityZoneInput |
*string |
No description. |
DiskInput |
*f64 |
No description. |
FlavorIdInput |
*string |
No description. |
IdInput |
*string |
No description. |
MinDiskInput |
*f64 |
No description. |
MinRamInput |
*f64 |
No description. |
NameInput |
*string |
No description. |
RamInput |
*f64 |
No description. |
RegionInput |
*string |
No description. |
ResourceTypeInput |
*string |
No description. |
RxTxFactorInput |
*f64 |
No description. |
SwapInput |
*f64 |
No description. |
VcpusInput |
*f64 |
No description. |
AvailabilityZone |
*string |
No description. |
Disk |
*f64 |
No description. |
FlavorId |
*string |
No description. |
Id |
*string |
No description. |
MinDisk |
*f64 |
No description. |
MinRam |
*f64 |
No description. |
Name |
*string |
No description. |
Ram |
*f64 |
No description. |
Region |
*string |
No description. |
ResourceType |
*string |
No description. |
RxTxFactor |
*f64 |
No description. |
Swap |
*f64 |
No description. |
Vcpus |
*f64 |
No description. |
func Node() Node
- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack
func Fqn() *string
- Type: *string
func FriendlyUniqueId() *string
- Type: *string
func TerraformMetaArguments() *map[string]interface{}
- Type: *map[string]interface{}
func TerraformResourceType() *string
- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata
func Count() interface{}
- Type: interface{}
func DependsOn() *[]*string
- Type: *[]*string
func ForEach() ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
func Lifecycle() TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
func Provider() TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
func ExtraSpecs() StringMap
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.StringMap
func AvailabilityZoneInput() *string
- Type: *string
func DiskInput() *f64
- Type: *f64
func FlavorIdInput() *string
- Type: *string
func IdInput() *string
- Type: *string
func MinDiskInput() *f64
- Type: *f64
func MinRamInput() *f64
- Type: *f64
func NameInput() *string
- Type: *string
func RamInput() *f64
- Type: *f64
func RegionInput() *string
- Type: *string
func ResourceTypeInput() *string
- Type: *string
func RxTxFactorInput() *f64
- Type: *f64
func SwapInput() *f64
- Type: *f64
func VcpusInput() *f64
- Type: *f64
func AvailabilityZone() *string
- Type: *string
func Disk() *f64
- Type: *f64
func FlavorId() *string
- Type: *string
func Id() *string
- Type: *string
func MinDisk() *f64
- Type: *f64
func MinRam() *f64
- Type: *f64
func Name() *string
- Type: *string
func Ram() *f64
- Type: *f64
func Region() *string
- Type: *string
func ResourceType() *string
- Type: *string
func RxTxFactor() *f64
- Type: *f64
func Swap() *f64
- Type: *f64
func Vcpus() *f64
- Type: *f64
Name | Type | Description |
---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string
- Type: *string
import "github.com/cdktf/cdktf-provider-opentelekomcloud-go/opentelekomcloud/v11/dataopentelekomcloudcomputeflavorv2"
&dataopentelekomcloudcomputeflavorv2.DataOpentelekomcloudComputeFlavorV2Config {
Connection: interface{},
Count: interface{},
DependsOn: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable,
ForEach: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator,
Lifecycle: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle,
Provider: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider,
Provisioners: *[]interface{},
AvailabilityZone: *string,
Disk: *f64,
FlavorId: *string,
Id: *string,
MinDisk: *f64,
MinRam: *f64,
Name: *string,
Ram: *f64,
Region: *string,
ResourceType: *string,
RxTxFactor: *f64,
Swap: *f64,
Vcpus: *f64,
}
Connection interface{}
- Type: interface{}
Count interface{}
- Type: interface{}
DependsOn *[]ITerraformDependable
- Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable
ForEach ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
Lifecycle TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
Provider TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
Provisioners *[]interface{}
- Type: *[]interface{}
AvailabilityZone *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#availability_zone DataOpentelekomcloudComputeFlavorV2#availability_zone}.
Disk *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#disk DataOpentelekomcloudComputeFlavorV2#disk}.
FlavorId *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#flavor_id DataOpentelekomcloudComputeFlavorV2#flavor_id}.
Id *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#id DataOpentelekomcloudComputeFlavorV2#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.
MinDisk *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#min_disk DataOpentelekomcloudComputeFlavorV2#min_disk}.
MinRam *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#min_ram DataOpentelekomcloudComputeFlavorV2#min_ram}.
Name *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#name DataOpentelekomcloudComputeFlavorV2#name}.
Ram *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#ram DataOpentelekomcloudComputeFlavorV2#ram}.
Region *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#region DataOpentelekomcloudComputeFlavorV2#region}.
ResourceType *string
- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#resource_type DataOpentelekomcloudComputeFlavorV2#resource_type}.
RxTxFactor *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#rx_tx_factor DataOpentelekomcloudComputeFlavorV2#rx_tx_factor}.
Swap *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#swap DataOpentelekomcloudComputeFlavorV2#swap}.
Vcpus *f64
- Type: *f64
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.30/docs/data-sources/compute_flavor_v2#vcpus DataOpentelekomcloudComputeFlavorV2#vcpus}.