compute

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compute

type Compute struct {
	types.Metadata
	Disks           []Disk
	Networks        []Network
	SSLPolicies     []SSLPolicy
	ProjectMetadata ProjectMetadata
	Instances       []Instance
}

type Disk

type Disk struct {
	types.Metadata
	Name       types.StringValue
	Encryption DiskEncryption
}

type DiskEncryption

type DiskEncryption struct {
	types.Metadata
	RawKey     types.BytesValue
	KMSKeyLink types.StringValue
}

type EgressRule

type EgressRule struct {
	types.Metadata
	FirewallRule
	DestinationRanges []types.StringValue
}

type Firewall

type Firewall struct {
	types.Metadata
	Name         types.StringValue
	IngressRules []IngressRule
	EgressRules  []EgressRule
}

type FirewallRule

type FirewallRule struct {
	types.Metadata
	Enforced types.BoolValue
	IsAllow  types.BoolValue
	Protocol types.StringValue
	Ports    []types.IntValue
}

type IngressRule

type IngressRule struct {
	types.Metadata
	FirewallRule
	SourceRanges []types.StringValue
}

type Instance

type Instance struct {
	types.Metadata
	Name                        types.StringValue
	NetworkInterfaces           []NetworkInterface
	ShieldedVM                  ShieldedVMConfig
	ServiceAccount              ServiceAccount
	CanIPForward                types.BoolValue
	OSLoginEnabled              types.BoolValue
	EnableProjectSSHKeyBlocking types.BoolValue
	EnableSerialPort            types.BoolValue
	BootDisks                   []Disk
	AttachedDisks               []Disk
}

type Network

type Network struct {
	types.Metadata
	Firewall    *Firewall
	Subnetworks []SubNetwork
}

type NetworkInterface

type NetworkInterface struct {
	types.Metadata
	Network     *Network
	SubNetwork  *SubNetwork
	HasPublicIP types.BoolValue
	NATIP       types.StringValue
}

type ProjectMetadata

type ProjectMetadata struct {
	types.Metadata
	EnableOSLogin types.BoolValue
}

type SSLPolicy

type SSLPolicy struct {
	types.Metadata
	Name              types.StringValue
	Profile           types.StringValue
	MinimumTLSVersion types.StringValue
}

type ServiceAccount

type ServiceAccount struct {
	types.Metadata
	Email  types.StringValue
	Scopes []types.StringValue
}

type ShieldedVMConfig

type ShieldedVMConfig struct {
	types.Metadata
	SecureBootEnabled          types.BoolValue
	IntegrityMonitoringEnabled types.BoolValue
	VTPMEnabled                types.BoolValue
}

type SubNetwork

type SubNetwork struct {
	types.Metadata
	Name           types.StringValue
	EnableFlowLogs types.BoolValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL