Documentation ¶
Index ¶
- type Acl
- type AclAccessPolicy
- type AclAccessPolicyAttributes
- func (ap AclAccessPolicyAttributes) Expiry() terra.StringValue
- func (ap AclAccessPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ap AclAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap AclAccessPolicyAttributes) InternalWithRef(ref terra.Reference) AclAccessPolicyAttributes
- func (ap AclAccessPolicyAttributes) Permissions() terra.StringValue
- func (ap AclAccessPolicyAttributes) Start() terra.StringValue
- type AclAccessPolicyState
- type AclAttributes
- func (a AclAttributes) AccessPolicy() terra.ListValue[AclAccessPolicyAttributes]
- func (a AclAttributes) Id() terra.StringValue
- func (a AclAttributes) InternalRef() (terra.Reference, error)
- func (a AclAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AclAttributes) InternalWithRef(ref terra.Reference) AclAttributes
- type AclState
- type Args
- type DataAcl
- type DataAclAccessPolicyAttributes
- func (ap DataAclAccessPolicyAttributes) Expiry() terra.StringValue
- func (ap DataAclAccessPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ap DataAclAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap DataAclAccessPolicyAttributes) InternalWithRef(ref terra.Reference) DataAclAccessPolicyAttributes
- func (ap DataAclAccessPolicyAttributes) Permissions() terra.StringValue
- func (ap DataAclAccessPolicyAttributes) Start() terra.StringValue
- type DataAclAccessPolicyState
- type DataAclAttributes
- func (a DataAclAttributes) AccessPolicy() terra.ListValue[DataAclAccessPolicyAttributes]
- func (a DataAclAttributes) Id() terra.StringValue
- func (a DataAclAttributes) InternalRef() (terra.Reference, error)
- func (a DataAclAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAclAttributes) InternalWithRef(ref terra.Reference) DataAclAttributes
- type DataAclState
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (ass *Resource) Attributes() azurermStorageShareAttributes
- func (ass *Resource) Configuration() interface{}
- func (ass *Resource) DependOn() terra.Reference
- func (ass *Resource) Dependencies() terra.Dependencies
- func (ass *Resource) ImportState(state io.Reader) error
- func (ass *Resource) LifecycleManagement() *terra.Lifecycle
- func (ass *Resource) LocalName() string
- func (ass *Resource) State() (*azurermStorageShareState, bool)
- func (ass *Resource) StateMust() *azurermStorageShareState
- func (ass *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 Acl ¶
type Acl struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // AclAccessPolicy: min=0 AccessPolicy []AclAccessPolicy `hcl:"access_policy,block" validate:"min=0"` }
type AclAccessPolicy ¶
type AclAccessPolicy struct { // Expiry: string, optional Expiry terra.StringValue `hcl:"expiry,attr"` // Permissions: string, required Permissions terra.StringValue `hcl:"permissions,attr" validate:"required"` // Start: string, optional Start terra.StringValue `hcl:"start,attr"` }
type AclAccessPolicyAttributes ¶
type AclAccessPolicyAttributes struct {
// contains filtered or unexported fields
}
func (AclAccessPolicyAttributes) Expiry ¶
func (ap AclAccessPolicyAttributes) Expiry() terra.StringValue
func (AclAccessPolicyAttributes) InternalRef ¶
func (ap AclAccessPolicyAttributes) InternalRef() (terra.Reference, error)
func (AclAccessPolicyAttributes) InternalTokens ¶
func (ap AclAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AclAccessPolicyAttributes) InternalWithRef ¶
func (ap AclAccessPolicyAttributes) InternalWithRef(ref terra.Reference) AclAccessPolicyAttributes
func (AclAccessPolicyAttributes) Permissions ¶
func (ap AclAccessPolicyAttributes) Permissions() terra.StringValue
func (AclAccessPolicyAttributes) Start ¶
func (ap AclAccessPolicyAttributes) Start() terra.StringValue
type AclAccessPolicyState ¶
type AclAttributes ¶
type AclAttributes struct {
// contains filtered or unexported fields
}
func (AclAttributes) AccessPolicy ¶
func (a AclAttributes) AccessPolicy() terra.ListValue[AclAccessPolicyAttributes]
func (AclAttributes) Id ¶
func (a AclAttributes) Id() terra.StringValue
func (AclAttributes) InternalRef ¶
func (a AclAttributes) InternalRef() (terra.Reference, error)
func (AclAttributes) InternalTokens ¶
func (a AclAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AclAttributes) InternalWithRef ¶
func (a AclAttributes) InternalWithRef(ref terra.Reference) AclAttributes
type AclState ¶
type AclState struct { Id string `json:"id"` AccessPolicy []AclAccessPolicyState `json:"access_policy"` }
type Args ¶
type Args struct { // AccessTier: string, optional AccessTier terra.StringValue `hcl:"access_tier,attr"` // EnabledProtocol: string, optional EnabledProtocol terra.StringValue `hcl:"enabled_protocol,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Quota: number, required Quota terra.NumberValue `hcl:"quota,attr" validate:"required"` // StorageAccountName: string, required StorageAccountName terra.StringValue `hcl:"storage_account_name,attr" validate:"required"` // Acl: min=0 Acl []Acl `hcl:"acl,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_storage_share.
type DataAclAccessPolicyAttributes ¶
type DataAclAccessPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataAclAccessPolicyAttributes) Expiry ¶
func (ap DataAclAccessPolicyAttributes) Expiry() terra.StringValue
func (DataAclAccessPolicyAttributes) InternalRef ¶
func (ap DataAclAccessPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataAclAccessPolicyAttributes) InternalTokens ¶
func (ap DataAclAccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAclAccessPolicyAttributes) InternalWithRef ¶
func (ap DataAclAccessPolicyAttributes) InternalWithRef(ref terra.Reference) DataAclAccessPolicyAttributes
func (DataAclAccessPolicyAttributes) Permissions ¶
func (ap DataAclAccessPolicyAttributes) Permissions() terra.StringValue
func (DataAclAccessPolicyAttributes) Start ¶
func (ap DataAclAccessPolicyAttributes) Start() terra.StringValue
type DataAclAttributes ¶
type DataAclAttributes struct {
// contains filtered or unexported fields
}
func (DataAclAttributes) AccessPolicy ¶
func (a DataAclAttributes) AccessPolicy() terra.ListValue[DataAclAccessPolicyAttributes]
func (DataAclAttributes) Id ¶
func (a DataAclAttributes) Id() terra.StringValue
func (DataAclAttributes) InternalRef ¶
func (a DataAclAttributes) InternalRef() (terra.Reference, error)
func (DataAclAttributes) InternalTokens ¶
func (a DataAclAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAclAttributes) InternalWithRef ¶
func (a DataAclAttributes) InternalWithRef(ref terra.Reference) DataAclAttributes
type DataAclState ¶
type DataAclState struct { Id string `json:"id"` AccessPolicy []DataAclAccessPolicyState `json:"access_policy"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StorageAccountName: string, required StorageAccountName terra.StringValue `hcl:"storage_account_name,attr" validate:"required"` // Acl: min=0 Acl []DataAcl `hcl:"acl,block" validate:"min=0"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_storage_share.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_storage_share.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ass *DataSource) Attributes() dataAzurermStorageShareAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ass *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ass *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ass *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_storage_share.
func (*Resource) Attributes ¶
func (ass *Resource) Attributes() azurermStorageShareAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ass *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ass *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