azurerm_synapse_workspace

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 AadAdmin

type AadAdmin struct {
	// Login: string, optional
	Login terra.StringValue `hcl:"login,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// TenantId: string, optional
	TenantId terra.StringValue `hcl:"tenant_id,attr"`
}

type AadAdminAttributes

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

func (AadAdminAttributes) InternalRef

func (aa AadAdminAttributes) InternalRef() (terra.Reference, error)

func (AadAdminAttributes) InternalTokens

func (aa AadAdminAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AadAdminAttributes) InternalWithRef

func (aa AadAdminAttributes) InternalWithRef(ref terra.Reference) AadAdminAttributes

func (AadAdminAttributes) Login

func (AadAdminAttributes) ObjectId

func (aa AadAdminAttributes) ObjectId() terra.StringValue

func (AadAdminAttributes) TenantId

func (aa AadAdminAttributes) TenantId() terra.StringValue

type AadAdminState

type AadAdminState struct {
	Login    string `json:"login"`
	ObjectId string `json:"object_id"`
	TenantId string `json:"tenant_id"`
}

type Args

type Args struct {
	// AzureadAuthenticationOnly: bool, optional
	AzureadAuthenticationOnly terra.BoolValue `hcl:"azuread_authentication_only,attr"`
	// ComputeSubnetId: string, optional
	ComputeSubnetId terra.StringValue `hcl:"compute_subnet_id,attr"`
	// DataExfiltrationProtectionEnabled: bool, optional
	DataExfiltrationProtectionEnabled terra.BoolValue `hcl:"data_exfiltration_protection_enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LinkingAllowedForAadTenantIds: list of string, optional
	LinkingAllowedForAadTenantIds terra.ListValue[terra.StringValue] `hcl:"linking_allowed_for_aad_tenant_ids,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// ManagedResourceGroupName: string, optional
	ManagedResourceGroupName terra.StringValue `hcl:"managed_resource_group_name,attr"`
	// ManagedVirtualNetworkEnabled: bool, optional
	ManagedVirtualNetworkEnabled terra.BoolValue `hcl:"managed_virtual_network_enabled,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PublicNetworkAccessEnabled: bool, optional
	PublicNetworkAccessEnabled terra.BoolValue `hcl:"public_network_access_enabled,attr"`
	// PurviewId: string, optional
	PurviewId terra.StringValue `hcl:"purview_id,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// SqlAdministratorLogin: string, optional
	SqlAdministratorLogin terra.StringValue `hcl:"sql_administrator_login,attr"`
	// SqlAdministratorLoginPassword: string, optional
	SqlAdministratorLoginPassword terra.StringValue `hcl:"sql_administrator_login_password,attr"`
	// SqlIdentityControlEnabled: bool, optional
	SqlIdentityControlEnabled terra.BoolValue `hcl:"sql_identity_control_enabled,attr"`
	// StorageDataLakeGen2FilesystemId: string, required
	StorageDataLakeGen2FilesystemId terra.StringValue `hcl:"storage_data_lake_gen2_filesystem_id,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// AadAdmin: min=0
	AadAdmin []AadAdmin `hcl:"aad_admin,block" validate:"min=0"`
	// SqlAadAdmin: min=0
	SqlAadAdmin []SqlAadAdmin `hcl:"sql_aad_admin,block" validate:"min=0"`
	// AzureDevopsRepo: optional
	AzureDevopsRepo *AzureDevopsRepo `hcl:"azure_devops_repo,block"`
	// CustomerManagedKey: optional
	CustomerManagedKey *CustomerManagedKey `hcl:"customer_managed_key,block"`
	// GithubRepo: optional
	GithubRepo *GithubRepo `hcl:"github_repo,block"`
	// Identity: optional
	Identity *Identity `hcl:"identity,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_synapse_workspace.

type AzureDevopsRepo

type AzureDevopsRepo struct {
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// BranchName: string, required
	BranchName terra.StringValue `hcl:"branch_name,attr" validate:"required"`
	// LastCommitId: string, optional
	LastCommitId terra.StringValue `hcl:"last_commit_id,attr"`
	// ProjectName: string, required
	ProjectName terra.StringValue `hcl:"project_name,attr" validate:"required"`
	// RepositoryName: string, required
	RepositoryName terra.StringValue `hcl:"repository_name,attr" validate:"required"`
	// RootFolder: string, required
	RootFolder terra.StringValue `hcl:"root_folder,attr" validate:"required"`
	// TenantId: string, optional
	TenantId terra.StringValue `hcl:"tenant_id,attr"`
}

type AzureDevopsRepoAttributes

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

func (AzureDevopsRepoAttributes) AccountName

func (adr AzureDevopsRepoAttributes) AccountName() terra.StringValue

func (AzureDevopsRepoAttributes) BranchName

func (adr AzureDevopsRepoAttributes) BranchName() terra.StringValue

func (AzureDevopsRepoAttributes) InternalRef

func (adr AzureDevopsRepoAttributes) InternalRef() (terra.Reference, error)

func (AzureDevopsRepoAttributes) InternalTokens

func (adr AzureDevopsRepoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AzureDevopsRepoAttributes) InternalWithRef

func (AzureDevopsRepoAttributes) LastCommitId

func (adr AzureDevopsRepoAttributes) LastCommitId() terra.StringValue

func (AzureDevopsRepoAttributes) ProjectName

func (adr AzureDevopsRepoAttributes) ProjectName() terra.StringValue

func (AzureDevopsRepoAttributes) RepositoryName

func (adr AzureDevopsRepoAttributes) RepositoryName() terra.StringValue

func (AzureDevopsRepoAttributes) RootFolder

func (adr AzureDevopsRepoAttributes) RootFolder() terra.StringValue

func (AzureDevopsRepoAttributes) TenantId

type AzureDevopsRepoState

type AzureDevopsRepoState struct {
	AccountName    string `json:"account_name"`
	BranchName     string `json:"branch_name"`
	LastCommitId   string `json:"last_commit_id"`
	ProjectName    string `json:"project_name"`
	RepositoryName string `json:"repository_name"`
	RootFolder     string `json:"root_folder"`
	TenantId       string `json:"tenant_id"`
}

type CustomerManagedKey

type CustomerManagedKey struct {
	// KeyName: string, optional
	KeyName terra.StringValue `hcl:"key_name,attr"`
	// KeyVersionlessId: string, required
	KeyVersionlessId terra.StringValue `hcl:"key_versionless_id,attr" validate:"required"`
	// UserAssignedIdentityId: string, optional
	UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"`
}

