Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataTargetRegionAttributes
- func (tr DataTargetRegionAttributes) InternalRef() (terra.Reference, error)
- func (tr DataTargetRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr DataTargetRegionAttributes) InternalWithRef(ref terra.Reference) DataTargetRegionAttributes
- func (tr DataTargetRegionAttributes) Name() terra.StringValue
- func (tr DataTargetRegionAttributes) RegionalReplicaCount() terra.NumberValue
- func (tr DataTargetRegionAttributes) StorageAccountType() terra.StringValue
- type DataTargetRegionState
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (asiv *Resource) Attributes() azurermSharedImageVersionAttributes
- func (asiv *Resource) Configuration() interface{}
- func (asiv *Resource) DependOn() terra.Reference
- func (asiv *Resource) Dependencies() terra.Dependencies
- func (asiv *Resource) ImportState(state io.Reader) error
- func (asiv *Resource) LifecycleManagement() *terra.Lifecycle
- func (asiv *Resource) LocalName() string
- func (asiv *Resource) State() (*azurermSharedImageVersionState, bool)
- func (asiv *Resource) StateMust() *azurermSharedImageVersionState
- func (asiv *Resource) Type() string
- type TargetRegion
- type TargetRegionAttributes
- func (tr TargetRegionAttributes) DiskEncryptionSetId() terra.StringValue
- func (tr TargetRegionAttributes) ExcludeFromLatestEnabled() terra.BoolValue
- func (tr TargetRegionAttributes) InternalRef() (terra.Reference, error)
- func (tr TargetRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr TargetRegionAttributes) InternalWithRef(ref terra.Reference) TargetRegionAttributes
- func (tr TargetRegionAttributes) Name() terra.StringValue
- func (tr TargetRegionAttributes) RegionalReplicaCount() terra.NumberValue
- func (tr TargetRegionAttributes) StorageAccountType() terra.StringValue
- type TargetRegionState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BlobUri: string, optional BlobUri terra.StringValue `hcl:"blob_uri,attr"` // DeletionOfReplicatedLocationsEnabled: bool, optional DeletionOfReplicatedLocationsEnabled terra.BoolValue `hcl:"deletion_of_replicated_locations_enabled,attr"` // EndOfLifeDate: string, optional EndOfLifeDate terra.StringValue `hcl:"end_of_life_date,attr"` // ExcludeFromLatest: bool, optional ExcludeFromLatest terra.BoolValue `hcl:"exclude_from_latest,attr"` // 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"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // ManagedImageId: string, optional ManagedImageId terra.StringValue `hcl:"managed_image_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OsDiskSnapshotId: string, optional OsDiskSnapshotId terra.StringValue `hcl:"os_disk_snapshot_id,attr"` // ReplicationMode: string, optional ReplicationMode terra.StringValue `hcl:"replication_mode,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // StorageAccountId: string, optional StorageAccountId terra.StringValue `hcl:"storage_account_id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TargetRegion: min=1 TargetRegion []TargetRegion `hcl:"target_region,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_shared_image_version.
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"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // SortVersionsBySemver: bool, optional SortVersionsBySemver terra.BoolValue `hcl:"sort_versions_by_semver,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_shared_image_version.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_shared_image_version.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asiv *DataSource) Attributes() dataAzurermSharedImageVersionAttributes
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 DataTargetRegionAttributes ¶
type DataTargetRegionAttributes struct {
// contains filtered or unexported fields
}
func (DataTargetRegionAttributes) InternalRef ¶
func (tr DataTargetRegionAttributes) InternalRef() (terra.Reference, error)
func (DataTargetRegionAttributes) InternalTokens ¶
func (tr DataTargetRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTargetRegionAttributes) InternalWithRef ¶
func (tr DataTargetRegionAttributes) InternalWithRef(ref terra.Reference) DataTargetRegionAttributes
func (DataTargetRegionAttributes) Name ¶
func (tr DataTargetRegionAttributes) Name() terra.StringValue
func (DataTargetRegionAttributes) RegionalReplicaCount ¶
func (tr DataTargetRegionAttributes) RegionalReplicaCount() terra.NumberValue
func (DataTargetRegionAttributes) StorageAccountType ¶
func (tr DataTargetRegionAttributes) StorageAccountType() terra.StringValue
type DataTargetRegionState ¶
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 (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_shared_image_version.
func (*Resource) Attributes ¶
func (asiv *Resource) Attributes() azurermSharedImageVersionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asiv *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asiv *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type TargetRegion ¶
type TargetRegion struct { // DiskEncryptionSetId: string, optional DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"` // ExcludeFromLatestEnabled: bool, optional ExcludeFromLatestEnabled terra.BoolValue `hcl:"exclude_from_latest_enabled,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RegionalReplicaCount: number, required RegionalReplicaCount terra.NumberValue `hcl:"regional_replica_count,attr" validate:"required"` // StorageAccountType: string, optional StorageAccountType terra.StringValue `hcl:"storage_account_type,attr"` }
type TargetRegionAttributes ¶
type TargetRegionAttributes struct {
// contains filtered or unexported fields
}
func (TargetRegionAttributes) DiskEncryptionSetId ¶
func (tr TargetRegionAttributes) DiskEncryptionSetId() terra.StringValue
func (TargetRegionAttributes) ExcludeFromLatestEnabled ¶
func (tr TargetRegionAttributes) ExcludeFromLatestEnabled() terra.BoolValue
func (TargetRegionAttributes) InternalRef ¶
func (tr TargetRegionAttributes) InternalRef() (terra.Reference, error)
func (TargetRegionAttributes) InternalTokens ¶
func (tr TargetRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetRegionAttributes) InternalWithRef ¶
func (tr TargetRegionAttributes) InternalWithRef(ref terra.Reference) TargetRegionAttributes
func (TargetRegionAttributes) Name ¶
func (tr TargetRegionAttributes) Name() terra.StringValue
func (TargetRegionAttributes) RegionalReplicaCount ¶
func (tr TargetRegionAttributes) RegionalReplicaCount() terra.NumberValue
func (TargetRegionAttributes) StorageAccountType ¶
func (tr TargetRegionAttributes) StorageAccountType() terra.StringValue
type TargetRegionState ¶
type TargetRegionState struct { DiskEncryptionSetId string `json:"disk_encryption_set_id"` ExcludeFromLatestEnabled bool `json:"exclude_from_latest_enabled"` Name string `json:"name"` RegionalReplicaCount float64 `json:"regional_replica_count"` StorageAccountType string `json:"storage_account_type"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue