Documentation ¶
Index ¶
- func BlockstorageVolumeV2_IsConstruct(x interface{}) *bool
- func BlockstorageVolumeV2_IsTerraformElement(x interface{}) *bool
- func BlockstorageVolumeV2_IsTerraformResource(x interface{}) *bool
- func BlockstorageVolumeV2_TfResourceType() *string
- func NewBlockstorageVolumeV2AttachmentList_Override(b BlockstorageVolumeV2AttachmentList, ...)
- func NewBlockstorageVolumeV2AttachmentOutputReference_Override(b BlockstorageVolumeV2AttachmentOutputReference, ...)
- func NewBlockstorageVolumeV2TimeoutsOutputReference_Override(b BlockstorageVolumeV2TimeoutsOutputReference, ...)
- func NewBlockstorageVolumeV2_Override(b BlockstorageVolumeV2, scope constructs.Construct, id *string, ...)
- type BlockstorageVolumeV2
- type BlockstorageVolumeV2Attachment
- type BlockstorageVolumeV2AttachmentList
- type BlockstorageVolumeV2AttachmentOutputReference
- type BlockstorageVolumeV2Config
- type BlockstorageVolumeV2Timeouts
- type BlockstorageVolumeV2TimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockstorageVolumeV2_IsConstruct ¶
func BlockstorageVolumeV2_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 BlockstorageVolumeV2_IsTerraformElement ¶
func BlockstorageVolumeV2_IsTerraformElement(x interface{}) *bool
Experimental.
func BlockstorageVolumeV2_IsTerraformResource ¶
func BlockstorageVolumeV2_IsTerraformResource(x interface{}) *bool
Experimental.
func BlockstorageVolumeV2_TfResourceType ¶
func BlockstorageVolumeV2_TfResourceType() *string
func NewBlockstorageVolumeV2AttachmentList_Override ¶
func NewBlockstorageVolumeV2AttachmentList_Override(b BlockstorageVolumeV2AttachmentList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewBlockstorageVolumeV2AttachmentOutputReference_Override ¶
func NewBlockstorageVolumeV2AttachmentOutputReference_Override(b BlockstorageVolumeV2AttachmentOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewBlockstorageVolumeV2TimeoutsOutputReference_Override ¶
func NewBlockstorageVolumeV2TimeoutsOutputReference_Override(b BlockstorageVolumeV2TimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBlockstorageVolumeV2_Override ¶
func NewBlockstorageVolumeV2_Override(b BlockstorageVolumeV2, scope constructs.Construct, id *string, config *BlockstorageVolumeV2Config)
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2 opentelekomcloud_blockstorage_volume_v2} Resource.
Types ¶
type BlockstorageVolumeV2 ¶
type BlockstorageVolumeV2 interface { cdktf.TerraformResource Attachment() BlockstorageVolumeV2AttachmentList AvailabilityZone() *string SetAvailabilityZone(val *string) AvailabilityZoneInput() *string Cascade() interface{} SetCascade(val interface{}) CascadeInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) ConsistencyGroupId() *string SetConsistencyGroupId(val *string) ConsistencyGroupIdInput() *string // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DeviceType() *string SetDeviceType(val *string) DeviceTypeInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string ImageId() *string SetImageId(val *string) ImageIdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Metadata() *map[string]*string SetMetadata(val *map[string]*string) MetadataInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string Size() *float64 SetSize(val *float64) SizeInput() *float64 SnapshotId() *string SetSnapshotId(val *string) SnapshotIdInput() *string SourceReplica() *string SetSourceReplica(val *string) SourceReplicaInput() *string SourceVolId() *string SetSourceVolId(val *string) SourceVolIdInput() *string Tags() *map[string]*string SetTags(val *map[string]*string) TagsInput() *map[string]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() BlockstorageVolumeV2TimeoutsOutputReference TimeoutsInput() interface{} VolumeType() *string SetVolumeType(val *string) VolumeTypeInput() *string Wwn() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutTimeouts(value *BlockstorageVolumeV2Timeouts) ResetAvailabilityZone() ResetCascade() ResetConsistencyGroupId() ResetDescription() ResetDeviceType() ResetId() ResetImageId() ResetMetadata() ResetName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRegion() ResetSnapshotId() ResetSourceReplica() ResetSourceVolId() ResetTags() ResetTimeouts() ResetVolumeType() 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://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2 opentelekomcloud_blockstorage_volume_v2}.
func NewBlockstorageVolumeV2 ¶
func NewBlockstorageVolumeV2(scope constructs.Construct, id *string, config *BlockstorageVolumeV2Config) BlockstorageVolumeV2
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2 opentelekomcloud_blockstorage_volume_v2} Resource.
type BlockstorageVolumeV2Attachment ¶
type BlockstorageVolumeV2Attachment struct { }
type BlockstorageVolumeV2AttachmentList ¶
type BlockstorageVolumeV2AttachmentList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) BlockstorageVolumeV2AttachmentOutputReference // 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 NewBlockstorageVolumeV2AttachmentList ¶
func NewBlockstorageVolumeV2AttachmentList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) BlockstorageVolumeV2AttachmentList
type BlockstorageVolumeV2AttachmentOutputReference ¶
type BlockstorageVolumeV2AttachmentOutputReference 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 Device() *string // Experimental. Fqn() *string Id() *string InstanceId() *string InternalValue() *BlockstorageVolumeV2Attachment SetInternalValue(val *BlockstorageVolumeV2Attachment) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewBlockstorageVolumeV2AttachmentOutputReference ¶
func NewBlockstorageVolumeV2AttachmentOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) BlockstorageVolumeV2AttachmentOutputReference
type BlockstorageVolumeV2Config ¶
type BlockstorageVolumeV2Config 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/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#size BlockstorageVolumeV2#size}. Size *float64 `field:"required" json:"size" yaml:"size"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#availability_zone BlockstorageVolumeV2#availability_zone}. AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#cascade BlockstorageVolumeV2#cascade}. Cascade interface{} `field:"optional" json:"cascade" yaml:"cascade"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#consistency_group_id BlockstorageVolumeV2#consistency_group_id}. ConsistencyGroupId *string `field:"optional" json:"consistencyGroupId" yaml:"consistencyGroupId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#description BlockstorageVolumeV2#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#device_type BlockstorageVolumeV2#device_type}. DeviceType *string `field:"optional" json:"deviceType" yaml:"deviceType"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#id BlockstorageVolumeV2#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/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#image_id BlockstorageVolumeV2#image_id}. ImageId *string `field:"optional" json:"imageId" yaml:"imageId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#metadata BlockstorageVolumeV2#metadata}. Metadata *map[string]*string `field:"optional" json:"metadata" yaml:"metadata"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#name BlockstorageVolumeV2#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#region BlockstorageVolumeV2#region}. Region *string `field:"optional" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#snapshot_id BlockstorageVolumeV2#snapshot_id}. SnapshotId *string `field:"optional" json:"snapshotId" yaml:"snapshotId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#source_replica BlockstorageVolumeV2#source_replica}. SourceReplica *string `field:"optional" json:"sourceReplica" yaml:"sourceReplica"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#source_vol_id BlockstorageVolumeV2#source_vol_id}. SourceVolId *string `field:"optional" json:"sourceVolId" yaml:"sourceVolId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#tags BlockstorageVolumeV2#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#timeouts BlockstorageVolumeV2#timeouts} Timeouts *BlockstorageVolumeV2Timeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#volume_type BlockstorageVolumeV2#volume_type}. VolumeType *string `field:"optional" json:"volumeType" yaml:"volumeType"` }
type BlockstorageVolumeV2Timeouts ¶
type BlockstorageVolumeV2Timeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#create BlockstorageVolumeV2#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/blockstorage_volume_v2#delete BlockstorageVolumeV2#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` }
type BlockstorageVolumeV2TimeoutsOutputReference ¶
type BlockstorageVolumeV2TimeoutsOutputReference 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 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) // 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() ResetDelete() // 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 NewBlockstorageVolumeV2TimeoutsOutputReference ¶
func NewBlockstorageVolumeV2TimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BlockstorageVolumeV2TimeoutsOutputReference
Source Files ¶
- BlockstorageVolumeV2.go
- BlockstorageVolumeV2Attachment.go
- BlockstorageVolumeV2AttachmentList.go
- BlockstorageVolumeV2AttachmentList__checks.go
- BlockstorageVolumeV2AttachmentOutputReference.go
- BlockstorageVolumeV2AttachmentOutputReference__checks.go
- BlockstorageVolumeV2Config.go
- BlockstorageVolumeV2Timeouts.go
- BlockstorageVolumeV2TimeoutsOutputReference.go
- BlockstorageVolumeV2TimeoutsOutputReference__checks.go
- BlockstorageVolumeV2__checks.go
- main.go