Documentation ¶
Index ¶
- type Args
- type GithubActionConfiguration
- type GithubActionConfigurationAttributes
- func (gac GithubActionConfigurationAttributes) CodeConfiguration() terra.ListValue[GithubActionConfigurationCodeConfigurationAttributes]
- func (gac GithubActionConfigurationAttributes) ContainerConfiguration() terra.ListValue[GithubActionConfigurationContainerConfigurationAttributes]
- func (gac GithubActionConfigurationAttributes) GenerateWorkflowFile() terra.BoolValue
- func (gac GithubActionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (gac GithubActionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gac GithubActionConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationAttributes
- func (gac GithubActionConfigurationAttributes) LinuxAction() terra.BoolValue
- type GithubActionConfigurationCodeConfiguration
- type GithubActionConfigurationCodeConfigurationAttributes
- func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationCodeConfigurationAttributes
- func (cc GithubActionConfigurationCodeConfigurationAttributes) RuntimeStack() terra.StringValue
- func (cc GithubActionConfigurationCodeConfigurationAttributes) RuntimeVersion() terra.StringValue
- type GithubActionConfigurationCodeConfigurationState
- type GithubActionConfigurationContainerConfiguration
- type GithubActionConfigurationContainerConfigurationAttributes
- func (cc GithubActionConfigurationContainerConfigurationAttributes) ImageName() terra.StringValue
- func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationContainerConfigurationAttributes
- func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryPassword() terra.StringValue
- func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryUrl() terra.StringValue
- func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryUsername() terra.StringValue
- type GithubActionConfigurationContainerConfigurationState
- type GithubActionConfigurationState
- type Resource
- func (aassc *Resource) Attributes() azurermAppServiceSourceControlAttributes
- func (aassc *Resource) Configuration() interface{}
- func (aassc *Resource) DependOn() terra.Reference
- func (aassc *Resource) Dependencies() terra.Dependencies
- func (aassc *Resource) ImportState(state io.Reader) error
- func (aassc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aassc *Resource) LocalName() string
- func (aassc *Resource) State() (*azurermAppServiceSourceControlState, bool)
- func (aassc *Resource) StateMust() *azurermAppServiceSourceControlState
- func (aassc *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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AppId: string, required AppId terra.StringValue `hcl:"app_id,attr" validate:"required"` // Branch: string, optional Branch terra.StringValue `hcl:"branch,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // RepoUrl: string, optional RepoUrl terra.StringValue `hcl:"repo_url,attr"` // RollbackEnabled: bool, optional RollbackEnabled terra.BoolValue `hcl:"rollback_enabled,attr"` // UseLocalGit: bool, optional UseLocalGit terra.BoolValue `hcl:"use_local_git,attr"` // UseManualIntegration: bool, optional UseManualIntegration terra.BoolValue `hcl:"use_manual_integration,attr"` // UseMercurial: bool, optional UseMercurial terra.BoolValue `hcl:"use_mercurial,attr"` // GithubActionConfiguration: optional GithubActionConfiguration *GithubActionConfiguration `hcl:"github_action_configuration,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_app_service_source_control.
type GithubActionConfiguration ¶
type GithubActionConfiguration struct { // GenerateWorkflowFile: bool, optional GenerateWorkflowFile terra.BoolValue `hcl:"generate_workflow_file,attr"` // GithubActionConfigurationCodeConfiguration: optional CodeConfiguration *GithubActionConfigurationCodeConfiguration `hcl:"code_configuration,block"` // GithubActionConfigurationContainerConfiguration: optional ContainerConfiguration *GithubActionConfigurationContainerConfiguration `hcl:"container_configuration,block"` }
type GithubActionConfigurationAttributes ¶
type GithubActionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (GithubActionConfigurationAttributes) CodeConfiguration ¶
func (gac GithubActionConfigurationAttributes) CodeConfiguration() terra.ListValue[GithubActionConfigurationCodeConfigurationAttributes]
func (GithubActionConfigurationAttributes) ContainerConfiguration ¶
func (gac GithubActionConfigurationAttributes) ContainerConfiguration() terra.ListValue[GithubActionConfigurationContainerConfigurationAttributes]
func (GithubActionConfigurationAttributes) GenerateWorkflowFile ¶
func (gac GithubActionConfigurationAttributes) GenerateWorkflowFile() terra.BoolValue
func (GithubActionConfigurationAttributes) InternalRef ¶
func (gac GithubActionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (GithubActionConfigurationAttributes) InternalTokens ¶
func (gac GithubActionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GithubActionConfigurationAttributes) InternalWithRef ¶
func (gac GithubActionConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationAttributes
func (GithubActionConfigurationAttributes) LinuxAction ¶
func (gac GithubActionConfigurationAttributes) LinuxAction() terra.BoolValue
type GithubActionConfigurationCodeConfiguration ¶
type GithubActionConfigurationCodeConfiguration struct { // RuntimeStack: string, required RuntimeStack terra.StringValue `hcl:"runtime_stack,attr" validate:"required"` // RuntimeVersion: string, required RuntimeVersion terra.StringValue `hcl:"runtime_version,attr" validate:"required"` }
type GithubActionConfigurationCodeConfigurationAttributes ¶
type GithubActionConfigurationCodeConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (GithubActionConfigurationCodeConfigurationAttributes) InternalRef ¶
func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalRef() (terra.Reference, error)
func (GithubActionConfigurationCodeConfigurationAttributes) InternalTokens ¶
func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GithubActionConfigurationCodeConfigurationAttributes) InternalWithRef ¶
func (cc GithubActionConfigurationCodeConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationCodeConfigurationAttributes
func (GithubActionConfigurationCodeConfigurationAttributes) RuntimeStack ¶
func (cc GithubActionConfigurationCodeConfigurationAttributes) RuntimeStack() terra.StringValue
func (GithubActionConfigurationCodeConfigurationAttributes) RuntimeVersion ¶
func (cc GithubActionConfigurationCodeConfigurationAttributes) RuntimeVersion() terra.StringValue
type GithubActionConfigurationContainerConfiguration ¶
type GithubActionConfigurationContainerConfiguration struct { // ImageName: string, required ImageName terra.StringValue `hcl:"image_name,attr" validate:"required"` // RegistryPassword: string, optional RegistryPassword terra.StringValue `hcl:"registry_password,attr"` // RegistryUrl: string, required RegistryUrl terra.StringValue `hcl:"registry_url,attr" validate:"required"` // RegistryUsername: string, optional RegistryUsername terra.StringValue `hcl:"registry_username,attr"` }
type GithubActionConfigurationContainerConfigurationAttributes ¶
type GithubActionConfigurationContainerConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (GithubActionConfigurationContainerConfigurationAttributes) ImageName ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) ImageName() terra.StringValue
func (GithubActionConfigurationContainerConfigurationAttributes) InternalRef ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalRef() (terra.Reference, error)
func (GithubActionConfigurationContainerConfigurationAttributes) InternalTokens ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GithubActionConfigurationContainerConfigurationAttributes) InternalWithRef ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) InternalWithRef(ref terra.Reference) GithubActionConfigurationContainerConfigurationAttributes
func (GithubActionConfigurationContainerConfigurationAttributes) RegistryPassword ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryPassword() terra.StringValue
func (GithubActionConfigurationContainerConfigurationAttributes) RegistryUrl ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryUrl() terra.StringValue
func (GithubActionConfigurationContainerConfigurationAttributes) RegistryUsername ¶
func (cc GithubActionConfigurationContainerConfigurationAttributes) RegistryUsername() terra.StringValue
type GithubActionConfigurationState ¶
type GithubActionConfigurationState struct { GenerateWorkflowFile bool `json:"generate_workflow_file"` LinuxAction bool `json:"linux_action"` CodeConfiguration []GithubActionConfigurationCodeConfigurationState `json:"code_configuration"` ContainerConfiguration []GithubActionConfigurationContainerConfigurationState `json:"container_configuration"` }
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_app_service_source_control.
func (*Resource) Attributes ¶
func (aassc *Resource) Attributes() azurermAppServiceSourceControlAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aassc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aassc *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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.