Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfig ¶
type AccessConfig struct { NatIP string `json:"nat_ip,omitempty"` NetworkTier string `json:"network_tier,omitempty"` PublicPtrDomainName string `json:"public_ptr_domain_name ,omitempty"` }
AccessConfig provides IPs via which this instance can be accessed via the Internet
type ComputeInstance ¶
type ComputeInstance struct { Name string `json:"name"` MachineType string `json:"machine_type"` Zone string `json:"zone"` Disks []Disk `json:"disk,omitempty"` NetworkInterfaces []NetworkInterface `json:"network_interface"` Description string `json:"description,omitempty"` Labels map[string]string `json:"labels,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` Scheduling Scheduling `json:"scheduling,omitempty"` // ServiceAccounts is an array of at most one element ServiceAccounts []ServiceAccount `json:"service_account,omitempty"` Tags []string `json:"tags,omitempty"` }
ComputeInstance represents a Google Compute Engine Virtual Machine See https://www.terraform.io/docs/providers/google/r/compute_instance.html for the latest documentation. See https://github.com/terraform-providers/terraform-provider-google/blob/v0.1.1/website/docs/r/compute_instance.html.markdown for the version currently supported by the Orchestrator
type Disk ¶
type Disk struct { AutoDelete bool `json:"auto_delete,omitempty"` // InitializeParams is an array of at most one element Image string `json:"image,omitempty"` }
Disk represents a disk attached to the compute instance
type NetworkInterface ¶
type NetworkInterface struct { Network string `json:"network,omitempty"` Subnetwork string `json:"subnetwork,omitempty"` SubNetworkProject string `json:"subnetwork_project,omitempty"` Address string `json:"address,omitempty"` AccessConfigs []AccessConfig `json:"access_config,omitempty"` }
NetworkInterface represents a network to attach to the instance
type Scheduling ¶
type Scheduling struct {
Preemptible bool `json:"preemptible,omitempty"`
}
Scheduling strategy to use
type ServiceAccount ¶
type ServiceAccount struct { Email string `json:"email,omitempty"` Scopes []string `json:"scopes,omitempty"` }
ServiceAccount to attach to the instance
Click to show internal directories.
Click to hide internal directories.