Documentation ¶
Index ¶
- type Args
- type GalleryImageReference
- type GalleryImageReferenceAttributes
- func (gir GalleryImageReferenceAttributes) InternalRef() (terra.Reference, error)
- func (gir GalleryImageReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gir GalleryImageReferenceAttributes) InternalWithRef(ref terra.Reference) GalleryImageReferenceAttributes
- func (gir GalleryImageReferenceAttributes) Offer() terra.StringValue
- func (gir GalleryImageReferenceAttributes) Publisher() terra.StringValue
- func (gir GalleryImageReferenceAttributes) Sku() terra.StringValue
- func (gir GalleryImageReferenceAttributes) Version() terra.StringValue
- type GalleryImageReferenceState
- type InboundNatRule
- type InboundNatRuleAttributes
- func (inr InboundNatRuleAttributes) BackendPort() terra.NumberValue
- func (inr InboundNatRuleAttributes) FrontendPort() terra.NumberValue
- func (inr InboundNatRuleAttributes) InternalRef() (terra.Reference, error)
- func (inr InboundNatRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (inr InboundNatRuleAttributes) InternalWithRef(ref terra.Reference) InboundNatRuleAttributes
- func (inr InboundNatRuleAttributes) Protocol() terra.StringValue
- type InboundNatRuleState
- type Resource
- func (adtlvm *Resource) Attributes() azurermDevTestLinuxVirtualMachineAttributes
- func (adtlvm *Resource) Configuration() interface{}
- func (adtlvm *Resource) DependOn() terra.Reference
- func (adtlvm *Resource) Dependencies() terra.Dependencies
- func (adtlvm *Resource) ImportState(state io.Reader) error
- func (adtlvm *Resource) LifecycleManagement() *terra.Lifecycle
- func (adtlvm *Resource) LocalName() string
- func (adtlvm *Resource) State() (*azurermDevTestLinuxVirtualMachineState, bool)
- func (adtlvm *Resource) StateMust() *azurermDevTestLinuxVirtualMachineState
- func (adtlvm *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AllowClaim: bool, optional AllowClaim terra.BoolValue `hcl:"allow_claim,attr"` // DisallowPublicIpAddress: bool, optional DisallowPublicIpAddress terra.BoolValue `hcl:"disallow_public_ip_address,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LabName: string, required LabName terra.StringValue `hcl:"lab_name,attr" validate:"required"` // LabSubnetName: string, required LabSubnetName terra.StringValue `hcl:"lab_subnet_name,attr" validate:"required"` // LabVirtualNetworkId: string, required LabVirtualNetworkId terra.StringValue `hcl:"lab_virtual_network_id,attr" validate:"required"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Notes: string, optional Notes terra.StringValue `hcl:"notes,attr"` // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Size: string, required Size terra.StringValue `hcl:"size,attr" validate:"required"` // SshKey: string, optional SshKey terra.StringValue `hcl:"ssh_key,attr"` // StorageType: string, required StorageType terra.StringValue `hcl:"storage_type,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Username: string, required Username terra.StringValue `hcl:"username,attr" validate:"required"` // GalleryImageReference: required GalleryImageReference *GalleryImageReference `hcl:"gallery_image_reference,block" validate:"required"` // InboundNatRule: min=0 InboundNatRule []InboundNatRule `hcl:"inbound_nat_rule,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_dev_test_linux_virtual_machine.
type GalleryImageReference ¶
type GalleryImageReference struct { // Offer: string, required Offer terra.StringValue `hcl:"offer,attr" validate:"required"` // Publisher: string, required Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"` // Sku: string, required Sku terra.StringValue `hcl:"sku,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type GalleryImageReferenceAttributes ¶
type GalleryImageReferenceAttributes struct {
// contains filtered or unexported fields
}
func (GalleryImageReferenceAttributes) InternalRef ¶
func (gir GalleryImageReferenceAttributes) InternalRef() (terra.Reference, error)
func (GalleryImageReferenceAttributes) InternalTokens ¶
func (gir GalleryImageReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GalleryImageReferenceAttributes) InternalWithRef ¶
func (gir GalleryImageReferenceAttributes) InternalWithRef(ref terra.Reference) GalleryImageReferenceAttributes
func (GalleryImageReferenceAttributes) Offer ¶
func (gir GalleryImageReferenceAttributes) Offer() terra.StringValue
func (GalleryImageReferenceAttributes) Publisher ¶
func (gir GalleryImageReferenceAttributes) Publisher() terra.StringValue
func (GalleryImageReferenceAttributes) Sku ¶
func (gir GalleryImageReferenceAttributes) Sku() terra.StringValue
func (GalleryImageReferenceAttributes) Version ¶
func (gir GalleryImageReferenceAttributes) Version() terra.StringValue
type InboundNatRule ¶
type InboundNatRule struct { // BackendPort: number, required BackendPort terra.NumberValue `hcl:"backend_port,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` }
type InboundNatRuleAttributes ¶
type InboundNatRuleAttributes struct {
// contains filtered or unexported fields
}
func (InboundNatRuleAttributes) BackendPort ¶
func (inr InboundNatRuleAttributes) BackendPort() terra.NumberValue
func (InboundNatRuleAttributes) FrontendPort ¶
func (inr InboundNatRuleAttributes) FrontendPort() terra.NumberValue
func (InboundNatRuleAttributes) InternalRef ¶
func (inr InboundNatRuleAttributes) InternalRef() (terra.Reference, error)
func (InboundNatRuleAttributes) InternalTokens ¶
func (inr InboundNatRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InboundNatRuleAttributes) InternalWithRef ¶
func (inr InboundNatRuleAttributes) InternalWithRef(ref terra.Reference) InboundNatRuleAttributes
func (InboundNatRuleAttributes) Protocol ¶
func (inr InboundNatRuleAttributes) Protocol() terra.StringValue
type InboundNatRuleState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_dev_test_linux_virtual_machine.
func (*Resource) Attributes ¶
func (adtlvm *Resource) Attributes() azurermDevTestLinuxVirtualMachineAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adtlvm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adtlvm *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.