batchpool

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoScale

type AutoScale struct {
	// EvaluationInterval: string, optional
	EvaluationInterval terra.StringValue `hcl:"evaluation_interval,attr"`
	// Formula: string, required
	Formula terra.StringValue `hcl:"formula,attr" validate:"required"`
}

type AutoScaleAttributes

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

func (AutoScaleAttributes) EvaluationInterval

func (as AutoScaleAttributes) EvaluationInterval() terra.StringValue

func (AutoScaleAttributes) Formula

func (as AutoScaleAttributes) Formula() terra.StringValue

func (AutoScaleAttributes) InternalRef

func (as AutoScaleAttributes) InternalRef() (terra.Reference, error)

func (AutoScaleAttributes) InternalTokens

func (as AutoScaleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoScaleAttributes) InternalWithRef

func (as AutoScaleAttributes) InternalWithRef(ref terra.Reference) AutoScaleAttributes

type AutoScaleState

type AutoScaleState struct {
	EvaluationInterval string `json:"evaluation_interval"`
	Formula            string `json:"formula"`
}

type AutoUser

type AutoUser struct {
	// ElevationLevel: string, optional
	ElevationLevel terra.StringValue `hcl:"elevation_level,attr"`
	// Scope: string, optional
	Scope terra.StringValue `hcl:"scope,attr"`
}

type AutoUserAttributes

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

func (AutoUserAttributes) ElevationLevel

func (au AutoUserAttributes) ElevationLevel() terra.StringValue

func (AutoUserAttributes) InternalRef

func (au AutoUserAttributes) InternalRef() (terra.Reference, error)

func (AutoUserAttributes) InternalTokens

func (au AutoUserAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoUserAttributes) InternalWithRef

func (au AutoUserAttributes) InternalWithRef(ref terra.Reference) AutoUserAttributes

func (AutoUserAttributes) Scope

type AutoUserState

type AutoUserState struct {
	ElevationLevel string `json:"elevation_level"`
	Scope          string `json:"scope"`
}

type AzureBlobFileSystem

type AzureBlobFileSystem struct {
	// AccountKey: string, optional
	AccountKey terra.StringValue `hcl:"account_key,attr"`
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// BlobfuseOptions: string, optional
	BlobfuseOptions terra.StringValue `hcl:"blobfuse_options,attr"`
	// ContainerName: string, required
	ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"`
	// IdentityId: string, optional
	IdentityId terra.StringValue `hcl:"identity_id,attr"`
	// RelativeMountPath: string, required
	RelativeMountPath terra.StringValue `hcl:"relative_mount_path,attr" validate:"required"`
	// SasKey: string, optional
	SasKey terra.StringValue `hcl:"sas_key,attr"`
}

type AzureBlobFileSystemAttributes

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

func (AzureBlobFileSystemAttributes) AccountKey

func (AzureBlobFileSystemAttributes) AccountName

func (abfs AzureBlobFileSystemAttributes) AccountName() terra.StringValue

func (AzureBlobFileSystemAttributes) BlobfuseOptions

func (abfs AzureBlobFileSystemAttributes) BlobfuseOptions() terra.StringValue

func (AzureBlobFileSystemAttributes) ContainerName

func (abfs AzureBlobFileSystemAttributes) ContainerName() terra.StringValue

func (AzureBlobFileSystemAttributes) IdentityId

func (AzureBlobFileSystemAttributes) InternalRef

func (abfs AzureBlobFileSystemAttributes) InternalRef() (terra.Reference, error)

func (AzureBlobFileSystemAttributes) InternalTokens

func (abfs AzureBlobFileSystemAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AzureBlobFileSystemAttributes) InternalWithRef

func (AzureBlobFileSystemAttributes) RelativeMountPath

func (abfs AzureBlobFileSystemAttributes) RelativeMountPath() terra.StringValue

func (AzureBlobFileSystemAttributes) SasKey

type AzureBlobFileSystemState

type AzureBlobFileSystemState struct {
	AccountKey        string `json:"account_key"`
	AccountName       string `json:"account_name"`
	BlobfuseOptions   string `json:"blobfuse_options"`
	ContainerName     string `json:"container_name"`
	IdentityId        string `json:"identity_id"`
	RelativeMountPath string `json:"relative_mount_path"`
	SasKey            string `json:"sas_key"`
}

type AzureFileShare

type AzureFileShare struct {
	// AccountKey: string, required
	AccountKey terra.StringValue `hcl:"account_key,attr" validate:"required"`
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// AzureFileUrl: string, required
	AzureFileUrl terra.StringValue `hcl:"azure_file_url,attr" validate:"required"`
	// MountOptions: string, optional
	MountOptions terra.StringValue `hcl:"mount_options,attr"`
	// RelativeMountPath: string, required
	RelativeMountPath terra.StringValue `hcl:"relative_mount_path,attr" validate:"required"`
}

type AzureFileShareAttributes

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

func (AzureFileShareAttributes) AccountKey

func (afs AzureFileShareAttributes) AccountKey() terra.StringValue

