azurerm_netapp_volume

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// AzureVmwareDataStoreEnabled: bool, optional
	AzureVmwareDataStoreEnabled terra.BoolValue `hcl:"azure_vmware_data_store_enabled,attr"`
	// CreateFromSnapshotResourceId: string, optional
	CreateFromSnapshotResourceId terra.StringValue `hcl:"create_from_snapshot_resource_id,attr"`
	// EncryptionKeySource: string, optional
	EncryptionKeySource terra.StringValue `hcl:"encryption_key_source,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KerberosEnabled: bool, optional
	KerberosEnabled terra.BoolValue `hcl:"kerberos_enabled,attr"`
	// KeyVaultPrivateEndpointId: string, optional
	KeyVaultPrivateEndpointId terra.StringValue `hcl:"key_vault_private_endpoint_id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// NetworkFeatures: string, optional
	NetworkFeatures terra.StringValue `hcl:"network_features,attr"`
	// PoolName: string, required
	PoolName terra.StringValue `hcl:"pool_name,attr" validate:"required"`
	// Protocols: set of string, optional
	Protocols terra.SetValue[terra.StringValue] `hcl:"protocols,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// SecurityStyle: string, optional
	SecurityStyle terra.StringValue `hcl:"security_style,attr"`
	// ServiceLevel: string, required
	ServiceLevel terra.StringValue `hcl:"service_level,attr" validate:"required"`
	// SmbAccessBasedEnumerationEnabled: bool, optional
	SmbAccessBasedEnumerationEnabled terra.BoolValue `hcl:"smb_access_based_enumeration_enabled,attr"`
	// SmbContinuousAvailabilityEnabled: bool, optional
	SmbContinuousAvailabilityEnabled terra.BoolValue `hcl:"smb_continuous_availability_enabled,attr"`
	// SmbNonBrowsableEnabled: bool, optional
	SmbNonBrowsableEnabled terra.BoolValue `hcl:"smb_non_browsable_enabled,attr"`
	// SnapshotDirectoryVisible: bool, optional
	SnapshotDirectoryVisible terra.BoolValue `hcl:"snapshot_directory_visible,attr"`
	// StorageQuotaInGb: number, required
	StorageQuotaInGb terra.NumberValue `hcl:"storage_quota_in_gb,attr" validate:"required"`
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// ThroughputInMibps: number, optional
	ThroughputInMibps terra.NumberValue `hcl:"throughput_in_mibps,attr"`
	// VolumePath: string, required
	VolumePath terra.StringValue `hcl:"volume_path,attr" validate:"required"`
	// Zone: string, optional
	Zone terra.StringValue `hcl:"zone,attr"`
	// DataProtectionReplication: optional
	DataProtectionReplication *DataProtectionReplication `hcl:"data_protection_replication,block"`
	// DataProtectionSnapshotPolicy: optional
	DataProtectionSnapshotPolicy *DataProtectionSnapshotPolicy `hcl:"data_protection_snapshot_policy,block"`
	// ExportPolicyRule: min=0,max=5
	ExportPolicyRule []ExportPolicyRule `hcl:"export_policy_rule,block" validate:"min=0,max=5"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_netapp_volume.

type DataArgs

