azurerm_images

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 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 DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// TagsFilter: map of string, optional
	TagsFilter terra.MapValue[terra.StringValue] `hcl:"tags_filter,attr"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurerm_images.

type DataImagesAttributes

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

func (DataImagesAttributes) DataDisk

func (DataImagesAttributes) InternalRef

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

func (DataImagesAttributes) InternalTokens

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

func (DataImagesAttributes) InternalWithRef

func (DataImagesAttributes) Location

func (i DataImagesAttributes) Location() terra.StringValue

func (DataImagesAttributes) Name

func (DataImagesAttributes) OsDisk

func (DataImagesAttributes) Tags

func (DataImagesAttributes) ZoneResilient

func (i DataImagesAttributes) ZoneResilient() terra.BoolValue

type DataImagesDataDiskAttributes

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

func (DataImagesDataDiskAttributes) BlobUri

func (DataImagesDataDiskAttributes) Caching

func (DataImagesDataDiskAttributes) InternalRef

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

func (DataImagesDataDiskAttributes) InternalTokens

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

func (DataImagesDataDiskAttributes) InternalWithRef

func (DataImagesDataDiskAttributes) Lun

func (DataImagesDataDiskAttributes) ManagedDiskId

func (dd DataImagesDataDiskAttributes) ManagedDiskId() terra.StringValue

func (DataImagesDataDiskAttributes) SizeGb

type DataImagesDataDiskState

type DataImagesDataDiskState 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 DataImagesOsDiskAttributes

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

func (DataImagesOsDiskAttributes) BlobUri

func (DataImagesOsDiskAttributes) Caching

func (DataImagesOsDiskAttributes) DiskEncryptionSetId

func (od DataImagesOsDiskAttributes) DiskEncryptionSetId() terra.StringValue

func (DataImagesOsDiskAttributes) InternalRef

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

func (DataImagesOsDiskAttributes) InternalTokens

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

func (DataImagesOsDiskAttributes) InternalWithRef

func (DataImagesOsDiskAttributes) ManagedDiskId

func (od DataImagesOsDiskAttributes) ManagedDiskId() terra.StringValue

func (DataImagesOsDiskAttributes) OsState

func (DataImagesOsDiskAttributes) OsType

func (DataImagesOsDiskAttributes) SizeGb

type DataImagesOsDiskState

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

type DataImagesState

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

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_images.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (ai *DataSource) Attributes() dataAzurermImagesAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (ai *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (ai *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (ai *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

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

type DataTimeoutsAttributes

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

func (DataTimeoutsAttributes) InternalRef

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

func (DataTimeoutsAttributes) InternalTokens

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

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

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

Jump to

Keyboard shortcuts

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