func (AzureFileShareAttributes) AccountName

func (afs AzureFileShareAttributes) AccountName() terra.StringValue

func (AzureFileShareAttributes) AzureFileUrl

func (afs AzureFileShareAttributes) AzureFileUrl() terra.StringValue

func (AzureFileShareAttributes) InternalRef

func (afs AzureFileShareAttributes) InternalRef() (terra.Reference, error)

func (AzureFileShareAttributes) InternalTokens

func (afs AzureFileShareAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AzureFileShareAttributes) InternalWithRef

func (AzureFileShareAttributes) MountOptions

func (afs AzureFileShareAttributes) MountOptions() terra.StringValue

func (AzureFileShareAttributes) RelativeMountPath

func (afs AzureFileShareAttributes) RelativeMountPath() terra.StringValue

type AzureFileShareState

type AzureFileShareState struct {
	AccountKey        string `json:"account_key"`
	AccountName       string `json:"account_name"`
	AzureFileUrl      string `json:"azure_file_url"`
	MountOptions      string `json:"mount_options"`
	RelativeMountPath string `json:"relative_mount_path"`
}

type Certificate

type Certificate struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// StoreLocation: string, required
	StoreLocation terra.StringValue `hcl:"store_location,attr" validate:"required"`
	// StoreName: string, optional
	StoreName terra.StringValue `hcl:"store_name,attr"`
	// Visibility: set of string, optional
	Visibility terra.SetValue[terra.StringValue] `hcl:"visibility,attr"`
}

type CertificateAttributes

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

func (CertificateAttributes) Id

func (CertificateAttributes) InternalRef

func (c CertificateAttributes) InternalRef() (terra.Reference, error)

func (CertificateAttributes) InternalTokens

func (c CertificateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CertificateAttributes) InternalWithRef

func (CertificateAttributes) StoreLocation

func (c CertificateAttributes) StoreLocation() terra.StringValue

func (CertificateAttributes) StoreName

func (c CertificateAttributes) StoreName() terra.StringValue

func (CertificateAttributes) Visibility

type CertificateState

type CertificateState struct {
	Id            string   `json:"id"`
	StoreLocation string   `json:"store_location"`
	StoreName     string   `json:"store_name"`
	Visibility    []string `json:"visibility"`
}

type CifsMount

type CifsMount struct {
	// MountOptions: string, optional
	MountOptions terra.StringValue `hcl:"mount_options,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// RelativeMountPath: string, required
	RelativeMountPath terra.StringValue `hcl:"relative_mount_path,attr" validate:"required"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// UserName: string, required
	UserName terra.StringValue `hcl:"user_name,attr" validate:"required"`
}

type CifsMountAttributes

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

func (CifsMountAttributes) InternalRef

func (cm CifsMountAttributes) InternalRef() (terra.Reference, error)

func (CifsMountAttributes) InternalTokens

func (cm CifsMountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CifsMountAttributes) InternalWithRef

func (cm CifsMountAttributes) InternalWithRef(ref terra.Reference) CifsMountAttributes

func (CifsMountAttributes) MountOptions

func (cm CifsMountAttributes) MountOptions() terra.StringValue

func (CifsMountAttributes) Password

func (cm CifsMountAttributes) Password() terra.StringValue

func (CifsMountAttributes) RelativeMountPath

func (cm CifsMountAttributes) RelativeMountPath() terra.StringValue

func (CifsMountAttributes) Source

func (CifsMountAttributes) UserName

func (cm CifsMountAttributes) UserName() terra.StringValue

type CifsMountState

type CifsMountState struct {
	MountOptions      string `json:"mount_options"`
	Password          string `json:"password"`
	RelativeMountPath string `json:"relative_mount_path"`
	Source            string `json:"source"`
	UserName          string `json:"user_name"`
}

type Container

type Container struct {
	// ImageName: string, required
	ImageName terra.StringValue `hcl:"image_name,attr" validate:"required"`
	// RunOptions: string, optional
	RunOptions terra.StringValue `hcl:"run_options,attr"`
	// WorkingDirectory: string, optional
	WorkingDirectory terra.StringValue `hcl:"working_directory,attr"`
	// Registry: min=0
	Registry []Registry `hcl:"registry,block" validate:"min=0"`
}

type ContainerAttributes

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

func (ContainerAttributes) ImageName

func (c ContainerAttributes) ImageName() terra.StringValue

func (ContainerAttributes) InternalRef

func (c ContainerAttributes) InternalRef() (terra.Reference, error)

func (ContainerAttributes) InternalTokens

func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerAttributes) InternalWithRef

func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes

func (ContainerAttributes) Registry

func (ContainerAttributes) RunOptions

func (c ContainerAttributes) RunOptions() terra.StringValue

func (ContainerAttributes) WorkingDirectory

func (c ContainerAttributes) WorkingDirectory() terra.StringValue

type ContainerConfiguration

type ContainerConfiguration struct {
	// ContainerImageNames: set of string, optional
	ContainerImageNames terra.SetValue[terra.StringValue] `hcl:"container_image_names,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// ContainerRegistries: min=0
	ContainerRegistries []ContainerRegistries `hcl:"container_registries,block" validate:"min=0"`
}

type ContainerConfigurationAttributes

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

func (ContainerConfigurationAttributes) ContainerImageNames

func (ContainerConfigurationAttributes) ContainerRegistries

func (ContainerConfigurationAttributes) InternalRef

func (ContainerConfigurationAttributes) InternalTokens

func (cc ContainerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerConfigurationAttributes) InternalWithRef

func (ContainerConfigurationAttributes) Type

type ContainerConfigurationState

type ContainerConfigurationState struct {
	ContainerImageNames []string                   `json:"container_image_names"`
	Type                string                     `json:"type"`
	ContainerRegistries []ContainerRegistriesState `json:"container_registries"`
}

type ContainerRegistries

type ContainerRegistries struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// RegistryServer: string, optional
	RegistryServer terra.StringValue `hcl:"registry_server,attr"`
	// UserAssignedIdentityId: string, optional
	UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"`
	// UserName: string, optional
	UserName terra.StringValue `hcl:"user_name,attr"`
}

type ContainerRegistriesAttributes

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

func (ContainerRegistriesAttributes) InternalRef

func (cr ContainerRegistriesAttributes) InternalRef() (terra.Reference, error)

func (ContainerRegistriesAttributes) InternalTokens

func (cr ContainerRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerRegistriesAttributes) InternalWithRef

func (ContainerRegistriesAttributes) Password

func (ContainerRegistriesAttributes) RegistryServer

func (cr ContainerRegistriesAttributes) RegistryServer() terra.StringValue

func (ContainerRegistriesAttributes) UserAssignedIdentityId

func (cr ContainerRegistriesAttributes) UserAssignedIdentityId() terra.StringValue

func (ContainerRegistriesAttributes) UserName

type ContainerRegistriesState

type ContainerRegistriesState struct {
	Password               string `json:"password"`
	RegistryServer         string `json:"registry_server"`
	UserAssignedIdentityId string `json:"user_assigned_identity_id"`
	UserName               string `json:"user_name"`
}

type ContainerState

type ContainerState struct {
	ImageName        string          `json:"image_name"`
	RunOptions       string          `json:"run_options"`
	WorkingDirectory string          `json:"working_directory"`
	Registry         []RegistryState `json:"registry"`
}

type DataDisks

type DataDisks struct {
	// Caching: string, optional
	Caching terra.StringValue `hcl:"caching,attr"`
	// DiskSizeGb: number, required
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr" validate:"required"`
	// Lun: number, required
	Lun terra.NumberValue `hcl:"lun,attr" validate:"required"`
	// StorageAccountType: string, optional
	StorageAccountType terra.StringValue `hcl:"storage_account_type,attr"`
}

type DataDisksAttributes

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

func (DataDisksAttributes) Caching

func (dd DataDisksAttributes) Caching() terra.StringValue

func (DataDisksAttributes) DiskSizeGb

func (dd DataDisksAttributes) DiskSizeGb() terra.NumberValue

func (DataDisksAttributes) InternalRef

func (dd DataDisksAttributes) InternalRef() (terra.Reference, error)

func (DataDisksAttributes) InternalTokens

func (dd DataDisksAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDisksAttributes) InternalWithRef

func (dd DataDisksAttributes) InternalWithRef(ref terra.Reference) DataDisksAttributes

func (DataDisksAttributes) Lun

func (DataDisksAttributes) StorageAccountType

func (dd DataDisksAttributes) StorageAccountType() terra.StringValue

type DataDisksState

type DataDisksState struct {
	Caching            string  `json:"caching"`
	DiskSizeGb         float64 `json:"disk_size_gb"`
	Lun                float64 `json:"lun"`
	StorageAccountType string  `json:"storage_account_type"`
}

type DiskEncryption

type DiskEncryption struct {
	// DiskEncryptionTarget: string, required
	DiskEncryptionTarget terra.StringValue `hcl:"disk_encryption_target,attr" validate:"required"`
}

type DiskEncryptionAttributes

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

func (DiskEncryptionAttributes) DiskEncryptionTarget

func (de DiskEncryptionAttributes) DiskEncryptionTarget() terra.StringValue

func (DiskEncryptionAttributes) InternalRef

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

func (DiskEncryptionAttributes) InternalTokens

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

func (DiskEncryptionAttributes) InternalWithRef

type DiskEncryptionState

type DiskEncryptionState struct {
	DiskEncryptionTarget string `json:"disk_encryption_target"`
}

type EndpointConfiguration

type EndpointConfiguration struct {
	// BackendPort: number, required
	BackendPort terra.NumberValue `hcl:"backend_port,attr" validate:"required"`
	// FrontendPortRange: string, required
	FrontendPortRange terra.StringValue `hcl:"frontend_port_range,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// NetworkSecurityGroupRules: min=0
	NetworkSecurityGroupRules []NetworkSecurityGroupRules `hcl:"network_security_group_rules,block" validate:"min=0"`
}

type EndpointConfigurationAttributes

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

func (EndpointConfigurationAttributes) BackendPort

func (EndpointConfigurationAttributes) FrontendPortRange

func (ec EndpointConfigurationAttributes) FrontendPortRange() terra.StringValue

func (EndpointConfigurationAttributes) InternalRef

func (EndpointConfigurationAttributes) InternalTokens

func (ec EndpointConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointConfigurationAttributes) InternalWithRef

func (EndpointConfigurationAttributes) Name

func (EndpointConfigurationAttributes) NetworkSecurityGroupRules

func (EndpointConfigurationAttributes) Protocol

type EndpointConfigurationState

type EndpointConfigurationState struct {
	BackendPort               float64                          `json:"backend_port"`
	FrontendPortRange         string                           `json:"frontend_port_range"`
	Name                      string                           `json:"name"`
	Protocol                  string                           `json:"protocol"`
	NetworkSecurityGroupRules []NetworkSecurityGroupRulesState `json:"network_security_group_rules"`
}

type Extensions

type Extensions struct {
	// AutoUpgradeMinorVersion: bool, optional
	AutoUpgradeMinorVersion terra.BoolValue `hcl:"auto_upgrade_minor_version,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProtectedSettings: string, optional
	ProtectedSettings terra.StringValue `hcl:"protected_settings,attr"`
	// ProvisionAfterExtensions: set of string, optional
	ProvisionAfterExtensions terra.SetValue[terra.StringValue] `hcl:"provision_after_extensions,attr"`
	// Publisher: string, required
	Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"`
	// SettingsJson: string, optional
	SettingsJson terra.StringValue `hcl:"settings_json,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// TypeHandlerVersion: string, optional
	TypeHandlerVersion terra.StringValue `hcl:"type_handler_version,attr"`
}

type ExtensionsAttributes

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

func (ExtensionsAttributes) AutoUpgradeMinorVersion

func (e ExtensionsAttributes) AutoUpgradeMinorVersion() terra.BoolValue

func (ExtensionsAttributes) InternalRef

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

func (ExtensionsAttributes) InternalTokens

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

func (ExtensionsAttributes) InternalWithRef

func (ExtensionsAttributes) Name

func (ExtensionsAttributes) ProtectedSettings

func (e ExtensionsAttributes) ProtectedSettings() terra.StringValue

func (ExtensionsAttributes) ProvisionAfterExtensions

func (e ExtensionsAttributes) ProvisionAfterExtensions() terra.SetValue[terra.StringValue]

func (ExtensionsAttributes) Publisher

func (e ExtensionsAttributes) Publisher() terra.StringValue

func (ExtensionsAttributes) SettingsJson

func (e ExtensionsAttributes) SettingsJson() terra.StringValue

func (ExtensionsAttributes) Type

func (ExtensionsAttributes) TypeHandlerVersion

func (e ExtensionsAttributes) TypeHandlerVersion() terra.StringValue

type ExtensionsState

type ExtensionsState struct {
	AutoUpgradeMinorVersion  bool     `json:"auto_upgrade_minor_version"`
	Name                     string   `json:"name"`
	ProtectedSettings        string   `json:"protected_settings"`
	ProvisionAfterExtensions []string `json:"provision_after_extensions"`
	Publisher                string   `json:"publisher"`
	SettingsJson             string   `json:"settings_json"`
	Type                     string   `json:"type"`
	TypeHandlerVersion       string   `json:"type_handler_version"`
}

type FixedScale

type FixedScale struct {
	// NodeDeallocationMethod: string, optional
	NodeDeallocationMethod terra.StringValue `hcl:"node_deallocation_method,attr"`
	// ResizeTimeout: string, optional
	ResizeTimeout terra.StringValue `hcl:"resize_timeout,attr"`
	// TargetDedicatedNodes: number, optional
	TargetDedicatedNodes terra.NumberValue `hcl:"target_dedicated_nodes,attr"`
	// TargetLowPriorityNodes: number, optional
	TargetLowPriorityNodes terra.NumberValue `hcl:"target_low_priority_nodes,attr"`
}

type FixedScaleAttributes

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

func (FixedScaleAttributes) InternalRef

func (fs FixedScaleAttributes) InternalRef() (terra.Reference, error)

func (FixedScaleAttributes) InternalTokens

func (fs FixedScaleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FixedScaleAttributes) InternalWithRef

func (fs FixedScaleAttributes) InternalWithRef(ref terra.Reference) FixedScaleAttributes

func (FixedScaleAttributes) NodeDeallocationMethod

func (fs FixedScaleAttributes) NodeDeallocationMethod() terra.StringValue

func (FixedScaleAttributes) ResizeTimeout

func (fs FixedScaleAttributes) ResizeTimeout() terra.StringValue

func (FixedScaleAttributes) TargetDedicatedNodes

func (fs FixedScaleAttributes) TargetDedicatedNodes() terra.NumberValue

func (FixedScaleAttributes) TargetLowPriorityNodes

func (fs FixedScaleAttributes) TargetLowPriorityNodes() terra.NumberValue

type FixedScaleState

type FixedScaleState struct {
	NodeDeallocationMethod string  `json:"node_deallocation_method"`
	ResizeTimeout          string  `json:"resize_timeout"`
	TargetDedicatedNodes   float64 `json:"target_dedicated_nodes"`
	TargetLowPriorityNodes float64 `json:"target_low_priority_nodes"`
}

type Identity

type Identity struct {
	// IdentityIds: set of string, required
	IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr" validate:"required"`
	// 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 (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) Type

type IdentityState

type IdentityState struct {
	IdentityIds []string `json:"identity_ids"`
	Type        string   `json:"type"`
}

type LinuxUserConfiguration

type LinuxUserConfiguration struct {
	// Gid: number, optional
	Gid terra.NumberValue `hcl:"gid,attr"`
	// SshPrivateKey: string, optional
	SshPrivateKey terra.StringValue `hcl:"ssh_private_key,attr"`
	// Uid: number, optional
	Uid terra.NumberValue `hcl:"uid,attr"`
}

type LinuxUserConfigurationAttributes

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

func (LinuxUserConfigurationAttributes) Gid

func (LinuxUserConfigurationAttributes) InternalRef

func (LinuxUserConfigurationAttributes) InternalTokens

func (luc LinuxUserConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LinuxUserConfigurationAttributes) InternalWithRef

func (LinuxUserConfigurationAttributes) SshPrivateKey

func (LinuxUserConfigurationAttributes) Uid

type LinuxUserConfigurationState

type LinuxUserConfigurationState struct {
	Gid           float64 `json:"gid"`
	SshPrivateKey string  `json:"ssh_private_key"`
	Uid           float64 `json:"uid"`
}

type Mount

type Mount struct {
	// AzureBlobFileSystem: optional
	AzureBlobFileSystem *AzureBlobFileSystem `hcl:"azure_blob_file_system,block"`
	// AzureFileShare: min=0
	AzureFileShare []AzureFileShare `hcl:"azure_file_share,block" validate:"min=0"`
	// CifsMount: min=0
	CifsMount []CifsMount `hcl:"cifs_mount,block" validate:"min=0"`
	// NfsMount: min=0
	NfsMount []NfsMount `hcl:"nfs_mount,block" validate:"min=0"`
}

type MountAttributes

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

func (MountAttributes) AzureBlobFileSystem

func (MountAttributes) AzureFileShare

func (MountAttributes) CifsMount

func (MountAttributes) InternalRef

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

func (MountAttributes) InternalTokens

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

func (MountAttributes) InternalWithRef

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

func (MountAttributes) NfsMount

type MountState

type MountState struct {
	AzureBlobFileSystem []AzureBlobFileSystemState `json:"azure_blob_file_system"`
	AzureFileShare      []AzureFileShareState      `json:"azure_file_share"`
	CifsMount           []CifsMountState           `json:"cifs_mount"`
	NfsMount            []NfsMountState            `json:"nfs_mount"`
}

type NetworkConfiguration

type NetworkConfiguration struct {
	// DynamicVnetAssignmentScope: string, optional
	DynamicVnetAssignmentScope terra.StringValue `hcl:"dynamic_vnet_assignment_scope,attr"`
	// PublicAddressProvisioningType: string, optional
	PublicAddressProvisioningType terra.StringValue `hcl:"public_address_provisioning_type,attr"`
	// PublicIps: set of string, optional
	PublicIps terra.SetValue[terra.StringValue] `hcl:"public_ips,attr"`
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
	// EndpointConfiguration: min=0
	EndpointConfiguration []EndpointConfiguration `hcl:"endpoint_configuration,block" validate:"min=0"`
}

type NetworkConfigurationAttributes

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

func (NetworkConfigurationAttributes) DynamicVnetAssignmentScope

func (nc NetworkConfigurationAttributes) DynamicVnetAssignmentScope() terra.StringValue

func (NetworkConfigurationAttributes) EndpointConfiguration

func (NetworkConfigurationAttributes) InternalRef

func (NetworkConfigurationAttributes) InternalTokens

func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigurationAttributes) InternalWithRef

func (NetworkConfigurationAttributes) PublicAddressProvisioningType

func (nc NetworkConfigurationAttributes) PublicAddressProvisioningType() terra.StringValue

func (NetworkConfigurationAttributes) PublicIps

func (NetworkConfigurationAttributes) SubnetId

type NetworkConfigurationState

type NetworkConfigurationState struct {
	DynamicVnetAssignmentScope    string                       `json:"dynamic_vnet_assignment_scope"`
	PublicAddressProvisioningType string                       `json:"public_address_provisioning_type"`
	PublicIps                     []string                     `json:"public_ips"`
	SubnetId                      string                       `json:"subnet_id"`
	EndpointConfiguration         []EndpointConfigurationState `json:"endpoint_configuration"`
}

type NetworkSecurityGroupRules

type NetworkSecurityGroupRules struct {
	// Access: string, required
	Access terra.StringValue `hcl:"access,attr" validate:"required"`
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// SourceAddressPrefix: string, required
	SourceAddressPrefix terra.StringValue `hcl:"source_address_prefix,attr" validate:"required"`
	// SourcePortRanges: list of string, optional
	SourcePortRanges terra.ListValue[terra.StringValue] `hcl:"source_port_ranges,attr"`
}

type NetworkSecurityGroupRulesAttributes

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

func (NetworkSecurityGroupRulesAttributes) Access

func (NetworkSecurityGroupRulesAttributes) InternalRef

func (NetworkSecurityGroupRulesAttributes) InternalTokens

func (nsgr NetworkSecurityGroupRulesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkSecurityGroupRulesAttributes) InternalWithRef

func (NetworkSecurityGroupRulesAttributes) Priority

func (NetworkSecurityGroupRulesAttributes) SourceAddressPrefix

func (nsgr NetworkSecurityGroupRulesAttributes) SourceAddressPrefix() terra.StringValue

func (NetworkSecurityGroupRulesAttributes) SourcePortRanges

type NetworkSecurityGroupRulesState

type NetworkSecurityGroupRulesState struct {
	Access              string   `json:"access"`
	Priority            float64  `json:"priority"`
	SourceAddressPrefix string   `json:"source_address_prefix"`
	SourcePortRanges    []string `json:"source_port_ranges"`
}

type NfsMount

type NfsMount struct {
	// MountOptions: string, optional
	MountOptions terra.StringValue `hcl:"mount_options,attr"`
	// RelativeMountPath: string, required
	RelativeMountPath terra.StringValue `hcl:"relative_mount_path,attr" validate:"required"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
}

type NfsMountAttributes

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

func (NfsMountAttributes) InternalRef

func (nm NfsMountAttributes) InternalRef() (terra.Reference, error)

func (NfsMountAttributes) InternalTokens

func (nm NfsMountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NfsMountAttributes) InternalWithRef

func (nm NfsMountAttributes) InternalWithRef(ref terra.Reference) NfsMountAttributes

func (NfsMountAttributes) MountOptions

func (nm NfsMountAttributes) MountOptions() terra.StringValue

func (NfsMountAttributes) RelativeMountPath

func (nm NfsMountAttributes) RelativeMountPath() terra.StringValue

func (NfsMountAttributes) Source

func (nm NfsMountAttributes) Source() terra.StringValue

type NfsMountState

type NfsMountState struct {
	MountOptions      string `json:"mount_options"`
	RelativeMountPath string `json:"relative_mount_path"`
	Source            string `json:"source"`
}

type NodePlacement

type NodePlacement struct {
	// Policy: string, optional
	Policy terra.StringValue `hcl:"policy,attr"`
}

type NodePlacementAttributes

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

func (NodePlacementAttributes) InternalRef

func (np NodePlacementAttributes) InternalRef() (terra.Reference, error)

func (NodePlacementAttributes) InternalTokens

func (np NodePlacementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodePlacementAttributes) InternalWithRef

func (NodePlacementAttributes) Policy

type NodePlacementState

type NodePlacementState struct {
	Policy string `json:"policy"`
}

type Registry

type Registry struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// RegistryServer: string, required
	RegistryServer terra.StringValue `hcl:"registry_server,attr" validate:"required"`
	// UserAssignedIdentityId: string, optional
	UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"`
	// UserName: string, optional
	UserName terra.StringValue `hcl:"user_name,attr"`
}

type RegistryAttributes

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

func (RegistryAttributes) InternalRef

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

func (RegistryAttributes) InternalTokens

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

func (RegistryAttributes) InternalWithRef

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

func (RegistryAttributes) Password

func (r RegistryAttributes) Password() terra.StringValue

func (RegistryAttributes) RegistryServer

func (r RegistryAttributes) RegistryServer() terra.StringValue

func (RegistryAttributes) UserAssignedIdentityId

func (r RegistryAttributes) UserAssignedIdentityId() terra.StringValue

func (RegistryAttributes) UserName

func (r RegistryAttributes) UserName() terra.StringValue

type RegistryState

type RegistryState struct {
	Password               string `json:"password"`
	RegistryServer         string `json:"registry_server"`
	UserAssignedIdentityId string `json:"user_assigned_identity_id"`
	UserName               string `json:"user_name"`
}

type ResourceFile

type ResourceFile struct {
	// AutoStorageContainerName: string, optional
	AutoStorageContainerName terra.StringValue `hcl:"auto_storage_container_name,attr"`
	// BlobPrefix: string, optional
	BlobPrefix terra.StringValue `hcl:"blob_prefix,attr"`
	// FileMode: string, optional
	FileMode terra.StringValue `hcl:"file_mode,attr"`
	// FilePath: string, optional
	FilePath terra.StringValue `hcl:"file_path,attr"`
	// HttpUrl: string, optional
	HttpUrl terra.StringValue `hcl:"http_url,attr"`
	// StorageContainerUrl: string, optional
	StorageContainerUrl terra.StringValue `hcl:"storage_container_url,attr"`
	// UserAssignedIdentityId: string, optional
	UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"`
}

