Documentation ¶
Index ¶
- type Args
- type Authorization
- type AuthorizationAttributes
- func (a AuthorizationAttributes) DelegatedRoleDefinitionIds() terra.SetValue[terra.StringValue]
- func (a AuthorizationAttributes) InternalRef() (terra.Reference, error)
- func (a AuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AuthorizationAttributes) InternalWithRef(ref terra.Reference) AuthorizationAttributes
- func (a AuthorizationAttributes) PrincipalDisplayName() terra.StringValue
- func (a AuthorizationAttributes) PrincipalId() terra.StringValue
- func (a AuthorizationAttributes) RoleDefinitionId() terra.StringValue
- type AuthorizationState
- type EligibleAuthorization
- type EligibleAuthorizationAttributes
- func (ea EligibleAuthorizationAttributes) InternalRef() (terra.Reference, error)
- func (ea EligibleAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ea EligibleAuthorizationAttributes) InternalWithRef(ref terra.Reference) EligibleAuthorizationAttributes
- func (ea EligibleAuthorizationAttributes) JustInTimeAccessPolicy() terra.ListValue[EligibleAuthorizationJustInTimeAccessPolicyAttributes]
- func (ea EligibleAuthorizationAttributes) PrincipalDisplayName() terra.StringValue
- func (ea EligibleAuthorizationAttributes) PrincipalId() terra.StringValue
- func (ea EligibleAuthorizationAttributes) RoleDefinitionId() terra.StringValue
- type EligibleAuthorizationJustInTimeAccessPolicy
- type EligibleAuthorizationJustInTimeAccessPolicyApprover
- type EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes
- func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalRef() (terra.Reference, error)
- func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalWithRef(ref terra.Reference) EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes
- func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalDisplayName() terra.StringValue
- func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalId() terra.StringValue
- type EligibleAuthorizationJustInTimeAccessPolicyApproverState
- type EligibleAuthorizationJustInTimeAccessPolicyAttributes
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) Approver() terra.SetValue[EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes]
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalRef() (terra.Reference, error)
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalWithRef(ref terra.Reference) EligibleAuthorizationJustInTimeAccessPolicyAttributes
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) MaximumActivationDuration() terra.StringValue
- func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) MultiFactorAuthProvider() terra.StringValue
- type EligibleAuthorizationJustInTimeAccessPolicyState
- type EligibleAuthorizationState
- type Plan
- type PlanAttributes
- func (p PlanAttributes) InternalRef() (terra.Reference, error)
- func (p PlanAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PlanAttributes) InternalWithRef(ref terra.Reference) PlanAttributes
- func (p PlanAttributes) Name() terra.StringValue
- func (p PlanAttributes) Product() terra.StringValue
- func (p PlanAttributes) Publisher() terra.StringValue
- func (p PlanAttributes) Version() terra.StringValue
- type PlanState
- type Resource
- func (ald *Resource) Attributes() azurermLighthouseDefinitionAttributes
- func (ald *Resource) Configuration() interface{}
- func (ald *Resource) DependOn() terra.Reference
- func (ald *Resource) Dependencies() terra.Dependencies
- func (ald *Resource) ImportState(state io.Reader) error
- func (ald *Resource) LifecycleManagement() *terra.Lifecycle
- func (ald *Resource) LocalName() string
- func (ald *Resource) State() (*azurermLighthouseDefinitionState, bool)
- func (ald *Resource) StateMust() *azurermLighthouseDefinitionState
- func (ald *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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LighthouseDefinitionId: string, optional LighthouseDefinitionId terra.StringValue `hcl:"lighthouse_definition_id,attr"` // ManagingTenantId: string, required ManagingTenantId terra.StringValue `hcl:"managing_tenant_id,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Scope: string, required Scope terra.StringValue `hcl:"scope,attr" validate:"required"` // Authorization: min=1 Authorization []Authorization `hcl:"authorization,block" validate:"min=1"` // EligibleAuthorization: min=0 EligibleAuthorization []EligibleAuthorization `hcl:"eligible_authorization,block" validate:"min=0"` // Plan: optional Plan *Plan `hcl:"plan,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_lighthouse_definition.
type Authorization ¶
type Authorization struct { // DelegatedRoleDefinitionIds: set of string, optional DelegatedRoleDefinitionIds terra.SetValue[terra.StringValue] `hcl:"delegated_role_definition_ids,attr"` // PrincipalDisplayName: string, optional PrincipalDisplayName terra.StringValue `hcl:"principal_display_name,attr"` // PrincipalId: string, required PrincipalId terra.StringValue `hcl:"principal_id,attr" validate:"required"` // RoleDefinitionId: string, required RoleDefinitionId terra.StringValue `hcl:"role_definition_id,attr" validate:"required"` }
type AuthorizationAttributes ¶
type AuthorizationAttributes struct {
// contains filtered or unexported fields
}
func (AuthorizationAttributes) DelegatedRoleDefinitionIds ¶
func (a AuthorizationAttributes) DelegatedRoleDefinitionIds() terra.SetValue[terra.StringValue]
func (AuthorizationAttributes) InternalRef ¶
func (a AuthorizationAttributes) InternalRef() (terra.Reference, error)
func (AuthorizationAttributes) InternalTokens ¶
func (a AuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthorizationAttributes) InternalWithRef ¶
func (a AuthorizationAttributes) InternalWithRef(ref terra.Reference) AuthorizationAttributes
func (AuthorizationAttributes) PrincipalDisplayName ¶
func (a AuthorizationAttributes) PrincipalDisplayName() terra.StringValue
func (AuthorizationAttributes) PrincipalId ¶
func (a AuthorizationAttributes) PrincipalId() terra.StringValue
func (AuthorizationAttributes) RoleDefinitionId ¶
func (a AuthorizationAttributes) RoleDefinitionId() terra.StringValue
type AuthorizationState ¶
type EligibleAuthorization ¶
type EligibleAuthorization struct { // PrincipalDisplayName: string, optional PrincipalDisplayName terra.StringValue `hcl:"principal_display_name,attr"` // PrincipalId: string, required PrincipalId terra.StringValue `hcl:"principal_id,attr" validate:"required"` // RoleDefinitionId: string, required RoleDefinitionId terra.StringValue `hcl:"role_definition_id,attr" validate:"required"` // EligibleAuthorizationJustInTimeAccessPolicy: optional JustInTimeAccessPolicy *EligibleAuthorizationJustInTimeAccessPolicy `hcl:"just_in_time_access_policy,block"` }
type EligibleAuthorizationAttributes ¶
type EligibleAuthorizationAttributes struct {
// contains filtered or unexported fields
}
func (EligibleAuthorizationAttributes) InternalRef ¶
func (ea EligibleAuthorizationAttributes) InternalRef() (terra.Reference, error)
func (EligibleAuthorizationAttributes) InternalTokens ¶
func (ea EligibleAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EligibleAuthorizationAttributes) InternalWithRef ¶
func (ea EligibleAuthorizationAttributes) InternalWithRef(ref terra.Reference) EligibleAuthorizationAttributes
func (EligibleAuthorizationAttributes) JustInTimeAccessPolicy ¶
func (ea EligibleAuthorizationAttributes) JustInTimeAccessPolicy() terra.ListValue[EligibleAuthorizationJustInTimeAccessPolicyAttributes]
func (EligibleAuthorizationAttributes) PrincipalDisplayName ¶
func (ea EligibleAuthorizationAttributes) PrincipalDisplayName() terra.StringValue
func (EligibleAuthorizationAttributes) PrincipalId ¶
func (ea EligibleAuthorizationAttributes) PrincipalId() terra.StringValue
func (EligibleAuthorizationAttributes) RoleDefinitionId ¶
func (ea EligibleAuthorizationAttributes) RoleDefinitionId() terra.StringValue
type EligibleAuthorizationJustInTimeAccessPolicy ¶
type EligibleAuthorizationJustInTimeAccessPolicy struct { // MaximumActivationDuration: string, optional MaximumActivationDuration terra.StringValue `hcl:"maximum_activation_duration,attr"` // MultiFactorAuthProvider: string, optional MultiFactorAuthProvider terra.StringValue `hcl:"multi_factor_auth_provider,attr"` // EligibleAuthorizationJustInTimeAccessPolicyApprover: min=0 Approver []EligibleAuthorizationJustInTimeAccessPolicyApprover `hcl:"approver,block" validate:"min=0"` }
type EligibleAuthorizationJustInTimeAccessPolicyApprover ¶
type EligibleAuthorizationJustInTimeAccessPolicyApprover struct { // PrincipalDisplayName: string, optional PrincipalDisplayName terra.StringValue `hcl:"principal_display_name,attr"` // PrincipalId: string, required PrincipalId terra.StringValue `hcl:"principal_id,attr" validate:"required"` }
type EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes ¶
type EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes struct {
// contains filtered or unexported fields
}
func (EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalRef ¶
func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalRef() (terra.Reference, error)
func (EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalTokens ¶
func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) InternalWithRef ¶
func (EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalDisplayName ¶
func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalDisplayName() terra.StringValue
func (EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalId ¶
func (a EligibleAuthorizationJustInTimeAccessPolicyApproverAttributes) PrincipalId() terra.StringValue
type EligibleAuthorizationJustInTimeAccessPolicyAttributes ¶
type EligibleAuthorizationJustInTimeAccessPolicyAttributes struct {
// contains filtered or unexported fields
}
func (EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalRef ¶
func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalRef() (terra.Reference, error)
func (EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalTokens ¶
func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalWithRef ¶
func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) InternalWithRef(ref terra.Reference) EligibleAuthorizationJustInTimeAccessPolicyAttributes
func (EligibleAuthorizationJustInTimeAccessPolicyAttributes) MaximumActivationDuration ¶
func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) MaximumActivationDuration() terra.StringValue
func (EligibleAuthorizationJustInTimeAccessPolicyAttributes) MultiFactorAuthProvider ¶
func (jitap EligibleAuthorizationJustInTimeAccessPolicyAttributes) MultiFactorAuthProvider() terra.StringValue
type EligibleAuthorizationJustInTimeAccessPolicyState ¶
type EligibleAuthorizationJustInTimeAccessPolicyState struct { MaximumActivationDuration string `json:"maximum_activation_duration"` MultiFactorAuthProvider string `json:"multi_factor_auth_provider"` Approver []EligibleAuthorizationJustInTimeAccessPolicyApproverState `json:"approver"` }
type EligibleAuthorizationState ¶
type EligibleAuthorizationState struct { PrincipalDisplayName string `json:"principal_display_name"` PrincipalId string `json:"principal_id"` RoleDefinitionId string `json:"role_definition_id"` JustInTimeAccessPolicy []EligibleAuthorizationJustInTimeAccessPolicyState `json:"just_in_time_access_policy"` }
type Plan ¶
type Plan struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Product: string, required Product terra.StringValue `hcl:"product,attr" validate:"required"` // Publisher: string, required Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type PlanAttributes ¶
type PlanAttributes struct {
// contains filtered or unexported fields
}
func (PlanAttributes) InternalRef ¶
func (p PlanAttributes) InternalRef() (terra.Reference, error)
func (PlanAttributes) InternalTokens ¶
func (p PlanAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlanAttributes) InternalWithRef ¶
func (p PlanAttributes) InternalWithRef(ref terra.Reference) PlanAttributes
func (PlanAttributes) Name ¶
func (p PlanAttributes) Name() terra.StringValue
func (PlanAttributes) Product ¶
func (p PlanAttributes) Product() terra.StringValue
func (PlanAttributes) Publisher ¶
func (p PlanAttributes) Publisher() terra.StringValue
func (PlanAttributes) Version ¶
func (p PlanAttributes) Version() 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_lighthouse_definition.
func (*Resource) Attributes ¶
func (ald *Resource) Attributes() azurermLighthouseDefinitionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ald *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ald *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.