azurerm_shared_image_versions

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 {
	// GalleryName: string, required
	GalleryName terra.StringValue `hcl:"gallery_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ImageName: string, required
	ImageName terra.StringValue `hcl:"image_name,attr" validate:"required"`
	// 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_shared_image_versions.

type DataImagesAttributes

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

func (DataImagesAttributes) ExcludeFromLatest

func (i DataImagesAttributes) ExcludeFromLatest() terra.BoolValue

func (DataImagesAttributes) Id

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) ManagedImageId

func (i DataImagesAttributes) ManagedImageId() terra.StringValue

func (DataImagesAttributes) Name

func (DataImagesAttributes) Tags

func (DataImagesAttributes) TargetRegion

type DataImagesState

type DataImagesState struct {
	ExcludeFromLatest bool                          `json:"exclude_from_latest"`
	Id                string                        `json:"id"`
	Location          string                        `json:"location"`
	ManagedImageId    string                        `json:"managed_image_id"`
	Name              string                        `json:"name"`
	Tags              map[string]string             `json:"tags"`
	TargetRegion      []DataImagesTargetRegionState `json:"target_region"`
}

type DataImagesTargetRegionAttributes

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

func (DataImagesTargetRegionAttributes) InternalRef

func (DataImagesTargetRegionAttributes) InternalTokens

func (tr DataImagesTargetRegionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataImagesTargetRegionAttributes) InternalWithRef

func (DataImagesTargetRegionAttributes) Name

func (DataImagesTargetRegionAttributes) RegionalReplicaCount

func (tr DataImagesTargetRegionAttributes) RegionalReplicaCount() terra.NumberValue

func (DataImagesTargetRegionAttributes) StorageAccountType

func (tr DataImagesTargetRegionAttributes) StorageAccountType() terra.StringValue

type DataImagesTargetRegionState

type DataImagesTargetRegionState struct {
	Name                 string  `json:"name"`
	RegionalReplicaCount float64 `json:"regional_replica_count"`
	StorageAccountType   string  `json:"storage_account_type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_shared_image_versions.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (asiv *DataSource) Attributes() dataAzurermSharedImageVersionsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (asiv *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (asiv *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