type ResourceFileAttributes

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

func (ResourceFileAttributes) AutoStorageContainerName

func (rf ResourceFileAttributes) AutoStorageContainerName() terra.StringValue

func (ResourceFileAttributes) BlobPrefix

func (rf ResourceFileAttributes) BlobPrefix() terra.StringValue

func (ResourceFileAttributes) FileMode

func (ResourceFileAttributes) FilePath

func (ResourceFileAttributes) HttpUrl

func (ResourceFileAttributes) InternalRef

func (rf ResourceFileAttributes) InternalRef() (terra.Reference, error)

func (ResourceFileAttributes) InternalTokens

func (rf ResourceFileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourceFileAttributes) InternalWithRef

func (ResourceFileAttributes) StorageContainerUrl

func (rf ResourceFileAttributes) StorageContainerUrl() terra.StringValue

func (ResourceFileAttributes) UserAssignedIdentityId

func (rf ResourceFileAttributes) UserAssignedIdentityId() terra.StringValue

type ResourceFileState

type ResourceFileState struct {
	AutoStorageContainerName string `json:"auto_storage_container_name"`
	BlobPrefix               string `json:"blob_prefix"`
	FileMode                 string `json:"file_mode"`
	FilePath                 string `json:"file_path"`
	HttpUrl                  string `json:"http_url"`
	StorageContainerUrl      string `json:"storage_container_url"`
	UserAssignedIdentityId   string `json:"user_assigned_identity_id"`
}

type StartTask

type StartTask struct {
	// CommandLine: string, required
	CommandLine terra.StringValue `hcl:"command_line,attr" validate:"required"`
	// CommonEnvironmentProperties: map of string, optional
	CommonEnvironmentProperties terra.MapValue[terra.StringValue] `hcl:"common_environment_properties,attr"`
	// TaskRetryMaximum: number, optional
	TaskRetryMaximum terra.NumberValue `hcl:"task_retry_maximum,attr"`
	// WaitForSuccess: bool, optional
	WaitForSuccess terra.BoolValue `hcl:"wait_for_success,attr"`
	// Container: min=0
	Container []Container `hcl:"container,block" validate:"min=0"`
	// ResourceFile: min=0
	ResourceFile []ResourceFile `hcl:"resource_file,block" validate:"min=0"`
	// UserIdentity: required
	UserIdentity *UserIdentity `hcl:"user_identity,block" validate:"required"`
}

type StartTaskAttributes

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

func (StartTaskAttributes) CommandLine

func (st StartTaskAttributes) CommandLine() terra.StringValue

func (StartTaskAttributes) CommonEnvironmentProperties

func (st StartTaskAttributes) CommonEnvironmentProperties() terra.MapValue[terra.StringValue]

func (StartTaskAttributes) Container

func (StartTaskAttributes) InternalRef

func (st StartTaskAttributes) InternalRef() (terra.Reference, error)

func (StartTaskAttributes) InternalTokens

func (st StartTaskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StartTaskAttributes) InternalWithRef

func (st StartTaskAttributes) InternalWithRef(ref terra.Reference) StartTaskAttributes

func (StartTaskAttributes) ResourceFile

func (StartTaskAttributes) TaskRetryMaximum

func (st StartTaskAttributes) TaskRetryMaximum() terra.NumberValue

func (StartTaskAttributes) UserIdentity

func (StartTaskAttributes) WaitForSuccess

func (st StartTaskAttributes) WaitForSuccess() terra.BoolValue

type StartTaskState

type StartTaskState struct {
	CommandLine                 string              `json:"command_line"`
	CommonEnvironmentProperties map[string]string   `json:"common_environment_properties"`
	TaskRetryMaximum            float64             `json:"task_retry_maximum"`
	WaitForSuccess              bool                `json:"wait_for_success"`
	Container                   []ContainerState    `json:"container"`
	ResourceFile                []ResourceFileState `json:"resource_file"`
	UserIdentity                []UserIdentityState `json:"user_identity"`
}

type StorageImageReference

