azurerm_hdinsight_spark_cluster

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 {
	// ClusterVersion: string, required
	ClusterVersion terra.StringValue `hcl:"cluster_version,attr" validate:"required"`
	// EncryptionInTransitEnabled: bool, optional
	EncryptionInTransitEnabled terra.BoolValue `hcl:"encryption_in_transit_enabled,attr"`
	// 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"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Tier: string, required
	Tier terra.StringValue `hcl:"tier,attr" validate:"required"`
	// TlsMinVersion: string, optional
	TlsMinVersion terra.StringValue `hcl:"tls_min_version,attr"`
	// ComponentVersion: required
	ComponentVersion *ComponentVersion `hcl:"component_version,block" validate:"required"`
	// ComputeIsolation: optional
	ComputeIsolation *ComputeIsolation `hcl:"compute_isolation,block"`
	// DiskEncryption: min=0
	DiskEncryption []DiskEncryption `hcl:"disk_encryption,block" validate:"min=0"`
	// Extension: optional
	Extension *Extension `hcl:"extension,block"`
	// Gateway: required
	Gateway *Gateway `hcl:"gateway,block" validate:"required"`
	// Metastores: optional
	Metastores *Metastores `hcl:"metastores,block"`
	// Monitor: optional
	Monitor *Monitor `hcl:"monitor,block"`
	// Network: optional
	Network *Network `hcl:"network,block"`
	// Roles: required
	Roles *Roles `hcl:"roles,block" validate:"required"`
	// SecurityProfile: optional
	SecurityProfile *SecurityProfile `hcl:"security_profile,block"`
	// StorageAccount: min=0
	StorageAccount []StorageAccount `hcl:"storage_account,block" validate:"min=0"`
	// StorageAccountGen2: optional
	StorageAccountGen2 *StorageAccountGen2 `hcl:"storage_account_gen2,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_hdinsight_spark_cluster.

type ComponentVersion

type ComponentVersion struct {
	// Spark: string, required
	Spark terra.StringValue `hcl:"spark,attr" validate:"required"`
}

type ComponentVersionAttributes

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

func (ComponentVersionAttributes) InternalRef

func (cv ComponentVersionAttributes) InternalRef() (terra.Reference, error)

func (ComponentVersionAttributes) InternalTokens

func (cv ComponentVersionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ComponentVersionAttributes) InternalWithRef

func (ComponentVersionAttributes) Spark

type ComponentVersionState

type ComponentVersionState struct {
	Spark string `json:"spark"`
}

type ComputeIsolation

type ComputeIsolation struct {
	// ComputeIsolationEnabled: bool, optional
	ComputeIsolationEnabled terra.BoolValue `hcl:"compute_isolation_enabled,attr"`
	// HostSku: string, optional
	HostSku terra.StringValue `hcl:"host_sku,attr"`
}

type ComputeIsolationAttributes

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

func (ComputeIsolationAttributes) ComputeIsolationEnabled

func (ci ComputeIsolationAttributes) ComputeIsolationEnabled() terra.BoolValue

func (ComputeIsolationAttributes) HostSku

func (ComputeIsolationAttributes) InternalRef

func (ci ComputeIsolationAttributes) InternalRef() (terra.Reference, error)

func (ComputeIsolationAttributes) InternalTokens

func (ci ComputeIsolationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ComputeIsolationAttributes) InternalWithRef

type ComputeIsolationState

type ComputeIsolationState struct {
	ComputeIsolationEnabled bool   `json:"compute_isolation_enabled"`
	HostSku                 string `json:"host_sku"`
}

type DiskEncryption

type DiskEncryption struct {
	// EncryptionAlgorithm: string, optional
	EncryptionAlgorithm terra.StringValue `hcl:"encryption_algorithm,attr"`
	// EncryptionAtHostEnabled: bool, optional
	EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"`
	// KeyVaultKeyId: string, optional
	KeyVaultKeyId terra.StringValue `hcl:"key_vault_key_id,attr"`
	// KeyVaultManagedIdentityId: string, optional
	KeyVaultManagedIdentityId terra.StringValue `hcl:"key_vault_managed_identity_id,attr"`
}

type DiskEncryptionAttributes

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

func (DiskEncryptionAttributes) EncryptionAlgorithm

func (de DiskEncryptionAttributes) EncryptionAlgorithm() terra.StringValue

func (DiskEncryptionAttributes) EncryptionAtHostEnabled

func (de DiskEncryptionAttributes) EncryptionAtHostEnabled() terra.BoolValue

func (DiskEncryptionAttributes) InternalRef

func (de DiskEncryptionAttributes) InternalRef() (terra.Reference, error)

func (DiskEncryptionAttributes) InternalTokens

func (de DiskEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiskEncryptionAttributes) InternalWithRef

func (DiskEncryptionAttributes) KeyVaultKeyId

func (de DiskEncryptionAttributes) KeyVaultKeyId() terra.StringValue

func (DiskEncryptionAttributes) KeyVaultManagedIdentityId

func (de DiskEncryptionAttributes) KeyVaultManagedIdentityId() terra.StringValue

type DiskEncryptionState

type DiskEncryptionState struct {
	EncryptionAlgorithm       string `json:"encryption_algorithm"`
	EncryptionAtHostEnabled   bool   `json:"encryption_at_host_enabled"`
	KeyVaultKeyId             string `json:"key_vault_key_id"`
	KeyVaultManagedIdentityId string `json:"key_vault_managed_identity_id"`
}

type Extension

type Extension struct {
	// LogAnalyticsWorkspaceId: string, required
	LogAnalyticsWorkspaceId terra.StringValue `hcl:"log_analytics_workspace_id,attr" validate:"required"`
	// PrimaryKey: string, required
	PrimaryKey terra.StringValue `hcl:"primary_key,attr" validate:"required"`
}

type ExtensionAttributes

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

func (ExtensionAttributes) InternalRef

func (e ExtensionAttributes) InternalRef() (terra.Reference, error)

func (ExtensionAttributes) InternalTokens

func (e ExtensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExtensionAttributes) InternalWithRef

func (e ExtensionAttributes) InternalWithRef(ref terra.Reference) ExtensionAttributes

func (ExtensionAttributes) LogAnalyticsWorkspaceId

func (e ExtensionAttributes) LogAnalyticsWorkspaceId() terra.StringValue

func (ExtensionAttributes) PrimaryKey

func (e ExtensionAttributes) PrimaryKey() terra.StringValue

type ExtensionState

type ExtensionState struct {
	LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id"`
	PrimaryKey              string `json:"primary_key"`
}

type Gateway

type Gateway struct {
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type GatewayAttributes

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

func (GatewayAttributes) InternalRef

func (g GatewayAttributes) InternalRef() (terra.Reference, error)

func (GatewayAttributes) InternalTokens

func (g GatewayAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GatewayAttributes) InternalWithRef

func (g GatewayAttributes) InternalWithRef(ref terra.Reference) GatewayAttributes

func (GatewayAttributes) Password

func (g GatewayAttributes) Password() terra.StringValue

func (GatewayAttributes) Username

func (g GatewayAttributes) Username() terra.StringValue

type GatewayState

type GatewayState struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

type Metastores

type Metastores struct {
	// MetastoresAmbari: optional
	Ambari *MetastoresAmbari `hcl:"ambari,block"`
	// MetastoresHive: optional
	Hive *MetastoresHive `hcl:"hive,block"`
	// MetastoresOozie: optional
	Oozie *MetastoresOozie `hcl:"oozie,block"`
}

type MetastoresAmbari

type MetastoresAmbari struct {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Server: string, required
	Server terra.StringValue `hcl:"server,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type MetastoresAmbariAttributes

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

func (MetastoresAmbariAttributes) DatabaseName

func (a MetastoresAmbariAttributes) DatabaseName() terra.StringValue

func (MetastoresAmbariAttributes) InternalRef

func (a MetastoresAmbariAttributes) InternalRef() (terra.Reference, error)

func (MetastoresAmbariAttributes) InternalTokens

func (a MetastoresAmbariAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetastoresAmbariAttributes) InternalWithRef

func (MetastoresAmbariAttributes) Password

func (MetastoresAmbariAttributes) Server

func (MetastoresAmbariAttributes) Username

type MetastoresAmbariState

type MetastoresAmbariState struct {
	DatabaseName string `json:"database_name"`
	Password     string `json:"password"`
	Server       string `json:"server"`
	Username     string `json:"username"`
}

type MetastoresAttributes

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

func (MetastoresAttributes) Ambari

func (MetastoresAttributes) Hive

func (MetastoresAttributes) InternalRef

func (m MetastoresAttributes) InternalRef() (terra.Reference, error)

func (MetastoresAttributes) InternalTokens

func (m MetastoresAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetastoresAttributes) InternalWithRef

func (MetastoresAttributes) Oozie

type MetastoresHive

type MetastoresHive struct {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Server: string, required
	Server terra.StringValue `hcl:"server,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type MetastoresHiveAttributes

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

func (MetastoresHiveAttributes) DatabaseName

func (h MetastoresHiveAttributes) DatabaseName() terra.StringValue

func (MetastoresHiveAttributes) InternalRef

func (h MetastoresHiveAttributes) InternalRef() (terra.Reference, error)

func (MetastoresHiveAttributes) InternalTokens

func (h MetastoresHiveAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetastoresHiveAttributes) InternalWithRef

func (MetastoresHiveAttributes) Password

func (MetastoresHiveAttributes) Server

func (MetastoresHiveAttributes) Username

type MetastoresHiveState

type MetastoresHiveState struct {
	DatabaseName string `json:"database_name"`
	Password     string `json:"password"`
	Server       string `json:"server"`
	Username     string `json:"username"`
}

type MetastoresOozie

type MetastoresOozie struct {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Server: string, required
	Server terra.StringValue `hcl:"server,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type MetastoresOozieAttributes

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

func (MetastoresOozieAttributes) DatabaseName

func (o MetastoresOozieAttributes) DatabaseName() terra.StringValue

func (MetastoresOozieAttributes) InternalRef

func (o MetastoresOozieAttributes) InternalRef() (terra.Reference, error)

func (MetastoresOozieAttributes) InternalTokens

func (o MetastoresOozieAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetastoresOozieAttributes) InternalWithRef

func (MetastoresOozieAttributes) Password

func (MetastoresOozieAttributes) Server

func (MetastoresOozieAttributes) Username

type MetastoresOozieState

type MetastoresOozieState struct {
	DatabaseName string `json:"database_name"`
	Password     string `json:"password"`
	Server       string `json:"server"`
	Username     string `json:"username"`
}

type MetastoresState

type MetastoresState struct {
	Ambari []MetastoresAmbariState `json:"ambari"`
	Hive   []MetastoresHiveState   `json:"hive"`
	Oozie  []MetastoresOozieState  `json:"oozie"`
}

type Monitor

type Monitor struct {
	// LogAnalyticsWorkspaceId: string, required
	LogAnalyticsWorkspaceId terra.StringValue `hcl:"log_analytics_workspace_id,attr" validate:"required"`
	// PrimaryKey: string, required
	PrimaryKey terra.StringValue `hcl:"primary_key,attr" validate:"required"`
}

type MonitorAttributes

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

func (MonitorAttributes) InternalRef

func (m MonitorAttributes) InternalRef() (terra.Reference, error)

func (MonitorAttributes) InternalTokens

func (m MonitorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MonitorAttributes) InternalWithRef

func (m MonitorAttributes) InternalWithRef(ref terra.Reference) MonitorAttributes

func (MonitorAttributes) LogAnalyticsWorkspaceId

func (m MonitorAttributes) LogAnalyticsWorkspaceId() terra.StringValue

func (MonitorAttributes) PrimaryKey

func (m MonitorAttributes) PrimaryKey() terra.StringValue

type MonitorState

type MonitorState struct {
	LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id"`
	PrimaryKey              string `json:"primary_key"`
}

type Network

type Network struct {
	// ConnectionDirection: string, optional
	ConnectionDirection terra.StringValue `hcl:"connection_direction,attr"`
	// PrivateLinkEnabled: bool, optional
	PrivateLinkEnabled terra.BoolValue `hcl:"private_link_enabled,attr"`
}

type NetworkAttributes

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

func (NetworkAttributes) ConnectionDirection

func (n NetworkAttributes) ConnectionDirection() terra.StringValue

func (NetworkAttributes) InternalRef

func (n NetworkAttributes) InternalRef() (terra.Reference, error)

func (NetworkAttributes) InternalTokens

func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkAttributes) InternalWithRef

func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes

func (NetworkAttributes) PrivateLinkEnabled

func (n NetworkAttributes) PrivateLinkEnabled() terra.BoolValue

type NetworkState

type NetworkState struct {
	ConnectionDirection string `json:"connection_direction"`
	PrivateLinkEnabled  bool   `json:"private_link_enabled"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ahsc *Resource) Attributes() azurermHdinsightSparkClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ahsc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ahsc *Resource) State() (*azurermHdinsightSparkClusterState, bool)

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

func (*Resource) StateMust

func (ahsc *Resource) StateMust() *azurermHdinsightSparkClusterState

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

func (*Resource) Type

func (ahsc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Roles

type Roles struct {
	// RolesHeadNode: required
	HeadNode *RolesHeadNode `hcl:"head_node,block" validate:"required"`
	// RolesWorkerNode: required
	WorkerNode *RolesWorkerNode `hcl:"worker_node,block" validate:"required"`
	// RolesZookeeperNode: required
	ZookeeperNode *RolesZookeeperNode `hcl:"zookeeper_node,block" validate:"required"`
}

type RolesAttributes

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

func (RolesAttributes) HeadNode

func (RolesAttributes) InternalRef

func (r RolesAttributes) InternalRef() (terra.Reference, error)

func (RolesAttributes) InternalTokens

func (r RolesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RolesAttributes) InternalWithRef

func (r RolesAttributes) InternalWithRef(ref terra.Reference) RolesAttributes

func (RolesAttributes) WorkerNode

func (RolesAttributes) ZookeeperNode

type RolesHeadNode

type RolesHeadNode struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// SshKeys: set of string, optional
	SshKeys terra.SetValue[terra.StringValue] `hcl:"ssh_keys,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// VirtualNetworkId: string, optional
	VirtualNetworkId terra.StringValue `hcl:"virtual_network_id,attr"`
	// VmSize: string, required
	VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"`
	// RolesHeadNodeScriptActions: min=0
	ScriptActions []RolesHeadNodeScriptActions `hcl:"script_actions,block" validate:"min=0"`
}

type RolesHeadNodeAttributes

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

func (RolesHeadNodeAttributes) InternalRef

func (hn RolesHeadNodeAttributes) InternalRef() (terra.Reference, error)

func (RolesHeadNodeAttributes) InternalTokens

func (hn RolesHeadNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RolesHeadNodeAttributes) InternalWithRef

func (RolesHeadNodeAttributes) Password

func (RolesHeadNodeAttributes) ScriptActions

func (RolesHeadNodeAttributes) SshKeys

func (RolesHeadNodeAttributes) SubnetId

func (RolesHeadNodeAttributes) Username

func (RolesHeadNodeAttributes) VirtualNetworkId

func (hn RolesHeadNodeAttributes) VirtualNetworkId() terra.StringValue

func (RolesHeadNodeAttributes) VmSize

type RolesHeadNodeScriptActions

type RolesHeadNodeScriptActions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: string, optional
	Parameters terra.StringValue `hcl:"parameters,attr"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type RolesHeadNodeScriptActionsAttributes

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

func (RolesHeadNodeScriptActionsAttributes) InternalRef

func (RolesHeadNodeScriptActionsAttributes) InternalTokens

func (RolesHeadNodeScriptActionsAttributes) InternalWithRef

func (RolesHeadNodeScriptActionsAttributes) Name

func (RolesHeadNodeScriptActionsAttributes) Parameters

func (RolesHeadNodeScriptActionsAttributes) Uri

type RolesHeadNodeScriptActionsState

type RolesHeadNodeScriptActionsState struct {
	Name       string `json:"name"`
	Parameters string `json:"parameters"`
	Uri        string `json:"uri"`
}

type RolesHeadNodeState

type RolesHeadNodeState struct {
	Password         string                            `json:"password"`
	SshKeys          []string                          `json:"ssh_keys"`
	SubnetId         string                            `json:"subnet_id"`
	Username         string                            `json:"username"`
	VirtualNetworkId string                            `json:"virtual_network_id"`
	VmSize           string                            `json:"vm_size"`
	ScriptActions    []RolesHeadNodeScriptActionsState `json:"script_actions"`
}

type RolesState

type RolesState struct {
	HeadNode      []RolesHeadNodeState      `json:"head_node"`
	WorkerNode    []RolesWorkerNodeState    `json:"worker_node"`
	ZookeeperNode []RolesZookeeperNodeState `json:"zookeeper_node"`
}

type RolesWorkerNode

type RolesWorkerNode struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// SshKeys: set of string, optional
	SshKeys terra.SetValue[terra.StringValue] `hcl:"ssh_keys,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// TargetInstanceCount: number, required
	TargetInstanceCount terra.NumberValue `hcl:"target_instance_count,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// VirtualNetworkId: string, optional
	VirtualNetworkId terra.StringValue `hcl:"virtual_network_id,attr"`
	// VmSize: string, required
	VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"`
	// RolesWorkerNodeAutoscale: optional
	Autoscale *RolesWorkerNodeAutoscale `hcl:"autoscale,block"`
	// RolesWorkerNodeScriptActions: min=0
	ScriptActions []RolesWorkerNodeScriptActions `hcl:"script_actions,block" validate:"min=0"`
}

type RolesWorkerNode600Bd071

type RolesWorkerNode600Bd071 struct {
	// Days: list of string, required
	Days terra.ListValue[terra.StringValue] `hcl:"days,attr" validate:"required"`
	// TargetInstanceCount: number, required
	TargetInstanceCount terra.NumberValue `hcl:"target_instance_count,attr" validate:"required"`
	// Time: string, required
	Time terra.StringValue `hcl:"time,attr" validate:"required"`
}

type RolesWorkerNode600Bd071Attributes

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

func (RolesWorkerNode600Bd071Attributes) Days

func (RolesWorkerNode600Bd071Attributes) InternalRef

func (RolesWorkerNode600Bd071Attributes) InternalTokens

func (RolesWorkerNode600Bd071Attributes) InternalWithRef

func (RolesWorkerNode600Bd071Attributes) TargetInstanceCount

func (s RolesWorkerNode600Bd071Attributes) TargetInstanceCount() terra.NumberValue

func (RolesWorkerNode600Bd071Attributes) Time

type RolesWorkerNode600Bd071State

type RolesWorkerNode600Bd071State struct {
	Days                []string `json:"days"`
	TargetInstanceCount float64  `json:"target_instance_count"`
	Time                string   `json:"time"`
}

type RolesWorkerNodeAttributes

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

func (RolesWorkerNodeAttributes) Autoscale

func (RolesWorkerNodeAttributes) InternalRef

func (wn RolesWorkerNodeAttributes) InternalRef() (terra.Reference, error)

func (RolesWorkerNodeAttributes) InternalTokens

func (wn RolesWorkerNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RolesWorkerNodeAttributes) InternalWithRef

func (RolesWorkerNodeAttributes) Password

func (RolesWorkerNodeAttributes) ScriptActions

func (RolesWorkerNodeAttributes) SshKeys

func (RolesWorkerNodeAttributes) SubnetId

func (RolesWorkerNodeAttributes) TargetInstanceCount

func (wn RolesWorkerNodeAttributes) TargetInstanceCount() terra.NumberValue

func (RolesWorkerNodeAttributes) Username

func (RolesWorkerNodeAttributes) VirtualNetworkId

func (wn RolesWorkerNodeAttributes) VirtualNetworkId() terra.StringValue

func (RolesWorkerNodeAttributes) VmSize

type RolesWorkerNodeAutoscale

type RolesWorkerNodeAutoscale struct {
	// RolesWorkerNodeAutoscaleCapacity: optional
	Capacity *RolesWorkerNodeAutoscaleCapacity `hcl:"capacity,block"`
	// RolesWorkerNodeAutoscaleRecurrence: optional
	Recurrence *RolesWorkerNodeAutoscaleRecurrence `hcl:"recurrence,block"`
}

type RolesWorkerNodeAutoscaleAttributes

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

func (RolesWorkerNodeAutoscaleAttributes) Capacity

func (RolesWorkerNodeAutoscaleAttributes) InternalRef

func (RolesWorkerNodeAutoscaleAttributes) InternalTokens

func (RolesWorkerNodeAutoscaleAttributes) InternalWithRef

func (RolesWorkerNodeAutoscaleAttributes) Recurrence

type RolesWorkerNodeAutoscaleCapacity

type RolesWorkerNodeAutoscaleCapacity struct {
	// MaxInstanceCount: number, required
	MaxInstanceCount terra.NumberValue `hcl:"max_instance_count,attr" validate:"required"`
	// MinInstanceCount: number, required
	MinInstanceCount terra.NumberValue `hcl:"min_instance_count,attr" validate:"required"`
}

type RolesWorkerNodeAutoscaleCapacityAttributes

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

func (RolesWorkerNodeAutoscaleCapacityAttributes) InternalRef

func (RolesWorkerNodeAutoscaleCapacityAttributes) InternalTokens

func (RolesWorkerNodeAutoscaleCapacityAttributes) InternalWithRef

func (RolesWorkerNodeAutoscaleCapacityAttributes) MaxInstanceCount

func (RolesWorkerNodeAutoscaleCapacityAttributes) MinInstanceCount

type RolesWorkerNodeAutoscaleCapacityState

type RolesWorkerNodeAutoscaleCapacityState struct {
	MaxInstanceCount float64 `json:"max_instance_count"`
	MinInstanceCount float64 `json:"min_instance_count"`
}

type RolesWorkerNodeAutoscaleRecurrence

type RolesWorkerNodeAutoscaleRecurrence struct {
	// Timezone: string, required
	Timezone terra.StringValue `hcl:"timezone,attr" validate:"required"`
	// RolesWorkerNode600Bd071: min=1
	Schedule []RolesWorkerNode600Bd071 `hcl:"schedule,block" validate:"min=1"`
}

type RolesWorkerNodeAutoscaleRecurrenceAttributes

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

func (RolesWorkerNodeAutoscaleRecurrenceAttributes) InternalRef

func (RolesWorkerNodeAutoscaleRecurrenceAttributes) InternalTokens

func (RolesWorkerNodeAutoscaleRecurrenceAttributes) InternalWithRef

func (RolesWorkerNodeAutoscaleRecurrenceAttributes) Schedule

func (RolesWorkerNodeAutoscaleRecurrenceAttributes) Timezone

type RolesWorkerNodeAutoscaleRecurrenceState

type RolesWorkerNodeAutoscaleRecurrenceState struct {
	Timezone string                         `json:"timezone"`
	Schedule []RolesWorkerNode600Bd071State `json:"schedule"`
}

type RolesWorkerNodeAutoscaleState

type RolesWorkerNodeAutoscaleState struct {
	Capacity   []RolesWorkerNodeAutoscaleCapacityState   `json:"capacity"`
	Recurrence []RolesWorkerNodeAutoscaleRecurrenceState `json:"recurrence"`
}

type RolesWorkerNodeScriptActions

type RolesWorkerNodeScriptActions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: string, optional
	Parameters terra.StringValue `hcl:"parameters,attr"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type RolesWorkerNodeScriptActionsAttributes

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

func (RolesWorkerNodeScriptActionsAttributes) InternalRef

func (RolesWorkerNodeScriptActionsAttributes) InternalTokens

func (RolesWorkerNodeScriptActionsAttributes) InternalWithRef

func (RolesWorkerNodeScriptActionsAttributes) Name

func (RolesWorkerNodeScriptActionsAttributes) Parameters

func (RolesWorkerNodeScriptActionsAttributes) Uri

type RolesWorkerNodeScriptActionsState

type RolesWorkerNodeScriptActionsState struct {
	Name       string `json:"name"`
	Parameters string `json:"parameters"`
	Uri        string `json:"uri"`
}

type RolesWorkerNodeState

type RolesWorkerNodeState struct {
	Password            string                              `json:"password"`
	SshKeys             []string                            `json:"ssh_keys"`
	SubnetId            string                              `json:"subnet_id"`
	TargetInstanceCount float64                             `json:"target_instance_count"`
	Username            string                              `json:"username"`
	VirtualNetworkId    string                              `json:"virtual_network_id"`
	VmSize              string                              `json:"vm_size"`
	Autoscale           []RolesWorkerNodeAutoscaleState     `json:"autoscale"`
	ScriptActions       []RolesWorkerNodeScriptActionsState `json:"script_actions"`
}

type RolesZookeeperNode

type RolesZookeeperNode struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// SshKeys: set of string, optional
	SshKeys terra.SetValue[terra.StringValue] `hcl:"ssh_keys,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// VirtualNetworkId: string, optional
	VirtualNetworkId terra.StringValue `hcl:"virtual_network_id,attr"`
	// VmSize: string, required
	VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"`
	// RolesZookeeperNodeScriptActions: min=0
	ScriptActions []RolesZookeeperNodeScriptActions `hcl:"script_actions,block" validate:"min=0"`
}

