google_storage_transfer_job

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 {
	// Description: string, required
	Description terra.StringValue `hcl:"description,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
	// EventStream: optional
	EventStream *EventStream `hcl:"event_stream,block"`
	// NotificationConfig: optional
	NotificationConfig *NotificationConfig `hcl:"notification_config,block"`
	// Schedule: optional
	Schedule *Schedule `hcl:"schedule,block"`
	// TransferSpec: required
	TransferSpec *TransferSpec `hcl:"transfer_spec,block" validate:"required"`
}

Args contains the configurations for google_storage_transfer_job.

type EventStream

type EventStream struct {
	// EventStreamExpirationTime: string, optional
	EventStreamExpirationTime terra.StringValue `hcl:"event_stream_expiration_time,attr"`
	// EventStreamStartTime: string, optional
	EventStreamStartTime terra.StringValue `hcl:"event_stream_start_time,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type EventStreamAttributes

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

func (EventStreamAttributes) EventStreamExpirationTime

func (es EventStreamAttributes) EventStreamExpirationTime() terra.StringValue

func (EventStreamAttributes) EventStreamStartTime

func (es EventStreamAttributes) EventStreamStartTime() terra.StringValue

func (EventStreamAttributes) InternalRef

func (es EventStreamAttributes) InternalRef() (terra.Reference, error)

func (EventStreamAttributes) InternalTokens

func (es EventStreamAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventStreamAttributes) InternalWithRef

func (EventStreamAttributes) Name

type EventStreamState

type EventStreamState struct {
	EventStreamExpirationTime string `json:"event_stream_expiration_time"`
	EventStreamStartTime      string `json:"event_stream_start_time"`
	Name                      string `json:"name"`
}

type NotificationConfig

type NotificationConfig struct {
	// EventTypes: set of string, optional
	EventTypes terra.SetValue[terra.StringValue] `hcl:"event_types,attr"`
	// PayloadFormat: string, required
	PayloadFormat terra.StringValue `hcl:"payload_format,attr" validate:"required"`
	// PubsubTopic: string, required
	PubsubTopic terra.StringValue `hcl:"pubsub_topic,attr" validate:"required"`
}

type NotificationConfigAttributes

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

func (NotificationConfigAttributes) EventTypes

func (NotificationConfigAttributes) InternalRef

func (nc NotificationConfigAttributes) InternalRef() (terra.Reference, error)

func (NotificationConfigAttributes) InternalTokens

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

func (NotificationConfigAttributes) InternalWithRef

func (NotificationConfigAttributes) PayloadFormat

func (nc NotificationConfigAttributes) PayloadFormat() terra.StringValue

func (NotificationConfigAttributes) PubsubTopic

type NotificationConfigState

type NotificationConfigState struct {
	EventTypes    []string `json:"event_types"`
	PayloadFormat string   `json:"payload_format"`
	PubsubTopic   string   `json:"pubsub_topic"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gstj *Resource) Attributes() googleStorageTransferJobAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gstj *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gstj *Resource) State() (*googleStorageTransferJobState, bool)

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

func (*Resource) StateMust

func (gstj *Resource) StateMust() *googleStorageTransferJobState

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

func (*Resource) Type

func (gstj *Resource) Type() string

Type returns the Terraform object type for Resource.

type Schedule

type Schedule struct {
	// RepeatInterval: string, optional
	RepeatInterval terra.StringValue `hcl:"repeat_interval,attr"`
	// ScheduleScheduleEndDate: optional
	ScheduleEndDate *ScheduleScheduleEndDate `hcl:"schedule_end_date,block"`
	// ScheduleScheduleStartDate: required
	ScheduleStartDate *ScheduleScheduleStartDate `hcl:"schedule_start_date,block" validate:"required"`
	// ScheduleStartTimeOfDay: optional
	StartTimeOfDay *ScheduleStartTimeOfDay `hcl:"start_time_of_day,block"`
}

type ScheduleAttributes

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

func (ScheduleAttributes) InternalRef

func (s ScheduleAttributes) InternalRef() (terra.Reference, error)

func (ScheduleAttributes) InternalTokens

func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleAttributes) InternalWithRef

func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes

func (ScheduleAttributes) RepeatInterval

func (s ScheduleAttributes) RepeatInterval() terra.StringValue

func (ScheduleAttributes) ScheduleEndDate

func (ScheduleAttributes) ScheduleStartDate

func (ScheduleAttributes) StartTimeOfDay

type ScheduleScheduleEndDate

type ScheduleScheduleEndDate struct {
	// Day: number, required
	Day terra.NumberValue `hcl:"day,attr" validate:"required"`
	// Month: number, required
	Month terra.NumberValue `hcl:"month,attr" validate:"required"`
	// Year: number, required
	Year terra.NumberValue `hcl:"year,attr" validate:"required"`
}

type ScheduleScheduleEndDateAttributes

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

func (ScheduleScheduleEndDateAttributes) Day

func (ScheduleScheduleEndDateAttributes) InternalRef

func (ScheduleScheduleEndDateAttributes) InternalTokens

func (sed ScheduleScheduleEndDateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleScheduleEndDateAttributes) InternalWithRef

func (ScheduleScheduleEndDateAttributes) Month

func (ScheduleScheduleEndDateAttributes) Year

type ScheduleScheduleEndDateState

type ScheduleScheduleEndDateState struct {
	Day   float64 `json:"day"`
	Month float64 `json:"month"`
	Year  float64 `json:"year"`
}

type ScheduleScheduleStartDate

type ScheduleScheduleStartDate struct {
	// Day: number, required
	Day terra.NumberValue `hcl:"day,attr" validate:"required"`
	// Month: number, required
	Month terra.NumberValue `hcl:"month,attr" validate:"required"`
	// Year: number, required
	Year terra.NumberValue `hcl:"year,attr" validate:"required"`
}

type ScheduleScheduleStartDateAttributes

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

func (ScheduleScheduleStartDateAttributes) Day

func (ScheduleScheduleStartDateAttributes) InternalRef

func (ScheduleScheduleStartDateAttributes) InternalTokens

func (ssd ScheduleScheduleStartDateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleScheduleStartDateAttributes) InternalWithRef

func (ScheduleScheduleStartDateAttributes) Month

func (ScheduleScheduleStartDateAttributes) Year

type ScheduleScheduleStartDateState

type ScheduleScheduleStartDateState struct {
	Day   float64 `json:"day"`
	Month float64 `json:"month"`
	Year  float64 `json:"year"`
}

type ScheduleStartTimeOfDay

type ScheduleStartTimeOfDay struct {
	// Hours: number, required
	Hours terra.NumberValue `hcl:"hours,attr" validate:"required"`
	// Minutes: number, required
	Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"`
	// Nanos: number, required
	Nanos terra.NumberValue `hcl:"nanos,attr" validate:"required"`
	// Seconds: number, required
	Seconds terra.NumberValue `hcl:"seconds,attr" validate:"required"`
}

type ScheduleStartTimeOfDayAttributes

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

func (ScheduleStartTimeOfDayAttributes) Hours

func (ScheduleStartTimeOfDayAttributes) InternalRef

func (stod ScheduleStartTimeOfDayAttributes) InternalRef() (terra.Reference, error)

func (ScheduleStartTimeOfDayAttributes) InternalTokens

func (stod ScheduleStartTimeOfDayAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleStartTimeOfDayAttributes) InternalWithRef

func (ScheduleStartTimeOfDayAttributes) Minutes

func (ScheduleStartTimeOfDayAttributes) Nanos

func (ScheduleStartTimeOfDayAttributes) Seconds

type ScheduleStartTimeOfDayState

type ScheduleStartTimeOfDayState struct {
	Hours   float64 `json:"hours"`
	Minutes float64 `json:"minutes"`
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

type ScheduleState

type ScheduleState struct {
	RepeatInterval    string                           `json:"repeat_interval"`
	ScheduleEndDate   []ScheduleScheduleEndDateState   `json:"schedule_end_date"`
	ScheduleStartDate []ScheduleScheduleStartDateState `json:"schedule_start_date"`
	StartTimeOfDay    []ScheduleStartTimeOfDayState    `json:"start_time_of_day"`
}

type TransferSpec

type TransferSpec struct {
	// SinkAgentPoolName: string, optional
	SinkAgentPoolName terra.StringValue `hcl:"sink_agent_pool_name,attr"`
	// SourceAgentPoolName: string, optional
	SourceAgentPoolName terra.StringValue `hcl:"source_agent_pool_name,attr"`
	// TransferSpecAwsS3DataSource: optional
	AwsS3DataSource *TransferSpecAwsS3DataSource `hcl:"aws_s3_data_source,block"`
	// TransferSpecAzureBlobStorageDataSource: optional
	AzureBlobStorageDataSource *TransferSpecAzureBlobStorageDataSource `hcl:"azure_blob_storage_data_source,block"`
	// TransferSpecGcsDataSink: optional
	GcsDataSink *TransferSpecGcsDataSink `hcl:"gcs_data_sink,block"`
	// TransferSpecGcsDataSource: optional
	GcsDataSource *TransferSpecGcsDataSource `hcl:"gcs_data_source,block"`
	// TransferSpecHttpDataSource: optional
	HttpDataSource *TransferSpecHttpDataSource `hcl:"http_data_source,block"`
	// TransferSpecObjectConditions: optional
	ObjectConditions *TransferSpecObjectConditions `hcl:"object_conditions,block"`
	// TransferSpecPosixDataSink: optional
	PosixDataSink *TransferSpecPosixDataSink `hcl:"posix_data_sink,block"`
	// TransferSpecPosixDataSource: optional
	PosixDataSource *TransferSpecPosixDataSource `hcl:"posix_data_source,block"`
	// TransferSpecTransferOptions: optional
	TransferOptions *TransferSpecTransferOptions `hcl:"transfer_options,block"`
}

type TransferSpecAttributes

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

func (TransferSpecAttributes) AwsS3DataSource

func (TransferSpecAttributes) AzureBlobStorageDataSource

func (TransferSpecAttributes) GcsDataSink

func (TransferSpecAttributes) GcsDataSource

func (TransferSpecAttributes) HttpDataSource

func (TransferSpecAttributes) InternalRef

func (ts TransferSpecAttributes) InternalRef() (terra.Reference, error)

func (TransferSpecAttributes) InternalTokens

func (ts TransferSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TransferSpecAttributes) InternalWithRef

func (TransferSpecAttributes) ObjectConditions

func (TransferSpecAttributes) PosixDataSink

func (TransferSpecAttributes) PosixDataSource

func (TransferSpecAttributes) SinkAgentPoolName

func (ts TransferSpecAttributes) SinkAgentPoolName() terra.StringValue

func (TransferSpecAttributes) SourceAgentPoolName

func (ts TransferSpecAttributes) SourceAgentPoolName() terra.StringValue

func (TransferSpecAttributes) TransferOptions

type TransferSpecAwsS3DataSource

type TransferSpecAwsS3DataSource struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
	// TransferSpecAwsS3DataSourceAwsAccessKey: optional
	AwsAccessKey *TransferSpecAwsS3DataSourceAwsAccessKey `hcl:"aws_access_key,block"`
}

type TransferSpecAwsS3DataSourceAttributes

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

func (TransferSpecAwsS3DataSourceAttributes) AwsAccessKey

func (TransferSpecAwsS3DataSourceAttributes) BucketName

func (TransferSpecAwsS3DataSourceAttributes) InternalRef

func (TransferSpecAwsS3DataSourceAttributes) InternalTokens

func (TransferSpecAwsS3DataSourceAttributes) InternalWithRef

func (TransferSpecAwsS3DataSourceAttributes) Path

func (TransferSpecAwsS3DataSourceAttributes) RoleArn

type TransferSpecAwsS3DataSourceAwsAccessKey

type TransferSpecAwsS3DataSourceAwsAccessKey struct {
	// AccessKeyId: string, required
	AccessKeyId terra.StringValue `hcl:"access_key_id,attr" validate:"required"`
	// SecretAccessKey: string, required
	SecretAccessKey terra.StringValue `hcl:"secret_access_key,attr" validate:"required"`
}

type TransferSpecAwsS3DataSourceAwsAccessKeyAttributes

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

func (TransferSpecAwsS3DataSourceAwsAccessKeyAttributes) AccessKeyId

func (TransferSpecAwsS3DataSourceAwsAccessKeyAttributes) InternalRef

func (TransferSpecAwsS3DataSourceAwsAccessKeyAttributes) InternalTokens

func (TransferSpecAwsS3DataSourceAwsAccessKeyAttributes) InternalWithRef

func (TransferSpecAwsS3DataSourceAwsAccessKeyAttributes) SecretAccessKey

type TransferSpecAwsS3DataSourceAwsAccessKeyState

type TransferSpecAwsS3DataSourceAwsAccessKeyState struct {
	AccessKeyId     string `json:"access_key_id"`
	SecretAccessKey string `json:"secret_access_key"`
}

type TransferSpecAwsS3DataSourceState

type TransferSpecAwsS3DataSourceState struct {
	BucketName   string                                         `json:"bucket_name"`
	Path         string                                         `json:"path"`
	RoleArn      string                                         `json:"role_arn"`
	AwsAccessKey []TransferSpecAwsS3DataSourceAwsAccessKeyState `json:"aws_access_key"`
}

type TransferSpecAzureBlobStorageDataSource

type TransferSpecAzureBlobStorageDataSource struct {
	// Container: string, required
	Container terra.StringValue `hcl:"container,attr" validate:"required"`
	// CredentialsSecret: string, optional
	CredentialsSecret terra.StringValue `hcl:"credentials_secret,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// StorageAccount: string, required
	StorageAccount terra.StringValue `hcl:"storage_account,attr" validate:"required"`
	// TransferSpecAzureBlobStorageDataSourceAzureCredentials: optional
	AzureCredentials *TransferSpecAzureBlobStorageDataSourceAzureCredentials `hcl:"azure_credentials,block"`
}

type TransferSpecAzureBlobStorageDataSourceAttributes

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

func (TransferSpecAzureBlobStorageDataSourceAttributes) AzureCredentials

func (TransferSpecAzureBlobStorageDataSourceAttributes) Container

func (TransferSpecAzureBlobStorageDataSourceAttributes) CredentialsSecret

func (TransferSpecAzureBlobStorageDataSourceAttributes) InternalRef

func (TransferSpecAzureBlobStorageDataSourceAttributes) InternalTokens

func (TransferSpecAzureBlobStorageDataSourceAttributes) InternalWithRef

func (TransferSpecAzureBlobStorageDataSourceAttributes) Path

func (TransferSpecAzureBlobStorageDataSourceAttributes) StorageAccount

type TransferSpecAzureBlobStorageDataSourceAzureCredentials

type TransferSpecAzureBlobStorageDataSourceAzureCredentials struct {
	// SasToken: string, required
	SasToken terra.StringValue `hcl:"sas_token,attr" validate:"required"`
}

type TransferSpecAzureBlobStorageDataSourceAzureCredentialsAttributes

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

func (TransferSpecAzureBlobStorageDataSourceAzureCredentialsAttributes) InternalRef

func (TransferSpecAzureBlobStorageDataSourceAzureCredentialsAttributes) InternalTokens

func (TransferSpecAzureBlobStorageDataSourceAzureCredentialsAttributes) InternalWithRef

func (TransferSpecAzureBlobStorageDataSourceAzureCredentialsAttributes) SasToken

type TransferSpecAzureBlobStorageDataSourceAzureCredentialsState

type TransferSpecAzureBlobStorageDataSourceAzureCredentialsState struct {
	SasToken string `json:"sas_token"`
}

type TransferSpecAzureBlobStorageDataSourceState

type TransferSpecAzureBlobStorageDataSourceState struct {
	Container         string                                                        `json:"container"`
	CredentialsSecret string                                                        `json:"credentials_secret"`
	Path              string                                                        `json:"path"`
	StorageAccount    string                                                        `json:"storage_account"`
	AzureCredentials  []TransferSpecAzureBlobStorageDataSourceAzureCredentialsState `json:"azure_credentials"`
}

type TransferSpecGcsDataSink

type TransferSpecGcsDataSink struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
}

type TransferSpecGcsDataSinkAttributes

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

func (TransferSpecGcsDataSinkAttributes) BucketName

func (TransferSpecGcsDataSinkAttributes) InternalRef

func (TransferSpecGcsDataSinkAttributes) InternalTokens

func (gds TransferSpecGcsDataSinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TransferSpecGcsDataSinkAttributes) InternalWithRef

func (TransferSpecGcsDataSinkAttributes) Path

type TransferSpecGcsDataSinkState

type TransferSpecGcsDataSinkState struct {
	BucketName string `json:"bucket_name"`
	Path       string `json:"path"`
}

type TransferSpecGcsDataSource

type TransferSpecGcsDataSource struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
}

type TransferSpecGcsDataSourceAttributes

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

func (TransferSpecGcsDataSourceAttributes) BucketName

func (TransferSpecGcsDataSourceAttributes) InternalRef

func (TransferSpecGcsDataSourceAttributes) InternalTokens

func (gds TransferSpecGcsDataSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TransferSpecGcsDataSourceAttributes) InternalWithRef

func (TransferSpecGcsDataSourceAttributes) Path

type TransferSpecGcsDataSourceState

type TransferSpecGcsDataSourceState struct {
	BucketName string `json:"bucket_name"`
	Path       string `json:"path"`
}

type TransferSpecHttpDataSource

type TransferSpecHttpDataSource struct {
	// ListUrl: string, required
	ListUrl terra.StringValue `hcl:"list_url,attr" validate:"required"`
}

type TransferSpecHttpDataSourceAttributes

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

func (TransferSpecHttpDataSourceAttributes) InternalRef

func (TransferSpecHttpDataSourceAttributes) InternalTokens

func (TransferSpecHttpDataSourceAttributes) InternalWithRef

func (TransferSpecHttpDataSourceAttributes) ListUrl

type TransferSpecHttpDataSourceState

type TransferSpecHttpDataSourceState struct {
	ListUrl string `json:"list_url"`
}

type TransferSpecObjectConditions

type TransferSpecObjectConditions struct {
	// ExcludePrefixes: list of string, optional
	ExcludePrefixes terra.ListValue[terra.StringValue] `hcl:"exclude_prefixes,attr"`
	// IncludePrefixes: list of string, optional
	IncludePrefixes terra.ListValue[terra.StringValue] `hcl:"include_prefixes,attr"`
	// LastModifiedBefore: string, optional
	LastModifiedBefore terra.StringValue `hcl:"last_modified_before,attr"`
	// LastModifiedSince: string, optional
	LastModifiedSince terra.StringValue `hcl:"last_modified_since,attr"`
	// MaxTimeElapsedSinceLastModification: string, optional
	MaxTimeElapsedSinceLastModification terra.StringValue `hcl:"max_time_elapsed_since_last_modification,attr"`
	// MinTimeElapsedSinceLastModification: string, optional
	MinTimeElapsedSinceLastModification terra.StringValue `hcl:"min_time_elapsed_since_last_modification,attr"`
}

type TransferSpecObjectConditionsAttributes

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

func (TransferSpecObjectConditionsAttributes) ExcludePrefixes

func (TransferSpecObjectConditionsAttributes) IncludePrefixes

func (TransferSpecObjectConditionsAttributes) InternalRef

func (TransferSpecObjectConditionsAttributes) InternalTokens

func (TransferSpecObjectConditionsAttributes) InternalWithRef

func (TransferSpecObjectConditionsAttributes) LastModifiedBefore

func (TransferSpecObjectConditionsAttributes) LastModifiedSince

func (TransferSpecObjectConditionsAttributes) MaxTimeElapsedSinceLastModification

func (oc TransferSpecObjectConditionsAttributes) MaxTimeElapsedSinceLastModification() terra.StringValue

func (TransferSpecObjectConditionsAttributes) MinTimeElapsedSinceLastModification

func (oc TransferSpecObjectConditionsAttributes) MinTimeElapsedSinceLastModification() terra.StringValue

type TransferSpecObjectConditionsState

type TransferSpecObjectConditionsState struct {
	ExcludePrefixes                     []string `json:"exclude_prefixes"`
	IncludePrefixes                     []string `json:"include_prefixes"`
	LastModifiedBefore                  string   `json:"last_modified_before"`
	LastModifiedSince                   string   `json:"last_modified_since"`
	MaxTimeElapsedSinceLastModification string   `json:"max_time_elapsed_since_last_modification"`
	MinTimeElapsedSinceLastModification string   `json:"min_time_elapsed_since_last_modification"`
}

type TransferSpecPosixDataSink

type TransferSpecPosixDataSink struct {
	// RootDirectory: string, required
	RootDirectory terra.StringValue `hcl:"root_directory,attr" validate:"required"`
}

type TransferSpecPosixDataSinkAttributes

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

func (TransferSpecPosixDataSinkAttributes) InternalRef

func (TransferSpecPosixDataSinkAttributes) InternalTokens

func (pds TransferSpecPosixDataSinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TransferSpecPosixDataSinkAttributes) InternalWithRef

func (TransferSpecPosixDataSinkAttributes) RootDirectory

type TransferSpecPosixDataSinkState

type TransferSpecPosixDataSinkState struct {
	RootDirectory string `json:"root_directory"`
}

type TransferSpecPosixDataSource

type TransferSpecPosixDataSource struct {
	// RootDirectory: string, required
	RootDirectory terra.StringValue `hcl:"root_directory,attr" validate:"required"`
}

type TransferSpecPosixDataSourceAttributes

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

func (TransferSpecPosixDataSourceAttributes) InternalRef

func (TransferSpecPosixDataSourceAttributes) InternalTokens

func (TransferSpecPosixDataSourceAttributes) InternalWithRef

func (TransferSpecPosixDataSourceAttributes) RootDirectory

type TransferSpecPosixDataSourceState

type TransferSpecPosixDataSourceState struct {
	RootDirectory string `json:"root_directory"`
}

type TransferSpecState

type TransferSpecState struct {
	SinkAgentPoolName          string                                        `json:"sink_agent_pool_name"`
	SourceAgentPoolName        string                                        `json:"source_agent_pool_name"`
	AwsS3DataSource            []TransferSpecAwsS3DataSourceState            `json:"aws_s3_data_source"`
	AzureBlobStorageDataSource []TransferSpecAzureBlobStorageDataSourceState `json:"azure_blob_storage_data_source"`
	GcsDataSink                []TransferSpecGcsDataSinkState                `json:"gcs_data_sink"`
	GcsDataSource              []TransferSpecGcsDataSourceState              `json:"gcs_data_source"`
	HttpDataSource             []TransferSpecHttpDataSourceState             `json:"http_data_source"`
	ObjectConditions           []TransferSpecObjectConditionsState           `json:"object_conditions"`
	PosixDataSink              []TransferSpecPosixDataSinkState              `json:"posix_data_sink"`
	PosixDataSource            []TransferSpecPosixDataSourceState            `json:"posix_data_source"`
	TransferOptions            []TransferSpecTransferOptionsState            `json:"transfer_options"`
}

type TransferSpecTransferOptions

type TransferSpecTransferOptions struct {
	// DeleteObjectsFromSourceAfterTransfer: bool, optional
	DeleteObjectsFromSourceAfterTransfer terra.BoolValue `hcl:"delete_objects_from_source_after_transfer,attr"`
	// DeleteObjectsUniqueInSink: bool, optional
	DeleteObjectsUniqueInSink terra.BoolValue `hcl:"delete_objects_unique_in_sink,attr"`
	// OverwriteObjectsAlreadyExistingInSink: bool, optional
	OverwriteObjectsAlreadyExistingInSink terra.BoolValue `hcl:"overwrite_objects_already_existing_in_sink,attr"`
	// OverwriteWhen: string, optional
	OverwriteWhen terra.StringValue `hcl:"overwrite_when,attr"`
}

type TransferSpecTransferOptionsAttributes

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

func (TransferSpecTransferOptionsAttributes) DeleteObjectsFromSourceAfterTransfer

func (to TransferSpecTransferOptionsAttributes) DeleteObjectsFromSourceAfterTransfer() terra.BoolValue

func (TransferSpecTransferOptionsAttributes) DeleteObjectsUniqueInSink

func (to TransferSpecTransferOptionsAttributes) DeleteObjectsUniqueInSink() terra.BoolValue

func (TransferSpecTransferOptionsAttributes) InternalRef

func (TransferSpecTransferOptionsAttributes) InternalTokens

func (TransferSpecTransferOptionsAttributes) InternalWithRef

func (TransferSpecTransferOptionsAttributes) OverwriteObjectsAlreadyExistingInSink

func (to TransferSpecTransferOptionsAttributes) OverwriteObjectsAlreadyExistingInSink() terra.BoolValue

func (TransferSpecTransferOptionsAttributes) OverwriteWhen

type TransferSpecTransferOptionsState

type TransferSpecTransferOptionsState struct {
	DeleteObjectsFromSourceAfterTransfer  bool   `json:"delete_objects_from_source_after_transfer"`
	DeleteObjectsUniqueInSink             bool   `json:"delete_objects_unique_in_sink"`
	OverwriteObjectsAlreadyExistingInSink bool   `json:"overwrite_objects_already_existing_in_sink"`
	OverwriteWhen                         string `json:"overwrite_when"`
}

Jump to

Keyboard shortcuts

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