Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "exoscale_compute_instance" NameList = "exoscale_compute_instance_list" AttrAntiAffinityGroupIDs = "anti_affinity_group_ids" AttrBlockStorageVolumeIDs = "block_storage_volume_ids" AttrCreatedAt = "created_at" AttrDeployTargetID = "deploy_target_id" AttrDestroyProtected = "destroy_protected" AttrDiskSize = "disk_size" AttrElasticIPIDs = "elastic_ip_ids" AttrID = "id" AttrIPv6 = "ipv6" AttrIPv6Address = "ipv6_address" AttrMACAddress = "mac_address" AttrLabels = "labels" AttrManagerID = "manager_id" AttrManagerType = "manager_type" AttrName = "name" AttrNetworkInterface = "network_interface" AttrPrivateNetworkIDs = "private_network_ids" AttrPublicIPAddress = "public_ip_address" AttrPrivate = "private" AttrReverseDNS = "reverse_dns" AttrSSHKey = "ssh_key" AttrSecurityGroupIDs = "security_group_ids" AttrState = "state" AttrTemplateID = "template_id" AttrType = "type" AttrUserData = "user_data" AttrZone = "zone" )
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶
func DataSourceList ¶
func DataSourceSchema ¶
DataSourceSchema returns a schema for a single Compute instance data source.
Types ¶
type NetworkInterface ¶
type NetworkInterface struct { NetworkID string `json:"network_id"` IPAddress *string `json:"ip_address"` MacAddress string `json:"mac_address"` }
func NewNetworkInterface ¶
func NewNetworkInterface(raw interface{}) (*NetworkInterface, error)
func (NetworkInterface) ToInterface ¶
func (n NetworkInterface) ToInterface() (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.