type RolesZookeeperNodeAttributes

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

func (RolesZookeeperNodeAttributes) InternalRef

func (zn RolesZookeeperNodeAttributes) InternalRef() (terra.Reference, error)

func (RolesZookeeperNodeAttributes) InternalTokens

func (zn RolesZookeeperNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RolesZookeeperNodeAttributes) InternalWithRef

func (RolesZookeeperNodeAttributes) Password

func (RolesZookeeperNodeAttributes) ScriptActions

func (RolesZookeeperNodeAttributes) SshKeys

func (RolesZookeeperNodeAttributes) SubnetId

func (RolesZookeeperNodeAttributes) Username

func (RolesZookeeperNodeAttributes) VirtualNetworkId

func (zn RolesZookeeperNodeAttributes) VirtualNetworkId() terra.StringValue

func (RolesZookeeperNodeAttributes) VmSize

type RolesZookeeperNodeScriptActions

type RolesZookeeperNodeScriptActions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: string, optional
	Parameters terra.StringValue `hcl:"parameters,attr"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type RolesZookeeperNodeScriptActionsAttributes

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

func (RolesZookeeperNodeScriptActionsAttributes) InternalRef

func (RolesZookeeperNodeScriptActionsAttributes) InternalTokens

func (RolesZookeeperNodeScriptActionsAttributes) InternalWithRef

func (RolesZookeeperNodeScriptActionsAttributes) Name

func (RolesZookeeperNodeScriptActionsAttributes) Parameters

func (RolesZookeeperNodeScriptActionsAttributes) Uri

type RolesZookeeperNodeScriptActionsState

type RolesZookeeperNodeScriptActionsState struct {
	Name       string `json:"name"`
	Parameters string `json:"parameters"`
	Uri        string `json:"uri"`
}

type RolesZookeeperNodeState

type RolesZookeeperNodeState struct {
	Password         string                                 `json:"password"`
	SshKeys          []string                               `json:"ssh_keys"`
	SubnetId         string                                 `json:"subnet_id"`
	Username         string                                 `json:"username"`
	VirtualNetworkId string                                 `json:"virtual_network_id"`
	VmSize           string                                 `json:"vm_size"`
	ScriptActions    []RolesZookeeperNodeScriptActionsState `json:"script_actions"`
}

type SecurityProfile

type SecurityProfile struct {
	// AaddsResourceId: string, required
	AaddsResourceId terra.StringValue `hcl:"aadds_resource_id,attr" validate:"required"`
	// ClusterUsersGroupDns: set of string, optional
	ClusterUsersGroupDns terra.SetValue[terra.StringValue] `hcl:"cluster_users_group_dns,attr"`
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// DomainUserPassword: string, required
	DomainUserPassword terra.StringValue `hcl:"domain_user_password,attr" validate:"required"`
	// DomainUsername: string, required
	DomainUsername terra.StringValue `hcl:"domain_username,attr" validate:"required"`
	// LdapsUrls: set of string, required
	LdapsUrls terra.SetValue[terra.StringValue] `hcl:"ldaps_urls,attr" validate:"required"`
	// MsiResourceId: string, required
	MsiResourceId terra.StringValue `hcl:"msi_resource_id,attr" validate:"required"`
}

type SecurityProfileAttributes

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

func (SecurityProfileAttributes) AaddsResourceId

func (sp SecurityProfileAttributes) AaddsResourceId() terra.StringValue

func (SecurityProfileAttributes) ClusterUsersGroupDns

func (sp SecurityProfileAttributes) ClusterUsersGroupDns() terra.SetValue[terra.StringValue]

func (SecurityProfileAttributes) DomainName

func (SecurityProfileAttributes) DomainUserPassword

func (sp SecurityProfileAttributes) DomainUserPassword() terra.StringValue

func (SecurityProfileAttributes) DomainUsername

func (sp SecurityProfileAttributes) DomainUsername() terra.StringValue

func (SecurityProfileAttributes) InternalRef

func (sp SecurityProfileAttributes) InternalRef() (terra.Reference, error)

func (SecurityProfileAttributes) InternalTokens

func (sp SecurityProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecurityProfileAttributes) InternalWithRef

func (SecurityProfileAttributes) LdapsUrls

func (SecurityProfileAttributes) MsiResourceId

func (sp SecurityProfileAttributes) MsiResourceId() terra.StringValue

type SecurityProfileState

type SecurityProfileState struct {
	AaddsResourceId      string   `json:"aadds_resource_id"`
	ClusterUsersGroupDns []string `json:"cluster_users_group_dns"`
	DomainName           string   `json:"domain_name"`
	DomainUserPassword   string   `json:"domain_user_password"`
	DomainUsername       string   `json:"domain_username"`
	LdapsUrls            []string `json:"ldaps_urls"`
	MsiResourceId        string   `json:"msi_resource_id"`
}

type StorageAccount

type StorageAccount struct {
	// IsDefault: bool, required
	IsDefault terra.BoolValue `hcl:"is_default,attr" validate:"required"`
	// StorageAccountKey: string, required
	StorageAccountKey terra.StringValue `hcl:"storage_account_key,attr" validate:"required"`
	// StorageContainerId: string, required
	StorageContainerId terra.StringValue `hcl:"storage_container_id,attr" validate:"required"`
	// StorageResourceId: string, optional
	StorageResourceId terra.StringValue `hcl:"storage_resource_id,attr"`
}

type StorageAccountAttributes

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

func (StorageAccountAttributes) InternalRef

func (sa StorageAccountAttributes) InternalRef() (terra.Reference, error)

func (StorageAccountAttributes) InternalTokens

func (sa StorageAccountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageAccountAttributes) InternalWithRef

func (StorageAccountAttributes) IsDefault

func (sa StorageAccountAttributes) IsDefault() terra.BoolValue

func (StorageAccountAttributes) StorageAccountKey

func (sa StorageAccountAttributes) StorageAccountKey() terra.StringValue

func (StorageAccountAttributes) StorageContainerId

func (sa StorageAccountAttributes) StorageContainerId() terra.StringValue

func (StorageAccountAttributes) StorageResourceId

func (sa StorageAccountAttributes) StorageResourceId() terra.StringValue

type StorageAccountGen2

type StorageAccountGen2 struct {
	// FilesystemId: string, required
	FilesystemId terra.StringValue `hcl:"filesystem_id,attr" validate:"required"`
	// IsDefault: bool, required
	IsDefault terra.BoolValue `hcl:"is_default,attr" validate:"required"`
	// ManagedIdentityResourceId: string, required
	ManagedIdentityResourceId terra.StringValue `hcl:"managed_identity_resource_id,attr" validate:"required"`
	// StorageResourceId: string, required
	StorageResourceId terra.StringValue `hcl:"storage_resource_id,attr" validate:"required"`
}

type StorageAccountGen2Attributes

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

func (StorageAccountGen2Attributes) FilesystemId

func (sag StorageAccountGen2Attributes) FilesystemId() terra.StringValue

func (StorageAccountGen2Attributes) InternalRef

func (sag StorageAccountGen2Attributes) InternalRef() (terra.Reference, error)

func (StorageAccountGen2Attributes) InternalTokens

func (sag StorageAccountGen2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageAccountGen2Attributes) InternalWithRef

func (StorageAccountGen2Attributes) IsDefault

func (StorageAccountGen2Attributes) ManagedIdentityResourceId

func (sag StorageAccountGen2Attributes) ManagedIdentityResourceId() terra.StringValue

func (StorageAccountGen2Attributes) StorageResourceId

func (sag StorageAccountGen2Attributes) StorageResourceId() terra.StringValue

type StorageAccountGen2State

type StorageAccountGen2State struct {
	FilesystemId              string `json:"filesystem_id"`
	IsDefault                 bool   `json:"is_default"`
	ManagedIdentityResourceId string `json:"managed_identity_resource_id"`
	StorageResourceId         string `json:"storage_resource_id"`
}

type StorageAccountState

type StorageAccountState struct {
	IsDefault          bool   `json:"is_default"`
	StorageAccountKey  string `json:"storage_account_key"`
	StorageContainerId string `json:"storage_container_id"`
	StorageResourceId  string `json:"storage_resource_id"`
}

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