Documentation ¶
Index ¶
- type AgentSetting
- type AgentSettingAttributes
- type AgentSettingState
- type Args
- type BaseImageTrigger
- type BaseImageTriggerAttributes
- func (bit BaseImageTriggerAttributes) Enabled() terra.BoolValue
- func (bit BaseImageTriggerAttributes) InternalRef() (terra.Reference, error)
- func (bit BaseImageTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bit BaseImageTriggerAttributes) InternalWithRef(ref terra.Reference) BaseImageTriggerAttributes
- func (bit BaseImageTriggerAttributes) Name() terra.StringValue
- func (bit BaseImageTriggerAttributes) Type() terra.StringValue
- func (bit BaseImageTriggerAttributes) UpdateTriggerEndpoint() terra.StringValue
- func (bit BaseImageTriggerAttributes) UpdateTriggerPayloadType() terra.StringValue
- type BaseImageTriggerState
- type DockerStep
- type DockerStepAttributes
- func (ds DockerStepAttributes) Arguments() terra.MapValue[terra.StringValue]
- func (ds DockerStepAttributes) CacheEnabled() terra.BoolValue
- func (ds DockerStepAttributes) ContextAccessToken() terra.StringValue
- func (ds DockerStepAttributes) ContextPath() terra.StringValue
- func (ds DockerStepAttributes) DockerfilePath() terra.StringValue
- func (ds DockerStepAttributes) ImageNames() terra.ListValue[terra.StringValue]
- func (ds DockerStepAttributes) InternalRef() (terra.Reference, error)
- func (ds DockerStepAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds DockerStepAttributes) InternalWithRef(ref terra.Reference) DockerStepAttributes
- func (ds DockerStepAttributes) PushEnabled() terra.BoolValue
- func (ds DockerStepAttributes) SecretArguments() terra.MapValue[terra.StringValue]
- func (ds DockerStepAttributes) Target() terra.StringValue
- type DockerStepState
- type EncodedStep
- type EncodedStepAttributes
- func (es EncodedStepAttributes) ContextAccessToken() terra.StringValue
- func (es EncodedStepAttributes) ContextPath() terra.StringValue
- func (es EncodedStepAttributes) InternalRef() (terra.Reference, error)
- func (es EncodedStepAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es EncodedStepAttributes) InternalWithRef(ref terra.Reference) EncodedStepAttributes
- func (es EncodedStepAttributes) SecretValues() terra.MapValue[terra.StringValue]
- func (es EncodedStepAttributes) TaskContent() terra.StringValue
- func (es EncodedStepAttributes) ValueContent() terra.StringValue
- func (es EncodedStepAttributes) Values() terra.MapValue[terra.StringValue]
- type EncodedStepState
- type FileStep
- type FileStepAttributes
- func (fs FileStepAttributes) ContextAccessToken() terra.StringValue
- func (fs FileStepAttributes) ContextPath() terra.StringValue
- func (fs FileStepAttributes) InternalRef() (terra.Reference, error)
- func (fs FileStepAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fs FileStepAttributes) InternalWithRef(ref terra.Reference) FileStepAttributes
- func (fs FileStepAttributes) SecretValues() terra.MapValue[terra.StringValue]
- func (fs FileStepAttributes) TaskFilePath() terra.StringValue
- func (fs FileStepAttributes) ValueFilePath() terra.StringValue
- func (fs FileStepAttributes) Values() terra.MapValue[terra.StringValue]
- type FileStepState
- type Identity
- type IdentityAttributes
- func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
- func (i IdentityAttributes) InternalRef() (terra.Reference, error)
- func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
- func (i IdentityAttributes) PrincipalId() terra.StringValue
- func (i IdentityAttributes) TenantId() terra.StringValue
- func (i IdentityAttributes) Type() terra.StringValue
- type IdentityState
- type Platform
- type PlatformAttributes
- func (p PlatformAttributes) Architecture() terra.StringValue
- func (p PlatformAttributes) InternalRef() (terra.Reference, error)
- func (p PlatformAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PlatformAttributes) InternalWithRef(ref terra.Reference) PlatformAttributes
- func (p PlatformAttributes) Os() terra.StringValue
- func (p PlatformAttributes) Variant() terra.StringValue
- type PlatformState
- type RegistryCredential
- type RegistryCredentialAttributes
- func (rc RegistryCredentialAttributes) Custom() terra.SetValue[RegistryCredentialCustomAttributes]
- func (rc RegistryCredentialAttributes) InternalRef() (terra.Reference, error)
- func (rc RegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RegistryCredentialAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialAttributes
- func (rc RegistryCredentialAttributes) Source() terra.ListValue[RegistryCredentialSourceAttributes]
- type RegistryCredentialCustom
- type RegistryCredentialCustomAttributes
- func (c RegistryCredentialCustomAttributes) Identity() terra.StringValue
- func (c RegistryCredentialCustomAttributes) InternalRef() (terra.Reference, error)
- func (c RegistryCredentialCustomAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c RegistryCredentialCustomAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialCustomAttributes
- func (c RegistryCredentialCustomAttributes) LoginServer() terra.StringValue
- func (c RegistryCredentialCustomAttributes) Password() terra.StringValue
- func (c RegistryCredentialCustomAttributes) Username() terra.StringValue
- type RegistryCredentialCustomState
- type RegistryCredentialSource
- type RegistryCredentialSourceAttributes
- func (s RegistryCredentialSourceAttributes) InternalRef() (terra.Reference, error)
- func (s RegistryCredentialSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s RegistryCredentialSourceAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialSourceAttributes
- func (s RegistryCredentialSourceAttributes) LoginMode() terra.StringValue
- type RegistryCredentialSourceState
- type RegistryCredentialState
- type Resource
- func (acrt *Resource) Attributes() azurermContainerRegistryTaskAttributes
- func (acrt *Resource) Configuration() interface{}
- func (acrt *Resource) DependOn() terra.Reference
- func (acrt *Resource) Dependencies() terra.Dependencies
- func (acrt *Resource) ImportState(state io.Reader) error
- func (acrt *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrt *Resource) LocalName() string
- func (acrt *Resource) State() (*azurermContainerRegistryTaskState, bool)
- func (acrt *Resource) StateMust() *azurermContainerRegistryTaskState
- func (acrt *Resource) Type() string
- type SourceTrigger
- type SourceTriggerAttributes
- func (st SourceTriggerAttributes) Authentication() terra.ListValue[SourceTriggerAuthenticationAttributes]
- func (st SourceTriggerAttributes) Branch() terra.StringValue
- func (st SourceTriggerAttributes) Enabled() terra.BoolValue
- func (st SourceTriggerAttributes) Events() terra.ListValue[terra.StringValue]
- func (st SourceTriggerAttributes) InternalRef() (terra.Reference, error)
- func (st SourceTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st SourceTriggerAttributes) InternalWithRef(ref terra.Reference) SourceTriggerAttributes
- func (st SourceTriggerAttributes) Name() terra.StringValue
- func (st SourceTriggerAttributes) RepositoryUrl() terra.StringValue
- func (st SourceTriggerAttributes) SourceType() terra.StringValue
- type SourceTriggerAuthentication
- type SourceTriggerAuthenticationAttributes
- func (a SourceTriggerAuthenticationAttributes) ExpireInSeconds() terra.NumberValue
- func (a SourceTriggerAuthenticationAttributes) InternalRef() (terra.Reference, error)
- func (a SourceTriggerAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a SourceTriggerAuthenticationAttributes) InternalWithRef(ref terra.Reference) SourceTriggerAuthenticationAttributes
- func (a SourceTriggerAuthenticationAttributes) RefreshToken() terra.StringValue
- func (a SourceTriggerAuthenticationAttributes) Scope() terra.StringValue
- func (a SourceTriggerAuthenticationAttributes) Token() terra.StringValue
- func (a SourceTriggerAuthenticationAttributes) TokenType() terra.StringValue
- type SourceTriggerAuthenticationState
- type SourceTriggerState
- 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
- type TimerTrigger
- type TimerTriggerAttributes
- func (tt TimerTriggerAttributes) Enabled() terra.BoolValue
- func (tt TimerTriggerAttributes) InternalRef() (terra.Reference, error)
- func (tt TimerTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tt TimerTriggerAttributes) InternalWithRef(ref terra.Reference) TimerTriggerAttributes
- func (tt TimerTriggerAttributes) Name() terra.StringValue
- func (tt TimerTriggerAttributes) Schedule() terra.StringValue
- type TimerTriggerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentSetting ¶
type AgentSetting struct { // Cpu: number, required Cpu terra.NumberValue `hcl:"cpu,attr" validate:"required"` }
type AgentSettingAttributes ¶
type AgentSettingAttributes struct {
// contains filtered or unexported fields
}
func (AgentSettingAttributes) Cpu ¶
func (as AgentSettingAttributes) Cpu() terra.NumberValue
func (AgentSettingAttributes) InternalRef ¶
func (as AgentSettingAttributes) InternalRef() (terra.Reference, error)
func (AgentSettingAttributes) InternalTokens ¶
func (as AgentSettingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AgentSettingAttributes) InternalWithRef ¶
func (as AgentSettingAttributes) InternalWithRef(ref terra.Reference) AgentSettingAttributes
type AgentSettingState ¶
type AgentSettingState struct {
Cpu float64 `json:"cpu"`
}
type Args ¶
type Args struct { // AgentPoolName: string, optional AgentPoolName terra.StringValue `hcl:"agent_pool_name,attr"` // ContainerRegistryId: string, required ContainerRegistryId terra.StringValue `hcl:"container_registry_id,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IsSystemTask: bool, optional IsSystemTask terra.BoolValue `hcl:"is_system_task,attr"` // LogTemplate: string, optional LogTemplate terra.StringValue `hcl:"log_template,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TimeoutInSeconds: number, optional TimeoutInSeconds terra.NumberValue `hcl:"timeout_in_seconds,attr"` // AgentSetting: optional AgentSetting *AgentSetting `hcl:"agent_setting,block"` // BaseImageTrigger: optional BaseImageTrigger *BaseImageTrigger `hcl:"base_image_trigger,block"` // DockerStep: optional DockerStep *DockerStep `hcl:"docker_step,block"` // EncodedStep: optional EncodedStep *EncodedStep `hcl:"encoded_step,block"` // FileStep: optional FileStep *FileStep `hcl:"file_step,block"` // Identity: optional Identity *Identity `hcl:"identity,block"` // Platform: optional Platform *Platform `hcl:"platform,block"` // RegistryCredential: optional RegistryCredential *RegistryCredential `hcl:"registry_credential,block"` // SourceTrigger: min=0 SourceTrigger []SourceTrigger `hcl:"source_trigger,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // TimerTrigger: min=0 TimerTrigger []TimerTrigger `hcl:"timer_trigger,block" validate:"min=0"` }
Args contains the configurations for azurerm_container_registry_task.
type BaseImageTrigger ¶
type BaseImageTrigger struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // UpdateTriggerEndpoint: string, optional UpdateTriggerEndpoint terra.StringValue `hcl:"update_trigger_endpoint,attr"` // UpdateTriggerPayloadType: string, optional UpdateTriggerPayloadType terra.StringValue `hcl:"update_trigger_payload_type,attr"` }
type BaseImageTriggerAttributes ¶
type BaseImageTriggerAttributes struct {
// contains filtered or unexported fields
}
func (BaseImageTriggerAttributes) Enabled ¶
func (bit BaseImageTriggerAttributes) Enabled() terra.BoolValue
func (BaseImageTriggerAttributes) InternalRef ¶
func (bit BaseImageTriggerAttributes) InternalRef() (terra.Reference, error)
func (BaseImageTriggerAttributes) InternalTokens ¶
func (bit BaseImageTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BaseImageTriggerAttributes) InternalWithRef ¶
func (bit BaseImageTriggerAttributes) InternalWithRef(ref terra.Reference) BaseImageTriggerAttributes
func (BaseImageTriggerAttributes) Name ¶
func (bit BaseImageTriggerAttributes) Name() terra.StringValue
func (BaseImageTriggerAttributes) Type ¶
func (bit BaseImageTriggerAttributes) Type() terra.StringValue
func (BaseImageTriggerAttributes) UpdateTriggerEndpoint ¶
func (bit BaseImageTriggerAttributes) UpdateTriggerEndpoint() terra.StringValue
func (BaseImageTriggerAttributes) UpdateTriggerPayloadType ¶
func (bit BaseImageTriggerAttributes) UpdateTriggerPayloadType() terra.StringValue
type BaseImageTriggerState ¶
type DockerStep ¶
type DockerStep struct { // Arguments: map of string, optional Arguments terra.MapValue[terra.StringValue] `hcl:"arguments,attr"` // CacheEnabled: bool, optional CacheEnabled terra.BoolValue `hcl:"cache_enabled,attr"` // ContextAccessToken: string, required ContextAccessToken terra.StringValue `hcl:"context_access_token,attr" validate:"required"` // ContextPath: string, required ContextPath terra.StringValue `hcl:"context_path,attr" validate:"required"` // DockerfilePath: string, required DockerfilePath terra.StringValue `hcl:"dockerfile_path,attr" validate:"required"` // ImageNames: list of string, optional ImageNames terra.ListValue[terra.StringValue] `hcl:"image_names,attr"` // PushEnabled: bool, optional PushEnabled terra.BoolValue `hcl:"push_enabled,attr"` // SecretArguments: map of string, optional SecretArguments terra.MapValue[terra.StringValue] `hcl:"secret_arguments,attr"` // Target: string, optional Target terra.StringValue `hcl:"target,attr"` }
type DockerStepAttributes ¶
type DockerStepAttributes struct {
// contains filtered or unexported fields
}
func (DockerStepAttributes) Arguments ¶
func (ds DockerStepAttributes) Arguments() terra.MapValue[terra.StringValue]
func (DockerStepAttributes) CacheEnabled ¶
func (ds DockerStepAttributes) CacheEnabled() terra.BoolValue
func (DockerStepAttributes) ContextAccessToken ¶
func (ds DockerStepAttributes) ContextAccessToken() terra.StringValue
func (DockerStepAttributes) ContextPath ¶
func (ds DockerStepAttributes) ContextPath() terra.StringValue
func (DockerStepAttributes) DockerfilePath ¶
func (ds DockerStepAttributes) DockerfilePath() terra.StringValue
func (DockerStepAttributes) ImageNames ¶
func (ds DockerStepAttributes) ImageNames() terra.ListValue[terra.StringValue]
func (DockerStepAttributes) InternalRef ¶
func (ds DockerStepAttributes) InternalRef() (terra.Reference, error)
func (DockerStepAttributes) InternalTokens ¶
func (ds DockerStepAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DockerStepAttributes) InternalWithRef ¶
func (ds DockerStepAttributes) InternalWithRef(ref terra.Reference) DockerStepAttributes
func (DockerStepAttributes) PushEnabled ¶
func (ds DockerStepAttributes) PushEnabled() terra.BoolValue
func (DockerStepAttributes) SecretArguments ¶
func (ds DockerStepAttributes) SecretArguments() terra.MapValue[terra.StringValue]
func (DockerStepAttributes) Target ¶
func (ds DockerStepAttributes) Target() terra.StringValue
type DockerStepState ¶
type DockerStepState struct { Arguments map[string]string `json:"arguments"` CacheEnabled bool `json:"cache_enabled"` ContextAccessToken string `json:"context_access_token"` ContextPath string `json:"context_path"` DockerfilePath string `json:"dockerfile_path"` ImageNames []string `json:"image_names"` PushEnabled bool `json:"push_enabled"` SecretArguments map[string]string `json:"secret_arguments"` Target string `json:"target"` }
type EncodedStep ¶
type EncodedStep struct { // ContextAccessToken: string, optional ContextAccessToken terra.StringValue `hcl:"context_access_token,attr"` // ContextPath: string, optional ContextPath terra.StringValue `hcl:"context_path,attr"` // SecretValues: map of string, optional SecretValues terra.MapValue[terra.StringValue] `hcl:"secret_values,attr"` // TaskContent: string, required TaskContent terra.StringValue `hcl:"task_content,attr" validate:"required"` // ValueContent: string, optional ValueContent terra.StringValue `hcl:"value_content,attr"` // Values: map of string, optional Values terra.MapValue[terra.StringValue] `hcl:"values,attr"` }
type EncodedStepAttributes ¶
type EncodedStepAttributes struct {
// contains filtered or unexported fields
}
func (EncodedStepAttributes) ContextAccessToken ¶
func (es EncodedStepAttributes) ContextAccessToken() terra.StringValue
func (EncodedStepAttributes) ContextPath ¶
func (es EncodedStepAttributes) ContextPath() terra.StringValue
func (EncodedStepAttributes) InternalRef ¶
func (es EncodedStepAttributes) InternalRef() (terra.Reference, error)
func (EncodedStepAttributes) InternalTokens ¶
func (es EncodedStepAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncodedStepAttributes) InternalWithRef ¶
func (es EncodedStepAttributes) InternalWithRef(ref terra.Reference) EncodedStepAttributes
func (EncodedStepAttributes) SecretValues ¶
func (es EncodedStepAttributes) SecretValues() terra.MapValue[terra.StringValue]
func (EncodedStepAttributes) TaskContent ¶
func (es EncodedStepAttributes) TaskContent() terra.StringValue
func (EncodedStepAttributes) ValueContent ¶
func (es EncodedStepAttributes) ValueContent() terra.StringValue
func (EncodedStepAttributes) Values ¶
func (es EncodedStepAttributes) Values() terra.MapValue[terra.StringValue]
type EncodedStepState ¶
type EncodedStepState struct { ContextAccessToken string `json:"context_access_token"` ContextPath string `json:"context_path"` SecretValues map[string]string `json:"secret_values"` TaskContent string `json:"task_content"` ValueContent string `json:"value_content"` Values map[string]string `json:"values"` }
type FileStep ¶
type FileStep struct { // ContextAccessToken: string, optional ContextAccessToken terra.StringValue `hcl:"context_access_token,attr"` // ContextPath: string, optional ContextPath terra.StringValue `hcl:"context_path,attr"` // SecretValues: map of string, optional SecretValues terra.MapValue[terra.StringValue] `hcl:"secret_values,attr"` // TaskFilePath: string, required TaskFilePath terra.StringValue `hcl:"task_file_path,attr" validate:"required"` // ValueFilePath: string, optional ValueFilePath terra.StringValue `hcl:"value_file_path,attr"` // Values: map of string, optional Values terra.MapValue[terra.StringValue] `hcl:"values,attr"` }
type FileStepAttributes ¶
type FileStepAttributes struct {
// contains filtered or unexported fields
}
func (FileStepAttributes) ContextAccessToken ¶
func (fs FileStepAttributes) ContextAccessToken() terra.StringValue
func (FileStepAttributes) ContextPath ¶
func (fs FileStepAttributes) ContextPath() terra.StringValue
func (FileStepAttributes) InternalRef ¶
func (fs FileStepAttributes) InternalRef() (terra.Reference, error)
func (FileStepAttributes) InternalTokens ¶
func (fs FileStepAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FileStepAttributes) InternalWithRef ¶
func (fs FileStepAttributes) InternalWithRef(ref terra.Reference) FileStepAttributes
func (FileStepAttributes) SecretValues ¶
func (fs FileStepAttributes) SecretValues() terra.MapValue[terra.StringValue]
func (FileStepAttributes) TaskFilePath ¶
func (fs FileStepAttributes) TaskFilePath() terra.StringValue
func (FileStepAttributes) ValueFilePath ¶
func (fs FileStepAttributes) ValueFilePath() terra.StringValue
func (FileStepAttributes) Values ¶
func (fs FileStepAttributes) Values() terra.MapValue[terra.StringValue]
type FileStepState ¶
type FileStepState struct { ContextAccessToken string `json:"context_access_token"` ContextPath string `json:"context_path"` SecretValues map[string]string `json:"secret_values"` TaskFilePath string `json:"task_file_path"` ValueFilePath string `json:"value_file_path"` Values map[string]string `json:"values"` }
type Identity ¶
type Identity struct { // IdentityIds: set of string, optional IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type IdentityAttributes ¶
type IdentityAttributes struct {
// contains filtered or unexported fields
}
func (IdentityAttributes) IdentityIds ¶
func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
func (IdentityAttributes) InternalRef ¶
func (i IdentityAttributes) InternalRef() (terra.Reference, error)
func (IdentityAttributes) InternalTokens ¶
func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IdentityAttributes) InternalWithRef ¶
func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
func (IdentityAttributes) PrincipalId ¶
func (i IdentityAttributes) PrincipalId() terra.StringValue
func (IdentityAttributes) TenantId ¶
func (i IdentityAttributes) TenantId() terra.StringValue
func (IdentityAttributes) Type ¶
func (i IdentityAttributes) Type() terra.StringValue
type IdentityState ¶
type Platform ¶
type Platform struct { // Architecture: string, optional Architecture terra.StringValue `hcl:"architecture,attr"` // Os: string, required Os terra.StringValue `hcl:"os,attr" validate:"required"` // Variant: string, optional Variant terra.StringValue `hcl:"variant,attr"` }
type PlatformAttributes ¶
type PlatformAttributes struct {
// contains filtered or unexported fields
}
func (PlatformAttributes) Architecture ¶
func (p PlatformAttributes) Architecture() terra.StringValue
func (PlatformAttributes) InternalRef ¶
func (p PlatformAttributes) InternalRef() (terra.Reference, error)
func (PlatformAttributes) InternalTokens ¶
func (p PlatformAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlatformAttributes) InternalWithRef ¶
func (p PlatformAttributes) InternalWithRef(ref terra.Reference) PlatformAttributes
func (PlatformAttributes) Os ¶
func (p PlatformAttributes) Os() terra.StringValue
func (PlatformAttributes) Variant ¶
func (p PlatformAttributes) Variant() terra.StringValue
type PlatformState ¶
type RegistryCredential ¶
type RegistryCredential struct { // RegistryCredentialCustom: min=0 Custom []RegistryCredentialCustom `hcl:"custom,block" validate:"min=0"` // RegistryCredentialSource: optional Source *RegistryCredentialSource `hcl:"source,block"` }
type RegistryCredentialAttributes ¶
type RegistryCredentialAttributes struct {
// contains filtered or unexported fields
}
func (RegistryCredentialAttributes) Custom ¶
func (rc RegistryCredentialAttributes) Custom() terra.SetValue[RegistryCredentialCustomAttributes]
func (RegistryCredentialAttributes) InternalRef ¶
func (rc RegistryCredentialAttributes) InternalRef() (terra.Reference, error)
func (RegistryCredentialAttributes) InternalTokens ¶
func (rc RegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegistryCredentialAttributes) InternalWithRef ¶
func (rc RegistryCredentialAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialAttributes
func (RegistryCredentialAttributes) Source ¶
func (rc RegistryCredentialAttributes) Source() terra.ListValue[RegistryCredentialSourceAttributes]
type RegistryCredentialCustom ¶
type RegistryCredentialCustom struct { // Identity: string, optional Identity terra.StringValue `hcl:"identity,attr"` // LoginServer: string, required LoginServer terra.StringValue `hcl:"login_server,attr" validate:"required"` // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // Username: string, optional Username terra.StringValue `hcl:"username,attr"` }
type RegistryCredentialCustomAttributes ¶
type RegistryCredentialCustomAttributes struct {
// contains filtered or unexported fields
}
func (RegistryCredentialCustomAttributes) Identity ¶
func (c RegistryCredentialCustomAttributes) Identity() terra.StringValue
func (RegistryCredentialCustomAttributes) InternalRef ¶
func (c RegistryCredentialCustomAttributes) InternalRef() (terra.Reference, error)
func (RegistryCredentialCustomAttributes) InternalTokens ¶
func (c RegistryCredentialCustomAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegistryCredentialCustomAttributes) InternalWithRef ¶
func (c RegistryCredentialCustomAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialCustomAttributes
func (RegistryCredentialCustomAttributes) LoginServer ¶
func (c RegistryCredentialCustomAttributes) LoginServer() terra.StringValue
func (RegistryCredentialCustomAttributes) Password ¶
func (c RegistryCredentialCustomAttributes) Password() terra.StringValue
func (RegistryCredentialCustomAttributes) Username ¶
func (c RegistryCredentialCustomAttributes) Username() terra.StringValue
type RegistryCredentialSource ¶
type RegistryCredentialSource struct { // LoginMode: string, required LoginMode terra.StringValue `hcl:"login_mode,attr" validate:"required"` }
type RegistryCredentialSourceAttributes ¶
type RegistryCredentialSourceAttributes struct {
// contains filtered or unexported fields
}
func (RegistryCredentialSourceAttributes) InternalRef ¶
func (s RegistryCredentialSourceAttributes) InternalRef() (terra.Reference, error)
func (RegistryCredentialSourceAttributes) InternalTokens ¶
func (s RegistryCredentialSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegistryCredentialSourceAttributes) InternalWithRef ¶
func (s RegistryCredentialSourceAttributes) InternalWithRef(ref terra.Reference) RegistryCredentialSourceAttributes
func (RegistryCredentialSourceAttributes) LoginMode ¶
func (s RegistryCredentialSourceAttributes) LoginMode() terra.StringValue
type RegistryCredentialSourceState ¶
type RegistryCredentialSourceState struct {
LoginMode string `json:"login_mode"`
}
type RegistryCredentialState ¶
type RegistryCredentialState struct { Custom []RegistryCredentialCustomState `json:"custom"` Source []RegistryCredentialSourceState `json:"source"` }
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_container_registry_task.
func (*Resource) Attributes ¶
func (acrt *Resource) Attributes() azurermContainerRegistryTaskAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrt *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 SourceTrigger ¶
type SourceTrigger struct { // Branch: string, optional Branch terra.StringValue `hcl:"branch,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Events: list of string, required Events terra.ListValue[terra.StringValue] `hcl:"events,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RepositoryUrl: string, required RepositoryUrl terra.StringValue `hcl:"repository_url,attr" validate:"required"` // SourceType: string, required SourceType terra.StringValue `hcl:"source_type,attr" validate:"required"` // SourceTriggerAuthentication: optional Authentication *SourceTriggerAuthentication `hcl:"authentication,block"` }
type SourceTriggerAttributes ¶
type SourceTriggerAttributes struct {
// contains filtered or unexported fields
}
func (SourceTriggerAttributes) Authentication ¶
func (st SourceTriggerAttributes) Authentication() terra.ListValue[SourceTriggerAuthenticationAttributes]
func (SourceTriggerAttributes) Branch ¶
func (st SourceTriggerAttributes) Branch() terra.StringValue
func (SourceTriggerAttributes) Enabled ¶
func (st SourceTriggerAttributes) Enabled() terra.BoolValue
func (SourceTriggerAttributes) Events ¶
func (st SourceTriggerAttributes) Events() terra.ListValue[terra.StringValue]
func (SourceTriggerAttributes) InternalRef ¶
func (st SourceTriggerAttributes) InternalRef() (terra.Reference, error)
func (SourceTriggerAttributes) InternalTokens ¶
func (st SourceTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceTriggerAttributes) InternalWithRef ¶
func (st SourceTriggerAttributes) InternalWithRef(ref terra.Reference) SourceTriggerAttributes
func (SourceTriggerAttributes) Name ¶
func (st SourceTriggerAttributes) Name() terra.StringValue
func (SourceTriggerAttributes) RepositoryUrl ¶
func (st SourceTriggerAttributes) RepositoryUrl() terra.StringValue
func (SourceTriggerAttributes) SourceType ¶
func (st SourceTriggerAttributes) SourceType() terra.StringValue
type SourceTriggerAuthentication ¶
type SourceTriggerAuthentication struct { // ExpireInSeconds: number, optional ExpireInSeconds terra.NumberValue `hcl:"expire_in_seconds,attr"` // RefreshToken: string, optional RefreshToken terra.StringValue `hcl:"refresh_token,attr"` // Scope: string, optional Scope terra.StringValue `hcl:"scope,attr"` // Token: string, required Token terra.StringValue `hcl:"token,attr" validate:"required"` // TokenType: string, required TokenType terra.StringValue `hcl:"token_type,attr" validate:"required"` }
type SourceTriggerAuthenticationAttributes ¶
type SourceTriggerAuthenticationAttributes struct {
// contains filtered or unexported fields
}
func (SourceTriggerAuthenticationAttributes) ExpireInSeconds ¶
func (a SourceTriggerAuthenticationAttributes) ExpireInSeconds() terra.NumberValue
func (SourceTriggerAuthenticationAttributes) InternalRef ¶
func (a SourceTriggerAuthenticationAttributes) InternalRef() (terra.Reference, error)
func (SourceTriggerAuthenticationAttributes) InternalTokens ¶
func (a SourceTriggerAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceTriggerAuthenticationAttributes) InternalWithRef ¶
func (a SourceTriggerAuthenticationAttributes) InternalWithRef(ref terra.Reference) SourceTriggerAuthenticationAttributes
func (SourceTriggerAuthenticationAttributes) RefreshToken ¶
func (a SourceTriggerAuthenticationAttributes) RefreshToken() terra.StringValue
func (SourceTriggerAuthenticationAttributes) Scope ¶
func (a SourceTriggerAuthenticationAttributes) Scope() terra.StringValue
func (SourceTriggerAuthenticationAttributes) Token ¶
func (a SourceTriggerAuthenticationAttributes) Token() terra.StringValue
func (SourceTriggerAuthenticationAttributes) TokenType ¶
func (a SourceTriggerAuthenticationAttributes) TokenType() terra.StringValue
type SourceTriggerState ¶
type SourceTriggerState struct { Branch string `json:"branch"` Enabled bool `json:"enabled"` Events []string `json:"events"` Name string `json:"name"` RepositoryUrl string `json:"repository_url"` SourceType string `json:"source_type"` Authentication []SourceTriggerAuthenticationState `json:"authentication"` }
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
type TimeoutsState ¶
type TimerTrigger ¶
type TimerTrigger struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Schedule: string, required Schedule terra.StringValue `hcl:"schedule,attr" validate:"required"` }
type TimerTriggerAttributes ¶
type TimerTriggerAttributes struct {
// contains filtered or unexported fields
}
func (TimerTriggerAttributes) Enabled ¶
func (tt TimerTriggerAttributes) Enabled() terra.BoolValue
func (TimerTriggerAttributes) InternalRef ¶
func (tt TimerTriggerAttributes) InternalRef() (terra.Reference, error)
func (TimerTriggerAttributes) InternalTokens ¶
func (tt TimerTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimerTriggerAttributes) InternalWithRef ¶
func (tt TimerTriggerAttributes) InternalWithRef(ref terra.Reference) TimerTriggerAttributes
func (TimerTriggerAttributes) Name ¶
func (tt TimerTriggerAttributes) Name() terra.StringValue
func (TimerTriggerAttributes) Schedule ¶
func (tt TimerTriggerAttributes) Schedule() terra.StringValue
type TimerTriggerState ¶
Click to show internal directories.
Click to hide internal directories.