Documentation ¶
Index ¶
- type Args
- type Resource
- func (aasc *Resource) Attributes() azurermAutomationSourceControlAttributes
- func (aasc *Resource) Configuration() interface{}
- func (aasc *Resource) DependOn() terra.Reference
- func (aasc *Resource) Dependencies() terra.Dependencies
- func (aasc *Resource) ImportState(state io.Reader) error
- func (aasc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aasc *Resource) LocalName() string
- func (aasc *Resource) State() (*azurermAutomationSourceControlState, bool)
- func (aasc *Resource) StateMust() *azurermAutomationSourceControlState
- func (aasc *Resource) Type() string
- type Security
- type SecurityAttributes
- func (s SecurityAttributes) InternalRef() (terra.Reference, error)
- func (s SecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SecurityAttributes) InternalWithRef(ref terra.Reference) SecurityAttributes
- func (s SecurityAttributes) RefreshToken() terra.StringValue
- func (s SecurityAttributes) Token() terra.StringValue
- func (s SecurityAttributes) TokenType() terra.StringValue
- type SecurityState
- 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 { // AutomaticSync: bool, optional AutomaticSync terra.BoolValue `hcl:"automatic_sync,attr"` // AutomationAccountId: string, required AutomationAccountId terra.StringValue `hcl:"automation_account_id,attr" validate:"required"` // Branch: string, optional Branch terra.StringValue `hcl:"branch,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // FolderPath: string, required FolderPath terra.StringValue `hcl:"folder_path,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PublishRunbookEnabled: bool, optional PublishRunbookEnabled terra.BoolValue `hcl:"publish_runbook_enabled,attr"` // RepositoryUrl: string, required RepositoryUrl terra.StringValue `hcl:"repository_url,attr" validate:"required"` // SourceControlType: string, required SourceControlType terra.StringValue `hcl:"source_control_type,attr" validate:"required"` // Security: required Security *Security `hcl:"security,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_automation_source_control.
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_automation_source_control.
func (*Resource) Attributes ¶
func (aasc *Resource) Attributes() azurermAutomationSourceControlAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aasc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aasc *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 Security ¶
type Security struct { // RefreshToken: string, optional RefreshToken terra.StringValue `hcl:"refresh_token,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 SecurityAttributes ¶
type SecurityAttributes struct {
// contains filtered or unexported fields
}
func (SecurityAttributes) InternalRef ¶
func (s SecurityAttributes) InternalRef() (terra.Reference, error)
func (SecurityAttributes) InternalTokens ¶
func (s SecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityAttributes) InternalWithRef ¶
func (s SecurityAttributes) InternalWithRef(ref terra.Reference) SecurityAttributes
func (SecurityAttributes) RefreshToken ¶
func (s SecurityAttributes) RefreshToken() terra.StringValue
func (SecurityAttributes) Token ¶
func (s SecurityAttributes) Token() terra.StringValue
func (SecurityAttributes) TokenType ¶
func (s SecurityAttributes) TokenType() terra.StringValue
type SecurityState ¶
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.