Documentation ¶
Index ¶
- type Args
- type Resource
- func (apera *Resource) Attributes() azurermPimEligibleRoleAssignmentAttributes
- func (apera *Resource) Configuration() interface{}
- func (apera *Resource) DependOn() terra.Reference
- func (apera *Resource) Dependencies() terra.Dependencies
- func (apera *Resource) ImportState(state io.Reader) error
- func (apera *Resource) LifecycleManagement() *terra.Lifecycle
- func (apera *Resource) LocalName() string
- func (apera *Resource) State() (*azurermPimEligibleRoleAssignmentState, bool)
- func (apera *Resource) StateMust() *azurermPimEligibleRoleAssignmentState
- func (apera *Resource) Type() string
- type Schedule
- type ScheduleAttributes
- func (s ScheduleAttributes) Expiration() terra.ListValue[ScheduleExpirationAttributes]
- func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
- func (s ScheduleAttributes) StartDateTime() terra.StringValue
- type ScheduleExpiration
- type ScheduleExpirationAttributes
- func (e ScheduleExpirationAttributes) DurationDays() terra.NumberValue
- func (e ScheduleExpirationAttributes) DurationHours() terra.NumberValue
- func (e ScheduleExpirationAttributes) EndDateTime() terra.StringValue
- func (e ScheduleExpirationAttributes) InternalRef() (terra.Reference, error)
- func (e ScheduleExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ScheduleExpirationAttributes) InternalWithRef(ref terra.Reference) ScheduleExpirationAttributes
- type ScheduleExpirationState
- type ScheduleState
- type Ticket
- type TicketAttributes
- func (t TicketAttributes) InternalRef() (terra.Reference, error)
- func (t TicketAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TicketAttributes) InternalWithRef(ref terra.Reference) TicketAttributes
- func (t TicketAttributes) Number() terra.StringValue
- func (t TicketAttributes) System() terra.StringValue
- type TicketState
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Justification: string, optional Justification terra.StringValue `hcl:"justification,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"` // Scope: string, required Scope terra.StringValue `hcl:"scope,attr" validate:"required"` // Schedule: optional Schedule *Schedule `hcl:"schedule,block"` // Ticket: optional Ticket *Ticket `hcl:"ticket,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_pim_eligible_role_assignment.
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_pim_eligible_role_assignment.
func (*Resource) Attributes ¶
func (apera *Resource) Attributes() azurermPimEligibleRoleAssignmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (apera *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (apera *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 Schedule ¶
type Schedule struct { // StartDateTime: string, optional StartDateTime terra.StringValue `hcl:"start_date_time,attr"` // ScheduleExpiration: optional Expiration *ScheduleExpiration `hcl:"expiration,block"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) Expiration ¶
func (s ScheduleAttributes) Expiration() terra.ListValue[ScheduleExpirationAttributes]
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
func (ScheduleAttributes) StartDateTime ¶
func (s ScheduleAttributes) StartDateTime() terra.StringValue
type ScheduleExpiration ¶
type ScheduleExpiration struct { // DurationDays: number, optional DurationDays terra.NumberValue `hcl:"duration_days,attr"` // DurationHours: number, optional DurationHours terra.NumberValue `hcl:"duration_hours,attr"` // EndDateTime: string, optional EndDateTime terra.StringValue `hcl:"end_date_time,attr"` }
type ScheduleExpirationAttributes ¶
type ScheduleExpirationAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleExpirationAttributes) DurationDays ¶
func (e ScheduleExpirationAttributes) DurationDays() terra.NumberValue
func (ScheduleExpirationAttributes) DurationHours ¶
func (e ScheduleExpirationAttributes) DurationHours() terra.NumberValue
func (ScheduleExpirationAttributes) EndDateTime ¶
func (e ScheduleExpirationAttributes) EndDateTime() terra.StringValue
func (ScheduleExpirationAttributes) InternalRef ¶
func (e ScheduleExpirationAttributes) InternalRef() (terra.Reference, error)
func (ScheduleExpirationAttributes) InternalTokens ¶
func (e ScheduleExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleExpirationAttributes) InternalWithRef ¶
func (e ScheduleExpirationAttributes) InternalWithRef(ref terra.Reference) ScheduleExpirationAttributes
type ScheduleExpirationState ¶
type ScheduleState ¶
type ScheduleState struct { StartDateTime string `json:"start_date_time"` Expiration []ScheduleExpirationState `json:"expiration"` }
type Ticket ¶
type Ticket struct { // Number: string, optional Number terra.StringValue `hcl:"number,attr"` // System: string, optional System terra.StringValue `hcl:"system,attr"` }
type TicketAttributes ¶
type TicketAttributes struct {
// contains filtered or unexported fields
}
func (TicketAttributes) InternalRef ¶
func (t TicketAttributes) InternalRef() (terra.Reference, error)
func (TicketAttributes) InternalTokens ¶
func (t TicketAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TicketAttributes) InternalWithRef ¶
func (t TicketAttributes) InternalWithRef(ref terra.Reference) TicketAttributes
func (TicketAttributes) Number ¶
func (t TicketAttributes) Number() terra.StringValue
func (TicketAttributes) System ¶
func (t TicketAttributes) System() terra.StringValue
type TicketState ¶
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.