azurestack_resources

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"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// RequiredTags: map of string, optional
	RequiredTags terra.MapValue[terra.StringValue] `hcl:"required_tags,attr"`
	// ResourceGroupName: string, optional
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurestack_resources.

type DataResourcesAttributes

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

func (DataResourcesAttributes) Id

func (DataResourcesAttributes) InternalRef

func (r DataResourcesAttributes) InternalRef() (terra.Reference, error)

func (DataResourcesAttributes) InternalTokens

func (r DataResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataResourcesAttributes) InternalWithRef

func (DataResourcesAttributes) Location

func (DataResourcesAttributes) Name

func (DataResourcesAttributes) Tags

func (DataResourcesAttributes) Type

type DataResourcesState

type DataResourcesState struct {
	Id       string            `json:"id"`
	Location string            `json:"location"`
	Name     string            `json:"name"`
	Tags     map[string]string `json:"tags"`
	Type     string            `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurestack_resources.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (ar *DataSource) Attributes() dataAzurestackResourcesAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (ar *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

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