Documentation ¶
Index ¶
- type Args
- type ManageAction
- type ManageActionAttributes
- func (ma ManageActionAttributes) Install() terra.StringValue
- func (ma ManageActionAttributes) InternalRef() (terra.Reference, error)
- func (ma ManageActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ma ManageActionAttributes) InternalWithRef(ref terra.Reference) ManageActionAttributes
- func (ma ManageActionAttributes) Remove() terra.StringValue
- func (ma ManageActionAttributes) Update() terra.StringValue
- type ManageActionState
- type Resource
- func (agav *Resource) Attributes() azurermGalleryApplicationVersionAttributes
- func (agav *Resource) Configuration() interface{}
- func (agav *Resource) DependOn() terra.Reference
- func (agav *Resource) Dependencies() terra.Dependencies
- func (agav *Resource) ImportState(state io.Reader) error
- func (agav *Resource) LifecycleManagement() *terra.Lifecycle
- func (agav *Resource) LocalName() string
- func (agav *Resource) State() (*azurermGalleryApplicationVersionState, bool)
- func (agav *Resource) StateMust() *azurermGalleryApplicationVersionState
- func (agav *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) DefaultConfigurationLink() terra.StringValue
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) MediaLink() terra.StringValue
- type SourceState
- type TargetRegion
- type TargetRegionAttributes
- func (tr TargetRegionAttributes) ExcludeFromLatest() 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 { // ConfigFile: string, optional ConfigFile terra.StringValue `hcl:"config_file,attr"` // EnableHealthCheck: bool, optional EnableHealthCheck terra.BoolValue `hcl:"enable_health_check,attr"` // EndOfLifeDate: string, optional EndOfLifeDate terra.StringValue `hcl:"end_of_life_date,attr"` // ExcludeFromLatest: bool, optional ExcludeFromLatest terra.BoolValue `hcl:"exclude_from_latest,attr"` // GalleryApplicationId: string, required GalleryApplicationId terra.StringValue `hcl:"gallery_application_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PackageFile: string, optional PackageFile terra.StringValue `hcl:"package_file,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ManageAction: required ManageAction *ManageAction `hcl:"manage_action,block" validate:"required"` // Source: required Source *Source `hcl:"source,block" validate:"required"` // 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_gallery_application_version.
type ManageAction ¶
type ManageAction struct { // Install: string, required Install terra.StringValue `hcl:"install,attr" validate:"required"` // Remove: string, required Remove terra.StringValue `hcl:"remove,attr" validate:"required"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type ManageActionAttributes ¶
type ManageActionAttributes struct {
// contains filtered or unexported fields
}
func (ManageActionAttributes) Install ¶
func (ma ManageActionAttributes) Install() terra.StringValue
func (ManageActionAttributes) InternalRef ¶
func (ma ManageActionAttributes) InternalRef() (terra.Reference, error)
func (ManageActionAttributes) InternalTokens ¶
func (ma ManageActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManageActionAttributes) InternalWithRef ¶
func (ma ManageActionAttributes) InternalWithRef(ref terra.Reference) ManageActionAttributes
func (ManageActionAttributes) Remove ¶
func (ma ManageActionAttributes) Remove() terra.StringValue
func (ManageActionAttributes) Update ¶
func (ma ManageActionAttributes) Update() terra.StringValue
type ManageActionState ¶
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_gallery_application_version.
func (*Resource) Attributes ¶
func (agav *Resource) Attributes() azurermGalleryApplicationVersionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agav *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agav *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 Source ¶
type Source struct { // DefaultConfigurationLink: string, optional DefaultConfigurationLink terra.StringValue `hcl:"default_configuration_link,attr"` // MediaLink: string, required MediaLink terra.StringValue `hcl:"media_link,attr" validate:"required"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) DefaultConfigurationLink ¶
func (s SourceAttributes) DefaultConfigurationLink() terra.StringValue
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
func (SourceAttributes) MediaLink ¶
func (s SourceAttributes) MediaLink() terra.StringValue
type SourceState ¶
type TargetRegion ¶
type TargetRegion struct { // ExcludeFromLatest: bool, optional ExcludeFromLatest terra.BoolValue `hcl:"exclude_from_latest,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) ExcludeFromLatest ¶
func (tr TargetRegionAttributes) ExcludeFromLatest() 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 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
Click to show internal directories.
Click to hide internal directories.