Documentation ¶
Index ¶
- type Args
- type Encryption
- type EncryptionAttributes
- func (e EncryptionAttributes) CurrentKeyIdentifier() terra.StringValue
- func (e EncryptionAttributes) InternalRef() (terra.Reference, error)
- func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EncryptionAttributes) InternalWithRef(ref terra.Reference) EncryptionAttributes
- func (e EncryptionAttributes) KeyVaultKeyIdentifier() terra.StringValue
- func (e EncryptionAttributes) ManagedIdentity() terra.ListValue[EncryptionManagedIdentityAttributes]
- func (e EncryptionAttributes) Type() terra.StringValue
- type EncryptionManagedIdentity
- type EncryptionManagedIdentityAttributes
- func (mi EncryptionManagedIdentityAttributes) InternalRef() (terra.Reference, error)
- func (mi EncryptionManagedIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mi EncryptionManagedIdentityAttributes) InternalWithRef(ref terra.Reference) EncryptionManagedIdentityAttributes
- func (mi EncryptionManagedIdentityAttributes) UseSystemAssignedIdentity() terra.BoolValue
- func (mi EncryptionManagedIdentityAttributes) UserAssignedIdentityId() terra.StringValue
- type EncryptionManagedIdentityState
- type EncryptionState
- type Identity
- type IdentityAttributes
- func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
- func (i IdentityAttributes) InternalRef() (terra.Reference, error)
- func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
- func (i IdentityAttributes) PrincipalId() terra.StringValue
- func (i IdentityAttributes) TenantId() terra.StringValue
- func (i IdentityAttributes) Type() terra.StringValue
- type IdentityState
- type KeyDeliveryAccessControl
- type KeyDeliveryAccessControlAttributes
- func (kdac KeyDeliveryAccessControlAttributes) DefaultAction() terra.StringValue
- func (kdac KeyDeliveryAccessControlAttributes) InternalRef() (terra.Reference, error)
- func (kdac KeyDeliveryAccessControlAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (kdac KeyDeliveryAccessControlAttributes) InternalWithRef(ref terra.Reference) KeyDeliveryAccessControlAttributes
- func (kdac KeyDeliveryAccessControlAttributes) IpAllowList() terra.SetValue[terra.StringValue]
- type KeyDeliveryAccessControlState
- type Resource
- func (amsa *Resource) Attributes() azurermMediaServicesAccountAttributes
- func (amsa *Resource) Configuration() interface{}
- func (amsa *Resource) DependOn() terra.Reference
- func (amsa *Resource) Dependencies() terra.Dependencies
- func (amsa *Resource) ImportState(state io.Reader) error
- func (amsa *Resource) LifecycleManagement() *terra.Lifecycle
- func (amsa *Resource) LocalName() string
- func (amsa *Resource) State() (*azurermMediaServicesAccountState, bool)
- func (amsa *Resource) StateMust() *azurermMediaServicesAccountState
- func (amsa *Resource) Type() string
- type StorageAccount
- type StorageAccountAttributes
- func (sa StorageAccountAttributes) Id() terra.StringValue
- func (sa StorageAccountAttributes) InternalRef() (terra.Reference, error)
- func (sa StorageAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa StorageAccountAttributes) InternalWithRef(ref terra.Reference) StorageAccountAttributes
- func (sa StorageAccountAttributes) IsPrimary() terra.BoolValue
- func (sa StorageAccountAttributes) ManagedIdentity() terra.ListValue[StorageAccountManagedIdentityAttributes]
- type StorageAccountManagedIdentity
- type StorageAccountManagedIdentityAttributes
- func (mi StorageAccountManagedIdentityAttributes) InternalRef() (terra.Reference, error)
- func (mi StorageAccountManagedIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mi StorageAccountManagedIdentityAttributes) InternalWithRef(ref terra.Reference) StorageAccountManagedIdentityAttributes
- func (mi StorageAccountManagedIdentityAttributes) UseSystemAssignedIdentity() terra.BoolValue
- func (mi StorageAccountManagedIdentityAttributes) UserAssignedIdentityId() terra.StringValue
- type StorageAccountManagedIdentityState
- type StorageAccountState
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PublicNetworkAccessEnabled: bool, optional PublicNetworkAccessEnabled terra.BoolValue `hcl:"public_network_access_enabled,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // StorageAuthenticationType: string, optional StorageAuthenticationType terra.StringValue `hcl:"storage_authentication_type,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Encryption: optional Encryption *Encryption `hcl:"encryption,block"` // Identity: optional Identity *Identity `hcl:"identity,block"` // KeyDeliveryAccessControl: optional KeyDeliveryAccessControl *KeyDeliveryAccessControl `hcl:"key_delivery_access_control,block"` // StorageAccount: min=1 StorageAccount []StorageAccount `hcl:"storage_account,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_media_services_account.
type Encryption ¶
type Encryption struct { // KeyVaultKeyIdentifier: string, optional KeyVaultKeyIdentifier terra.StringValue `hcl:"key_vault_key_identifier,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // EncryptionManagedIdentity: optional ManagedIdentity *EncryptionManagedIdentity `hcl:"managed_identity,block"` }
type EncryptionAttributes ¶
type EncryptionAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionAttributes) CurrentKeyIdentifier ¶
func (e EncryptionAttributes) CurrentKeyIdentifier() terra.StringValue
func (EncryptionAttributes) InternalRef ¶
func (e EncryptionAttributes) InternalRef() (terra.Reference, error)
func (EncryptionAttributes) InternalTokens ¶
func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionAttributes) InternalWithRef ¶
func (e EncryptionAttributes) InternalWithRef(ref terra.Reference) EncryptionAttributes
func (EncryptionAttributes) KeyVaultKeyIdentifier ¶
func (e EncryptionAttributes) KeyVaultKeyIdentifier() terra.StringValue
func (EncryptionAttributes) ManagedIdentity ¶
func (e EncryptionAttributes) ManagedIdentity() terra.ListValue[EncryptionManagedIdentityAttributes]
func (EncryptionAttributes) Type ¶
func (e EncryptionAttributes) Type() terra.StringValue
type EncryptionManagedIdentity ¶
type EncryptionManagedIdentity struct { // UseSystemAssignedIdentity: bool, optional UseSystemAssignedIdentity terra.BoolValue `hcl:"use_system_assigned_identity,attr"` // UserAssignedIdentityId: string, optional UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"` }
type EncryptionManagedIdentityAttributes ¶
type EncryptionManagedIdentityAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionManagedIdentityAttributes) InternalRef ¶
func (mi EncryptionManagedIdentityAttributes) InternalRef() (terra.Reference, error)
func (EncryptionManagedIdentityAttributes) InternalTokens ¶
func (mi EncryptionManagedIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionManagedIdentityAttributes) InternalWithRef ¶
func (mi EncryptionManagedIdentityAttributes) InternalWithRef(ref terra.Reference) EncryptionManagedIdentityAttributes
func (EncryptionManagedIdentityAttributes) UseSystemAssignedIdentity ¶
func (mi EncryptionManagedIdentityAttributes) UseSystemAssignedIdentity() terra.BoolValue
func (EncryptionManagedIdentityAttributes) UserAssignedIdentityId ¶
func (mi EncryptionManagedIdentityAttributes) UserAssignedIdentityId() terra.StringValue
type EncryptionState ¶
type EncryptionState struct { CurrentKeyIdentifier string `json:"current_key_identifier"` KeyVaultKeyIdentifier string `json:"key_vault_key_identifier"` Type string `json:"type"` ManagedIdentity []EncryptionManagedIdentityState `json:"managed_identity"` }
type Identity ¶
type Identity struct { // IdentityIds: set of string, optional IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type IdentityAttributes ¶
type IdentityAttributes struct {
// contains filtered or unexported fields
}
func (IdentityAttributes) IdentityIds ¶
func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
func (IdentityAttributes) InternalRef ¶
func (i IdentityAttributes) InternalRef() (terra.Reference, error)
func (IdentityAttributes) InternalTokens ¶
func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IdentityAttributes) InternalWithRef ¶
func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
func (IdentityAttributes) PrincipalId ¶
func (i IdentityAttributes) PrincipalId() terra.StringValue
func (IdentityAttributes) TenantId ¶
func (i IdentityAttributes) TenantId() terra.StringValue
func (IdentityAttributes) Type ¶
func (i IdentityAttributes) Type() terra.StringValue
type IdentityState ¶
type KeyDeliveryAccessControl ¶
type KeyDeliveryAccessControl struct { // DefaultAction: string, optional DefaultAction terra.StringValue `hcl:"default_action,attr"` // IpAllowList: set of string, optional IpAllowList terra.SetValue[terra.StringValue] `hcl:"ip_allow_list,attr"` }
type KeyDeliveryAccessControlAttributes ¶
type KeyDeliveryAccessControlAttributes struct {
// contains filtered or unexported fields
}
func (KeyDeliveryAccessControlAttributes) DefaultAction ¶
func (kdac KeyDeliveryAccessControlAttributes) DefaultAction() terra.StringValue
func (KeyDeliveryAccessControlAttributes) InternalRef ¶
func (kdac KeyDeliveryAccessControlAttributes) InternalRef() (terra.Reference, error)
func (KeyDeliveryAccessControlAttributes) InternalTokens ¶
func (kdac KeyDeliveryAccessControlAttributes) InternalTokens() (hclwrite.Tokens, error)
func (KeyDeliveryAccessControlAttributes) InternalWithRef ¶
func (kdac KeyDeliveryAccessControlAttributes) InternalWithRef(ref terra.Reference) KeyDeliveryAccessControlAttributes
func (KeyDeliveryAccessControlAttributes) IpAllowList ¶
func (kdac KeyDeliveryAccessControlAttributes) IpAllowList() terra.SetValue[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_media_services_account.
func (*Resource) Attributes ¶
func (amsa *Resource) Attributes() azurermMediaServicesAccountAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (amsa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (amsa *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 StorageAccount ¶
type StorageAccount struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // IsPrimary: bool, optional IsPrimary terra.BoolValue `hcl:"is_primary,attr"` // StorageAccountManagedIdentity: optional ManagedIdentity *StorageAccountManagedIdentity `hcl:"managed_identity,block"` }
type StorageAccountAttributes ¶
type StorageAccountAttributes struct {
// contains filtered or unexported fields
}
func (StorageAccountAttributes) Id ¶
func (sa StorageAccountAttributes) Id() terra.StringValue
func (StorageAccountAttributes) InternalRef ¶
func (sa StorageAccountAttributes) InternalRef() (terra.Reference, error)
func (StorageAccountAttributes) InternalTokens ¶
func (sa StorageAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageAccountAttributes) InternalWithRef ¶
func (sa StorageAccountAttributes) InternalWithRef(ref terra.Reference) StorageAccountAttributes
func (StorageAccountAttributes) IsPrimary ¶
func (sa StorageAccountAttributes) IsPrimary() terra.BoolValue
func (StorageAccountAttributes) ManagedIdentity ¶
func (sa StorageAccountAttributes) ManagedIdentity() terra.ListValue[StorageAccountManagedIdentityAttributes]
type StorageAccountManagedIdentity ¶
type StorageAccountManagedIdentity struct { // UseSystemAssignedIdentity: bool, optional UseSystemAssignedIdentity terra.BoolValue `hcl:"use_system_assigned_identity,attr"` // UserAssignedIdentityId: string, optional UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"` }
type StorageAccountManagedIdentityAttributes ¶
type StorageAccountManagedIdentityAttributes struct {
// contains filtered or unexported fields
}
func (StorageAccountManagedIdentityAttributes) InternalRef ¶
func (mi StorageAccountManagedIdentityAttributes) InternalRef() (terra.Reference, error)
func (StorageAccountManagedIdentityAttributes) InternalTokens ¶
func (mi StorageAccountManagedIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageAccountManagedIdentityAttributes) InternalWithRef ¶
func (mi StorageAccountManagedIdentityAttributes) InternalWithRef(ref terra.Reference) StorageAccountManagedIdentityAttributes
func (StorageAccountManagedIdentityAttributes) UseSystemAssignedIdentity ¶
func (mi StorageAccountManagedIdentityAttributes) UseSystemAssignedIdentity() terra.BoolValue
func (StorageAccountManagedIdentityAttributes) UserAssignedIdentityId ¶
func (mi StorageAccountManagedIdentityAttributes) UserAssignedIdentityId() terra.StringValue
type StorageAccountState ¶
type StorageAccountState struct { Id string `json:"id"` IsPrimary bool `json:"is_primary"` ManagedIdentity []StorageAccountManagedIdentityState `json:"managed_identity"` }
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.