Documentation ¶
Index ¶
- type Args
- type Resource
- func (ara *Resource) Attributes() azurermRoleAssignmentAttributes
- func (ara *Resource) Configuration() interface{}
- func (ara *Resource) DependOn() terra.Reference
- func (ara *Resource) Dependencies() terra.Dependencies
- func (ara *Resource) ImportState(state io.Reader) error
- func (ara *Resource) LifecycleManagement() *terra.Lifecycle
- func (ara *Resource) LocalName() string
- func (ara *Resource) State() (*azurermRoleAssignmentState, bool)
- func (ara *Resource) StateMust() *azurermRoleAssignmentState
- func (ara *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 { // Condition: string, optional Condition terra.StringValue `hcl:"condition,attr"` // ConditionVersion: string, optional ConditionVersion terra.StringValue `hcl:"condition_version,attr"` // DelegatedManagedIdentityResourceId: string, optional DelegatedManagedIdentityResourceId terra.StringValue `hcl:"delegated_managed_identity_resource_id,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // PrincipalId: string, required PrincipalId terra.StringValue `hcl:"principal_id,attr" validate:"required"` // PrincipalType: string, optional PrincipalType terra.StringValue `hcl:"principal_type,attr"` // RoleDefinitionId: string, optional RoleDefinitionId terra.StringValue `hcl:"role_definition_id,attr"` // RoleDefinitionName: string, optional RoleDefinitionName terra.StringValue `hcl:"role_definition_name,attr"` // Scope: string, required Scope terra.StringValue `hcl:"scope,attr" validate:"required"` // SkipServicePrincipalAadCheck: bool, optional SkipServicePrincipalAadCheck terra.BoolValue `hcl:"skip_service_principal_aad_check,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_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_role_assignment.
func (*Resource) Attributes ¶
func (ara *Resource) Attributes() azurermRoleAssignmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ara *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ara *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.