compute

package
v0.75.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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 {
	Disks           []Disk
	Networks        []Network
	SSLPolicies     []SSLPolicy
	ProjectMetadata ProjectMetadata
	Instances       []Instance
}

type Disk

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

type DiskEncryption

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

type EgressRule

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

type Firewall

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

type FirewallRule

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

type IngressRule

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

type Instance

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

type Network

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

type NetworkInterface

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

type ProjectMetadata

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

type SSLPolicy

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

type ServiceAccount

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

type ShieldedVMConfig

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

type SubNetwork

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

Jump to

Keyboard shortcuts

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