Documentation
¶
Index ¶
Constants ¶
View Source
const AwsResourceName = "aws_network_interface"
View Source
const AzureResourceName = "azurerm_network_interface"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsNetworkInterface ¶
type AwsNetworkInterface struct {
*common.AwsResource `hcl:",squash" default:"name=aws_network_interface"`
SubnetId string `hcl:"subnet_id,expr"`
}
type AzureIpConfiguration ¶
type AzureIpConfiguration struct {
Name string `hcl:"name"`
PrivateIpAddressAllocation string `hcl:"private_ip_address_allocation"`
SubnetId string `hcl:"subnet_id,expr" hcle:"omitempty"`
PublicIpAddressId string `hcl:"public_ip_address_id,expr" hcle:"omitempty"`
Primary bool `hcl:"primary" hcle:"omitempty"`
}
type AzureNetworkInterface ¶
type AzureNetworkInterface struct {
*common.AzResource `hcl:",squash" default:"name=azurerm_network_interface"`
IpConfigurations []AzureIpConfiguration `hcl:"ip_configuration,blocks"`
}
Click to show internal directories.
Click to hide internal directories.