compute

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 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 {
	Disks           []Disk
	Networks        []Network
	SSLPolicies     []SSLPolicy
	ProjectMetadata ProjectMetadata
	Instances       []Instance
}

type Disk

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

type DiskEncryption

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

type EgressRule

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

type Firewall

type Firewall struct {
	Metadata     iacTypes.Metadata
	Name         iacTypes.StringValue
	IngressRules []IngressRule
	EgressRules  []EgressRule
	SourceTags   []iacTypes.StringValue
	TargetTags   []iacTypes.StringValue
}

type FirewallRule

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

type IngressRule

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

type Instance

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

type Network

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

type NetworkInterface

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

type ProjectMetadata

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

type SSLPolicy

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

type ServiceAccount

type ServiceAccount struct {
	Metadata  iacTypes.Metadata
	Email     iacTypes.StringValue
	IsDefault iacTypes.BoolValue
	Scopes    []iacTypes.StringValue
}

type ShieldedVMConfig

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

type SubNetwork

type SubNetwork struct {
	Metadata       iacTypes.Metadata
	Name           iacTypes.StringValue
	Purpose        iacTypes.StringValue
	EnableFlowLogs iacTypes.BoolValue
}

Jump to

Keyboard shortcuts

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