Documentation ¶
Index ¶
- func DataAzurermVirtualMachine_IsConstruct(x interface{}) *bool
- func DataAzurermVirtualMachine_IsTerraformDataSource(x interface{}) *bool
- func DataAzurermVirtualMachine_IsTerraformElement(x interface{}) *bool
- func DataAzurermVirtualMachine_TfResourceType() *string
- func NewDataAzurermVirtualMachineIdentityList_Override(d DataAzurermVirtualMachineIdentityList, ...)
- func NewDataAzurermVirtualMachineIdentityOutputReference_Override(d DataAzurermVirtualMachineIdentityOutputReference, ...)
- func NewDataAzurermVirtualMachineTimeoutsOutputReference_Override(d DataAzurermVirtualMachineTimeoutsOutputReference, ...)
- func NewDataAzurermVirtualMachine_Override(d DataAzurermVirtualMachine, scope constructs.Construct, id *string, ...)
- type DataAzurermVirtualMachine
- type DataAzurermVirtualMachineConfig
- type DataAzurermVirtualMachineIdentity
- type DataAzurermVirtualMachineIdentityList
- type DataAzurermVirtualMachineIdentityOutputReference
- type DataAzurermVirtualMachineTimeouts
- type DataAzurermVirtualMachineTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataAzurermVirtualMachine_IsConstruct ¶
func DataAzurermVirtualMachine_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 DataAzurermVirtualMachine_IsTerraformDataSource ¶
func DataAzurermVirtualMachine_IsTerraformDataSource(x interface{}) *bool
Experimental.
func DataAzurermVirtualMachine_IsTerraformElement ¶
func DataAzurermVirtualMachine_IsTerraformElement(x interface{}) *bool
Experimental.
func DataAzurermVirtualMachine_TfResourceType ¶
func DataAzurermVirtualMachine_TfResourceType() *string
func NewDataAzurermVirtualMachineIdentityList_Override ¶
func NewDataAzurermVirtualMachineIdentityList_Override(d DataAzurermVirtualMachineIdentityList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDataAzurermVirtualMachineIdentityOutputReference_Override ¶
func NewDataAzurermVirtualMachineIdentityOutputReference_Override(d DataAzurermVirtualMachineIdentityOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDataAzurermVirtualMachineTimeoutsOutputReference_Override ¶
func NewDataAzurermVirtualMachineTimeoutsOutputReference_Override(d DataAzurermVirtualMachineTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDataAzurermVirtualMachine_Override ¶
func NewDataAzurermVirtualMachine_Override(d DataAzurermVirtualMachine, scope constructs.Construct, id *string, config *DataAzurermVirtualMachineConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine azurerm_virtual_machine} Data Source.
Types ¶
type DataAzurermVirtualMachine ¶
type DataAzurermVirtualMachine interface { cdktf.TerraformDataSource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) Identity() DataAzurermVirtualMachineIdentityList IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PowerState() *string PrivateIpAddress() *string PrivateIpAddresses() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) PublicIpAddress() *string PublicIpAddresses() *[]*string // Experimental. RawOverrides() interface{} ResourceGroupName() *string SetResourceGroupName(val *string) ResourceGroupNameInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() DataAzurermVirtualMachineTimeoutsOutputReference TimeoutsInput() interface{} // 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 *DataAzurermVirtualMachineTimeouts) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTimeouts() 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/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine azurerm_virtual_machine}.
func NewDataAzurermVirtualMachine ¶
func NewDataAzurermVirtualMachine(scope constructs.Construct, id *string, config *DataAzurermVirtualMachineConfig) DataAzurermVirtualMachine
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine azurerm_virtual_machine} Data Source.
type DataAzurermVirtualMachineConfig ¶
type DataAzurermVirtualMachineConfig 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/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine#name DataAzurermVirtualMachine#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine#resource_group_name DataAzurermVirtualMachine#resource_group_name}. ResourceGroupName *string `field:"required" json:"resourceGroupName" yaml:"resourceGroupName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine#id DataAzurermVirtualMachine#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"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine#timeouts DataAzurermVirtualMachine#timeouts} Timeouts *DataAzurermVirtualMachineTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type DataAzurermVirtualMachineIdentity ¶
type DataAzurermVirtualMachineIdentity struct { }
type DataAzurermVirtualMachineIdentityList ¶
type DataAzurermVirtualMachineIdentityList 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) DataAzurermVirtualMachineIdentityOutputReference // 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 NewDataAzurermVirtualMachineIdentityList ¶
func NewDataAzurermVirtualMachineIdentityList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataAzurermVirtualMachineIdentityList
type DataAzurermVirtualMachineIdentityOutputReference ¶
type DataAzurermVirtualMachineIdentityOutputReference 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 IdentityIds() *[]*string InternalValue() *DataAzurermVirtualMachineIdentity SetInternalValue(val *DataAzurermVirtualMachineIdentity) PrincipalId() *string TenantId() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *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 NewDataAzurermVirtualMachineIdentityOutputReference ¶
func NewDataAzurermVirtualMachineIdentityOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DataAzurermVirtualMachineIdentityOutputReference
type DataAzurermVirtualMachineTimeouts ¶
type DataAzurermVirtualMachineTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.61.0/docs/data-sources/virtual_machine#read DataAzurermVirtualMachine#read}. Read *string `field:"optional" json:"read" yaml:"read"` }
type DataAzurermVirtualMachineTimeoutsOutputReference ¶
type DataAzurermVirtualMachineTimeoutsOutputReference 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{}) Read() *string SetRead(val *string) ReadInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetRead() // 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 NewDataAzurermVirtualMachineTimeoutsOutputReference ¶
func NewDataAzurermVirtualMachineTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DataAzurermVirtualMachineTimeoutsOutputReference
Source Files ¶
- DataAzurermVirtualMachine.go
- DataAzurermVirtualMachineConfig.go
- DataAzurermVirtualMachineIdentity.go
- DataAzurermVirtualMachineIdentityList.go
- DataAzurermVirtualMachineIdentityList__checks.go
- DataAzurermVirtualMachineIdentityOutputReference.go
- DataAzurermVirtualMachineIdentityOutputReference__checks.go
- DataAzurermVirtualMachineTimeouts.go
- DataAzurermVirtualMachineTimeoutsOutputReference.go
- DataAzurermVirtualMachineTimeoutsOutputReference__checks.go
- DataAzurermVirtualMachine__checks.go
- main.go