type DataArgs struct {
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PoolName: string, required
	PoolName terra.StringValue `hcl:"pool_name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// SecurityStyle: string, optional
	SecurityStyle terra.StringValue `hcl:"security_style,attr"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurerm_netapp_volume.

type DataDataProtectionReplicationAttributes

type DataDataProtectionReplicationAttributes struct {
	// contains filtered or unexported fields
}

func (DataDataProtectionReplicationAttributes) EndpointType

func (DataDataProtectionReplicationAttributes) InternalRef

func (DataDataProtectionReplicationAttributes) InternalTokens

func (DataDataProtectionReplicationAttributes) InternalWithRef

func (DataDataProtectionReplicationAttributes) RemoteVolumeLocation

func (dpr DataDataProtectionReplicationAttributes) RemoteVolumeLocation() terra.StringValue

func (DataDataProtectionReplicationAttributes) RemoteVolumeResourceId

func (dpr DataDataProtectionReplicationAttributes) RemoteVolumeResourceId() terra.StringValue

func (DataDataProtectionReplicationAttributes) ReplicationFrequency

func (dpr DataDataProtectionReplicationAttributes) ReplicationFrequency() terra.StringValue

type DataDataProtectionReplicationState

type DataDataProtectionReplicationState struct {
	EndpointType           string `json:"endpoint_type"`
	RemoteVolumeLocation   string `json:"remote_volume_location"`
	RemoteVolumeResourceId string `json:"remote_volume_resource_id"`
	ReplicationFrequency   string `json:"replication_frequency"`
}

type DataProtectionReplication

type DataProtectionReplication struct {
	// EndpointType: string, optional
	EndpointType terra.StringValue `hcl:"endpoint_type,attr"`
	// RemoteVolumeLocation: string, required
	RemoteVolumeLocation terra.StringValue `hcl:"remote_volume_location,attr" validate:"required"`
	// RemoteVolumeResourceId: string, required
	RemoteVolumeResourceId terra.StringValue `hcl:"remote_volume_resource_id,attr" validate:"required"`
	// ReplicationFrequency: string, required
	ReplicationFrequency terra.StringValue `hcl:"replication_frequency,attr" validate:"required"`
}

type DataProtectionReplicationAttributes

type DataProtectionReplicationAttributes struct {
	// contains filtered or unexported fields
}

func (DataProtectionReplicationAttributes) EndpointType

func (DataProtectionReplicationAttributes) InternalRef

func (DataProtectionReplicationAttributes) InternalTokens

func (dpr DataProtectionReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataProtectionReplicationAttributes) InternalWithRef

func (DataProtectionReplicationAttributes) RemoteVolumeLocation

func (dpr DataProtectionReplicationAttributes) RemoteVolumeLocation() terra.StringValue

func (DataProtectionReplicationAttributes) RemoteVolumeResourceId

func (dpr DataProtectionReplicationAttributes) RemoteVolumeResourceId() terra.StringValue

func (DataProtectionReplicationAttributes) ReplicationFrequency

func (dpr DataProtectionReplicationAttributes) ReplicationFrequency() terra.StringValue

type DataProtectionReplicationState

type DataProtectionReplicationState struct {
	EndpointType           string `json:"endpoint_type"`
	RemoteVolumeLocation   string `json:"remote_volume_location"`
	RemoteVolumeResourceId string `json:"remote_volume_resource_id"`
	ReplicationFrequency   string `json:"replication_frequency"`
}

type DataProtectionSnapshotPolicy

type DataProtectionSnapshotPolicy struct {
	// SnapshotPolicyId: string, required
	SnapshotPolicyId terra.StringValue `hcl:"snapshot_policy_id,attr" validate:"required"`
}

type DataProtectionSnapshotPolicyAttributes

type DataProtectionSnapshotPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (DataProtectionSnapshotPolicyAttributes) InternalRef

func (DataProtectionSnapshotPolicyAttributes) InternalTokens

func (DataProtectionSnapshotPolicyAttributes) InternalWithRef

func (DataProtectionSnapshotPolicyAttributes) SnapshotPolicyId

type DataProtectionSnapshotPolicyState

type DataProtectionSnapshotPolicyState struct {
	SnapshotPolicyId string `json:"snapshot_policy_id"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_netapp_volume.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (anv *DataSource) Attributes() dataAzurermNetappVolumeAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (anv *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (anv *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (anv *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 (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

type ExportPolicyRule

type ExportPolicyRule struct {
	// AllowedClients: set of string, required
	AllowedClients terra.SetValue[terra.StringValue] `hcl:"allowed_clients,attr" validate:"required"`
	// Kerberos5ReadOnlyEnabled: bool, optional
	Kerberos5ReadOnlyEnabled terra.BoolValue `hcl:"kerberos_5_read_only_enabled,attr"`
	// Kerberos5ReadWriteEnabled: bool, optional
	Kerberos5ReadWriteEnabled terra.BoolValue `hcl:"kerberos_5_read_write_enabled,attr"`
	// Kerberos5IReadOnlyEnabled: bool, optional
	Kerberos5IReadOnlyEnabled terra.BoolValue `hcl:"kerberos_5i_read_only_enabled,attr"`
	// Kerberos5IReadWriteEnabled: bool, optional
	Kerberos5IReadWriteEnabled terra.BoolValue `hcl:"kerberos_5i_read_write_enabled,attr"`
	// Kerberos5PReadOnlyEnabled: bool, optional
	Kerberos5PReadOnlyEnabled terra.BoolValue `hcl:"kerberos_5p_read_only_enabled,attr"`
	// Kerberos5PReadWriteEnabled: bool, optional
	Kerberos5PReadWriteEnabled terra.BoolValue `hcl:"kerberos_5p_read_write_enabled,attr"`
	// ProtocolsEnabled: list of string, optional
	ProtocolsEnabled terra.ListValue[terra.StringValue] `hcl:"protocols_enabled,attr"`
	// RootAccessEnabled: bool, optional
	RootAccessEnabled terra.BoolValue `hcl:"root_access_enabled,attr"`
	// RuleIndex: number, required
	RuleIndex terra.NumberValue `hcl:"rule_index,attr" validate:"required"`
	// UnixReadOnly: bool, optional
	UnixReadOnly terra.BoolValue `hcl:"unix_read_only,attr"`
	// UnixReadWrite: bool, optional
	UnixReadWrite terra.BoolValue `hcl:"unix_read_write,attr"`
}

type ExportPolicyRuleAttributes

type ExportPolicyRuleAttributes struct {
	// contains filtered or unexported fields
}

func (ExportPolicyRuleAttributes) AllowedClients

func (ExportPolicyRuleAttributes) InternalRef

func (epr ExportPolicyRuleAttributes) InternalRef() (terra.Reference, error)

func (ExportPolicyRuleAttributes) InternalTokens

func (epr ExportPolicyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExportPolicyRuleAttributes) InternalWithRef

func (ExportPolicyRuleAttributes) Kerberos5IReadOnlyEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5IReadOnlyEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) Kerberos5IReadWriteEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5IReadWriteEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) Kerberos5PReadOnlyEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5PReadOnlyEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) Kerberos5PReadWriteEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5PReadWriteEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) Kerberos5ReadOnlyEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5ReadOnlyEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) Kerberos5ReadWriteEnabled

func (epr ExportPolicyRuleAttributes) Kerberos5ReadWriteEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) ProtocolsEnabled

func (ExportPolicyRuleAttributes) RootAccessEnabled

func (epr ExportPolicyRuleAttributes) RootAccessEnabled() terra.BoolValue

func (ExportPolicyRuleAttributes) RuleIndex

func (ExportPolicyRuleAttributes) UnixReadOnly

func (epr ExportPolicyRuleAttributes) UnixReadOnly() terra.BoolValue

func (ExportPolicyRuleAttributes) UnixReadWrite

func (epr ExportPolicyRuleAttributes) UnixReadWrite() terra.BoolValue

type ExportPolicyRuleState

type ExportPolicyRuleState struct {
	AllowedClients             []string `json:"allowed_clients"`
	Kerberos5ReadOnlyEnabled   bool     `json:"kerberos_5_read_only_enabled"`
	Kerberos5ReadWriteEnabled  bool     `json:"kerberos_5_read_write_enabled"`
	Kerberos5IReadOnlyEnabled  bool     `json:"kerberos_5i_read_only_enabled"`
	Kerberos5IReadWriteEnabled bool     `json:"kerberos_5i_read_write_enabled"`
	Kerberos5PReadOnlyEnabled  bool     `json:"kerberos_5p_read_only_enabled"`
	Kerberos5PReadWriteEnabled bool     `json:"kerberos_5p_read_write_enabled"`
	ProtocolsEnabled           []string `json:"protocols_enabled"`
	RootAccessEnabled          bool     `json:"root_access_enabled"`
	RuleIndex                  float64  `json:"rule_index"`
	UnixReadOnly               bool     `json:"unix_read_only"`
	UnixReadWrite              bool     `json:"unix_read_write"`
}

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_netapp_volume.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (anv *Resource) Attributes() azurermNetappVolumeAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (anv *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (anv *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (anv *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (anv *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (anv *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (anv *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (anv *Resource) State() (*azurermNetappVolumeState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (anv *Resource) StateMust() *azurermNetappVolumeState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (anv *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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 (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL