Documentation ¶
Index ¶
- type Args
- type File
- type FileAttributes
- func (f FileAttributes) Content() terra.StringValue
- func (f FileAttributes) InternalRef() (terra.Reference, error)
- func (f FileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FileAttributes) InternalWithRef(ref terra.Reference) FileAttributes
- func (f FileAttributes) Name() terra.StringValue
- type FileState
- type Resource
- func (afaf *Resource) Attributes() azurermFunctionAppFunctionAttributes
- func (afaf *Resource) Configuration() interface{}
- func (afaf *Resource) DependOn() terra.Reference
- func (afaf *Resource) Dependencies() terra.Dependencies
- func (afaf *Resource) ImportState(state io.Reader) error
- func (afaf *Resource) LifecycleManagement() *terra.Lifecycle
- func (afaf *Resource) LocalName() string
- func (afaf *Resource) State() (*azurermFunctionAppFunctionState, bool)
- func (afaf *Resource) StateMust() *azurermFunctionAppFunctionState
- func (afaf *Resource) Type() string
- 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 { // ConfigJson: string, required ConfigJson terra.StringValue `hcl:"config_json,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // FunctionAppId: string, required FunctionAppId terra.StringValue `hcl:"function_app_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Language: string, optional Language terra.StringValue `hcl:"language,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // TestData: string, optional TestData terra.StringValue `hcl:"test_data,attr"` // File: min=0 File []File `hcl:"file,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_function_app_function.
type File ¶
type File struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type FileAttributes ¶
type FileAttributes struct {
// contains filtered or unexported fields
}
func (FileAttributes) Content ¶
func (f FileAttributes) Content() terra.StringValue
func (FileAttributes) InternalRef ¶
func (f FileAttributes) InternalRef() (terra.Reference, error)
func (FileAttributes) InternalTokens ¶
func (f FileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FileAttributes) InternalWithRef ¶
func (f FileAttributes) InternalWithRef(ref terra.Reference) FileAttributes
func (FileAttributes) Name ¶
func (f FileAttributes) Name() terra.StringValue
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_function_app_function.
func (*Resource) Attributes ¶
func (afaf *Resource) Attributes() azurermFunctionAppFunctionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (afaf *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (afaf *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 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.