type StorageImageReference struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Offer: string, optional
	Offer terra.StringValue `hcl:"offer,attr"`
	// Publisher: string, optional
	Publisher terra.StringValue `hcl:"publisher,attr"`
	// Sku: string, optional
	Sku terra.StringValue `hcl:"sku,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type StorageImageReferenceAttributes

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

func (StorageImageReferenceAttributes) Id

func (StorageImageReferenceAttributes) InternalRef

func (StorageImageReferenceAttributes) InternalTokens

func (sir StorageImageReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageImageReferenceAttributes) InternalWithRef

func (StorageImageReferenceAttributes) Offer

func (StorageImageReferenceAttributes) Publisher

func (StorageImageReferenceAttributes) Sku

func (StorageImageReferenceAttributes) Version

type StorageImageReferenceState

type StorageImageReferenceState struct {
	Id        string `json:"id"`
	Offer     string `json:"offer"`
	Publisher string `json:"publisher"`
	Sku       string `json:"sku"`
	Version   string `json:"version"`
}

type TaskSchedulingPolicy

type TaskSchedulingPolicy struct {
	// NodeFillType: string, optional
	NodeFillType terra.StringValue `hcl:"node_fill_type,attr"`
}

type TaskSchedulingPolicyAttributes

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

func (TaskSchedulingPolicyAttributes) InternalRef

func (tsp TaskSchedulingPolicyAttributes) InternalRef() (terra.Reference, error)

func (TaskSchedulingPolicyAttributes) InternalTokens

func (tsp TaskSchedulingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TaskSchedulingPolicyAttributes) InternalWithRef

func (TaskSchedulingPolicyAttributes) NodeFillType

type TaskSchedulingPolicyState

type TaskSchedulingPolicyState struct {
	NodeFillType string `json:"node_fill_type"`
}

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"`
}

type UserAccounts

type UserAccounts struct {
	// ElevationLevel: string, required
	ElevationLevel terra.StringValue `hcl:"elevation_level,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// LinuxUserConfiguration: min=0
	LinuxUserConfiguration []LinuxUserConfiguration `hcl:"linux_user_configuration,block" validate:"min=0"`
	// WindowsUserConfiguration: min=0
	WindowsUserConfiguration []WindowsUserConfiguration `hcl:"windows_user_configuration,block" validate:"min=0"`
}

type UserAccountsAttributes

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

func (UserAccountsAttributes) ElevationLevel

func (ua UserAccountsAttributes) ElevationLevel() terra.StringValue

func (UserAccountsAttributes) InternalRef

func (ua UserAccountsAttributes) InternalRef() (terra.Reference, error)

func (UserAccountsAttributes) InternalTokens

func (ua UserAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserAccountsAttributes) InternalWithRef

func (UserAccountsAttributes) LinuxUserConfiguration

func (UserAccountsAttributes) Name

func (UserAccountsAttributes) Password

func (UserAccountsAttributes) WindowsUserConfiguration

type UserAccountsState

type UserAccountsState struct {
	ElevationLevel           string                          `json:"elevation_level"`
	Name                     string                          `json:"name"`
	Password                 string                          `json:"password"`
	LinuxUserConfiguration   []LinuxUserConfigurationState   `json:"linux_user_configuration"`
	WindowsUserConfiguration []WindowsUserConfigurationState `json:"windows_user_configuration"`
}

type UserIdentity

type UserIdentity struct {
	// UserName: string, optional
	UserName terra.StringValue `hcl:"user_name,attr"`
	// AutoUser: optional
	AutoUser *AutoUser `hcl:"auto_user,block"`
}

type UserIdentityAttributes

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

func (UserIdentityAttributes) AutoUser

func (UserIdentityAttributes) InternalRef

func (ui UserIdentityAttributes) InternalRef() (terra.Reference, error)

func (UserIdentityAttributes) InternalTokens

func (ui UserIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserIdentityAttributes) InternalWithRef

func (UserIdentityAttributes) UserName

type UserIdentityState

type UserIdentityState struct {
	UserName string          `json:"user_name"`
	AutoUser []AutoUserState `json:"auto_user"`
}

type Windows

type Windows struct {
	// EnableAutomaticUpdates: bool, optional
	EnableAutomaticUpdates terra.BoolValue `hcl:"enable_automatic_updates,attr"`
}

type WindowsAttributes

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

func (WindowsAttributes) EnableAutomaticUpdates

func (w WindowsAttributes) EnableAutomaticUpdates() terra.BoolValue

func (WindowsAttributes) InternalRef

func (w WindowsAttributes) InternalRef() (terra.Reference, error)

func (WindowsAttributes) InternalTokens

func (w WindowsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WindowsAttributes) InternalWithRef

func (w WindowsAttributes) InternalWithRef(ref terra.Reference) WindowsAttributes

type WindowsState

type WindowsState struct {
	EnableAutomaticUpdates bool `json:"enable_automatic_updates"`
}

type WindowsUserConfiguration

type WindowsUserConfiguration struct {
	// LoginMode: string, required
	LoginMode terra.StringValue `hcl:"login_mode,attr" validate:"required"`
}

type WindowsUserConfigurationAttributes

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

func (WindowsUserConfigurationAttributes) InternalRef

func (WindowsUserConfigurationAttributes) InternalTokens

func (wuc WindowsUserConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WindowsUserConfigurationAttributes) InternalWithRef

func (WindowsUserConfigurationAttributes) LoginMode

type WindowsUserConfigurationState

type WindowsUserConfigurationState struct {
	LoginMode string `json:"login_mode"`
}

Jump to

Keyboard shortcuts

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