type CustomerManagedKeyAttributes

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

func (CustomerManagedKeyAttributes) InternalRef

func (cmk CustomerManagedKeyAttributes) InternalRef() (terra.Reference, error)

func (CustomerManagedKeyAttributes) InternalTokens

func (cmk CustomerManagedKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomerManagedKeyAttributes) InternalWithRef

func (CustomerManagedKeyAttributes) KeyName

func (CustomerManagedKeyAttributes) KeyVersionlessId

func (cmk CustomerManagedKeyAttributes) KeyVersionlessId() terra.StringValue

func (CustomerManagedKeyAttributes) UserAssignedIdentityId

func (cmk CustomerManagedKeyAttributes) UserAssignedIdentityId() terra.StringValue

type CustomerManagedKeyState

type CustomerManagedKeyState struct {
	KeyName                string `json:"key_name"`
	KeyVersionlessId       string `json:"key_versionless_id"`
	UserAssignedIdentityId string `json:"user_assigned_identity_id"`
}

type DataArgs

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

DataArgs contains the configurations for azurerm_synapse_workspace.

type DataIdentityAttributes

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

func (DataIdentityAttributes) IdentityIds

func (DataIdentityAttributes) InternalRef

func (i DataIdentityAttributes) InternalRef() (terra.Reference, error)

func (DataIdentityAttributes) InternalTokens

func (i DataIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIdentityAttributes) InternalWithRef

func (DataIdentityAttributes) PrincipalId

func (i DataIdentityAttributes) PrincipalId() terra.StringValue

func (DataIdentityAttributes) TenantId

func (DataIdentityAttributes) Type

type DataIdentityState

