dataimages

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDisk

type DataDisk struct{}

type DataDiskAttributes

type DataDiskAttributes struct {
	// contains filtered or unexported fields
}

func (DataDiskAttributes) BlobUri

func (dd DataDiskAttributes) BlobUri() terra.StringValue

func (DataDiskAttributes) Caching

func (dd DataDiskAttributes) Caching() terra.StringValue

func (DataDiskAttributes) InternalRef

func (dd DataDiskAttributes) InternalRef() (terra.Reference, error)

func (DataDiskAttributes) InternalTokens

func (dd DataDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDiskAttributes) InternalWithRef

func (dd DataDiskAttributes) InternalWithRef(ref terra.Reference) DataDiskAttributes

func (DataDiskAttributes) Lun

func (DataDiskAttributes) ManagedDiskId

func (dd DataDiskAttributes) ManagedDiskId() terra.StringValue

func (DataDiskAttributes) SizeGb

func (dd DataDiskAttributes) SizeGb() terra.NumberValue

type DataDiskState

type DataDiskState struct {
	BlobUri       string  `json:"blob_uri"`
	Caching       string  `json:"caching"`
	Lun           float64 `json:"lun"`
	ManagedDiskId string  `json:"managed_disk_id"`
	SizeGb        float64 `json:"size_gb"`
}

type Images

type Images struct {
	// DataDisk: min=0
	DataDisk []DataDisk `hcl:"data_disk,block" validate:"min=0"`
	// OsDisk: min=0
	OsDisk []OsDisk `hcl:"os_disk,block" validate:"min=0"`
}

type ImagesAttributes

type ImagesAttributes struct {
	// contains filtered or unexported fields
}

func (ImagesAttributes) DataDisk

func (ImagesAttributes) InternalRef

func (i ImagesAttributes) InternalRef() (terra.Reference, error)

func (ImagesAttributes) InternalTokens

func (i ImagesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImagesAttributes) InternalWithRef

func (i ImagesAttributes) InternalWithRef(ref terra.Reference) ImagesAttributes

func (ImagesAttributes) Location

func (i ImagesAttributes) Location() terra.StringValue

func (ImagesAttributes) Name

func (ImagesAttributes) OsDisk

func (ImagesAttributes) Tags

func (ImagesAttributes) ZoneResilient

func (i ImagesAttributes) ZoneResilient() terra.BoolValue

type ImagesState

type ImagesState struct {
	Location      string            `json:"location"`
	Name          string            `json:"name"`
	Tags          map[string]string `json:"tags"`
	ZoneResilient bool              `json:"zone_resilient"`
	DataDisk      []DataDiskState   `json:"data_disk"`
	OsDisk        []OsDiskState     `json:"os_disk"`
}

type OsDisk

type OsDisk struct{}

type OsDiskAttributes

type OsDiskAttributes struct {
	// contains filtered or unexported fields
}

func (OsDiskAttributes) BlobUri

func (od OsDiskAttributes) BlobUri() terra.StringValue

func (OsDiskAttributes) Caching

func (od OsDiskAttributes) Caching() terra.StringValue

func (OsDiskAttributes) InternalRef

func (od OsDiskAttributes) InternalRef() (terra.Reference, error)

func (OsDiskAttributes) InternalTokens

func (od OsDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsDiskAttributes) InternalWithRef

func (od OsDiskAttributes) InternalWithRef(ref terra.Reference) OsDiskAttributes

func (OsDiskAttributes) ManagedDiskId

func (od OsDiskAttributes) ManagedDiskId() terra.StringValue

func (OsDiskAttributes) OsState

func (od OsDiskAttributes) OsState() terra.StringValue

func (OsDiskAttributes) OsType

func (od OsDiskAttributes) OsType() terra.StringValue

func (OsDiskAttributes) SizeGb

func (od OsDiskAttributes) SizeGb() terra.NumberValue

type OsDiskState

type OsDiskState struct {
	BlobUri       string  `json:"blob_uri"`
	Caching       string  `json:"caching"`
	ManagedDiskId string  `json:"managed_disk_id"`
	OsState       string  `json:"os_state"`
	OsType        string  `json:"os_type"`
	SizeGb        float64 `json:"size_gb"`
}

type Timeouts

type Timeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

type TimeoutsState

type TimeoutsState struct {
	Read string `json:"read"`
}

Jump to

Keyboard shortcuts

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