type DataIdentityState struct {
	IdentityIds []string `json:"identity_ids"`
	PrincipalId string   `json:"principal_id"`
	TenantId    string   `json:"tenant_id"`
	Type        string   `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_synapse_workspace.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (asw *DataSource) Attributes() dataAzurermSynapseWorkspaceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (asw *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (asw *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 GithubRepo

type GithubRepo struct {
	// AccountName: string, required
	AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"`
	// BranchName: string, required
	BranchName terra.StringValue `hcl:"branch_name,attr" validate:"required"`
	// GitUrl: string, optional
	GitUrl terra.StringValue `hcl:"git_url,attr"`
	// LastCommitId: string, optional
	LastCommitId terra.StringValue `hcl:"last_commit_id,attr"`
	// RepositoryName: string, required
	RepositoryName terra.StringValue `hcl:"repository_name,attr" validate:"required"`
	// RootFolder: string, required
	RootFolder terra.StringValue `hcl:"root_folder,attr" validate:"required"`
}

type GithubRepoAttributes

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

func (GithubRepoAttributes) AccountName

func (gr GithubRepoAttributes) AccountName() terra.StringValue

func (GithubRepoAttributes) BranchName

func (gr GithubRepoAttributes) BranchName() terra.StringValue

func (GithubRepoAttributes) GitUrl

func (GithubRepoAttributes) InternalRef

func (gr GithubRepoAttributes) InternalRef() (terra.Reference, error)

func (GithubRepoAttributes) InternalTokens

func (gr GithubRepoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GithubRepoAttributes) InternalWithRef

func (gr GithubRepoAttributes) InternalWithRef(ref terra.Reference) GithubRepoAttributes

func (GithubRepoAttributes) LastCommitId

func (gr GithubRepoAttributes) LastCommitId() terra.StringValue

func (GithubRepoAttributes) RepositoryName

func (gr GithubRepoAttributes) RepositoryName() terra.StringValue

func (GithubRepoAttributes) RootFolder

func (gr GithubRepoAttributes) RootFolder() terra.StringValue

type GithubRepoState

type GithubRepoState struct {
	AccountName    string `json:"account_name"`
	BranchName     string `json:"branch_name"`
	GitUrl         string `json:"git_url"`
	LastCommitId   string `json:"last_commit_id"`
	RepositoryName string `json:"repository_name"`
	RootFolder     string `json:"root_folder"`
}

type Identity

type Identity struct {
	// IdentityIds: set of string, optional
	IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type IdentityAttributes

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

func (IdentityAttributes) IdentityIds

func (IdentityAttributes) InternalRef

func (i IdentityAttributes) InternalRef() (terra.Reference, error)

func (IdentityAttributes) InternalTokens

func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IdentityAttributes) InternalWithRef

func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes

func (IdentityAttributes) PrincipalId

func (i IdentityAttributes) PrincipalId() terra.StringValue

func (IdentityAttributes) TenantId

func (i IdentityAttributes) TenantId() terra.StringValue

func (IdentityAttributes) Type

type IdentityState

type IdentityState struct {
	IdentityIds []string `json:"identity_ids"`
	PrincipalId string   `json:"principal_id"`
	TenantId    string   `json:"tenant_id"`
	Type        string   `json:"type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asw *Resource) Attributes() azurermSynapseWorkspaceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asw *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asw *Resource) State() (*azurermSynapseWorkspaceState, bool)

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

func (*Resource) StateMust

func (asw *Resource) StateMust() *azurermSynapseWorkspaceState

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

func (*Resource) Type

func (asw *Resource) Type() string

Type returns the Terraform object type for Resource.

type SqlAadAdmin

type SqlAadAdmin struct {
	// Login: string, optional
	Login terra.StringValue `hcl:"login,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// TenantId: string, optional
	TenantId terra.StringValue `hcl:"tenant_id,attr"`
}

type SqlAadAdminAttributes

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

func (SqlAadAdminAttributes) InternalRef

func (saa SqlAadAdminAttributes) InternalRef() (terra.Reference, error)

func (SqlAadAdminAttributes) InternalTokens

func (saa SqlAadAdminAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SqlAadAdminAttributes) InternalWithRef

func (SqlAadAdminAttributes) Login

func (SqlAadAdminAttributes) ObjectId

func (saa SqlAadAdminAttributes) ObjectId() terra.StringValue

func (SqlAadAdminAttributes) TenantId

func (saa SqlAadAdminAttributes) TenantId() terra.StringValue

type SqlAadAdminState

type SqlAadAdminState struct {
	Login    string `json:"login"`
	ObjectId string `json:"object_id"`
	TenantId string `json:"tenant_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