Documentation
¶
Index ¶
- type BaseJob
- func (c BaseJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a BaseJob) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *BaseJob) GetSettings(ctx context.Context) (JobSettings, bool)
- func (o *BaseJob) SetSettings(ctx context.Context, v JobSettings)
- func (newState *BaseJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseJob)
- func (newState *BaseJob) SyncEffectiveFieldsDuringRead(existingState BaseJob)
- func (o BaseJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BaseJob) Type(ctx context.Context) attr.Type
- type BaseJob_SdkV2
- func (c BaseJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a BaseJob_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *BaseJob_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
- func (o *BaseJob_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
- func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseJob_SdkV2)
- func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseJob_SdkV2)
- func (o BaseJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BaseJob_SdkV2) Type(ctx context.Context) attr.Type
- type BaseRun
- func (c BaseRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *BaseRun) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
- func (o *BaseRun) GetClusterSpec(ctx context.Context) (ClusterSpec, bool)
- func (a BaseRun) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *BaseRun) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *BaseRun) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
- func (o *BaseRun) GetJobParameters(ctx context.Context) ([]JobParameter, bool)
- func (o *BaseRun) GetOverridingParameters(ctx context.Context) (RunParameters, bool)
- func (o *BaseRun) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem, bool)
- func (o *BaseRun) GetSchedule(ctx context.Context) (CronSchedule, bool)
- func (o *BaseRun) GetState(ctx context.Context) (RunState, bool)
- func (o *BaseRun) GetStatus(ctx context.Context) (RunStatus, bool)
- func (o *BaseRun) GetTasks(ctx context.Context) ([]RunTask, bool)
- func (o *BaseRun) GetTriggerInfo(ctx context.Context) (TriggerInfo, bool)
- func (o *BaseRun) SetClusterInstance(ctx context.Context, v ClusterInstance)
- func (o *BaseRun) SetClusterSpec(ctx context.Context, v ClusterSpec)
- func (o *BaseRun) SetGitSource(ctx context.Context, v GitSource)
- func (o *BaseRun) SetJobClusters(ctx context.Context, v []JobCluster)
- func (o *BaseRun) SetJobParameters(ctx context.Context, v []JobParameter)
- func (o *BaseRun) SetOverridingParameters(ctx context.Context, v RunParameters)
- func (o *BaseRun) SetRepairHistory(ctx context.Context, v []RepairHistoryItem)
- func (o *BaseRun) SetSchedule(ctx context.Context, v CronSchedule)
- func (o *BaseRun) SetState(ctx context.Context, v RunState)
- func (o *BaseRun) SetStatus(ctx context.Context, v RunStatus)
- func (o *BaseRun) SetTasks(ctx context.Context, v []RunTask)
- func (o *BaseRun) SetTriggerInfo(ctx context.Context, v TriggerInfo)
- func (newState *BaseRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseRun)
- func (newState *BaseRun) SyncEffectiveFieldsDuringRead(existingState BaseRun)
- func (o BaseRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BaseRun) Type(ctx context.Context) attr.Type
- type BaseRun_SdkV2
- func (c BaseRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *BaseRun_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetClusterSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
- func (a BaseRun_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *BaseRun_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetJobParameters(ctx context.Context) ([]JobParameter_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetOverridingParameters(ctx context.Context) (RunParameters_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetTasks(ctx context.Context) ([]RunTask_SdkV2, bool)
- func (o *BaseRun_SdkV2) GetTriggerInfo(ctx context.Context) (TriggerInfo_SdkV2, bool)
- func (o *BaseRun_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
- func (o *BaseRun_SdkV2) SetClusterSpec(ctx context.Context, v ClusterSpec_SdkV2)
- func (o *BaseRun_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *BaseRun_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
- func (o *BaseRun_SdkV2) SetJobParameters(ctx context.Context, v []JobParameter_SdkV2)
- func (o *BaseRun_SdkV2) SetOverridingParameters(ctx context.Context, v RunParameters_SdkV2)
- func (o *BaseRun_SdkV2) SetRepairHistory(ctx context.Context, v []RepairHistoryItem_SdkV2)
- func (o *BaseRun_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
- func (o *BaseRun_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
- func (o *BaseRun_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
- func (o *BaseRun_SdkV2) SetTasks(ctx context.Context, v []RunTask_SdkV2)
- func (o *BaseRun_SdkV2) SetTriggerInfo(ctx context.Context, v TriggerInfo_SdkV2)
- func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseRun_SdkV2)
- func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseRun_SdkV2)
- func (o BaseRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BaseRun_SdkV2) Type(ctx context.Context) attr.Type
- type CancelAllRuns
- func (c CancelAllRuns) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelAllRuns) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelAllRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRuns)
- func (newState *CancelAllRuns) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns)
- func (o CancelAllRuns) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelAllRuns) Type(ctx context.Context) attr.Type
- type CancelAllRunsResponse
- type CancelAllRunsResponse_SdkV2
- type CancelAllRuns_SdkV2
- func (c CancelAllRuns_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelAllRuns_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRuns_SdkV2)
- func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns_SdkV2)
- func (o CancelAllRuns_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelAllRuns_SdkV2) Type(ctx context.Context) attr.Type
- type CancelRun
- func (c CancelRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelRun) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRun)
- func (newState *CancelRun) SyncEffectiveFieldsDuringRead(existingState CancelRun)
- func (o CancelRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelRun) Type(ctx context.Context) attr.Type
- type CancelRunResponse
- type CancelRunResponse_SdkV2
- type CancelRun_SdkV2
- func (c CancelRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelRun_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRun_SdkV2)
- func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRun_SdkV2)
- func (o CancelRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelRun_SdkV2) Type(ctx context.Context) attr.Type
- type CleanRoomTaskRunState
- func (c CleanRoomTaskRunState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CleanRoomTaskRunState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomTaskRunState)
- func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState)
- func (o CleanRoomTaskRunState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomTaskRunState) Type(ctx context.Context) attr.Type
- type CleanRoomTaskRunState_SdkV2
- func (c CleanRoomTaskRunState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CleanRoomTaskRunState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomTaskRunState_SdkV2)
- func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState_SdkV2)
- func (o CleanRoomTaskRunState_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomTaskRunState_SdkV2) Type(ctx context.Context) attr.Type
- type CleanRoomsNotebookTask
- func (c CleanRoomsNotebookTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CleanRoomsNotebookTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CleanRoomsNotebookTask) GetNotebookBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *CleanRoomsNotebookTask) SetNotebookBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTask)
- func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask)
- func (o CleanRoomsNotebookTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomsNotebookTask) Type(ctx context.Context) attr.Type
- type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput
- func (c CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetCleanRoomJobRunState(ctx context.Context) (CleanRoomTaskRunState, bool)
- func (a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetNotebookOutput(ctx context.Context) (NotebookOutput, bool)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetOutputSchemaInfo(ctx context.Context) (OutputSchemaInfo, bool)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetCleanRoomJobRunState(ctx context.Context, v CleanRoomTaskRunState)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetNotebookOutput(ctx context.Context, v NotebookOutput)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetOutputSchemaInfo(ctx context.Context, v OutputSchemaInfo)
- func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
- func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
- func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) Type(ctx context.Context) attr.Type
- type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2
- func (c CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetCleanRoomJobRunState(ctx context.Context) (CleanRoomTaskRunState_SdkV2, bool)
- func (a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetNotebookOutput(ctx context.Context) (NotebookOutput_SdkV2, bool)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetOutputSchemaInfo(ctx context.Context) (OutputSchemaInfo_SdkV2, bool)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetCleanRoomJobRunState(ctx context.Context, v CleanRoomTaskRunState_SdkV2)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetNotebookOutput(ctx context.Context, v NotebookOutput_SdkV2)
- func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetOutputSchemaInfo(ctx context.Context, v OutputSchemaInfo_SdkV2)
- func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2)
- func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2)
- func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) Type(ctx context.Context) attr.Type
- type CleanRoomsNotebookTask_SdkV2
- func (c CleanRoomsNotebookTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CleanRoomsNotebookTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CleanRoomsNotebookTask_SdkV2) GetNotebookBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *CleanRoomsNotebookTask_SdkV2) SetNotebookBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTask_SdkV2)
- func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask_SdkV2)
- func (o CleanRoomsNotebookTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CleanRoomsNotebookTask_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterInstance
- func (c ClusterInstance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterInstance) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterInstance) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterInstance)
- func (newState *ClusterInstance) SyncEffectiveFieldsDuringRead(existingState ClusterInstance)
- func (o ClusterInstance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterInstance) Type(ctx context.Context) attr.Type
- type ClusterInstance_SdkV2
- func (c ClusterInstance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterInstance_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterInstance_SdkV2)
- func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterInstance_SdkV2)
- func (o ClusterInstance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterInstance_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterSpec
- func (c ClusterSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSpec) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
- func (o *ClusterSpec) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
- func (o *ClusterSpec) SetLibraries(ctx context.Context, v []compute_tf.Library)
- func (o *ClusterSpec) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
- func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec)
- func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec)
- func (o ClusterSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSpec) Type(ctx context.Context) attr.Type
- type ClusterSpec_SdkV2
- func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSpec_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
- func (o *ClusterSpec_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
- func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec_SdkV2)
- func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2)
- func (o ClusterSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSpec_SdkV2) Type(ctx context.Context) attr.Type
- type ConditionTask
- func (c ConditionTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ConditionTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ConditionTask)
- func (newState *ConditionTask) SyncEffectiveFieldsDuringRead(existingState ConditionTask)
- func (o ConditionTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ConditionTask) Type(ctx context.Context) attr.Type
- type ConditionTask_SdkV2
- func (c ConditionTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ConditionTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ConditionTask_SdkV2)
- func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ConditionTask_SdkV2)
- func (o ConditionTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ConditionTask_SdkV2) Type(ctx context.Context) attr.Type
- type Continuous
- func (c Continuous) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Continuous) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Continuous) SyncEffectiveFieldsDuringCreateOrUpdate(plan Continuous)
- func (newState *Continuous) SyncEffectiveFieldsDuringRead(existingState Continuous)
- func (o Continuous) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Continuous) Type(ctx context.Context) attr.Type
- type Continuous_SdkV2
- func (c Continuous_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Continuous_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Continuous_SdkV2)
- func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringRead(existingState Continuous_SdkV2)
- func (o Continuous_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Continuous_SdkV2) Type(ctx context.Context) attr.Type
- type CreateJob
- func (c CreateJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateJob) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
- func (a CreateJob) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateJob) GetContinuous(ctx context.Context) (Continuous, bool)
- func (o *CreateJob) GetDeployment(ctx context.Context) (JobDeployment, bool)
- func (o *CreateJob) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
- func (o *CreateJob) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
- func (o *CreateJob) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *CreateJob) GetHealth(ctx context.Context) (JobsHealthRules, bool)
- func (o *CreateJob) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
- func (o *CreateJob) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
- func (o *CreateJob) GetParameters(ctx context.Context) ([]JobParameterDefinition, bool)
- func (o *CreateJob) GetQueue(ctx context.Context) (QueueSettings, bool)
- func (o *CreateJob) GetRunAs(ctx context.Context) (JobRunAs, bool)
- func (o *CreateJob) GetSchedule(ctx context.Context) (CronSchedule, bool)
- func (o *CreateJob) GetTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateJob) GetTasks(ctx context.Context) ([]Task, bool)
- func (o *CreateJob) GetTrigger(ctx context.Context) (TriggerSettings, bool)
- func (o *CreateJob) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *CreateJob) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
- func (o *CreateJob) SetContinuous(ctx context.Context, v Continuous)
- func (o *CreateJob) SetDeployment(ctx context.Context, v JobDeployment)
- func (o *CreateJob) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
- func (o *CreateJob) SetEnvironments(ctx context.Context, v []JobEnvironment)
- func (o *CreateJob) SetGitSource(ctx context.Context, v GitSource)
- func (o *CreateJob) SetHealth(ctx context.Context, v JobsHealthRules)
- func (o *CreateJob) SetJobClusters(ctx context.Context, v []JobCluster)
- func (o *CreateJob) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
- func (o *CreateJob) SetParameters(ctx context.Context, v []JobParameterDefinition)
- func (o *CreateJob) SetQueue(ctx context.Context, v QueueSettings)
- func (o *CreateJob) SetRunAs(ctx context.Context, v JobRunAs)
- func (o *CreateJob) SetSchedule(ctx context.Context, v CronSchedule)
- func (o *CreateJob) SetTags(ctx context.Context, v map[string]types.String)
- func (o *CreateJob) SetTasks(ctx context.Context, v []Task)
- func (o *CreateJob) SetTrigger(ctx context.Context, v TriggerSettings)
- func (o *CreateJob) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *CreateJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateJob)
- func (newState *CreateJob) SyncEffectiveFieldsDuringRead(existingState CreateJob)
- func (o CreateJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateJob) Type(ctx context.Context) attr.Type
- type CreateJob_SdkV2
- func (c CreateJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateJob_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
- func (a CreateJob_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateJob_SdkV2) GetContinuous(ctx context.Context) (Continuous_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetDeployment(ctx context.Context) (JobDeployment_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetParameters(ctx context.Context) ([]JobParameterDefinition_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateJob_SdkV2) GetTasks(ctx context.Context) ([]Task_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetTrigger(ctx context.Context) (TriggerSettings_SdkV2, bool)
- func (o *CreateJob_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *CreateJob_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
- func (o *CreateJob_SdkV2) SetContinuous(ctx context.Context, v Continuous_SdkV2)
- func (o *CreateJob_SdkV2) SetDeployment(ctx context.Context, v JobDeployment_SdkV2)
- func (o *CreateJob_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
- func (o *CreateJob_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
- func (o *CreateJob_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *CreateJob_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
- func (o *CreateJob_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
- func (o *CreateJob_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
- func (o *CreateJob_SdkV2) SetParameters(ctx context.Context, v []JobParameterDefinition_SdkV2)
- func (o *CreateJob_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
- func (o *CreateJob_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
- func (o *CreateJob_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
- func (o *CreateJob_SdkV2) SetTags(ctx context.Context, v map[string]types.String)
- func (o *CreateJob_SdkV2) SetTasks(ctx context.Context, v []Task_SdkV2)
- func (o *CreateJob_SdkV2) SetTrigger(ctx context.Context, v TriggerSettings_SdkV2)
- func (o *CreateJob_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateJob_SdkV2)
- func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateJob_SdkV2)
- func (o CreateJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateJob_SdkV2) Type(ctx context.Context) attr.Type
- type CreateResponse
- func (c CreateResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse)
- func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse)
- func (o CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateResponse) Type(ctx context.Context) attr.Type
- type CreateResponse_SdkV2
- func (c CreateResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse_SdkV2)
- func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2)
- func (o CreateResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateResponse_SdkV2) Type(ctx context.Context) attr.Type
- type CronSchedule
- func (c CronSchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CronSchedule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronSchedule)
- func (newState *CronSchedule) SyncEffectiveFieldsDuringRead(existingState CronSchedule)
- func (o CronSchedule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CronSchedule) Type(ctx context.Context) attr.Type
- type CronSchedule_SdkV2
- func (c CronSchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CronSchedule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronSchedule_SdkV2)
- func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState CronSchedule_SdkV2)
- func (o CronSchedule_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CronSchedule_SdkV2) Type(ctx context.Context) attr.Type
- type DbtOutput
- func (c DbtOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DbtOutput) GetArtifactsHeaders(ctx context.Context) (map[string]types.String, bool)
- func (a DbtOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DbtOutput) SetArtifactsHeaders(ctx context.Context, v map[string]types.String)
- func (newState *DbtOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtOutput)
- func (newState *DbtOutput) SyncEffectiveFieldsDuringRead(existingState DbtOutput)
- func (o DbtOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbtOutput) Type(ctx context.Context) attr.Type
- type DbtOutput_SdkV2
- func (c DbtOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DbtOutput_SdkV2) GetArtifactsHeaders(ctx context.Context) (map[string]types.String, bool)
- func (a DbtOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DbtOutput_SdkV2) SetArtifactsHeaders(ctx context.Context, v map[string]types.String)
- func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtOutput_SdkV2)
- func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtOutput_SdkV2)
- func (o DbtOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbtOutput_SdkV2) Type(ctx context.Context) attr.Type
- type DbtTask
- func (c DbtTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DbtTask) GetCommands(ctx context.Context) ([]types.String, bool)
- func (a DbtTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DbtTask) SetCommands(ctx context.Context, v []types.String)
- func (newState *DbtTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtTask)
- func (newState *DbtTask) SyncEffectiveFieldsDuringRead(existingState DbtTask)
- func (o DbtTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbtTask) Type(ctx context.Context) attr.Type
- type DbtTask_SdkV2
- func (c DbtTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DbtTask_SdkV2) GetCommands(ctx context.Context) ([]types.String, bool)
- func (a DbtTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DbtTask_SdkV2) SetCommands(ctx context.Context, v []types.String)
- func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtTask_SdkV2)
- func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtTask_SdkV2)
- func (o DbtTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbtTask_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteJob
- func (c DeleteJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteJob) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteJob)
- func (newState *DeleteJob) SyncEffectiveFieldsDuringRead(existingState DeleteJob)
- func (o DeleteJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteJob) Type(ctx context.Context) attr.Type
- type DeleteJob_SdkV2
- func (c DeleteJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteJob_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteJob_SdkV2)
- func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteJob_SdkV2)
- func (o DeleteJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteJob_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteResponse
- type DeleteResponse_SdkV2
- type DeleteRun
- func (c DeleteRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteRun) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRun)
- func (newState *DeleteRun) SyncEffectiveFieldsDuringRead(existingState DeleteRun)
- func (o DeleteRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteRun) Type(ctx context.Context) attr.Type
- type DeleteRunResponse
- type DeleteRunResponse_SdkV2
- type DeleteRun_SdkV2
- func (c DeleteRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteRun_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRun_SdkV2)
- func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRun_SdkV2)
- func (o DeleteRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteRun_SdkV2) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange
- func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceForJobResponseJobClusterSettingsChange)
- func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceForJobResponseJobClusterSettingsChange)
- func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2
- func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2)
- func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(...)
- func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceRequest
- func (c EnforcePolicyComplianceRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceRequest)
- func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest)
- func (o EnforcePolicyComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceRequest) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceRequest_SdkV2
- func (c EnforcePolicyComplianceRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceRequest_SdkV2)
- func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest_SdkV2)
- func (o EnforcePolicyComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceRequest_SdkV2) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceResponse
- func (c EnforcePolicyComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EnforcePolicyComplianceResponse) GetJobClusterChanges(ctx context.Context) ([]EnforcePolicyComplianceForJobResponseJobClusterSettingsChange, bool)
- func (o *EnforcePolicyComplianceResponse) GetSettings(ctx context.Context) (JobSettings, bool)
- func (o *EnforcePolicyComplianceResponse) SetJobClusterChanges(ctx context.Context, ...)
- func (o *EnforcePolicyComplianceResponse) SetSettings(ctx context.Context, v JobSettings)
- func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceResponse)
- func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse)
- func (o EnforcePolicyComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceResponse) Type(ctx context.Context) attr.Type
- type EnforcePolicyComplianceResponse_SdkV2
- func (c EnforcePolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforcePolicyComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EnforcePolicyComplianceResponse_SdkV2) GetJobClusterChanges(ctx context.Context) ([]EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2, bool)
- func (o *EnforcePolicyComplianceResponse_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
- func (o *EnforcePolicyComplianceResponse_SdkV2) SetJobClusterChanges(ctx context.Context, ...)
- func (o *EnforcePolicyComplianceResponse_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
- func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceResponse_SdkV2)
- func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse_SdkV2)
- func (o EnforcePolicyComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforcePolicyComplianceResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ExportRunOutput
- func (c ExportRunOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ExportRunOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ExportRunOutput) GetViews(ctx context.Context) ([]ViewItem, bool)
- func (o *ExportRunOutput) SetViews(ctx context.Context, v []ViewItem)
- func (newState *ExportRunOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunOutput)
- func (newState *ExportRunOutput) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput)
- func (o ExportRunOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExportRunOutput) Type(ctx context.Context) attr.Type
- type ExportRunOutput_SdkV2
- func (c ExportRunOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ExportRunOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ExportRunOutput_SdkV2) GetViews(ctx context.Context) ([]ViewItem_SdkV2, bool)
- func (o *ExportRunOutput_SdkV2) SetViews(ctx context.Context, v []ViewItem_SdkV2)
- func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunOutput_SdkV2)
- func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput_SdkV2)
- func (o ExportRunOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExportRunOutput_SdkV2) Type(ctx context.Context) attr.Type
- type ExportRunRequest
- type ExportRunRequest_SdkV2
- type FileArrivalTriggerConfiguration
- func (c FileArrivalTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a FileArrivalTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileArrivalTriggerConfiguration)
- func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration)
- func (o FileArrivalTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o FileArrivalTriggerConfiguration) Type(ctx context.Context) attr.Type
- type FileArrivalTriggerConfiguration_SdkV2
- func (c FileArrivalTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a FileArrivalTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileArrivalTriggerConfiguration_SdkV2)
- func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration_SdkV2)
- func (o FileArrivalTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o FileArrivalTriggerConfiguration_SdkV2) Type(ctx context.Context) attr.Type
- type ForEachStats
- func (c ForEachStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ForEachStats) GetErrorMessageStats(ctx context.Context) ([]ForEachTaskErrorMessageStats, bool)
- func (o *ForEachStats) GetTaskRunStats(ctx context.Context) (ForEachTaskTaskRunStats, bool)
- func (o *ForEachStats) SetErrorMessageStats(ctx context.Context, v []ForEachTaskErrorMessageStats)
- func (o *ForEachStats) SetTaskRunStats(ctx context.Context, v ForEachTaskTaskRunStats)
- func (newState *ForEachStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachStats)
- func (newState *ForEachStats) SyncEffectiveFieldsDuringRead(existingState ForEachStats)
- func (o ForEachStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachStats) Type(ctx context.Context) attr.Type
- type ForEachStats_SdkV2
- func (c ForEachStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ForEachStats_SdkV2) GetErrorMessageStats(ctx context.Context) ([]ForEachTaskErrorMessageStats_SdkV2, bool)
- func (o *ForEachStats_SdkV2) GetTaskRunStats(ctx context.Context) (ForEachTaskTaskRunStats_SdkV2, bool)
- func (o *ForEachStats_SdkV2) SetErrorMessageStats(ctx context.Context, v []ForEachTaskErrorMessageStats_SdkV2)
- func (o *ForEachStats_SdkV2) SetTaskRunStats(ctx context.Context, v ForEachTaskTaskRunStats_SdkV2)
- func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachStats_SdkV2)
- func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachStats_SdkV2)
- func (o ForEachStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachStats_SdkV2) Type(ctx context.Context) attr.Type
- type ForEachTask
- func (c ForEachTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ForEachTask) GetTask(ctx context.Context) (Task, bool)
- func (o *ForEachTask) SetTask(ctx context.Context, v Task)
- func (newState *ForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTask)
- func (newState *ForEachTask) SyncEffectiveFieldsDuringRead(existingState ForEachTask)
- func (o ForEachTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTask) Type(ctx context.Context) attr.Type
- type ForEachTaskErrorMessageStats
- func (c ForEachTaskErrorMessageStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTaskErrorMessageStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskErrorMessageStats)
- func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats)
- func (o ForEachTaskErrorMessageStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTaskErrorMessageStats) Type(ctx context.Context) attr.Type
- type ForEachTaskErrorMessageStats_SdkV2
- func (c ForEachTaskErrorMessageStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTaskErrorMessageStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskErrorMessageStats_SdkV2)
- func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats_SdkV2)
- func (o ForEachTaskErrorMessageStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTaskErrorMessageStats_SdkV2) Type(ctx context.Context) attr.Type
- type ForEachTaskTaskRunStats
- func (c ForEachTaskTaskRunStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTaskTaskRunStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskTaskRunStats)
- func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats)
- func (o ForEachTaskTaskRunStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTaskTaskRunStats) Type(ctx context.Context) attr.Type
- type ForEachTaskTaskRunStats_SdkV2
- func (c ForEachTaskTaskRunStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTaskTaskRunStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskTaskRunStats_SdkV2)
- func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats_SdkV2)
- func (o ForEachTaskTaskRunStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTaskTaskRunStats_SdkV2) Type(ctx context.Context) attr.Type
- type ForEachTask_SdkV2
- func (c ForEachTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ForEachTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ForEachTask_SdkV2) GetTask(ctx context.Context) (Task_SdkV2, bool)
- func (o *ForEachTask_SdkV2) SetTask(ctx context.Context, v Task_SdkV2)
- func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTask_SdkV2)
- func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTask_SdkV2)
- func (o ForEachTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ForEachTask_SdkV2) Type(ctx context.Context) attr.Type
- type GetJobPermissionLevelsRequest
- type GetJobPermissionLevelsRequest_SdkV2
- type GetJobPermissionLevelsResponse
- func (c GetJobPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetJobPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetJobPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]JobPermissionsDescription, bool)
- func (o *GetJobPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []JobPermissionsDescription)
- func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsResponse)
- func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse)
- func (o GetJobPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetJobPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetJobPermissionLevelsResponse_SdkV2
- func (c GetJobPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetJobPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetJobPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]JobPermissionsDescription_SdkV2, bool)
- func (o *GetJobPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []JobPermissionsDescription_SdkV2)
- func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsResponse_SdkV2)
- func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse_SdkV2)
- func (o GetJobPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetJobPermissionLevelsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetJobPermissionsRequest
- type GetJobPermissionsRequest_SdkV2
- type GetJobRequest
- type GetJobRequest_SdkV2
- type GetPolicyComplianceRequest
- type GetPolicyComplianceRequest_SdkV2
- type GetPolicyComplianceResponse
- func (c GetPolicyComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetPolicyComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetPolicyComplianceResponse) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *GetPolicyComplianceResponse) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceResponse)
- func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse)
- func (o GetPolicyComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPolicyComplianceResponse) Type(ctx context.Context) attr.Type
- type GetPolicyComplianceResponse_SdkV2
- func (c GetPolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetPolicyComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetPolicyComplianceResponse_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *GetPolicyComplianceResponse_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceResponse_SdkV2)
- func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse_SdkV2)
- func (o GetPolicyComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPolicyComplianceResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetRunOutputRequest
- type GetRunOutputRequest_SdkV2
- type GetRunRequest
- type GetRunRequest_SdkV2
- type GitSnapshot
- func (c GitSnapshot) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GitSnapshot) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GitSnapshot) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSnapshot)
- func (newState *GitSnapshot) SyncEffectiveFieldsDuringRead(existingState GitSnapshot)
- func (o GitSnapshot) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GitSnapshot) Type(ctx context.Context) attr.Type
- type GitSnapshot_SdkV2
- func (c GitSnapshot_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GitSnapshot_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSnapshot_SdkV2)
- func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSnapshot_SdkV2)
- func (o GitSnapshot_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GitSnapshot_SdkV2) Type(ctx context.Context) attr.Type
- type GitSource
- func (c GitSource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GitSource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GitSource) GetGitSnapshot(ctx context.Context) (GitSnapshot, bool)
- func (o *GitSource) GetJobSource(ctx context.Context) (JobSource, bool)
- func (o *GitSource) SetGitSnapshot(ctx context.Context, v GitSnapshot)
- func (o *GitSource) SetJobSource(ctx context.Context, v JobSource)
- func (newState *GitSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSource)
- func (newState *GitSource) SyncEffectiveFieldsDuringRead(existingState GitSource)
- func (o GitSource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GitSource) Type(ctx context.Context) attr.Type
- type GitSource_SdkV2
- func (c GitSource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GitSource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GitSource_SdkV2) GetGitSnapshot(ctx context.Context) (GitSnapshot_SdkV2, bool)
- func (o *GitSource_SdkV2) GetJobSource(ctx context.Context) (JobSource_SdkV2, bool)
- func (o *GitSource_SdkV2) SetGitSnapshot(ctx context.Context, v GitSnapshot_SdkV2)
- func (o *GitSource_SdkV2) SetJobSource(ctx context.Context, v JobSource_SdkV2)
- func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSource_SdkV2)
- func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSource_SdkV2)
- func (o GitSource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GitSource_SdkV2) Type(ctx context.Context) attr.Type
- type Job
- func (c Job) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Job) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Job) GetSettings(ctx context.Context) (JobSettings, bool)
- func (o *Job) SetSettings(ctx context.Context, v JobSettings)
- func (newState *Job) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job)
- func (newState *Job) SyncEffectiveFieldsDuringRead(existingState Job)
- func (o Job) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Job) Type(ctx context.Context) attr.Type
- type JobAccessControlRequest
- func (c JobAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlRequest)
- func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest)
- func (o JobAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobAccessControlRequest) Type(ctx context.Context) attr.Type
- type JobAccessControlRequest_SdkV2
- func (c JobAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlRequest_SdkV2)
- func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest_SdkV2)
- func (o JobAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobAccessControlRequest_SdkV2) Type(ctx context.Context) attr.Type
- type JobAccessControlResponse
- func (c JobAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobAccessControlResponse) GetAllPermissions(ctx context.Context) ([]JobPermission, bool)
- func (a JobAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobAccessControlResponse) SetAllPermissions(ctx context.Context, v []JobPermission)
- func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlResponse)
- func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse)
- func (o JobAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobAccessControlResponse) Type(ctx context.Context) attr.Type
- type JobAccessControlResponse_SdkV2
- func (c JobAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]JobPermission_SdkV2, bool)
- func (a JobAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []JobPermission_SdkV2)
- func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlResponse_SdkV2)
- func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse_SdkV2)
- func (o JobAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobAccessControlResponse_SdkV2) Type(ctx context.Context) attr.Type
- type JobCluster
- func (c JobCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobCluster) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
- func (o *JobCluster) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
- func (newState *JobCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCluster)
- func (newState *JobCluster) SyncEffectiveFieldsDuringRead(existingState JobCluster)
- func (o JobCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobCluster) Type(ctx context.Context) attr.Type
- type JobCluster_SdkV2
- func (c JobCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobCluster_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
- func (o *JobCluster_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
- func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCluster_SdkV2)
- func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCluster_SdkV2)
- func (o JobCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobCluster_SdkV2) Type(ctx context.Context) attr.Type
- type JobCompliance
- func (c JobCompliance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobCompliance) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobCompliance) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *JobCompliance) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *JobCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCompliance)
- func (newState *JobCompliance) SyncEffectiveFieldsDuringRead(existingState JobCompliance)
- func (o JobCompliance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobCompliance) Type(ctx context.Context) attr.Type
- type JobCompliance_SdkV2
- func (c JobCompliance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobCompliance_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobCompliance_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *JobCompliance_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCompliance_SdkV2)
- func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCompliance_SdkV2)
- func (o JobCompliance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobCompliance_SdkV2) Type(ctx context.Context) attr.Type
- type JobDeployment
- func (c JobDeployment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobDeployment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobDeployment)
- func (newState *JobDeployment) SyncEffectiveFieldsDuringRead(existingState JobDeployment)
- func (o JobDeployment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobDeployment) Type(ctx context.Context) attr.Type
- type JobDeployment_SdkV2
- func (c JobDeployment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobDeployment_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobDeployment_SdkV2)
- func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobDeployment_SdkV2)
- func (o JobDeployment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobDeployment_SdkV2) Type(ctx context.Context) attr.Type
- type JobEmailNotifications
- func (c JobEmailNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobEmailNotifications) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobEmailNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications) GetOnFailure(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications) GetOnStart(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications) GetOnSuccess(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications) SetOnFailure(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications) SetOnStart(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications) SetOnSuccess(ctx context.Context, v []types.String)
- func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEmailNotifications)
- func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications)
- func (o JobEmailNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobEmailNotifications) Type(ctx context.Context) attr.Type
- type JobEmailNotifications_SdkV2
- func (c JobEmailNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobEmailNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications_SdkV2) GetOnFailure(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications_SdkV2) GetOnStart(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications_SdkV2) GetOnSuccess(ctx context.Context) ([]types.String, bool)
- func (o *JobEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications_SdkV2) SetOnFailure(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications_SdkV2) SetOnStart(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
- func (o *JobEmailNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []types.String)
- func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEmailNotifications_SdkV2)
- func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications_SdkV2)
- func (o JobEmailNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobEmailNotifications_SdkV2) Type(ctx context.Context) attr.Type
- type JobEnvironment
- func (c JobEnvironment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobEnvironment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobEnvironment) GetSpec(ctx context.Context) (compute_tf.Environment, bool)
- func (o *JobEnvironment) SetSpec(ctx context.Context, v compute_tf.Environment)
- func (newState *JobEnvironment) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEnvironment)
- func (newState *JobEnvironment) SyncEffectiveFieldsDuringRead(existingState JobEnvironment)
- func (o JobEnvironment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobEnvironment) Type(ctx context.Context) attr.Type
- type JobEnvironment_SdkV2
- func (c JobEnvironment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobEnvironment_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobEnvironment_SdkV2) GetSpec(ctx context.Context) (compute_tf.Environment_SdkV2, bool)
- func (o *JobEnvironment_SdkV2) SetSpec(ctx context.Context, v compute_tf.Environment_SdkV2)
- func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEnvironment_SdkV2)
- func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEnvironment_SdkV2)
- func (o JobEnvironment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobEnvironment_SdkV2) Type(ctx context.Context) attr.Type
- type JobNotificationSettings
- func (c JobNotificationSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobNotificationSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobNotificationSettings)
- func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings)
- func (o JobNotificationSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobNotificationSettings) Type(ctx context.Context) attr.Type
- type JobNotificationSettings_SdkV2
- func (c JobNotificationSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobNotificationSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobNotificationSettings_SdkV2)
- func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings_SdkV2)
- func (o JobNotificationSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobNotificationSettings_SdkV2) Type(ctx context.Context) attr.Type
- type JobParameter
- func (c JobParameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobParameter) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobParameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameter)
- func (newState *JobParameter) SyncEffectiveFieldsDuringRead(existingState JobParameter)
- func (o JobParameter) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobParameter) Type(ctx context.Context) attr.Type
- type JobParameterDefinition
- func (c JobParameterDefinition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobParameterDefinition) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameterDefinition)
- func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition)
- func (o JobParameterDefinition) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobParameterDefinition) Type(ctx context.Context) attr.Type
- type JobParameterDefinition_SdkV2
- func (c JobParameterDefinition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobParameterDefinition_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameterDefinition_SdkV2)
- func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition_SdkV2)
- func (o JobParameterDefinition_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobParameterDefinition_SdkV2) Type(ctx context.Context) attr.Type
- type JobParameter_SdkV2
- func (c JobParameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobParameter_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameter_SdkV2)
- func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameter_SdkV2)
- func (o JobParameter_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobParameter_SdkV2) Type(ctx context.Context) attr.Type
- type JobPermission
- func (c JobPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *JobPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *JobPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermission)
- func (newState *JobPermission) SyncEffectiveFieldsDuringRead(existingState JobPermission)
- func (o JobPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermission) Type(ctx context.Context) attr.Type
- type JobPermission_SdkV2
- func (c JobPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *JobPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermission_SdkV2)
- func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermission_SdkV2)
- func (o JobPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermission_SdkV2) Type(ctx context.Context) attr.Type
- type JobPermissions
- func (c JobPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobPermissions) GetAccessControlList(ctx context.Context) ([]JobAccessControlResponse, bool)
- func (a JobPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermissions) SetAccessControlList(ctx context.Context, v []JobAccessControlResponse)
- func (newState *JobPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissions)
- func (newState *JobPermissions) SyncEffectiveFieldsDuringRead(existingState JobPermissions)
- func (o JobPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissions) Type(ctx context.Context) attr.Type
- type JobPermissionsDescription
- func (c JobPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsDescription)
- func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription)
- func (o JobPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissionsDescription) Type(ctx context.Context) attr.Type
- type JobPermissionsDescription_SdkV2
- func (c JobPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsDescription_SdkV2)
- func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription_SdkV2)
- func (o JobPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissionsDescription_SdkV2) Type(ctx context.Context) attr.Type
- type JobPermissionsRequest
- func (c JobPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobPermissionsRequest) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
- func (a JobPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermissionsRequest) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
- func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsRequest)
- func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest)
- func (o JobPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissionsRequest) Type(ctx context.Context) attr.Type
- type JobPermissionsRequest_SdkV2
- func (c JobPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
- func (a JobPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
- func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsRequest_SdkV2)
- func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest_SdkV2)
- func (o JobPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type JobPermissions_SdkV2
- func (c JobPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *JobPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlResponse_SdkV2, bool)
- func (a JobPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlResponse_SdkV2)
- func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissions_SdkV2)
- func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissions_SdkV2)
- func (o JobPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobPermissions_SdkV2) Type(ctx context.Context) attr.Type
- type JobRunAs
- func (c JobRunAs) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobRunAs) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobRunAs) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobRunAs)
- func (newState *JobRunAs) SyncEffectiveFieldsDuringRead(existingState JobRunAs)
- func (o JobRunAs) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobRunAs) Type(ctx context.Context) attr.Type
- type JobRunAs_SdkV2
- func (c JobRunAs_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobRunAs_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobRunAs_SdkV2)
- func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobRunAs_SdkV2)
- func (o JobRunAs_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobRunAs_SdkV2) Type(ctx context.Context) attr.Type
- type JobSettings
- func (c JobSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobSettings) GetContinuous(ctx context.Context) (Continuous, bool)
- func (o *JobSettings) GetDeployment(ctx context.Context) (JobDeployment, bool)
- func (o *JobSettings) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
- func (o *JobSettings) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
- func (o *JobSettings) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *JobSettings) GetHealth(ctx context.Context) (JobsHealthRules, bool)
- func (o *JobSettings) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
- func (o *JobSettings) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
- func (o *JobSettings) GetParameters(ctx context.Context) ([]JobParameterDefinition, bool)
- func (o *JobSettings) GetQueue(ctx context.Context) (QueueSettings, bool)
- func (o *JobSettings) GetRunAs(ctx context.Context) (JobRunAs, bool)
- func (o *JobSettings) GetSchedule(ctx context.Context) (CronSchedule, bool)
- func (o *JobSettings) GetTags(ctx context.Context) (map[string]types.String, bool)
- func (o *JobSettings) GetTasks(ctx context.Context) ([]Task, bool)
- func (o *JobSettings) GetTrigger(ctx context.Context) (TriggerSettings, bool)
- func (o *JobSettings) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *JobSettings) SetContinuous(ctx context.Context, v Continuous)
- func (o *JobSettings) SetDeployment(ctx context.Context, v JobDeployment)
- func (o *JobSettings) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
- func (o *JobSettings) SetEnvironments(ctx context.Context, v []JobEnvironment)
- func (o *JobSettings) SetGitSource(ctx context.Context, v GitSource)
- func (o *JobSettings) SetHealth(ctx context.Context, v JobsHealthRules)
- func (o *JobSettings) SetJobClusters(ctx context.Context, v []JobCluster)
- func (o *JobSettings) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
- func (o *JobSettings) SetParameters(ctx context.Context, v []JobParameterDefinition)
- func (o *JobSettings) SetQueue(ctx context.Context, v QueueSettings)
- func (o *JobSettings) SetRunAs(ctx context.Context, v JobRunAs)
- func (o *JobSettings) SetSchedule(ctx context.Context, v CronSchedule)
- func (o *JobSettings) SetTags(ctx context.Context, v map[string]types.String)
- func (o *JobSettings) SetTasks(ctx context.Context, v []Task)
- func (o *JobSettings) SetTrigger(ctx context.Context, v TriggerSettings)
- func (o *JobSettings) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *JobSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSettings)
- func (newState *JobSettings) SyncEffectiveFieldsDuringRead(existingState JobSettings)
- func (o JobSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobSettings) Type(ctx context.Context) attr.Type
- type JobSettings_SdkV2
- func (c JobSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobSettings_SdkV2) GetContinuous(ctx context.Context) (Continuous_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetDeployment(ctx context.Context) (JobDeployment_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetParameters(ctx context.Context) ([]JobParameterDefinition_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetTags(ctx context.Context) (map[string]types.String, bool)
- func (o *JobSettings_SdkV2) GetTasks(ctx context.Context) ([]Task_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetTrigger(ctx context.Context) (TriggerSettings_SdkV2, bool)
- func (o *JobSettings_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *JobSettings_SdkV2) SetContinuous(ctx context.Context, v Continuous_SdkV2)
- func (o *JobSettings_SdkV2) SetDeployment(ctx context.Context, v JobDeployment_SdkV2)
- func (o *JobSettings_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
- func (o *JobSettings_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
- func (o *JobSettings_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *JobSettings_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
- func (o *JobSettings_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
- func (o *JobSettings_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
- func (o *JobSettings_SdkV2) SetParameters(ctx context.Context, v []JobParameterDefinition_SdkV2)
- func (o *JobSettings_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
- func (o *JobSettings_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
- func (o *JobSettings_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
- func (o *JobSettings_SdkV2) SetTags(ctx context.Context, v map[string]types.String)
- func (o *JobSettings_SdkV2) SetTasks(ctx context.Context, v []Task_SdkV2)
- func (o *JobSettings_SdkV2) SetTrigger(ctx context.Context, v TriggerSettings_SdkV2)
- func (o *JobSettings_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSettings_SdkV2)
- func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSettings_SdkV2)
- func (o JobSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobSettings_SdkV2) Type(ctx context.Context) attr.Type
- type JobSource
- func (c JobSource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobSource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSource)
- func (newState *JobSource) SyncEffectiveFieldsDuringRead(existingState JobSource)
- func (o JobSource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobSource) Type(ctx context.Context) attr.Type
- type JobSource_SdkV2
- func (c JobSource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobSource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSource_SdkV2)
- func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSource_SdkV2)
- func (o JobSource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobSource_SdkV2) Type(ctx context.Context) attr.Type
- type Job_SdkV2
- func (c Job_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Job_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Job_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
- func (o *Job_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
- func (newState *Job_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job_SdkV2)
- func (newState *Job_SdkV2) SyncEffectiveFieldsDuringRead(existingState Job_SdkV2)
- func (o Job_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Job_SdkV2) Type(ctx context.Context) attr.Type
- type JobsHealthRule
- func (c JobsHealthRule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobsHealthRule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobsHealthRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRule)
- func (newState *JobsHealthRule) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule)
- func (o JobsHealthRule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobsHealthRule) Type(ctx context.Context) attr.Type
- type JobsHealthRule_SdkV2
- func (c JobsHealthRule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobsHealthRule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRule_SdkV2)
- func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule_SdkV2)
- func (o JobsHealthRule_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobsHealthRule_SdkV2) Type(ctx context.Context) attr.Type
- type JobsHealthRules
- func (c JobsHealthRules) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobsHealthRules) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobsHealthRules) GetRules(ctx context.Context) ([]JobsHealthRule, bool)
- func (o *JobsHealthRules) SetRules(ctx context.Context, v []JobsHealthRule)
- func (newState *JobsHealthRules) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRules)
- func (newState *JobsHealthRules) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules)
- func (o JobsHealthRules) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobsHealthRules) Type(ctx context.Context) attr.Type
- type JobsHealthRules_SdkV2
- func (c JobsHealthRules_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a JobsHealthRules_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *JobsHealthRules_SdkV2) GetRules(ctx context.Context) ([]JobsHealthRule_SdkV2, bool)
- func (o *JobsHealthRules_SdkV2) SetRules(ctx context.Context, v []JobsHealthRule_SdkV2)
- func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRules_SdkV2)
- func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules_SdkV2)
- func (o JobsHealthRules_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o JobsHealthRules_SdkV2) Type(ctx context.Context) attr.Type
- type ListJobComplianceForPolicyResponse
- func (c ListJobComplianceForPolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListJobComplianceForPolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListJobComplianceForPolicyResponse) GetJobs(ctx context.Context) ([]JobCompliance, bool)
- func (o *ListJobComplianceForPolicyResponse) SetJobs(ctx context.Context, v []JobCompliance)
- func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceForPolicyResponse)
- func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse)
- func (o ListJobComplianceForPolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListJobComplianceForPolicyResponse) Type(ctx context.Context) attr.Type
- type ListJobComplianceForPolicyResponse_SdkV2
- func (c ListJobComplianceForPolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListJobComplianceForPolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListJobComplianceForPolicyResponse_SdkV2) GetJobs(ctx context.Context) ([]JobCompliance_SdkV2, bool)
- func (o *ListJobComplianceForPolicyResponse_SdkV2) SetJobs(ctx context.Context, v []JobCompliance_SdkV2)
- func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceForPolicyResponse_SdkV2)
- func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse_SdkV2)
- func (o ListJobComplianceForPolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListJobComplianceForPolicyResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListJobComplianceRequest
- type ListJobComplianceRequest_SdkV2
- type ListJobsRequest
- type ListJobsRequest_SdkV2
- type ListJobsResponse
- func (c ListJobsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListJobsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListJobsResponse) GetJobs(ctx context.Context) ([]BaseJob, bool)
- func (o *ListJobsResponse) SetJobs(ctx context.Context, v []BaseJob)
- func (newState *ListJobsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsResponse)
- func (newState *ListJobsResponse) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse)
- func (o ListJobsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListJobsResponse) Type(ctx context.Context) attr.Type
- type ListJobsResponse_SdkV2
- func (c ListJobsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListJobsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListJobsResponse_SdkV2) GetJobs(ctx context.Context) ([]BaseJob_SdkV2, bool)
- func (o *ListJobsResponse_SdkV2) SetJobs(ctx context.Context, v []BaseJob_SdkV2)
- func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsResponse_SdkV2)
- func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse_SdkV2)
- func (o ListJobsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListJobsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListRunsRequest
- type ListRunsRequest_SdkV2
- type ListRunsResponse
- func (c ListRunsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListRunsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListRunsResponse) GetRuns(ctx context.Context) ([]BaseRun, bool)
- func (o *ListRunsResponse) SetRuns(ctx context.Context, v []BaseRun)
- func (newState *ListRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsResponse)
- func (newState *ListRunsResponse) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse)
- func (o ListRunsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListRunsResponse) Type(ctx context.Context) attr.Type
- type ListRunsResponse_SdkV2
- func (c ListRunsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListRunsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListRunsResponse_SdkV2) GetRuns(ctx context.Context) ([]BaseRun_SdkV2, bool)
- func (o *ListRunsResponse_SdkV2) SetRuns(ctx context.Context, v []BaseRun_SdkV2)
- func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsResponse_SdkV2)
- func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse_SdkV2)
- func (o ListRunsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListRunsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type NotebookOutput
- func (c NotebookOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NotebookOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *NotebookOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookOutput)
- func (newState *NotebookOutput) SyncEffectiveFieldsDuringRead(existingState NotebookOutput)
- func (o NotebookOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NotebookOutput) Type(ctx context.Context) attr.Type
- type NotebookOutput_SdkV2
- func (c NotebookOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NotebookOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookOutput_SdkV2)
- func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookOutput_SdkV2)
- func (o NotebookOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NotebookOutput_SdkV2) Type(ctx context.Context) attr.Type
- type NotebookTask
- func (c NotebookTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *NotebookTask) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (a NotebookTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *NotebookTask) SetBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *NotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookTask)
- func (newState *NotebookTask) SyncEffectiveFieldsDuringRead(existingState NotebookTask)
- func (o NotebookTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NotebookTask) Type(ctx context.Context) attr.Type
- type NotebookTask_SdkV2
- func (c NotebookTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *NotebookTask_SdkV2) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (a NotebookTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *NotebookTask_SdkV2) SetBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookTask_SdkV2)
- func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookTask_SdkV2)
- func (o NotebookTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NotebookTask_SdkV2) Type(ctx context.Context) attr.Type
- type OutputSchemaInfo
- func (c OutputSchemaInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a OutputSchemaInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *OutputSchemaInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan OutputSchemaInfo)
- func (newState *OutputSchemaInfo) SyncEffectiveFieldsDuringRead(existingState OutputSchemaInfo)
- func (o OutputSchemaInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o OutputSchemaInfo) Type(ctx context.Context) attr.Type
- type OutputSchemaInfo_SdkV2
- func (c OutputSchemaInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a OutputSchemaInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan OutputSchemaInfo_SdkV2)
- func (newState *OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState OutputSchemaInfo_SdkV2)
- func (o OutputSchemaInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o OutputSchemaInfo_SdkV2) Type(ctx context.Context) attr.Type
- type PeriodicTriggerConfiguration
- func (c PeriodicTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PeriodicTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan PeriodicTriggerConfiguration)
- func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration)
- func (o PeriodicTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PeriodicTriggerConfiguration) Type(ctx context.Context) attr.Type
- type PeriodicTriggerConfiguration_SdkV2
- func (c PeriodicTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PeriodicTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PeriodicTriggerConfiguration_SdkV2)
- func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration_SdkV2)
- func (o PeriodicTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PeriodicTriggerConfiguration_SdkV2) Type(ctx context.Context) attr.Type
- type PipelineParams
- func (c PipelineParams) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PipelineParams) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PipelineParams) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineParams)
- func (newState *PipelineParams) SyncEffectiveFieldsDuringRead(existingState PipelineParams)
- func (o PipelineParams) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PipelineParams) Type(ctx context.Context) attr.Type
- type PipelineParams_SdkV2
- func (c PipelineParams_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PipelineParams_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineParams_SdkV2)
- func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineParams_SdkV2)
- func (o PipelineParams_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PipelineParams_SdkV2) Type(ctx context.Context) attr.Type
- type PipelineTask
- func (c PipelineTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PipelineTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PipelineTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineTask)
- func (newState *PipelineTask) SyncEffectiveFieldsDuringRead(existingState PipelineTask)
- func (o PipelineTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PipelineTask) Type(ctx context.Context) attr.Type
- type PipelineTask_SdkV2
- func (c PipelineTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PipelineTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineTask_SdkV2)
- func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineTask_SdkV2)
- func (o PipelineTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PipelineTask_SdkV2) Type(ctx context.Context) attr.Type
- type PythonWheelTask
- func (c PythonWheelTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PythonWheelTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PythonWheelTask) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *PythonWheelTask) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *PythonWheelTask) SetNamedParameters(ctx context.Context, v map[string]types.String)
- func (o *PythonWheelTask) SetParameters(ctx context.Context, v []types.String)
- func (newState *PythonWheelTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonWheelTask)
- func (newState *PythonWheelTask) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask)
- func (o PythonWheelTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PythonWheelTask) Type(ctx context.Context) attr.Type
- type PythonWheelTask_SdkV2
- func (c PythonWheelTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PythonWheelTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PythonWheelTask_SdkV2) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *PythonWheelTask_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *PythonWheelTask_SdkV2) SetNamedParameters(ctx context.Context, v map[string]types.String)
- func (o *PythonWheelTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonWheelTask_SdkV2)
- func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask_SdkV2)
- func (o PythonWheelTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PythonWheelTask_SdkV2) Type(ctx context.Context) attr.Type
- type QueueDetails
- func (c QueueDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a QueueDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *QueueDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueDetails)
- func (newState *QueueDetails) SyncEffectiveFieldsDuringRead(existingState QueueDetails)
- func (o QueueDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueueDetails) Type(ctx context.Context) attr.Type
- type QueueDetails_SdkV2
- func (c QueueDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a QueueDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueDetails_SdkV2)
- func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueDetails_SdkV2)
- func (o QueueDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueueDetails_SdkV2) Type(ctx context.Context) attr.Type
- type QueueSettings
- func (c QueueSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a QueueSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *QueueSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueSettings)
- func (newState *QueueSettings) SyncEffectiveFieldsDuringRead(existingState QueueSettings)
- func (o QueueSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueueSettings) Type(ctx context.Context) attr.Type
- type QueueSettings_SdkV2
- func (c QueueSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a QueueSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueSettings_SdkV2)
- func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueSettings_SdkV2)
- func (o QueueSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueueSettings_SdkV2) Type(ctx context.Context) attr.Type
- type RepairHistoryItem
- func (c RepairHistoryItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairHistoryItem) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RepairHistoryItem) GetState(ctx context.Context) (RunState, bool)
- func (o *RepairHistoryItem) GetStatus(ctx context.Context) (RunStatus, bool)
- func (o *RepairHistoryItem) GetTaskRunIds(ctx context.Context) ([]types.Int64, bool)
- func (o *RepairHistoryItem) SetState(ctx context.Context, v RunState)
- func (o *RepairHistoryItem) SetStatus(ctx context.Context, v RunStatus)
- func (o *RepairHistoryItem) SetTaskRunIds(ctx context.Context, v []types.Int64)
- func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairHistoryItem)
- func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem)
- func (o RepairHistoryItem) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairHistoryItem) Type(ctx context.Context) attr.Type
- type RepairHistoryItem_SdkV2
- func (c RepairHistoryItem_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairHistoryItem_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RepairHistoryItem_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
- func (o *RepairHistoryItem_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
- func (o *RepairHistoryItem_SdkV2) GetTaskRunIds(ctx context.Context) ([]types.Int64, bool)
- func (o *RepairHistoryItem_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
- func (o *RepairHistoryItem_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
- func (o *RepairHistoryItem_SdkV2) SetTaskRunIds(ctx context.Context, v []types.Int64)
- func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairHistoryItem_SdkV2)
- func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem_SdkV2)
- func (o RepairHistoryItem_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairHistoryItem_SdkV2) Type(ctx context.Context) attr.Type
- type RepairRun
- func (c RepairRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairRun) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RepairRun) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
- func (o *RepairRun) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun) GetRerunTasks(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RepairRun) SetJarParams(ctx context.Context, v []types.String)
- func (o *RepairRun) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RepairRun) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RepairRun) SetPipelineParams(ctx context.Context, v PipelineParams)
- func (o *RepairRun) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RepairRun) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RepairRun) SetRerunTasks(ctx context.Context, v []types.String)
- func (o *RepairRun) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RepairRun) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RepairRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRun)
- func (newState *RepairRun) SyncEffectiveFieldsDuringRead(existingState RepairRun)
- func (o RepairRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairRun) Type(ctx context.Context) attr.Type
- type RepairRunResponse
- func (c RepairRunResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairRunResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RepairRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRunResponse)
- func (newState *RepairRunResponse) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse)
- func (o RepairRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairRunResponse) Type(ctx context.Context) attr.Type
- type RepairRunResponse_SdkV2
- func (c RepairRunResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairRunResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRunResponse_SdkV2)
- func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse_SdkV2)
- func (o RepairRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairRunResponse_SdkV2) Type(ctx context.Context) attr.Type
- type RepairRun_SdkV2
- func (c RepairRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RepairRun_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RepairRun_SdkV2) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun_SdkV2) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun_SdkV2) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun_SdkV2) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
- func (o *RepairRun_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun_SdkV2) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun_SdkV2) GetRerunTasks(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun_SdkV2) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RepairRun_SdkV2) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RepairRun_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RepairRun_SdkV2) SetJarParams(ctx context.Context, v []types.String)
- func (o *RepairRun_SdkV2) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RepairRun_SdkV2) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RepairRun_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
- func (o *RepairRun_SdkV2) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RepairRun_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RepairRun_SdkV2) SetRerunTasks(ctx context.Context, v []types.String)
- func (o *RepairRun_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RepairRun_SdkV2) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRun_SdkV2)
- func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRun_SdkV2)
- func (o RepairRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RepairRun_SdkV2) Type(ctx context.Context) attr.Type
- type ResetJob
- func (c ResetJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResetJob) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResetJob) GetNewSettings(ctx context.Context) (JobSettings, bool)
- func (o *ResetJob) SetNewSettings(ctx context.Context, v JobSettings)
- func (newState *ResetJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetJob)
- func (newState *ResetJob) SyncEffectiveFieldsDuringRead(existingState ResetJob)
- func (o ResetJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResetJob) Type(ctx context.Context) attr.Type
- type ResetJob_SdkV2
- func (c ResetJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResetJob_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResetJob_SdkV2) GetNewSettings(ctx context.Context) (JobSettings_SdkV2, bool)
- func (o *ResetJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV2)
- func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetJob_SdkV2)
- func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResetJob_SdkV2)
- func (o ResetJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResetJob_SdkV2) Type(ctx context.Context) attr.Type
- type ResetResponse
- type ResetResponse_SdkV2
- type ResolvedConditionTaskValues
- func (c ResolvedConditionTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedConditionTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedConditionTaskValues)
- func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues)
- func (o ResolvedConditionTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedConditionTaskValues) Type(ctx context.Context) attr.Type
- type ResolvedConditionTaskValues_SdkV2
- func (c ResolvedConditionTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedConditionTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedConditionTaskValues_SdkV2)
- func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues_SdkV2)
- func (o ResolvedConditionTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedConditionTaskValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedDbtTaskValues
- func (c ResolvedDbtTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResolvedDbtTaskValues) GetCommands(ctx context.Context) ([]types.String, bool)
- func (a ResolvedDbtTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedDbtTaskValues) SetCommands(ctx context.Context, v []types.String)
- func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedDbtTaskValues)
- func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues)
- func (o ResolvedDbtTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedDbtTaskValues) Type(ctx context.Context) attr.Type
- type ResolvedDbtTaskValues_SdkV2
- func (c ResolvedDbtTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResolvedDbtTaskValues_SdkV2) GetCommands(ctx context.Context) ([]types.String, bool)
- func (a ResolvedDbtTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedDbtTaskValues_SdkV2) SetCommands(ctx context.Context, v []types.String)
- func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedDbtTaskValues_SdkV2)
- func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues_SdkV2)
- func (o ResolvedDbtTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedDbtTaskValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedNotebookTaskValues
- func (c ResolvedNotebookTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResolvedNotebookTaskValues) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (a ResolvedNotebookTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedNotebookTaskValues) SetBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedNotebookTaskValues)
- func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues)
- func (o ResolvedNotebookTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedNotebookTaskValues) Type(ctx context.Context) attr.Type
- type ResolvedNotebookTaskValues_SdkV2
- func (c ResolvedNotebookTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResolvedNotebookTaskValues_SdkV2) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
- func (a ResolvedNotebookTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedNotebookTaskValues_SdkV2) SetBaseParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedNotebookTaskValues_SdkV2)
- func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues_SdkV2)
- func (o ResolvedNotebookTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedNotebookTaskValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedParamPairValues
- func (c ResolvedParamPairValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedParamPairValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedParamPairValues) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedParamPairValues) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedParamPairValues)
- func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues)
- func (o ResolvedParamPairValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedParamPairValues) Type(ctx context.Context) attr.Type
- type ResolvedParamPairValues_SdkV2
- func (c ResolvedParamPairValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedParamPairValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedParamPairValues_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedParamPairValues_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedParamPairValues_SdkV2)
- func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues_SdkV2)
- func (o ResolvedParamPairValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedParamPairValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedPythonWheelTaskValues
- func (c ResolvedPythonWheelTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedPythonWheelTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedPythonWheelTaskValues) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedPythonWheelTaskValues) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *ResolvedPythonWheelTaskValues) SetNamedParameters(ctx context.Context, v map[string]types.String)
- func (o *ResolvedPythonWheelTaskValues) SetParameters(ctx context.Context, v []types.String)
- func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedPythonWheelTaskValues)
- func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues)
- func (o ResolvedPythonWheelTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedPythonWheelTaskValues) Type(ctx context.Context) attr.Type
- type ResolvedPythonWheelTaskValues_SdkV2
- func (c ResolvedPythonWheelTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedPythonWheelTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedPythonWheelTaskValues_SdkV2) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedPythonWheelTaskValues_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *ResolvedPythonWheelTaskValues_SdkV2) SetNamedParameters(ctx context.Context, v map[string]types.String)
- func (o *ResolvedPythonWheelTaskValues_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedPythonWheelTaskValues_SdkV2)
- func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues_SdkV2)
- func (o ResolvedPythonWheelTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedPythonWheelTaskValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedRunJobTaskValues
- func (c ResolvedRunJobTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedRunJobTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedRunJobTaskValues) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedRunJobTaskValues) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedRunJobTaskValues) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *ResolvedRunJobTaskValues) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedRunJobTaskValues)
- func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues)
- func (o ResolvedRunJobTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedRunJobTaskValues) Type(ctx context.Context) attr.Type
- type ResolvedRunJobTaskValues_SdkV2
- func (c ResolvedRunJobTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedRunJobTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedRunJobTaskValues_SdkV2) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedRunJobTaskValues_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *ResolvedRunJobTaskValues_SdkV2) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *ResolvedRunJobTaskValues_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedRunJobTaskValues_SdkV2)
- func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues_SdkV2)
- func (o ResolvedRunJobTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedRunJobTaskValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedStringParamsValues
- func (c ResolvedStringParamsValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedStringParamsValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedStringParamsValues) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *ResolvedStringParamsValues) SetParameters(ctx context.Context, v []types.String)
- func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedStringParamsValues)
- func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues)
- func (o ResolvedStringParamsValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedStringParamsValues) Type(ctx context.Context) attr.Type
- type ResolvedStringParamsValues_SdkV2
- func (c ResolvedStringParamsValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedStringParamsValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedStringParamsValues_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *ResolvedStringParamsValues_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedStringParamsValues_SdkV2)
- func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues_SdkV2)
- func (o ResolvedStringParamsValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedStringParamsValues_SdkV2) Type(ctx context.Context) attr.Type
- type ResolvedValues
- func (c ResolvedValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedValues) GetConditionTask(ctx context.Context) (ResolvedConditionTaskValues, bool)
- func (o *ResolvedValues) GetDbtTask(ctx context.Context) (ResolvedDbtTaskValues, bool)
- func (o *ResolvedValues) GetNotebookTask(ctx context.Context) (ResolvedNotebookTaskValues, bool)
- func (o *ResolvedValues) GetPythonWheelTask(ctx context.Context) (ResolvedPythonWheelTaskValues, bool)
- func (o *ResolvedValues) GetRunJobTask(ctx context.Context) (ResolvedRunJobTaskValues, bool)
- func (o *ResolvedValues) GetSimulationTask(ctx context.Context) (ResolvedParamPairValues, bool)
- func (o *ResolvedValues) GetSparkJarTask(ctx context.Context) (ResolvedStringParamsValues, bool)
- func (o *ResolvedValues) GetSparkPythonTask(ctx context.Context) (ResolvedStringParamsValues, bool)
- func (o *ResolvedValues) GetSparkSubmitTask(ctx context.Context) (ResolvedStringParamsValues, bool)
- func (o *ResolvedValues) GetSqlTask(ctx context.Context) (ResolvedParamPairValues, bool)
- func (o *ResolvedValues) SetConditionTask(ctx context.Context, v ResolvedConditionTaskValues)
- func (o *ResolvedValues) SetDbtTask(ctx context.Context, v ResolvedDbtTaskValues)
- func (o *ResolvedValues) SetNotebookTask(ctx context.Context, v ResolvedNotebookTaskValues)
- func (o *ResolvedValues) SetPythonWheelTask(ctx context.Context, v ResolvedPythonWheelTaskValues)
- func (o *ResolvedValues) SetRunJobTask(ctx context.Context, v ResolvedRunJobTaskValues)
- func (o *ResolvedValues) SetSimulationTask(ctx context.Context, v ResolvedParamPairValues)
- func (o *ResolvedValues) SetSparkJarTask(ctx context.Context, v ResolvedStringParamsValues)
- func (o *ResolvedValues) SetSparkPythonTask(ctx context.Context, v ResolvedStringParamsValues)
- func (o *ResolvedValues) SetSparkSubmitTask(ctx context.Context, v ResolvedStringParamsValues)
- func (o *ResolvedValues) SetSqlTask(ctx context.Context, v ResolvedParamPairValues)
- func (newState *ResolvedValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedValues)
- func (newState *ResolvedValues) SyncEffectiveFieldsDuringRead(existingState ResolvedValues)
- func (o ResolvedValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedValues) Type(ctx context.Context) attr.Type
- type ResolvedValues_SdkV2
- func (c ResolvedValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResolvedValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResolvedValues_SdkV2) GetConditionTask(ctx context.Context) (ResolvedConditionTaskValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetDbtTask(ctx context.Context) (ResolvedDbtTaskValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetNotebookTask(ctx context.Context) (ResolvedNotebookTaskValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetPythonWheelTask(ctx context.Context) (ResolvedPythonWheelTaskValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetRunJobTask(ctx context.Context) (ResolvedRunJobTaskValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetSimulationTask(ctx context.Context) (ResolvedParamPairValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetSparkJarTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetSparkPythonTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetSparkSubmitTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) GetSqlTask(ctx context.Context) (ResolvedParamPairValues_SdkV2, bool)
- func (o *ResolvedValues_SdkV2) SetConditionTask(ctx context.Context, v ResolvedConditionTaskValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetDbtTask(ctx context.Context, v ResolvedDbtTaskValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetNotebookTask(ctx context.Context, v ResolvedNotebookTaskValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetPythonWheelTask(ctx context.Context, v ResolvedPythonWheelTaskValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetRunJobTask(ctx context.Context, v ResolvedRunJobTaskValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetSimulationTask(ctx context.Context, v ResolvedParamPairValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetSparkJarTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetSparkPythonTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetSparkSubmitTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
- func (o *ResolvedValues_SdkV2) SetSqlTask(ctx context.Context, v ResolvedParamPairValues_SdkV2)
- func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedValues_SdkV2)
- func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedValues_SdkV2)
- func (o ResolvedValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResolvedValues_SdkV2) Type(ctx context.Context) attr.Type
- type Run
- func (c Run) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *Run) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
- func (o *Run) GetClusterSpec(ctx context.Context) (ClusterSpec, bool)
- func (a Run) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Run) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *Run) GetIterations(ctx context.Context) ([]RunTask, bool)
- func (o *Run) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
- func (o *Run) GetJobParameters(ctx context.Context) ([]JobParameter, bool)
- func (o *Run) GetOverridingParameters(ctx context.Context) (RunParameters, bool)
- func (o *Run) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem, bool)
- func (o *Run) GetSchedule(ctx context.Context) (CronSchedule, bool)
- func (o *Run) GetState(ctx context.Context) (RunState, bool)
- func (o *Run) GetStatus(ctx context.Context) (RunStatus, bool)
- func (o *Run) GetTasks(ctx context.Context) ([]RunTask, bool)
- func (o *Run) GetTriggerInfo(ctx context.Context) (TriggerInfo, bool)
- func (o *Run) SetClusterInstance(ctx context.Context, v ClusterInstance)
- func (o *Run) SetClusterSpec(ctx context.Context, v ClusterSpec)
- func (o *Run) SetGitSource(ctx context.Context, v GitSource)
- func (o *Run) SetIterations(ctx context.Context, v []RunTask)
- func (o *Run) SetJobClusters(ctx context.Context, v []JobCluster)
- func (o *Run) SetJobParameters(ctx context.Context, v []JobParameter)
- func (o *Run) SetOverridingParameters(ctx context.Context, v RunParameters)
- func (o *Run) SetRepairHistory(ctx context.Context, v []RepairHistoryItem)
- func (o *Run) SetSchedule(ctx context.Context, v CronSchedule)
- func (o *Run) SetState(ctx context.Context, v RunState)
- func (o *Run) SetStatus(ctx context.Context, v RunStatus)
- func (o *Run) SetTasks(ctx context.Context, v []RunTask)
- func (o *Run) SetTriggerInfo(ctx context.Context, v TriggerInfo)
- func (newState *Run) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run)
- func (newState *Run) SyncEffectiveFieldsDuringRead(existingState Run)
- func (o Run) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Run) Type(ctx context.Context) attr.Type
- type RunConditionTask
- func (c RunConditionTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunConditionTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunConditionTask)
- func (newState *RunConditionTask) SyncEffectiveFieldsDuringRead(existingState RunConditionTask)
- func (o RunConditionTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunConditionTask) Type(ctx context.Context) attr.Type
- type RunConditionTask_SdkV2
- func (c RunConditionTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunConditionTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunConditionTask_SdkV2)
- func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunConditionTask_SdkV2)
- func (o RunConditionTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunConditionTask_SdkV2) Type(ctx context.Context) attr.Type
- type RunForEachTask
- func (c RunForEachTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunForEachTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunForEachTask) GetStats(ctx context.Context) (ForEachStats, bool)
- func (o *RunForEachTask) GetTask(ctx context.Context) (Task, bool)
- func (o *RunForEachTask) SetStats(ctx context.Context, v ForEachStats)
- func (o *RunForEachTask) SetTask(ctx context.Context, v Task)
- func (newState *RunForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunForEachTask)
- func (newState *RunForEachTask) SyncEffectiveFieldsDuringRead(existingState RunForEachTask)
- func (o RunForEachTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunForEachTask) Type(ctx context.Context) attr.Type
- type RunForEachTask_SdkV2
- func (c RunForEachTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunForEachTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunForEachTask_SdkV2) GetStats(ctx context.Context) (ForEachStats_SdkV2, bool)
- func (o *RunForEachTask_SdkV2) GetTask(ctx context.Context) (Task_SdkV2, bool)
- func (o *RunForEachTask_SdkV2) SetStats(ctx context.Context, v ForEachStats_SdkV2)
- func (o *RunForEachTask_SdkV2) SetTask(ctx context.Context, v Task_SdkV2)
- func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunForEachTask_SdkV2)
- func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunForEachTask_SdkV2)
- func (o RunForEachTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunForEachTask_SdkV2) Type(ctx context.Context) attr.Type
- type RunJobOutput
- func (c RunJobOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunJobOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunJobOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobOutput)
- func (newState *RunJobOutput) SyncEffectiveFieldsDuringRead(existingState RunJobOutput)
- func (o RunJobOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunJobOutput) Type(ctx context.Context) attr.Type
- type RunJobOutput_SdkV2
- func (c RunJobOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunJobOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobOutput_SdkV2)
- func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobOutput_SdkV2)
- func (o RunJobOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunJobOutput_SdkV2) Type(ctx context.Context) attr.Type
- type RunJobTask
- func (c RunJobTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunJobTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunJobTask) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
- func (o *RunJobTask) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunJobTask) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunJobTask) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask) SetPipelineParams(ctx context.Context, v PipelineParams)
- func (o *RunJobTask) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunJobTask) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunJobTask) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunJobTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobTask)
- func (newState *RunJobTask) SyncEffectiveFieldsDuringRead(existingState RunJobTask)
- func (o RunJobTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunJobTask) Type(ctx context.Context) attr.Type
- type RunJobTask_SdkV2
- func (c RunJobTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunJobTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunJobTask_SdkV2) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask_SdkV2) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask_SdkV2) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask_SdkV2) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
- func (o *RunJobTask_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask_SdkV2) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask_SdkV2) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunJobTask_SdkV2) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunJobTask_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunJobTask_SdkV2) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunJobTask_SdkV2) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask_SdkV2) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
- func (o *RunJobTask_SdkV2) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunJobTask_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunJobTask_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunJobTask_SdkV2) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobTask_SdkV2)
- func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobTask_SdkV2)
- func (o RunJobTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunJobTask_SdkV2) Type(ctx context.Context) attr.Type
- type RunNow
- func (c RunNow) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunNow) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunNow) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunNow) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow) GetOnly(ctx context.Context) ([]types.String, bool)
- func (o *RunNow) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
- func (o *RunNow) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow) GetQueue(ctx context.Context) (QueueSettings, bool)
- func (o *RunNow) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunNow) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunNow) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RunNow) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunNow) SetOnly(ctx context.Context, v []types.String)
- func (o *RunNow) SetPipelineParams(ctx context.Context, v PipelineParams)
- func (o *RunNow) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunNow) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunNow) SetQueue(ctx context.Context, v QueueSettings)
- func (o *RunNow) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunNow) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunNow) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNow)
- func (newState *RunNow) SyncEffectiveFieldsDuringRead(existingState RunNow)
- func (o RunNow) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunNow) Type(ctx context.Context) attr.Type
- type RunNowResponse
- func (c RunNowResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunNowResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunNowResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNowResponse)
- func (newState *RunNowResponse) SyncEffectiveFieldsDuringRead(existingState RunNowResponse)
- func (o RunNowResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunNowResponse) Type(ctx context.Context) attr.Type
- type RunNowResponse_SdkV2
- func (c RunNowResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunNowResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNowResponse_SdkV2)
- func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNowResponse_SdkV2)
- func (o RunNowResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunNowResponse_SdkV2) Type(ctx context.Context) attr.Type
- type RunNow_SdkV2
- func (c RunNow_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunNow_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunNow_SdkV2) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunNow_SdkV2) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow_SdkV2) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow_SdkV2) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow_SdkV2) GetOnly(ctx context.Context) ([]types.String, bool)
- func (o *RunNow_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
- func (o *RunNow_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow_SdkV2) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
- func (o *RunNow_SdkV2) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunNow_SdkV2) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunNow_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunNow_SdkV2) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunNow_SdkV2) SetJobParameters(ctx context.Context, v map[string]types.String)
- func (o *RunNow_SdkV2) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunNow_SdkV2) SetOnly(ctx context.Context, v []types.String)
- func (o *RunNow_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
- func (o *RunNow_SdkV2) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunNow_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunNow_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
- func (o *RunNow_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunNow_SdkV2) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNow_SdkV2)
- func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNow_SdkV2)
- func (o RunNow_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunNow_SdkV2) Type(ctx context.Context) attr.Type
- type RunOutput
- func (c RunOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *RunOutput) GetCleanRoomsNotebookOutput(ctx context.Context) (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput, bool)
- func (a RunOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunOutput) GetDbtOutput(ctx context.Context) (DbtOutput, bool)
- func (o *RunOutput) GetMetadata(ctx context.Context) (Run, bool)
- func (o *RunOutput) GetNotebookOutput(ctx context.Context) (NotebookOutput, bool)
- func (o *RunOutput) GetRunJobOutput(ctx context.Context) (RunJobOutput, bool)
- func (o *RunOutput) GetSqlOutput(ctx context.Context) (SqlOutput, bool)
- func (o *RunOutput) SetCleanRoomsNotebookOutput(ctx context.Context, v CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
- func (o *RunOutput) SetDbtOutput(ctx context.Context, v DbtOutput)
- func (o *RunOutput) SetMetadata(ctx context.Context, v Run)
- func (o *RunOutput) SetNotebookOutput(ctx context.Context, v NotebookOutput)
- func (o *RunOutput) SetRunJobOutput(ctx context.Context, v RunJobOutput)
- func (o *RunOutput) SetSqlOutput(ctx context.Context, v SqlOutput)
- func (newState *RunOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunOutput)
- func (newState *RunOutput) SyncEffectiveFieldsDuringRead(existingState RunOutput)
- func (o RunOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunOutput) Type(ctx context.Context) attr.Type
- type RunOutput_SdkV2
- func (c RunOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *RunOutput_SdkV2) GetCleanRoomsNotebookOutput(ctx context.Context) (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2, bool)
- func (a RunOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunOutput_SdkV2) GetDbtOutput(ctx context.Context) (DbtOutput_SdkV2, bool)
- func (o *RunOutput_SdkV2) GetMetadata(ctx context.Context) (Run_SdkV2, bool)
- func (o *RunOutput_SdkV2) GetNotebookOutput(ctx context.Context) (NotebookOutput_SdkV2, bool)
- func (o *RunOutput_SdkV2) GetRunJobOutput(ctx context.Context) (RunJobOutput_SdkV2, bool)
- func (o *RunOutput_SdkV2) GetSqlOutput(ctx context.Context) (SqlOutput_SdkV2, bool)
- func (o *RunOutput_SdkV2) SetCleanRoomsNotebookOutput(ctx context.Context, ...)
- func (o *RunOutput_SdkV2) SetDbtOutput(ctx context.Context, v DbtOutput_SdkV2)
- func (o *RunOutput_SdkV2) SetMetadata(ctx context.Context, v Run_SdkV2)
- func (o *RunOutput_SdkV2) SetNotebookOutput(ctx context.Context, v NotebookOutput_SdkV2)
- func (o *RunOutput_SdkV2) SetRunJobOutput(ctx context.Context, v RunJobOutput_SdkV2)
- func (o *RunOutput_SdkV2) SetSqlOutput(ctx context.Context, v SqlOutput_SdkV2)
- func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunOutput_SdkV2)
- func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunOutput_SdkV2)
- func (o RunOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunOutput_SdkV2) Type(ctx context.Context) attr.Type
- type RunParameters
- func (c RunParameters) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunParameters) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunParameters) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
- func (o *RunParameters) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunParameters) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunParameters) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunParameters) SetPipelineParams(ctx context.Context, v PipelineParams)
- func (o *RunParameters) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunParameters) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunParameters) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunParameters) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunParameters) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunParameters)
- func (newState *RunParameters) SyncEffectiveFieldsDuringRead(existingState RunParameters)
- func (o RunParameters) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunParameters) Type(ctx context.Context) attr.Type
- type RunParameters_SdkV2
- func (c RunParameters_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunParameters_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunParameters_SdkV2) GetDbtCommands(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters_SdkV2) GetJarParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters_SdkV2) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
- func (o *RunParameters_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters_SdkV2) GetPythonParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters_SdkV2) GetSparkSubmitParams(ctx context.Context) ([]types.String, bool)
- func (o *RunParameters_SdkV2) GetSqlParams(ctx context.Context) (map[string]types.String, bool)
- func (o *RunParameters_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
- func (o *RunParameters_SdkV2) SetJarParams(ctx context.Context, v []types.String)
- func (o *RunParameters_SdkV2) SetNotebookParams(ctx context.Context, v map[string]types.String)
- func (o *RunParameters_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
- func (o *RunParameters_SdkV2) SetPythonNamedParams(ctx context.Context, v map[string]types.String)
- func (o *RunParameters_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
- func (o *RunParameters_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
- func (o *RunParameters_SdkV2) SetSqlParams(ctx context.Context, v map[string]types.String)
- func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunParameters_SdkV2)
- func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunParameters_SdkV2)
- func (o RunParameters_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunParameters_SdkV2) Type(ctx context.Context) attr.Type
- type RunState
- func (c RunState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunState) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunState)
- func (newState *RunState) SyncEffectiveFieldsDuringRead(existingState RunState)
- func (o RunState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunState) Type(ctx context.Context) attr.Type
- type RunState_SdkV2
- func (c RunState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunState_SdkV2)
- func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunState_SdkV2)
- func (o RunState_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunState_SdkV2) Type(ctx context.Context) attr.Type
- type RunStatus
- func (c RunStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunStatus) GetQueueDetails(ctx context.Context) (QueueDetails, bool)
- func (o *RunStatus) GetTerminationDetails(ctx context.Context) (TerminationDetails, bool)
- func (o *RunStatus) SetQueueDetails(ctx context.Context, v QueueDetails)
- func (o *RunStatus) SetTerminationDetails(ctx context.Context, v TerminationDetails)
- func (newState *RunStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunStatus)
- func (newState *RunStatus) SyncEffectiveFieldsDuringRead(existingState RunStatus)
- func (o RunStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunStatus) Type(ctx context.Context) attr.Type
- type RunStatus_SdkV2
- func (c RunStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RunStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunStatus_SdkV2) GetQueueDetails(ctx context.Context) (QueueDetails_SdkV2, bool)
- func (o *RunStatus_SdkV2) GetTerminationDetails(ctx context.Context) (TerminationDetails_SdkV2, bool)
- func (o *RunStatus_SdkV2) SetQueueDetails(ctx context.Context, v QueueDetails_SdkV2)
- func (o *RunStatus_SdkV2) SetTerminationDetails(ctx context.Context, v TerminationDetails_SdkV2)
- func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunStatus_SdkV2)
- func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunStatus_SdkV2)
- func (o RunStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunStatus_SdkV2) Type(ctx context.Context) attr.Type
- type RunTask
- func (c RunTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *RunTask) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
- func (o *RunTask) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
- func (a RunTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunTask) GetConditionTask(ctx context.Context) (RunConditionTask, bool)
- func (o *RunTask) GetDbtTask(ctx context.Context) (DbtTask, bool)
- func (o *RunTask) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
- func (o *RunTask) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
- func (o *RunTask) GetForEachTask(ctx context.Context) (RunForEachTask, bool)
- func (o *RunTask) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *RunTask) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
- func (o *RunTask) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
- func (o *RunTask) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
- func (o *RunTask) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
- func (o *RunTask) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
- func (o *RunTask) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
- func (o *RunTask) GetResolvedValues(ctx context.Context) (ResolvedValues, bool)
- func (o *RunTask) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
- func (o *RunTask) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
- func (o *RunTask) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
- func (o *RunTask) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
- func (o *RunTask) GetSqlTask(ctx context.Context) (SqlTask, bool)
- func (o *RunTask) GetState(ctx context.Context) (RunState, bool)
- func (o *RunTask) GetStatus(ctx context.Context) (RunStatus, bool)
- func (o *RunTask) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *RunTask) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
- func (o *RunTask) SetClusterInstance(ctx context.Context, v ClusterInstance)
- func (o *RunTask) SetConditionTask(ctx context.Context, v RunConditionTask)
- func (o *RunTask) SetDbtTask(ctx context.Context, v DbtTask)
- func (o *RunTask) SetDependsOn(ctx context.Context, v []TaskDependency)
- func (o *RunTask) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
- func (o *RunTask) SetForEachTask(ctx context.Context, v RunForEachTask)
- func (o *RunTask) SetGitSource(ctx context.Context, v GitSource)
- func (o *RunTask) SetLibraries(ctx context.Context, v []compute_tf.Library)
- func (o *RunTask) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
- func (o *RunTask) SetNotebookTask(ctx context.Context, v NotebookTask)
- func (o *RunTask) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
- func (o *RunTask) SetPipelineTask(ctx context.Context, v PipelineTask)
- func (o *RunTask) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
- func (o *RunTask) SetResolvedValues(ctx context.Context, v ResolvedValues)
- func (o *RunTask) SetRunJobTask(ctx context.Context, v RunJobTask)
- func (o *RunTask) SetSparkJarTask(ctx context.Context, v SparkJarTask)
- func (o *RunTask) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
- func (o *RunTask) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
- func (o *RunTask) SetSqlTask(ctx context.Context, v SqlTask)
- func (o *RunTask) SetState(ctx context.Context, v RunState)
- func (o *RunTask) SetStatus(ctx context.Context, v RunStatus)
- func (o *RunTask) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *RunTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTask)
- func (newState *RunTask) SyncEffectiveFieldsDuringRead(existingState RunTask)
- func (o RunTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunTask) Type(ctx context.Context) attr.Type
- type RunTask_SdkV2
- func (c RunTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *RunTask_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
- func (a RunTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RunTask_SdkV2) GetConditionTask(ctx context.Context) (RunConditionTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
- func (o *RunTask_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
- func (o *RunTask_SdkV2) GetForEachTask(ctx context.Context) (RunForEachTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *RunTask_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
- func (o *RunTask_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
- func (o *RunTask_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
- func (o *RunTask_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetResolvedValues(ctx context.Context) (ResolvedValues_SdkV2, bool)
- func (o *RunTask_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
- func (o *RunTask_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
- func (o *RunTask_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
- func (o *RunTask_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *RunTask_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
- func (o *RunTask_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
- func (o *RunTask_SdkV2) SetConditionTask(ctx context.Context, v RunConditionTask_SdkV2)
- func (o *RunTask_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
- func (o *RunTask_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
- func (o *RunTask_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
- func (o *RunTask_SdkV2) SetForEachTask(ctx context.Context, v RunForEachTask_SdkV2)
- func (o *RunTask_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *RunTask_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
- func (o *RunTask_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
- func (o *RunTask_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
- func (o *RunTask_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
- func (o *RunTask_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
- func (o *RunTask_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
- func (o *RunTask_SdkV2) SetResolvedValues(ctx context.Context, v ResolvedValues_SdkV2)
- func (o *RunTask_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
- func (o *RunTask_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
- func (o *RunTask_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
- func (o *RunTask_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
- func (o *RunTask_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
- func (o *RunTask_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
- func (o *RunTask_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
- func (o *RunTask_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTask_SdkV2)
- func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunTask_SdkV2)
- func (o RunTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RunTask_SdkV2) Type(ctx context.Context) attr.Type
- type Run_SdkV2
- func (c Run_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *Run_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
- func (o *Run_SdkV2) GetClusterSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
- func (a Run_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Run_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *Run_SdkV2) GetIterations(ctx context.Context) ([]RunTask_SdkV2, bool)
- func (o *Run_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
- func (o *Run_SdkV2) GetJobParameters(ctx context.Context) ([]JobParameter_SdkV2, bool)
- func (o *Run_SdkV2) GetOverridingParameters(ctx context.Context) (RunParameters_SdkV2, bool)
- func (o *Run_SdkV2) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem_SdkV2, bool)
- func (o *Run_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
- func (o *Run_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
- func (o *Run_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
- func (o *Run_SdkV2) GetTasks(ctx context.Context) ([]RunTask_SdkV2, bool)
- func (o *Run_SdkV2) GetTriggerInfo(ctx context.Context) (TriggerInfo_SdkV2, bool)
- func (o *Run_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
- func (o *Run_SdkV2) SetClusterSpec(ctx context.Context, v ClusterSpec_SdkV2)
- func (o *Run_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *Run_SdkV2) SetIterations(ctx context.Context, v []RunTask_SdkV2)
- func (o *Run_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
- func (o *Run_SdkV2) SetJobParameters(ctx context.Context, v []JobParameter_SdkV2)
- func (o *Run_SdkV2) SetOverridingParameters(ctx context.Context, v RunParameters_SdkV2)
- func (o *Run_SdkV2) SetRepairHistory(ctx context.Context, v []RepairHistoryItem_SdkV2)
- func (o *Run_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
- func (o *Run_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
- func (o *Run_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
- func (o *Run_SdkV2) SetTasks(ctx context.Context, v []RunTask_SdkV2)
- func (o *Run_SdkV2) SetTriggerInfo(ctx context.Context, v TriggerInfo_SdkV2)
- func (newState *Run_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run_SdkV2)
- func (newState *Run_SdkV2) SyncEffectiveFieldsDuringRead(existingState Run_SdkV2)
- func (o Run_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Run_SdkV2) Type(ctx context.Context) attr.Type
- type SparkJarTask
- func (c SparkJarTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkJarTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkJarTask) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkJarTask) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkJarTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkJarTask)
- func (newState *SparkJarTask) SyncEffectiveFieldsDuringRead(existingState SparkJarTask)
- func (o SparkJarTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkJarTask) Type(ctx context.Context) attr.Type
- type SparkJarTask_SdkV2
- func (c SparkJarTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkJarTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkJarTask_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkJarTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkJarTask_SdkV2)
- func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkJarTask_SdkV2)
- func (o SparkJarTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkJarTask_SdkV2) Type(ctx context.Context) attr.Type
- type SparkPythonTask
- func (c SparkPythonTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkPythonTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkPythonTask) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkPythonTask) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkPythonTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkPythonTask)
- func (newState *SparkPythonTask) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask)
- func (o SparkPythonTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkPythonTask) Type(ctx context.Context) attr.Type
- type SparkPythonTask_SdkV2
- func (c SparkPythonTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkPythonTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkPythonTask_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkPythonTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkPythonTask_SdkV2)
- func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask_SdkV2)
- func (o SparkPythonTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkPythonTask_SdkV2) Type(ctx context.Context) attr.Type
- type SparkSubmitTask
- func (c SparkSubmitTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkSubmitTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkSubmitTask) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkSubmitTask) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkSubmitTask)
- func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask)
- func (o SparkSubmitTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkSubmitTask) Type(ctx context.Context) attr.Type
- type SparkSubmitTask_SdkV2
- func (c SparkSubmitTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkSubmitTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkSubmitTask_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
- func (o *SparkSubmitTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
- func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkSubmitTask_SdkV2)
- func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask_SdkV2)
- func (o SparkSubmitTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkSubmitTask_SdkV2) Type(ctx context.Context) attr.Type
- type SqlAlertOutput
- func (c SqlAlertOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlAlertOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlAlertOutput) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput, bool)
- func (o *SqlAlertOutput) SetSqlStatements(ctx context.Context, v []SqlStatementOutput)
- func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlAlertOutput)
- func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput)
- func (o SqlAlertOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlAlertOutput) Type(ctx context.Context) attr.Type
- type SqlAlertOutput_SdkV2
- func (c SqlAlertOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlAlertOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlAlertOutput_SdkV2) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput_SdkV2, bool)
- func (o *SqlAlertOutput_SdkV2) SetSqlStatements(ctx context.Context, v []SqlStatementOutput_SdkV2)
- func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlAlertOutput_SdkV2)
- func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput_SdkV2)
- func (o SqlAlertOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlAlertOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlDashboardOutput
- func (c SqlDashboardOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlDashboardOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlDashboardOutput) GetWidgets(ctx context.Context) ([]SqlDashboardWidgetOutput, bool)
- func (o *SqlDashboardOutput) SetWidgets(ctx context.Context, v []SqlDashboardWidgetOutput)
- func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardOutput)
- func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput)
- func (o SqlDashboardOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlDashboardOutput) Type(ctx context.Context) attr.Type
- type SqlDashboardOutput_SdkV2
- func (c SqlDashboardOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlDashboardOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlDashboardOutput_SdkV2) GetWidgets(ctx context.Context) ([]SqlDashboardWidgetOutput_SdkV2, bool)
- func (o *SqlDashboardOutput_SdkV2) SetWidgets(ctx context.Context, v []SqlDashboardWidgetOutput_SdkV2)
- func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardOutput_SdkV2)
- func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput_SdkV2)
- func (o SqlDashboardOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlDashboardOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlDashboardWidgetOutput
- func (c SqlDashboardWidgetOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlDashboardWidgetOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlDashboardWidgetOutput) GetError(ctx context.Context) (SqlOutputError, bool)
- func (o *SqlDashboardWidgetOutput) SetError(ctx context.Context, v SqlOutputError)
- func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardWidgetOutput)
- func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput)
- func (o SqlDashboardWidgetOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlDashboardWidgetOutput) Type(ctx context.Context) attr.Type
- type SqlDashboardWidgetOutput_SdkV2
- func (c SqlDashboardWidgetOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlDashboardWidgetOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlDashboardWidgetOutput_SdkV2) GetError(ctx context.Context) (SqlOutputError_SdkV2, bool)
- func (o *SqlDashboardWidgetOutput_SdkV2) SetError(ctx context.Context, v SqlOutputError_SdkV2)
- func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardWidgetOutput_SdkV2)
- func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput_SdkV2)
- func (o SqlDashboardWidgetOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlDashboardWidgetOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlOutput
- func (c SqlOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SqlOutput) GetAlertOutput(ctx context.Context) (SqlAlertOutput, bool)
- func (a SqlOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlOutput) GetDashboardOutput(ctx context.Context) (SqlDashboardOutput, bool)
- func (o *SqlOutput) GetQueryOutput(ctx context.Context) (SqlQueryOutput, bool)
- func (o *SqlOutput) SetAlertOutput(ctx context.Context, v SqlAlertOutput)
- func (o *SqlOutput) SetDashboardOutput(ctx context.Context, v SqlDashboardOutput)
- func (o *SqlOutput) SetQueryOutput(ctx context.Context, v SqlQueryOutput)
- func (newState *SqlOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutput)
- func (newState *SqlOutput) SyncEffectiveFieldsDuringRead(existingState SqlOutput)
- func (o SqlOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlOutput) Type(ctx context.Context) attr.Type
- type SqlOutputError
- func (c SqlOutputError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlOutputError) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlOutputError) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutputError)
- func (newState *SqlOutputError) SyncEffectiveFieldsDuringRead(existingState SqlOutputError)
- func (o SqlOutputError) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlOutputError) Type(ctx context.Context) attr.Type
- type SqlOutputError_SdkV2
- func (c SqlOutputError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlOutputError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutputError_SdkV2)
- func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutputError_SdkV2)
- func (o SqlOutputError_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlOutputError_SdkV2) Type(ctx context.Context) attr.Type
- type SqlOutput_SdkV2
- func (c SqlOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SqlOutput_SdkV2) GetAlertOutput(ctx context.Context) (SqlAlertOutput_SdkV2, bool)
- func (a SqlOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlOutput_SdkV2) GetDashboardOutput(ctx context.Context) (SqlDashboardOutput_SdkV2, bool)
- func (o *SqlOutput_SdkV2) GetQueryOutput(ctx context.Context) (SqlQueryOutput_SdkV2, bool)
- func (o *SqlOutput_SdkV2) SetAlertOutput(ctx context.Context, v SqlAlertOutput_SdkV2)
- func (o *SqlOutput_SdkV2) SetDashboardOutput(ctx context.Context, v SqlDashboardOutput_SdkV2)
- func (o *SqlOutput_SdkV2) SetQueryOutput(ctx context.Context, v SqlQueryOutput_SdkV2)
- func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutput_SdkV2)
- func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutput_SdkV2)
- func (o SqlOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlQueryOutput
- func (c SqlQueryOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlQueryOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlQueryOutput) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput, bool)
- func (o *SqlQueryOutput) SetSqlStatements(ctx context.Context, v []SqlStatementOutput)
- func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlQueryOutput)
- func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput)
- func (o SqlQueryOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlQueryOutput) Type(ctx context.Context) attr.Type
- type SqlQueryOutput_SdkV2
- func (c SqlQueryOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlQueryOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlQueryOutput_SdkV2) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput_SdkV2, bool)
- func (o *SqlQueryOutput_SdkV2) SetSqlStatements(ctx context.Context, v []SqlStatementOutput_SdkV2)
- func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlQueryOutput_SdkV2)
- func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput_SdkV2)
- func (o SqlQueryOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlQueryOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlStatementOutput
- func (c SqlStatementOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlStatementOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlStatementOutput)
- func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput)
- func (o SqlStatementOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlStatementOutput) Type(ctx context.Context) attr.Type
- type SqlStatementOutput_SdkV2
- func (c SqlStatementOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlStatementOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlStatementOutput_SdkV2)
- func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput_SdkV2)
- func (o SqlStatementOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlStatementOutput_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTask
- func (c SqlTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SqlTask) GetAlert(ctx context.Context) (SqlTaskAlert, bool)
- func (a SqlTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTask) GetDashboard(ctx context.Context) (SqlTaskDashboard, bool)
- func (o *SqlTask) GetFile(ctx context.Context) (SqlTaskFile, bool)
- func (o *SqlTask) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *SqlTask) GetQuery(ctx context.Context) (SqlTaskQuery, bool)
- func (o *SqlTask) SetAlert(ctx context.Context, v SqlTaskAlert)
- func (o *SqlTask) SetDashboard(ctx context.Context, v SqlTaskDashboard)
- func (o *SqlTask) SetFile(ctx context.Context, v SqlTaskFile)
- func (o *SqlTask) SetParameters(ctx context.Context, v map[string]types.String)
- func (o *SqlTask) SetQuery(ctx context.Context, v SqlTaskQuery)
- func (newState *SqlTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTask)
- func (newState *SqlTask) SyncEffectiveFieldsDuringRead(existingState SqlTask)
- func (o SqlTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTask) Type(ctx context.Context) attr.Type
- type SqlTaskAlert
- func (c SqlTaskAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskAlert) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTaskAlert) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription, bool)
- func (o *SqlTaskAlert) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription)
- func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskAlert)
- func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert)
- func (o SqlTaskAlert) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskAlert) Type(ctx context.Context) attr.Type
- type SqlTaskAlert_SdkV2
- func (c SqlTaskAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskAlert_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTaskAlert_SdkV2) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription_SdkV2, bool)
- func (o *SqlTaskAlert_SdkV2) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription_SdkV2)
- func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskAlert_SdkV2)
- func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert_SdkV2)
- func (o SqlTaskAlert_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskAlert_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTaskDashboard
- func (c SqlTaskDashboard) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskDashboard) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTaskDashboard) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription, bool)
- func (o *SqlTaskDashboard) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription)
- func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskDashboard)
- func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard)
- func (o SqlTaskDashboard) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskDashboard) Type(ctx context.Context) attr.Type
- type SqlTaskDashboard_SdkV2
- func (c SqlTaskDashboard_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskDashboard_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTaskDashboard_SdkV2) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription_SdkV2, bool)
- func (o *SqlTaskDashboard_SdkV2) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription_SdkV2)
- func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskDashboard_SdkV2)
- func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard_SdkV2)
- func (o SqlTaskDashboard_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskDashboard_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTaskFile
- func (c SqlTaskFile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskFile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskFile) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskFile)
- func (newState *SqlTaskFile) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile)
- func (o SqlTaskFile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskFile) Type(ctx context.Context) attr.Type
- type SqlTaskFile_SdkV2
- func (c SqlTaskFile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskFile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskFile_SdkV2)
- func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile_SdkV2)
- func (o SqlTaskFile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskFile_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTaskQuery
- func (c SqlTaskQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskQuery) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskQuery)
- func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery)
- func (o SqlTaskQuery) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskQuery) Type(ctx context.Context) attr.Type
- type SqlTaskQuery_SdkV2
- func (c SqlTaskQuery_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskQuery_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskQuery_SdkV2)
- func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery_SdkV2)
- func (o SqlTaskQuery_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskQuery_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTaskSubscription
- func (c SqlTaskSubscription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskSubscription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskSubscription)
- func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription)
- func (o SqlTaskSubscription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskSubscription) Type(ctx context.Context) attr.Type
- type SqlTaskSubscription_SdkV2
- func (c SqlTaskSubscription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SqlTaskSubscription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskSubscription_SdkV2)
- func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription_SdkV2)
- func (o SqlTaskSubscription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTaskSubscription_SdkV2) Type(ctx context.Context) attr.Type
- type SqlTask_SdkV2
- func (c SqlTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SqlTask_SdkV2) GetAlert(ctx context.Context) (SqlTaskAlert_SdkV2, bool)
- func (a SqlTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SqlTask_SdkV2) GetDashboard(ctx context.Context) (SqlTaskDashboard_SdkV2, bool)
- func (o *SqlTask_SdkV2) GetFile(ctx context.Context) (SqlTaskFile_SdkV2, bool)
- func (o *SqlTask_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *SqlTask_SdkV2) GetQuery(ctx context.Context) (SqlTaskQuery_SdkV2, bool)
- func (o *SqlTask_SdkV2) SetAlert(ctx context.Context, v SqlTaskAlert_SdkV2)
- func (o *SqlTask_SdkV2) SetDashboard(ctx context.Context, v SqlTaskDashboard_SdkV2)
- func (o *SqlTask_SdkV2) SetFile(ctx context.Context, v SqlTaskFile_SdkV2)
- func (o *SqlTask_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
- func (o *SqlTask_SdkV2) SetQuery(ctx context.Context, v SqlTaskQuery_SdkV2)
- func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTask_SdkV2)
- func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTask_SdkV2)
- func (o SqlTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SqlTask_SdkV2) Type(ctx context.Context) attr.Type
- type SubmitRun
- func (c SubmitRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SubmitRun) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
- func (a SubmitRun) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SubmitRun) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
- func (o *SubmitRun) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
- func (o *SubmitRun) GetGitSource(ctx context.Context) (GitSource, bool)
- func (o *SubmitRun) GetHealth(ctx context.Context) (JobsHealthRules, bool)
- func (o *SubmitRun) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
- func (o *SubmitRun) GetQueue(ctx context.Context) (QueueSettings, bool)
- func (o *SubmitRun) GetRunAs(ctx context.Context) (JobRunAs, bool)
- func (o *SubmitRun) GetTasks(ctx context.Context) ([]SubmitTask, bool)
- func (o *SubmitRun) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *SubmitRun) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
- func (o *SubmitRun) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
- func (o *SubmitRun) SetEnvironments(ctx context.Context, v []JobEnvironment)
- func (o *SubmitRun) SetGitSource(ctx context.Context, v GitSource)
- func (o *SubmitRun) SetHealth(ctx context.Context, v JobsHealthRules)
- func (o *SubmitRun) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
- func (o *SubmitRun) SetQueue(ctx context.Context, v QueueSettings)
- func (o *SubmitRun) SetRunAs(ctx context.Context, v JobRunAs)
- func (o *SubmitRun) SetTasks(ctx context.Context, v []SubmitTask)
- func (o *SubmitRun) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *SubmitRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRun)
- func (newState *SubmitRun) SyncEffectiveFieldsDuringRead(existingState SubmitRun)
- func (o SubmitRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitRun) Type(ctx context.Context) attr.Type
- type SubmitRunResponse
- func (c SubmitRunResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SubmitRunResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRunResponse)
- func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse)
- func (o SubmitRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitRunResponse) Type(ctx context.Context) attr.Type
- type SubmitRunResponse_SdkV2
- func (c SubmitRunResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SubmitRunResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRunResponse_SdkV2)
- func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse_SdkV2)
- func (o SubmitRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitRunResponse_SdkV2) Type(ctx context.Context) attr.Type
- type SubmitRun_SdkV2
- func (c SubmitRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SubmitRun_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
- func (a SubmitRun_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SubmitRun_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetTasks(ctx context.Context) ([]SubmitTask_SdkV2, bool)
- func (o *SubmitRun_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *SubmitRun_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
- func (o *SubmitRun_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
- func (o *SubmitRun_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
- func (o *SubmitRun_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
- func (o *SubmitRun_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
- func (o *SubmitRun_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
- func (o *SubmitRun_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
- func (o *SubmitRun_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
- func (o *SubmitRun_SdkV2) SetTasks(ctx context.Context, v []SubmitTask_SdkV2)
- func (o *SubmitRun_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRun_SdkV2)
- func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRun_SdkV2)
- func (o SubmitRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitRun_SdkV2) Type(ctx context.Context) attr.Type
- type SubmitTask
- func (c SubmitTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SubmitTask) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
- func (a SubmitTask) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SubmitTask) GetConditionTask(ctx context.Context) (ConditionTask, bool)
- func (o *SubmitTask) GetDbtTask(ctx context.Context) (DbtTask, bool)
- func (o *SubmitTask) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
- func (o *SubmitTask) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
- func (o *SubmitTask) GetForEachTask(ctx context.Context) (ForEachTask, bool)
- func (o *SubmitTask) GetHealth(ctx context.Context) (JobsHealthRules, bool)
- func (o *SubmitTask) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
- func (o *SubmitTask) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
- func (o *SubmitTask) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
- func (o *SubmitTask) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
- func (o *SubmitTask) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
- func (o *SubmitTask) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
- func (o *SubmitTask) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
- func (o *SubmitTask) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
- func (o *SubmitTask) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
- func (o *SubmitTask) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
- func (o *SubmitTask) GetSqlTask(ctx context.Context) (SqlTask, bool)
- func (o *SubmitTask) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *SubmitTask) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
- func (o *SubmitTask) SetConditionTask(ctx context.Context, v ConditionTask)
- func (o *SubmitTask) SetDbtTask(ctx context.Context, v DbtTask)
- func (o *SubmitTask) SetDependsOn(ctx context.Context, v []TaskDependency)
- func (o *SubmitTask) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
- func (o *SubmitTask) SetForEachTask(ctx context.Context, v ForEachTask)
- func (o *SubmitTask) SetHealth(ctx context.Context, v JobsHealthRules)
- func (o *SubmitTask) SetLibraries(ctx context.Context, v []compute_tf.Library)
- func (o *SubmitTask) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
- func (o *SubmitTask) SetNotebookTask(ctx context.Context, v NotebookTask)
- func (o *SubmitTask) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
- func (o *SubmitTask) SetPipelineTask(ctx context.Context, v PipelineTask)
- func (o *SubmitTask) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
- func (o *SubmitTask) SetRunJobTask(ctx context.Context, v RunJobTask)
- func (o *SubmitTask) SetSparkJarTask(ctx context.Context, v SparkJarTask)
- func (o *SubmitTask) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
- func (o *SubmitTask) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
- func (o *SubmitTask) SetSqlTask(ctx context.Context, v SqlTask)
- func (o *SubmitTask) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *SubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitTask)
- func (newState *SubmitTask) SyncEffectiveFieldsDuringRead(existingState SubmitTask)
- func (o SubmitTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitTask) Type(ctx context.Context) attr.Type
- type SubmitTask_SdkV2
- func (c SubmitTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *SubmitTask_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
- func (a SubmitTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SubmitTask_SdkV2) GetConditionTask(ctx context.Context) (ConditionTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetForEachTask(ctx context.Context) (ForEachTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
- func (o *SubmitTask_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *SubmitTask_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetConditionTask(ctx context.Context, v ConditionTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
- func (o *SubmitTask_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
- func (o *SubmitTask_SdkV2) SetForEachTask(ctx context.Context, v ForEachTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
- func (o *SubmitTask_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
- func (o *SubmitTask_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
- func (o *SubmitTask_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
- func (o *SubmitTask_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
- func (o *SubmitTask_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitTask_SdkV2)
- func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitTask_SdkV2)
- func (o SubmitTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SubmitTask_SdkV2) Type(ctx context.Context) attr.Type
- type TableUpdateTriggerConfiguration
- func (c TableUpdateTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TableUpdateTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TableUpdateTriggerConfiguration) GetTableNames(ctx context.Context) ([]types.String, bool)
- func (o *TableUpdateTriggerConfiguration) SetTableNames(ctx context.Context, v []types.String)
- func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableUpdateTriggerConfiguration)
- func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration)
- func (o TableUpdateTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TableUpdateTriggerConfiguration) Type(ctx context.Context) attr.Type
- type TableUpdateTriggerConfiguration_SdkV2
- func (c TableUpdateTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TableUpdateTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TableUpdateTriggerConfiguration_SdkV2) GetTableNames(ctx context.Context) ([]types.String, bool)
- func (o *TableUpdateTriggerConfiguration_SdkV2) SetTableNames(ctx context.Context, v []types.String)
- func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableUpdateTriggerConfiguration_SdkV2)
- func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration_SdkV2)
- func (o TableUpdateTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TableUpdateTriggerConfiguration_SdkV2) Type(ctx context.Context) attr.Type
- type Task
- func (c Task) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *Task) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
- func (a Task) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Task) GetConditionTask(ctx context.Context) (ConditionTask, bool)
- func (o *Task) GetDbtTask(ctx context.Context) (DbtTask, bool)
- func (o *Task) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
- func (o *Task) GetEmailNotifications(ctx context.Context) (TaskEmailNotifications, bool)
- func (o *Task) GetForEachTask(ctx context.Context) (ForEachTask, bool)
- func (o *Task) GetHealth(ctx context.Context) (JobsHealthRules, bool)
- func (o *Task) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
- func (o *Task) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
- func (o *Task) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
- func (o *Task) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
- func (o *Task) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
- func (o *Task) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
- func (o *Task) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
- func (o *Task) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
- func (o *Task) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
- func (o *Task) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
- func (o *Task) GetSqlTask(ctx context.Context) (SqlTask, bool)
- func (o *Task) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
- func (o *Task) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
- func (o *Task) SetConditionTask(ctx context.Context, v ConditionTask)
- func (o *Task) SetDbtTask(ctx context.Context, v DbtTask)
- func (o *Task) SetDependsOn(ctx context.Context, v []TaskDependency)
- func (o *Task) SetEmailNotifications(ctx context.Context, v TaskEmailNotifications)
- func (o *Task) SetForEachTask(ctx context.Context, v ForEachTask)
- func (o *Task) SetHealth(ctx context.Context, v JobsHealthRules)
- func (o *Task) SetLibraries(ctx context.Context, v []compute_tf.Library)
- func (o *Task) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
- func (o *Task) SetNotebookTask(ctx context.Context, v NotebookTask)
- func (o *Task) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
- func (o *Task) SetPipelineTask(ctx context.Context, v PipelineTask)
- func (o *Task) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
- func (o *Task) SetRunJobTask(ctx context.Context, v RunJobTask)
- func (o *Task) SetSparkJarTask(ctx context.Context, v SparkJarTask)
- func (o *Task) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
- func (o *Task) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
- func (o *Task) SetSqlTask(ctx context.Context, v SqlTask)
- func (o *Task) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
- func (newState *Task) SyncEffectiveFieldsDuringCreateOrUpdate(plan Task)
- func (newState *Task) SyncEffectiveFieldsDuringRead(existingState Task)
- func (o Task) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Task) Type(ctx context.Context) attr.Type
- type TaskDependency
- func (c TaskDependency) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskDependency) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TaskDependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskDependency)
- func (newState *TaskDependency) SyncEffectiveFieldsDuringRead(existingState TaskDependency)
- func (o TaskDependency) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskDependency) Type(ctx context.Context) attr.Type
- type TaskDependency_SdkV2
- func (c TaskDependency_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskDependency_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskDependency_SdkV2)
- func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskDependency_SdkV2)
- func (o TaskDependency_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskDependency_SdkV2) Type(ctx context.Context) attr.Type
- type TaskEmailNotifications
- func (c TaskEmailNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskEmailNotifications) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TaskEmailNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications) GetOnFailure(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications) GetOnStart(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications) GetOnSuccess(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications) SetOnFailure(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications) SetOnStart(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications) SetOnSuccess(ctx context.Context, v []types.String)
- func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskEmailNotifications)
- func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications)
- func (o TaskEmailNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskEmailNotifications) Type(ctx context.Context) attr.Type
- type TaskEmailNotifications_SdkV2
- func (c TaskEmailNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskEmailNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TaskEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications_SdkV2) GetOnFailure(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications_SdkV2) GetOnStart(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications_SdkV2) GetOnSuccess(ctx context.Context) ([]types.String, bool)
- func (o *TaskEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications_SdkV2) SetOnFailure(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications_SdkV2) SetOnStart(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
- func (o *TaskEmailNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []types.String)
- func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskEmailNotifications_SdkV2)
- func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications_SdkV2)
- func (o TaskEmailNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskEmailNotifications_SdkV2) Type(ctx context.Context) attr.Type
- type TaskNotificationSettings
- func (c TaskNotificationSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskNotificationSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskNotificationSettings)
- func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings)
- func (o TaskNotificationSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskNotificationSettings) Type(ctx context.Context) attr.Type
- type TaskNotificationSettings_SdkV2
- func (c TaskNotificationSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TaskNotificationSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskNotificationSettings_SdkV2)
- func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings_SdkV2)
- func (o TaskNotificationSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TaskNotificationSettings_SdkV2) Type(ctx context.Context) attr.Type
- type Task_SdkV2
- func (c Task_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *Task_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
- func (a Task_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Task_SdkV2) GetConditionTask(ctx context.Context) (ConditionTask_SdkV2, bool)
- func (o *Task_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
- func (o *Task_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
- func (o *Task_SdkV2) GetEmailNotifications(ctx context.Context) (TaskEmailNotifications_SdkV2, bool)
- func (o *Task_SdkV2) GetForEachTask(ctx context.Context) (ForEachTask_SdkV2, bool)
- func (o *Task_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
- func (o *Task_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
- func (o *Task_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
- func (o *Task_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
- func (o *Task_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
- func (o *Task_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
- func (o *Task_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
- func (o *Task_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
- func (o *Task_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
- func (o *Task_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
- func (o *Task_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
- func (o *Task_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
- func (o *Task_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
- func (o *Task_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
- func (o *Task_SdkV2) SetConditionTask(ctx context.Context, v ConditionTask_SdkV2)
- func (o *Task_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
- func (o *Task_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
- func (o *Task_SdkV2) SetEmailNotifications(ctx context.Context, v TaskEmailNotifications_SdkV2)
- func (o *Task_SdkV2) SetForEachTask(ctx context.Context, v ForEachTask_SdkV2)
- func (o *Task_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
- func (o *Task_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
- func (o *Task_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
- func (o *Task_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
- func (o *Task_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
- func (o *Task_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
- func (o *Task_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
- func (o *Task_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
- func (o *Task_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
- func (o *Task_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
- func (o *Task_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
- func (o *Task_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
- func (o *Task_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
- func (newState *Task_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Task_SdkV2)
- func (newState *Task_SdkV2) SyncEffectiveFieldsDuringRead(existingState Task_SdkV2)
- func (o Task_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Task_SdkV2) Type(ctx context.Context) attr.Type
- type TerminationDetails
- func (c TerminationDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TerminationDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TerminationDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationDetails)
- func (newState *TerminationDetails) SyncEffectiveFieldsDuringRead(existingState TerminationDetails)
- func (o TerminationDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TerminationDetails) Type(ctx context.Context) attr.Type
- type TerminationDetails_SdkV2
- func (c TerminationDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TerminationDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationDetails_SdkV2)
- func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationDetails_SdkV2)
- func (o TerminationDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TerminationDetails_SdkV2) Type(ctx context.Context) attr.Type
- type TriggerInfo
- func (c TriggerInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TriggerInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TriggerInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerInfo)
- func (newState *TriggerInfo) SyncEffectiveFieldsDuringRead(existingState TriggerInfo)
- func (o TriggerInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TriggerInfo) Type(ctx context.Context) attr.Type
- type TriggerInfo_SdkV2
- func (c TriggerInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TriggerInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerInfo_SdkV2)
- func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerInfo_SdkV2)
- func (o TriggerInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TriggerInfo_SdkV2) Type(ctx context.Context) attr.Type
- type TriggerSettings
- func (c TriggerSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TriggerSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TriggerSettings) GetFileArrival(ctx context.Context) (FileArrivalTriggerConfiguration, bool)
- func (o *TriggerSettings) GetPeriodic(ctx context.Context) (PeriodicTriggerConfiguration, bool)
- func (o *TriggerSettings) GetTable(ctx context.Context) (TableUpdateTriggerConfiguration, bool)
- func (o *TriggerSettings) GetTableUpdate(ctx context.Context) (TableUpdateTriggerConfiguration, bool)
- func (o *TriggerSettings) SetFileArrival(ctx context.Context, v FileArrivalTriggerConfiguration)
- func (o *TriggerSettings) SetPeriodic(ctx context.Context, v PeriodicTriggerConfiguration)
- func (o *TriggerSettings) SetTable(ctx context.Context, v TableUpdateTriggerConfiguration)
- func (o *TriggerSettings) SetTableUpdate(ctx context.Context, v TableUpdateTriggerConfiguration)
- func (newState *TriggerSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerSettings)
- func (newState *TriggerSettings) SyncEffectiveFieldsDuringRead(existingState TriggerSettings)
- func (o TriggerSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TriggerSettings) Type(ctx context.Context) attr.Type
- type TriggerSettings_SdkV2
- func (c TriggerSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TriggerSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TriggerSettings_SdkV2) GetFileArrival(ctx context.Context) (FileArrivalTriggerConfiguration_SdkV2, bool)
- func (o *TriggerSettings_SdkV2) GetPeriodic(ctx context.Context) (PeriodicTriggerConfiguration_SdkV2, bool)
- func (o *TriggerSettings_SdkV2) GetTable(ctx context.Context) (TableUpdateTriggerConfiguration_SdkV2, bool)
- func (o *TriggerSettings_SdkV2) GetTableUpdate(ctx context.Context) (TableUpdateTriggerConfiguration_SdkV2, bool)
- func (o *TriggerSettings_SdkV2) SetFileArrival(ctx context.Context, v FileArrivalTriggerConfiguration_SdkV2)
- func (o *TriggerSettings_SdkV2) SetPeriodic(ctx context.Context, v PeriodicTriggerConfiguration_SdkV2)
- func (o *TriggerSettings_SdkV2) SetTable(ctx context.Context, v TableUpdateTriggerConfiguration_SdkV2)
- func (o *TriggerSettings_SdkV2) SetTableUpdate(ctx context.Context, v TableUpdateTriggerConfiguration_SdkV2)
- func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerSettings_SdkV2)
- func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerSettings_SdkV2)
- func (o TriggerSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TriggerSettings_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateJob
- func (c UpdateJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UpdateJob) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateJob) GetFieldsToRemove(ctx context.Context) ([]types.String, bool)
- func (o *UpdateJob) GetNewSettings(ctx context.Context) (JobSettings, bool)
- func (o *UpdateJob) SetFieldsToRemove(ctx context.Context, v []types.String)
- func (o *UpdateJob) SetNewSettings(ctx context.Context, v JobSettings)
- func (newState *UpdateJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateJob)
- func (newState *UpdateJob) SyncEffectiveFieldsDuringRead(existingState UpdateJob)
- func (o UpdateJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateJob) Type(ctx context.Context) attr.Type
- type UpdateJob_SdkV2
- func (c UpdateJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UpdateJob_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateJob_SdkV2) GetFieldsToRemove(ctx context.Context) ([]types.String, bool)
- func (o *UpdateJob_SdkV2) GetNewSettings(ctx context.Context) (JobSettings_SdkV2, bool)
- func (o *UpdateJob_SdkV2) SetFieldsToRemove(ctx context.Context, v []types.String)
- func (o *UpdateJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV2)
- func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateJob_SdkV2)
- func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateJob_SdkV2)
- func (o UpdateJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateJob_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateResponse
- type UpdateResponse_SdkV2
- type ViewItem
- func (c ViewItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ViewItem) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ViewItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan ViewItem)
- func (newState *ViewItem) SyncEffectiveFieldsDuringRead(existingState ViewItem)
- func (o ViewItem) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ViewItem) Type(ctx context.Context) attr.Type
- type ViewItem_SdkV2
- func (c ViewItem_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ViewItem_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ViewItem_SdkV2)
- func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState ViewItem_SdkV2)
- func (o ViewItem_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ViewItem_SdkV2) Type(ctx context.Context) attr.Type
- type Webhook
- func (c Webhook) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Webhook) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Webhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan Webhook)
- func (newState *Webhook) SyncEffectiveFieldsDuringRead(existingState Webhook)
- func (o Webhook) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Webhook) Type(ctx context.Context) attr.Type
- type WebhookNotifications
- func (c WebhookNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a WebhookNotifications) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *WebhookNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]Webhook, bool)
- func (o *WebhookNotifications) GetOnFailure(ctx context.Context) ([]Webhook, bool)
- func (o *WebhookNotifications) GetOnStart(ctx context.Context) ([]Webhook, bool)
- func (o *WebhookNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]Webhook, bool)
- func (o *WebhookNotifications) GetOnSuccess(ctx context.Context) ([]Webhook, bool)
- func (o *WebhookNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []Webhook)
- func (o *WebhookNotifications) SetOnFailure(ctx context.Context, v []Webhook)
- func (o *WebhookNotifications) SetOnStart(ctx context.Context, v []Webhook)
- func (o *WebhookNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []Webhook)
- func (o *WebhookNotifications) SetOnSuccess(ctx context.Context, v []Webhook)
- func (newState *WebhookNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan WebhookNotifications)
- func (newState *WebhookNotifications) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications)
- func (o WebhookNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WebhookNotifications) Type(ctx context.Context) attr.Type
- type WebhookNotifications_SdkV2
- func (c WebhookNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a WebhookNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *WebhookNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]Webhook_SdkV2, bool)
- func (o *WebhookNotifications_SdkV2) GetOnFailure(ctx context.Context) ([]Webhook_SdkV2, bool)
- func (o *WebhookNotifications_SdkV2) GetOnStart(ctx context.Context) ([]Webhook_SdkV2, bool)
- func (o *WebhookNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]Webhook_SdkV2, bool)
- func (o *WebhookNotifications_SdkV2) GetOnSuccess(ctx context.Context) ([]Webhook_SdkV2, bool)
- func (o *WebhookNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []Webhook_SdkV2)
- func (o *WebhookNotifications_SdkV2) SetOnFailure(ctx context.Context, v []Webhook_SdkV2)
- func (o *WebhookNotifications_SdkV2) SetOnStart(ctx context.Context, v []Webhook_SdkV2)
- func (o *WebhookNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []Webhook_SdkV2)
- func (o *WebhookNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []Webhook_SdkV2)
- func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WebhookNotifications_SdkV2)
- func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications_SdkV2)
- func (o WebhookNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WebhookNotifications_SdkV2) Type(ctx context.Context) attr.Type
- type Webhook_SdkV2
- func (c Webhook_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Webhook_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Webhook_SdkV2)
- func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState Webhook_SdkV2)
- func (o Webhook_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Webhook_SdkV2) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseJob ¶
type BaseJob struct { // The time at which this job was created in epoch milliseconds // (milliseconds since 1/1/1970 UTC). CreatedTime types.Int64 `tfsdk:"created_time"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // The id of the budget policy used by this job for cost attribution // purposes. This may be set through (in order of precedence): 1. Budget // admins through the account or workspace console 2. Jobs UI in the job // details page and Jobs API using `budget_policy_id` 3. Inferred default // based on accessible budget policies of the run_as identity on job // creation or modification. EffectiveBudgetPolicyId types.String `tfsdk:"effective_budget_policy_id"` // Indicates if the job has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/get endpoint. // It is only relevant for API 2.2 :method:jobs/list requests with // `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // The canonical identifier for this job. JobId types.Int64 `tfsdk:"job_id"` // Settings for this job and all of its runs. These settings can be updated // using the `resetJob` method. Settings types.Object `tfsdk:"settings"` }
func (BaseJob) ApplySchemaCustomizations ¶ added in v1.63.0
func (c BaseJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (BaseJob) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BaseJob) GetSettings ¶ added in v1.61.0
func (o *BaseJob) GetSettings(ctx context.Context) (JobSettings, bool)
GetSettings returns the value of the Settings field in BaseJob as a JobSettings value. If the field is unknown or null, the boolean return value is false.
func (*BaseJob) SetSettings ¶ added in v1.61.0
func (o *BaseJob) SetSettings(ctx context.Context, v JobSettings)
SetSettings sets the value of the Settings field in BaseJob.
func (*BaseJob) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*BaseJob) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (BaseJob) ToObjectValue ¶ added in v1.61.0
func (o BaseJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BaseJob only implements ToObjectValue() and Type().
type BaseJob_SdkV2 ¶ added in v1.62.1
type BaseJob_SdkV2 struct { // The time at which this job was created in epoch milliseconds // (milliseconds since 1/1/1970 UTC). CreatedTime types.Int64 `tfsdk:"created_time"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // The id of the budget policy used by this job for cost attribution // purposes. This may be set through (in order of precedence): 1. Budget // admins through the account or workspace console 2. Jobs UI in the job // details page and Jobs API using `budget_policy_id` 3. Inferred default // based on accessible budget policies of the run_as identity on job // creation or modification. EffectiveBudgetPolicyId types.String `tfsdk:"effective_budget_policy_id"` // Indicates if the job has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/get endpoint. // It is only relevant for API 2.2 :method:jobs/list requests with // `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // The canonical identifier for this job. JobId types.Int64 `tfsdk:"job_id"` // Settings for this job and all of its runs. These settings can be updated // using the `resetJob` method. Settings types.List `tfsdk:"settings"` }
func (BaseJob_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c BaseJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (BaseJob_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BaseJob_SdkV2) GetSettings ¶ added in v1.62.1
func (o *BaseJob_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
GetSettings returns the value of the Settings field in BaseJob_SdkV2 as a JobSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseJob_SdkV2) SetSettings ¶ added in v1.62.1
func (o *BaseJob_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
SetSettings sets the value of the Settings field in BaseJob_SdkV2.
func (*BaseJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseJob_SdkV2)
func (*BaseJob_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseJob_SdkV2)
func (BaseJob_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o BaseJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BaseJob_SdkV2 only implements ToObjectValue() and Type().
type BaseRun ¶
type BaseRun struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.Object `tfsdk:"cluster_instance"` // A snapshot of the job’s cluster specification when this run was // created. ClusterSpec types.Object `tfsdk:"cluster_spec"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Description of the run Description types.String `tfsdk:"description"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // Indicates if the run has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/getrun // endpoint. It is only relevant for API 2.2 :method:jobs/listruns requests // with `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/getrun. JobClusters types.List `tfsdk:"job_clusters"` // The canonical identifier of the job that contains this run. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run JobParameters types.List `tfsdk:"job_parameters"` // ID of the job run that this run belongs to. For legacy and single-task // job runs the field is populated with the job run ID. For task runs, the // field is populated with the ID of the job run that the task run belongs // to. JobRunId types.Int64 `tfsdk:"job_run_id"` // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // If this run is a retry of a prior run attempt, this field contains the // run_id of the original attempt; otherwise, it is the same as the run_id. OriginalAttemptRunId types.Int64 `tfsdk:"original_attempt_run_id"` // The parameters used for this run. OverridingParameters types.Object `tfsdk:"overriding_parameters"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // The repair history of the run. RepairHistory types.List `tfsdk:"repair_history"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The canonical identifier of the run. This ID is unique across all runs of // all jobs. RunId types.Int64 `tfsdk:"run_id"` // An optional name for the run. The maximum length is 4096 bytes in UTF-8 // encoding. RunName types.String `tfsdk:"run_name"` // The URL to the detail page of the run. RunPageUrl types.String `tfsdk:"run_page_url"` // The type of a run. * `JOB_RUN`: Normal job run. A run created with // :method:jobs/runNow. * `WORKFLOW_RUN`: Workflow run. A run created with // [dbutils.notebook.run]. * `SUBMIT_RUN`: Submit run. A run created with // :method:jobs/submit. // // [dbutils.notebook.run]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-workflow RunType types.String `tfsdk:"run_type"` // The cron schedule that triggered this run if it was triggered by the // periodic scheduler. Schedule types.Object `tfsdk:"schedule"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.Object `tfsdk:"state"` // The current status of the run Status types.Object `tfsdk:"status"` // The list of tasks performed by the run. Each task has its own `run_id` // which you can use to call `JobsGetOutput` to retrieve the run resutls. If // more than 100 tasks are available, you can paginate through them using // :method:jobs/getrun. Use the `next_page_token` field at the object root // to determine if more results are available. Tasks types.List `tfsdk:"tasks"` // The type of trigger that fired this run. // // * `PERIODIC`: Schedules that periodically trigger runs, such as a cron // scheduler. * `ONE_TIME`: One time triggers that fire a single run. This // occurs you triggered a single run on demand through the UI or the API. * // `RETRY`: Indicates a run that is triggered as a retry of a previously // failed run. This occurs when you request to re-run the job in case of // failures. * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run // Job task. * `FILE_ARRIVAL`: Indicates a run that is triggered by a file // arrival. * `TABLE`: Indicates a run that is triggered by a table update. // * `CONTINUOUS_RESTART`: Indicates a run created by user to manually // restart a continuous job run. Trigger types.String `tfsdk:"trigger"` // Additional details about what triggered the run TriggerInfo types.Object `tfsdk:"trigger_info"` }
func (BaseRun) ApplySchemaCustomizations ¶ added in v1.63.0
func (c BaseRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*BaseRun) GetClusterInstance ¶ added in v1.61.0
func (o *BaseRun) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
GetClusterInstance returns the value of the ClusterInstance field in BaseRun as a ClusterInstance value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetClusterSpec ¶ added in v1.61.0
func (o *BaseRun) GetClusterSpec(ctx context.Context) (ClusterSpec, bool)
GetClusterSpec returns the value of the ClusterSpec field in BaseRun as a ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (BaseRun) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BaseRun) GetGitSource ¶ added in v1.61.0
GetGitSource returns the value of the GitSource field in BaseRun as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetJobClusters ¶ added in v1.61.0
func (o *BaseRun) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
GetJobClusters returns the value of the JobClusters field in BaseRun as a slice of JobCluster values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetJobParameters ¶ added in v1.61.0
func (o *BaseRun) GetJobParameters(ctx context.Context) ([]JobParameter, bool)
GetJobParameters returns the value of the JobParameters field in BaseRun as a slice of JobParameter values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetOverridingParameters ¶ added in v1.61.0
func (o *BaseRun) GetOverridingParameters(ctx context.Context) (RunParameters, bool)
GetOverridingParameters returns the value of the OverridingParameters field in BaseRun as a RunParameters value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetRepairHistory ¶ added in v1.61.0
func (o *BaseRun) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem, bool)
GetRepairHistory returns the value of the RepairHistory field in BaseRun as a slice of RepairHistoryItem values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetSchedule ¶ added in v1.61.0
func (o *BaseRun) GetSchedule(ctx context.Context) (CronSchedule, bool)
GetSchedule returns the value of the Schedule field in BaseRun as a CronSchedule value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetState ¶ added in v1.61.0
GetState returns the value of the State field in BaseRun as a RunState value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetStatus ¶ added in v1.61.0
GetStatus returns the value of the Status field in BaseRun as a RunStatus value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetTasks ¶ added in v1.61.0
GetTasks returns the value of the Tasks field in BaseRun as a slice of RunTask values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) GetTriggerInfo ¶ added in v1.61.0
func (o *BaseRun) GetTriggerInfo(ctx context.Context) (TriggerInfo, bool)
GetTriggerInfo returns the value of the TriggerInfo field in BaseRun as a TriggerInfo value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun) SetClusterInstance ¶ added in v1.61.0
func (o *BaseRun) SetClusterInstance(ctx context.Context, v ClusterInstance)
SetClusterInstance sets the value of the ClusterInstance field in BaseRun.
func (*BaseRun) SetClusterSpec ¶ added in v1.61.0
func (o *BaseRun) SetClusterSpec(ctx context.Context, v ClusterSpec)
SetClusterSpec sets the value of the ClusterSpec field in BaseRun.
func (*BaseRun) SetGitSource ¶ added in v1.61.0
SetGitSource sets the value of the GitSource field in BaseRun.
func (*BaseRun) SetJobClusters ¶ added in v1.61.0
func (o *BaseRun) SetJobClusters(ctx context.Context, v []JobCluster)
SetJobClusters sets the value of the JobClusters field in BaseRun.
func (*BaseRun) SetJobParameters ¶ added in v1.61.0
func (o *BaseRun) SetJobParameters(ctx context.Context, v []JobParameter)
SetJobParameters sets the value of the JobParameters field in BaseRun.
func (*BaseRun) SetOverridingParameters ¶ added in v1.61.0
func (o *BaseRun) SetOverridingParameters(ctx context.Context, v RunParameters)
SetOverridingParameters sets the value of the OverridingParameters field in BaseRun.
func (*BaseRun) SetRepairHistory ¶ added in v1.61.0
func (o *BaseRun) SetRepairHistory(ctx context.Context, v []RepairHistoryItem)
SetRepairHistory sets the value of the RepairHistory field in BaseRun.
func (*BaseRun) SetSchedule ¶ added in v1.61.0
func (o *BaseRun) SetSchedule(ctx context.Context, v CronSchedule)
SetSchedule sets the value of the Schedule field in BaseRun.
func (*BaseRun) SetStatus ¶ added in v1.61.0
SetStatus sets the value of the Status field in BaseRun.
func (*BaseRun) SetTriggerInfo ¶ added in v1.61.0
func (o *BaseRun) SetTriggerInfo(ctx context.Context, v TriggerInfo)
SetTriggerInfo sets the value of the TriggerInfo field in BaseRun.
func (*BaseRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*BaseRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (BaseRun) ToObjectValue ¶ added in v1.61.0
func (o BaseRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BaseRun only implements ToObjectValue() and Type().
type BaseRun_SdkV2 ¶ added in v1.62.1
type BaseRun_SdkV2 struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.List `tfsdk:"cluster_instance"` // A snapshot of the job’s cluster specification when this run was // created. ClusterSpec types.List `tfsdk:"cluster_spec"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Description of the run Description types.String `tfsdk:"description"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // Indicates if the run has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/getrun // endpoint. It is only relevant for API 2.2 :method:jobs/listruns requests // with `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/getrun. JobClusters types.List `tfsdk:"job_clusters"` // The canonical identifier of the job that contains this run. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run JobParameters types.List `tfsdk:"job_parameters"` // ID of the job run that this run belongs to. For legacy and single-task // job runs the field is populated with the job run ID. For task runs, the // field is populated with the ID of the job run that the task run belongs // to. JobRunId types.Int64 `tfsdk:"job_run_id"` // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // If this run is a retry of a prior run attempt, this field contains the // run_id of the original attempt; otherwise, it is the same as the run_id. OriginalAttemptRunId types.Int64 `tfsdk:"original_attempt_run_id"` // The parameters used for this run. OverridingParameters types.List `tfsdk:"overriding_parameters"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // The repair history of the run. RepairHistory types.List `tfsdk:"repair_history"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The canonical identifier of the run. This ID is unique across all runs of // all jobs. RunId types.Int64 `tfsdk:"run_id"` // An optional name for the run. The maximum length is 4096 bytes in UTF-8 // encoding. RunName types.String `tfsdk:"run_name"` // The URL to the detail page of the run. RunPageUrl types.String `tfsdk:"run_page_url"` // The type of a run. * `JOB_RUN`: Normal job run. A run created with // :method:jobs/runNow. * `WORKFLOW_RUN`: Workflow run. A run created with // [dbutils.notebook.run]. * `SUBMIT_RUN`: Submit run. A run created with // :method:jobs/submit. // // [dbutils.notebook.run]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-workflow RunType types.String `tfsdk:"run_type"` // The cron schedule that triggered this run if it was triggered by the // periodic scheduler. Schedule types.List `tfsdk:"schedule"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.List `tfsdk:"state"` // The current status of the run Status types.List `tfsdk:"status"` // The list of tasks performed by the run. Each task has its own `run_id` // which you can use to call `JobsGetOutput` to retrieve the run resutls. If // more than 100 tasks are available, you can paginate through them using // :method:jobs/getrun. Use the `next_page_token` field at the object root // to determine if more results are available. Tasks types.List `tfsdk:"tasks"` // The type of trigger that fired this run. // // * `PERIODIC`: Schedules that periodically trigger runs, such as a cron // scheduler. * `ONE_TIME`: One time triggers that fire a single run. This // occurs you triggered a single run on demand through the UI or the API. * // `RETRY`: Indicates a run that is triggered as a retry of a previously // failed run. This occurs when you request to re-run the job in case of // failures. * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run // Job task. * `FILE_ARRIVAL`: Indicates a run that is triggered by a file // arrival. * `TABLE`: Indicates a run that is triggered by a table update. // * `CONTINUOUS_RESTART`: Indicates a run created by user to manually // restart a continuous job run. Trigger types.String `tfsdk:"trigger"` // Additional details about what triggered the run TriggerInfo types.List `tfsdk:"trigger_info"` }
func (BaseRun_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c BaseRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*BaseRun_SdkV2) GetClusterInstance ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
GetClusterInstance returns the value of the ClusterInstance field in BaseRun_SdkV2 as a ClusterInstance_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetClusterSpec ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetClusterSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
GetClusterSpec returns the value of the ClusterSpec field in BaseRun_SdkV2 as a ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (BaseRun_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BaseRun_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in BaseRun_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetJobClusters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
GetJobClusters returns the value of the JobClusters field in BaseRun_SdkV2 as a slice of JobCluster_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetJobParameters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetJobParameters(ctx context.Context) ([]JobParameter_SdkV2, bool)
GetJobParameters returns the value of the JobParameters field in BaseRun_SdkV2 as a slice of JobParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetOverridingParameters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetOverridingParameters(ctx context.Context) (RunParameters_SdkV2, bool)
GetOverridingParameters returns the value of the OverridingParameters field in BaseRun_SdkV2 as a RunParameters_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetRepairHistory ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem_SdkV2, bool)
GetRepairHistory returns the value of the RepairHistory field in BaseRun_SdkV2 as a slice of RepairHistoryItem_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetSchedule ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
GetSchedule returns the value of the Schedule field in BaseRun_SdkV2 as a CronSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetState ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
GetState returns the value of the State field in BaseRun_SdkV2 as a RunState_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetStatus ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
GetStatus returns the value of the Status field in BaseRun_SdkV2 as a RunStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetTasks ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetTasks(ctx context.Context) ([]RunTask_SdkV2, bool)
GetTasks returns the value of the Tasks field in BaseRun_SdkV2 as a slice of RunTask_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) GetTriggerInfo ¶ added in v1.62.1
func (o *BaseRun_SdkV2) GetTriggerInfo(ctx context.Context) (TriggerInfo_SdkV2, bool)
GetTriggerInfo returns the value of the TriggerInfo field in BaseRun_SdkV2 as a TriggerInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*BaseRun_SdkV2) SetClusterInstance ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
SetClusterInstance sets the value of the ClusterInstance field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetClusterSpec ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetClusterSpec(ctx context.Context, v ClusterSpec_SdkV2)
SetClusterSpec sets the value of the ClusterSpec field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetJobClusters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
SetJobClusters sets the value of the JobClusters field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetJobParameters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetJobParameters(ctx context.Context, v []JobParameter_SdkV2)
SetJobParameters sets the value of the JobParameters field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetOverridingParameters ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetOverridingParameters(ctx context.Context, v RunParameters_SdkV2)
SetOverridingParameters sets the value of the OverridingParameters field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetRepairHistory ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetRepairHistory(ctx context.Context, v []RepairHistoryItem_SdkV2)
SetRepairHistory sets the value of the RepairHistory field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetSchedule ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
SetSchedule sets the value of the Schedule field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetState ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
SetState sets the value of the State field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetStatus ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
SetStatus sets the value of the Status field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetTasks ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetTasks(ctx context.Context, v []RunTask_SdkV2)
SetTasks sets the value of the Tasks field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SetTriggerInfo ¶ added in v1.62.1
func (o *BaseRun_SdkV2) SetTriggerInfo(ctx context.Context, v TriggerInfo_SdkV2)
SetTriggerInfo sets the value of the TriggerInfo field in BaseRun_SdkV2.
func (*BaseRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseRun_SdkV2)
func (*BaseRun_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseRun_SdkV2)
func (BaseRun_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o BaseRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BaseRun_SdkV2 only implements ToObjectValue() and Type().
type CancelAllRuns ¶
type CancelAllRuns struct { // Optional boolean parameter to cancel all queued runs. If no job_id is // provided, all queued runs in the workspace are canceled. AllQueuedRuns types.Bool `tfsdk:"all_queued_runs"` // The canonical identifier of the job to cancel all runs of. JobId types.Int64 `tfsdk:"job_id"` }
func (CancelAllRuns) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelAllRuns) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelAllRuns) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRuns. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelAllRuns) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CancelAllRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRuns)
func (*CancelAllRuns) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CancelAllRuns) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns)
func (CancelAllRuns) ToObjectValue ¶ added in v1.61.0
func (o CancelAllRuns) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelAllRuns only implements ToObjectValue() and Type().
type CancelAllRunsResponse ¶
type CancelAllRunsResponse struct { }
func (CancelAllRunsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRunsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelAllRunsResponse) ToObjectValue ¶ added in v1.61.0
func (o CancelAllRunsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelAllRunsResponse only implements ToObjectValue() and Type().
type CancelAllRunsResponse_SdkV2 ¶ added in v1.62.1
type CancelAllRunsResponse_SdkV2 struct { }
func (CancelAllRunsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CancelAllRunsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRunsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelAllRunsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelAllRunsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelAllRunsResponse_SdkV2 only implements ToObjectValue() and Type().
type CancelAllRuns_SdkV2 ¶ added in v1.62.1
type CancelAllRuns_SdkV2 struct { // Optional boolean parameter to cancel all queued runs. If no job_id is // provided, all queued runs in the workspace are canceled. AllQueuedRuns types.Bool `tfsdk:"all_queued_runs"` // The canonical identifier of the job to cancel all runs of. JobId types.Int64 `tfsdk:"job_id"` }
func (CancelAllRuns_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelAllRuns_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelAllRuns_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRuns. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRuns_SdkV2)
func (*CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns_SdkV2)
func (CancelAllRuns_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelAllRuns_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelAllRuns_SdkV2 only implements ToObjectValue() and Type().
type CancelRun ¶
func (CancelRun) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelRun) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*CancelRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (CancelRun) ToObjectValue ¶ added in v1.61.0
func (o CancelRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelRun only implements ToObjectValue() and Type().
type CancelRunResponse ¶
type CancelRunResponse struct { }
func (CancelRunResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelRunResponse) ToObjectValue ¶ added in v1.61.0
func (o CancelRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelRunResponse only implements ToObjectValue() and Type().
type CancelRunResponse_SdkV2 ¶ added in v1.62.1
type CancelRunResponse_SdkV2 struct { }
func (CancelRunResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelRunResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelRunResponse_SdkV2 only implements ToObjectValue() and Type().
type CancelRun_SdkV2 ¶ added in v1.62.1
func (CancelRun_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelRun_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRun_SdkV2)
func (*CancelRun_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRun_SdkV2)
func (CancelRun_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelRun_SdkV2 only implements ToObjectValue() and Type().
type CleanRoomTaskRunState ¶ added in v1.60.0
type CleanRoomTaskRunState struct { // A value indicating the run's current lifecycle state. This field is // always available in the response. LifeCycleState types.String `tfsdk:"life_cycle_state"` // A value indicating the run's result. This field is only available for // terminal lifecycle states. ResultState types.String `tfsdk:"result_state"` }
Stores the run state of the clean rooms notebook task.
func (CleanRoomTaskRunState) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CleanRoomTaskRunState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CleanRoomTaskRunState) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomTaskRunState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomTaskRunState) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.60.0
func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomTaskRunState)
func (*CleanRoomTaskRunState) SyncEffectiveFieldsDuringRead ¶ added in v1.60.0
func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState)
func (CleanRoomTaskRunState) ToObjectValue ¶ added in v1.61.0
func (o CleanRoomTaskRunState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomTaskRunState only implements ToObjectValue() and Type().
type CleanRoomTaskRunState_SdkV2 ¶ added in v1.62.1
type CleanRoomTaskRunState_SdkV2 struct { // A value indicating the run's current lifecycle state. This field is // always available in the response. LifeCycleState types.String `tfsdk:"life_cycle_state"` // A value indicating the run's result. This field is only available for // terminal lifecycle states. ResultState types.String `tfsdk:"result_state"` }
Stores the run state of the clean rooms notebook task.
func (CleanRoomTaskRunState_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CleanRoomTaskRunState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CleanRoomTaskRunState_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CleanRoomTaskRunState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomTaskRunState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomTaskRunState_SdkV2)
func (*CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState_SdkV2)
func (CleanRoomTaskRunState_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CleanRoomTaskRunState_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomTaskRunState_SdkV2 only implements ToObjectValue() and Type().
type CleanRoomsNotebookTask ¶ added in v1.62.0
type CleanRoomsNotebookTask struct { // The clean room that the notebook belongs to. CleanRoomName types.String `tfsdk:"clean_room_name"` // Checksum to validate the freshness of the notebook resource (i.e. the // notebook being run is the latest version). It can be fetched by calling // the :method:cleanroomassets/get API. Etag types.String `tfsdk:"etag"` // Base parameters to be used for the clean room notebook job. NotebookBaseParameters types.Map `tfsdk:"notebook_base_parameters"` // Name of the notebook being run. NotebookName types.String `tfsdk:"notebook_name"` }
func (CleanRoomsNotebookTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CleanRoomsNotebookTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CleanRoomsNotebookTask) GetComplexFieldTypes ¶ added in v1.62.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomsNotebookTask) GetNotebookBaseParameters ¶ added in v1.62.0
func (o *CleanRoomsNotebookTask) GetNotebookBaseParameters(ctx context.Context) (map[string]types.String, bool)
GetNotebookBaseParameters returns the value of the NotebookBaseParameters field in CleanRoomsNotebookTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTask) SetNotebookBaseParameters ¶ added in v1.62.0
func (o *CleanRoomsNotebookTask) SetNotebookBaseParameters(ctx context.Context, v map[string]types.String)
SetNotebookBaseParameters sets the value of the NotebookBaseParameters field in CleanRoomsNotebookTask.
func (*CleanRoomsNotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.0
func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTask)
func (*CleanRoomsNotebookTask) SyncEffectiveFieldsDuringRead ¶ added in v1.62.0
func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask)
func (CleanRoomsNotebookTask) ToObjectValue ¶ added in v1.62.0
func (o CleanRoomsNotebookTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomsNotebookTask only implements ToObjectValue() and Type().
type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput ¶ added in v1.64.0
type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput struct { // The run state of the clean rooms notebook task. CleanRoomJobRunState types.Object `tfsdk:"clean_room_job_run_state"` // The notebook output for the clean room run NotebookOutput types.Object `tfsdk:"notebook_output"` // Information on how to access the output schema for the clean room run OutputSchemaInfo types.Object `tfsdk:"output_schema_info"` }
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ApplySchemaCustomizations ¶ added in v1.64.0
func (c CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetCleanRoomJobRunState ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetCleanRoomJobRunState(ctx context.Context) (CleanRoomTaskRunState, bool)
GetCleanRoomJobRunState returns the value of the CleanRoomJobRunState field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput as a CleanRoomTaskRunState value. If the field is unknown or null, the boolean return value is false.
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetComplexFieldTypes ¶ added in v1.64.0
func (a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetNotebookOutput ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetNotebookOutput(ctx context.Context) (NotebookOutput, bool)
GetNotebookOutput returns the value of the NotebookOutput field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput as a NotebookOutput value. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetOutputSchemaInfo ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) GetOutputSchemaInfo(ctx context.Context) (OutputSchemaInfo, bool)
GetOutputSchemaInfo returns the value of the OutputSchemaInfo field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput as a OutputSchemaInfo value. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetCleanRoomJobRunState ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetCleanRoomJobRunState(ctx context.Context, v CleanRoomTaskRunState)
SetCleanRoomJobRunState sets the value of the CleanRoomJobRunState field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetNotebookOutput ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetNotebookOutput(ctx context.Context, v NotebookOutput)
SetNotebookOutput sets the value of the NotebookOutput field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetOutputSchemaInfo ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SetOutputSchemaInfo(ctx context.Context, v OutputSchemaInfo)
SetOutputSchemaInfo sets the value of the OutputSchemaInfo field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.64.0
func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.64.0
func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ToObjectValue ¶ added in v1.64.0
func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput only implements ToObjectValue() and Type().
type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 ¶ added in v1.64.0
type CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 struct { // The run state of the clean rooms notebook task. CleanRoomJobRunState types.List `tfsdk:"clean_room_job_run_state"` // The notebook output for the clean room run NotebookOutput types.List `tfsdk:"notebook_output"` // Information on how to access the output schema for the clean room run OutputSchemaInfo types.List `tfsdk:"output_schema_info"` }
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.64.0
func (c CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetCleanRoomJobRunState ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetCleanRoomJobRunState(ctx context.Context) (CleanRoomTaskRunState_SdkV2, bool)
GetCleanRoomJobRunState returns the value of the CleanRoomJobRunState field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 as a CleanRoomTaskRunState_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.64.0
func (a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetNotebookOutput ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetNotebookOutput(ctx context.Context) (NotebookOutput_SdkV2, bool)
GetNotebookOutput returns the value of the NotebookOutput field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 as a NotebookOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetOutputSchemaInfo ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) GetOutputSchemaInfo(ctx context.Context) (OutputSchemaInfo_SdkV2, bool)
GetOutputSchemaInfo returns the value of the OutputSchemaInfo field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 as a OutputSchemaInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetCleanRoomJobRunState ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetCleanRoomJobRunState(ctx context.Context, v CleanRoomTaskRunState_SdkV2)
SetCleanRoomJobRunState sets the value of the CleanRoomJobRunState field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetNotebookOutput ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetNotebookOutput(ctx context.Context, v NotebookOutput_SdkV2)
SetNotebookOutput sets the value of the NotebookOutput field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetOutputSchemaInfo ¶ added in v1.64.0
func (o *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SetOutputSchemaInfo(ctx context.Context, v OutputSchemaInfo_SdkV2)
SetOutputSchemaInfo sets the value of the OutputSchemaInfo field in CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2.
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.64.0
func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2)
func (*CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.64.0
func (newState *CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2)
func (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ToObjectValue ¶ added in v1.64.0
func (o CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 only implements ToObjectValue() and Type().
type CleanRoomsNotebookTask_SdkV2 ¶ added in v1.62.1
type CleanRoomsNotebookTask_SdkV2 struct { // The clean room that the notebook belongs to. CleanRoomName types.String `tfsdk:"clean_room_name"` // Checksum to validate the freshness of the notebook resource (i.e. the // notebook being run is the latest version). It can be fetched by calling // the :method:cleanroomassets/get API. Etag types.String `tfsdk:"etag"` // Base parameters to be used for the clean room notebook job. NotebookBaseParameters types.Map `tfsdk:"notebook_base_parameters"` // Name of the notebook being run. NotebookName types.String `tfsdk:"notebook_name"` }
func (CleanRoomsNotebookTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CleanRoomsNotebookTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CleanRoomsNotebookTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CleanRoomsNotebookTask_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CleanRoomsNotebookTask_SdkV2) GetNotebookBaseParameters ¶ added in v1.62.1
func (o *CleanRoomsNotebookTask_SdkV2) GetNotebookBaseParameters(ctx context.Context) (map[string]types.String, bool)
GetNotebookBaseParameters returns the value of the NotebookBaseParameters field in CleanRoomsNotebookTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CleanRoomsNotebookTask_SdkV2) SetNotebookBaseParameters ¶ added in v1.62.1
func (o *CleanRoomsNotebookTask_SdkV2) SetNotebookBaseParameters(ctx context.Context, v map[string]types.String)
SetNotebookBaseParameters sets the value of the NotebookBaseParameters field in CleanRoomsNotebookTask_SdkV2.
func (*CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoomsNotebookTask_SdkV2)
func (*CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask_SdkV2)
func (CleanRoomsNotebookTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CleanRoomsNotebookTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CleanRoomsNotebookTask_SdkV2 only implements ToObjectValue() and Type().
type ClusterInstance ¶
type ClusterInstance struct { // The canonical identifier for the cluster used by a run. This field is // always available for runs on existing clusters. For runs on new clusters, // it becomes available once the cluster is created. This value can be used // to view logs by browsing to `/#setting/sparkui/$cluster_id/driver-logs`. // The logs continue to be available after the run completes. // // The response won’t include this field if the identifier is not // available yet. ClusterId types.String `tfsdk:"cluster_id"` // The canonical identifier for the Spark context used by a run. This field // is filled in once the run begins execution. This value can be used to // view the Spark UI by browsing to // `/#setting/sparkui/$cluster_id/$spark_context_id`. The Spark UI continues // to be available after the run has completed. // // The response won’t include this field if the identifier is not // available yet. SparkContextId types.String `tfsdk:"spark_context_id"` }
func (ClusterInstance) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterInstance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterInstance) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterInstance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterInstance) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterInstance) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterInstance)
func (*ClusterInstance) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterInstance) SyncEffectiveFieldsDuringRead(existingState ClusterInstance)
func (ClusterInstance) ToObjectValue ¶ added in v1.61.0
func (o ClusterInstance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterInstance only implements ToObjectValue() and Type().
type ClusterInstance_SdkV2 ¶ added in v1.62.1
type ClusterInstance_SdkV2 struct { // The canonical identifier for the cluster used by a run. This field is // always available for runs on existing clusters. For runs on new clusters, // it becomes available once the cluster is created. This value can be used // to view logs by browsing to `/#setting/sparkui/$cluster_id/driver-logs`. // The logs continue to be available after the run completes. // // The response won’t include this field if the identifier is not // available yet. ClusterId types.String `tfsdk:"cluster_id"` // The canonical identifier for the Spark context used by a run. This field // is filled in once the run begins execution. This value can be used to // view the Spark UI by browsing to // `/#setting/sparkui/$cluster_id/$spark_context_id`. The Spark UI continues // to be available after the run has completed. // // The response won’t include this field if the identifier is not // available yet. SparkContextId types.String `tfsdk:"spark_context_id"` }
func (ClusterInstance_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterInstance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterInstance_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterInstance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterInstance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterInstance_SdkV2)
func (*ClusterInstance_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterInstance_SdkV2)
func (ClusterInstance_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterInstance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterInstance_SdkV2 only implements ToObjectValue() and Type().
type ClusterSpec ¶
type ClusterSpec struct { // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.Object `tfsdk:"new_cluster"` }
func (ClusterSpec) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterSpec) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSpec) GetLibraries ¶ added in v1.61.0
func (o *ClusterSpec) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
GetLibraries returns the value of the Libraries field in ClusterSpec as a slice of compute_tf.Library values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetNewCluster ¶ added in v1.61.0
func (o *ClusterSpec) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
GetNewCluster returns the value of the NewCluster field in ClusterSpec as a compute_tf.ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) SetLibraries ¶ added in v1.61.0
func (o *ClusterSpec) SetLibraries(ctx context.Context, v []compute_tf.Library)
SetLibraries sets the value of the Libraries field in ClusterSpec.
func (*ClusterSpec) SetNewCluster ¶ added in v1.61.0
func (o *ClusterSpec) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
SetNewCluster sets the value of the NewCluster field in ClusterSpec.
func (*ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec)
func (*ClusterSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec)
func (ClusterSpec) ToObjectValue ¶ added in v1.61.0
func (o ClusterSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSpec only implements ToObjectValue() and Type().
type ClusterSpec_SdkV2 ¶ added in v1.62.1
type ClusterSpec_SdkV2 struct { // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.List `tfsdk:"new_cluster"` }
func (ClusterSpec_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterSpec_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSpec_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in ClusterSpec_SdkV2 as a slice of compute_tf.Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetNewCluster ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
GetNewCluster returns the value of the NewCluster field in ClusterSpec_SdkV2 as a compute_tf.ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
SetLibraries sets the value of the Libraries field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetNewCluster ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
SetNewCluster sets the value of the NewCluster field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec_SdkV2)
func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2)
func (ClusterSpec_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSpec_SdkV2 only implements ToObjectValue() and Type().
type ConditionTask ¶
type ConditionTask struct { // The left operand of the condition task. Can be either a string value or a // job state or parameter reference. Left types.String `tfsdk:"left"` // * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their // operands. This means that `“12.0” == “12”` will evaluate to // `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, // `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their // operands. `“12.0” >= “12”` will evaluate to `true`, `“10.0” // >= “12”` will evaluate to `false`. // // The boolean comparison to task values can be implemented with operators // `EQUAL_TO`, `NOT_EQUAL`. If a task value was set to a boolean value, it // will be serialized to `“true”` or `“false”` for the comparison. Op types.String `tfsdk:"op"` // The right operand of the condition task. Can be either a string value or // a job state or parameter reference. Right types.String `tfsdk:"right"` }
func (ConditionTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ConditionTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ConditionTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ConditionTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ConditionTask)
func (*ConditionTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ConditionTask) SyncEffectiveFieldsDuringRead(existingState ConditionTask)
func (ConditionTask) ToObjectValue ¶ added in v1.61.0
func (o ConditionTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ConditionTask only implements ToObjectValue() and Type().
type ConditionTask_SdkV2 ¶ added in v1.62.1
type ConditionTask_SdkV2 struct { // The left operand of the condition task. Can be either a string value or a // job state or parameter reference. Left types.String `tfsdk:"left"` // * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their // operands. This means that `“12.0” == “12”` will evaluate to // `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, // `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their // operands. `“12.0” >= “12”` will evaluate to `true`, `“10.0” // >= “12”` will evaluate to `false`. // // The boolean comparison to task values can be implemented with operators // `EQUAL_TO`, `NOT_EQUAL`. If a task value was set to a boolean value, it // will be serialized to `“true”` or `“false”` for the comparison. Op types.String `tfsdk:"op"` // The right operand of the condition task. Can be either a string value or // a job state or parameter reference. Right types.String `tfsdk:"right"` }
func (ConditionTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ConditionTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ConditionTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ConditionTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ConditionTask_SdkV2)
func (*ConditionTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ConditionTask_SdkV2)
func (ConditionTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ConditionTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ConditionTask_SdkV2 only implements ToObjectValue() and Type().
type Continuous ¶
type Continuous struct { // Indicate whether the continuous execution of the job is paused or not. // Defaults to UNPAUSED. PauseStatus types.String `tfsdk:"pause_status"` }
func (Continuous) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Continuous) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Continuous) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Continuous. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Continuous) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Continuous) SyncEffectiveFieldsDuringCreateOrUpdate(plan Continuous)
func (*Continuous) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Continuous) SyncEffectiveFieldsDuringRead(existingState Continuous)
func (Continuous) ToObjectValue ¶ added in v1.61.0
func (o Continuous) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Continuous only implements ToObjectValue() and Type().
type Continuous_SdkV2 ¶ added in v1.62.1
type Continuous_SdkV2 struct { // Indicate whether the continuous execution of the job is paused or not. // Defaults to UNPAUSED. PauseStatus types.String `tfsdk:"pause_status"` }
func (Continuous_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Continuous_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Continuous_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Continuous. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Continuous_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Continuous_SdkV2)
func (*Continuous_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringRead(existingState Continuous_SdkV2)
func (Continuous_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Continuous_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Continuous_SdkV2 only implements ToObjectValue() and Type().
type CreateJob ¶
type CreateJob struct { // List of permissions to set on the job. AccessControlList types.List `tfsdk:"access_control_list"` // The id of the user specified budget policy to use for this job. If not // specified, a default budget policy may be applied when creating or // modifying the job. See `effective_budget_policy_id` for the budget policy // used by this workload. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional continuous property for this job. The continuous property // will ensure that there is always one run executing. Only one of // `schedule` and `continuous` can be used. Continuous types.Object `tfsdk:"continuous"` // Deployment information for jobs managed by external sources. Deployment types.Object `tfsdk:"deployment"` // An optional description for the job. The maximum length is 27700 // characters in UTF-8 encoding. Description types.String `tfsdk:"description"` // Edit mode of the job. // // * `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * // `EDITABLE`: The job is in an editable state and can be modified. EditMode types.String `tfsdk:"edit_mode"` // An optional set of email addresses that is notified when runs of this job // begin or complete as well as when this job is deleted. EmailNotifications types.Object `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by serverless tasks of this job. An environment is required to // be present for serverless tasks. For serverless notebook tasks, the // environment is accessible in the notebook environment panel. For other // serverless tasks, the task environment is required to be specified using // environment_key in the task settings. Environments types.List `tfsdk:"environment"` // Used to tell what is the format of the job. This field is ignored in // Create/Update/Reset calls. When using the Jobs API 2.1 this value is // always set to `"MULTI_TASK"`. Format types.String `tfsdk:"format"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.Object `tfsdk:"health"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/get. JobClusters types.List `tfsdk:"job_cluster"` // An optional maximum allowed number of concurrent runs of the job. Set // this value if you want to be able to execute multiple runs of the same // job concurrently. This is useful for example if you trigger your job on a // frequent schedule and want to allow consecutive runs to overlap with each // other, or if you want to trigger multiple runs which differ by their // input parameters. This setting affects only new runs. For example, // suppose the job’s concurrency is 4 and there are 4 concurrent active // runs. Then setting the concurrency to 3 won’t kill any of the active // runs. However, from then on, new runs are skipped unless there are fewer // than 3 active runs. This value cannot exceed 1000. Setting this value to // `0` causes all new runs to be skipped. MaxConcurrentRuns types.Int64 `tfsdk:"max_concurrent_runs"` // An optional name for the job. The maximum length is 4096 bytes in UTF-8 // encoding. Name types.String `tfsdk:"name"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // job. NotificationSettings types.Object `tfsdk:"notification_settings"` // Job-level parameter definitions Parameters types.List `tfsdk:"parameter"` // The queue settings of the job. Queue types.Object `tfsdk:"queue"` // Write-only setting. Specifies the user or service principal that the job // runs as. If not specified, the job runs as the user who created the job. // // Either `user_name` or `service_principal_name` should be specified. If // not, an error is thrown. RunAs types.Object `tfsdk:"run_as"` // An optional periodic schedule for this job. The default behavior is that // the job only runs when triggered by clicking “Run Now” in the Jobs UI // or sending an API request to `runNow`. Schedule types.Object `tfsdk:"schedule"` // A map of tags associated with the job. These are forwarded to the cluster // as cluster tags for jobs clusters, and are subject to the same // limitations as cluster tags. A maximum of 25 tags can be added to the // job. Tags types.Map `tfsdk:"tags"` // A list of task specifications to be executed by this job. If more than // 100 tasks are available, you can paginate through them using // :method:jobs/get. Use the `next_page_token` field at the object root to // determine if more results are available. Tasks types.List `tfsdk:"task"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A configuration to trigger a run when certain conditions are met. The // default behavior is that the job runs only when triggered by clicking // “Run Now” in the Jobs UI or sending an API request to `runNow`. Trigger types.Object `tfsdk:"trigger"` // A collection of system notification IDs to notify when runs of this job // begin or complete. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
func (CreateJob) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateJob) GetAccessControlList ¶ added in v1.61.0
func (o *CreateJob) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in CreateJob as a slice of JobAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (CreateJob) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateJob) GetContinuous ¶ added in v1.61.0
func (o *CreateJob) GetContinuous(ctx context.Context) (Continuous, bool)
GetContinuous returns the value of the Continuous field in CreateJob as a Continuous value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetDeployment ¶ added in v1.61.0
func (o *CreateJob) GetDeployment(ctx context.Context) (JobDeployment, bool)
GetDeployment returns the value of the Deployment field in CreateJob as a JobDeployment value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetEmailNotifications ¶ added in v1.61.0
func (o *CreateJob) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in CreateJob as a JobEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetEnvironments ¶ added in v1.61.0
func (o *CreateJob) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
GetEnvironments returns the value of the Environments field in CreateJob as a slice of JobEnvironment values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetGitSource ¶ added in v1.61.0
GetGitSource returns the value of the GitSource field in CreateJob as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetHealth ¶ added in v1.61.0
func (o *CreateJob) GetHealth(ctx context.Context) (JobsHealthRules, bool)
GetHealth returns the value of the Health field in CreateJob as a JobsHealthRules value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetJobClusters ¶ added in v1.61.0
func (o *CreateJob) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
GetJobClusters returns the value of the JobClusters field in CreateJob as a slice of JobCluster values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetNotificationSettings ¶ added in v1.61.0
func (o *CreateJob) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in CreateJob as a JobNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetParameters ¶ added in v1.61.0
func (o *CreateJob) GetParameters(ctx context.Context) ([]JobParameterDefinition, bool)
GetParameters returns the value of the Parameters field in CreateJob as a slice of JobParameterDefinition values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetQueue ¶ added in v1.61.0
func (o *CreateJob) GetQueue(ctx context.Context) (QueueSettings, bool)
GetQueue returns the value of the Queue field in CreateJob as a QueueSettings value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetRunAs ¶ added in v1.61.0
GetRunAs returns the value of the RunAs field in CreateJob as a JobRunAs value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetSchedule ¶ added in v1.61.0
func (o *CreateJob) GetSchedule(ctx context.Context) (CronSchedule, bool)
GetSchedule returns the value of the Schedule field in CreateJob as a CronSchedule value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetTags ¶ added in v1.61.0
GetTags returns the value of the Tags field in CreateJob as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetTasks ¶ added in v1.61.0
GetTasks returns the value of the Tasks field in CreateJob as a slice of Task values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetTrigger ¶ added in v1.61.0
func (o *CreateJob) GetTrigger(ctx context.Context) (TriggerSettings, bool)
GetTrigger returns the value of the Trigger field in CreateJob as a TriggerSettings value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) GetWebhookNotifications ¶ added in v1.61.0
func (o *CreateJob) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in CreateJob as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob) SetAccessControlList ¶ added in v1.61.0
func (o *CreateJob) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in CreateJob.
func (*CreateJob) SetContinuous ¶ added in v1.61.0
func (o *CreateJob) SetContinuous(ctx context.Context, v Continuous)
SetContinuous sets the value of the Continuous field in CreateJob.
func (*CreateJob) SetDeployment ¶ added in v1.61.0
func (o *CreateJob) SetDeployment(ctx context.Context, v JobDeployment)
SetDeployment sets the value of the Deployment field in CreateJob.
func (*CreateJob) SetEmailNotifications ¶ added in v1.61.0
func (o *CreateJob) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in CreateJob.
func (*CreateJob) SetEnvironments ¶ added in v1.61.0
func (o *CreateJob) SetEnvironments(ctx context.Context, v []JobEnvironment)
SetEnvironments sets the value of the Environments field in CreateJob.
func (*CreateJob) SetGitSource ¶ added in v1.61.0
SetGitSource sets the value of the GitSource field in CreateJob.
func (*CreateJob) SetHealth ¶ added in v1.61.0
func (o *CreateJob) SetHealth(ctx context.Context, v JobsHealthRules)
SetHealth sets the value of the Health field in CreateJob.
func (*CreateJob) SetJobClusters ¶ added in v1.61.0
func (o *CreateJob) SetJobClusters(ctx context.Context, v []JobCluster)
SetJobClusters sets the value of the JobClusters field in CreateJob.
func (*CreateJob) SetNotificationSettings ¶ added in v1.61.0
func (o *CreateJob) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in CreateJob.
func (*CreateJob) SetParameters ¶ added in v1.61.0
func (o *CreateJob) SetParameters(ctx context.Context, v []JobParameterDefinition)
SetParameters sets the value of the Parameters field in CreateJob.
func (*CreateJob) SetQueue ¶ added in v1.61.0
func (o *CreateJob) SetQueue(ctx context.Context, v QueueSettings)
SetQueue sets the value of the Queue field in CreateJob.
func (*CreateJob) SetRunAs ¶ added in v1.61.0
SetRunAs sets the value of the RunAs field in CreateJob.
func (*CreateJob) SetSchedule ¶ added in v1.61.0
func (o *CreateJob) SetSchedule(ctx context.Context, v CronSchedule)
SetSchedule sets the value of the Schedule field in CreateJob.
func (*CreateJob) SetTasks ¶ added in v1.61.0
SetTasks sets the value of the Tasks field in CreateJob.
func (*CreateJob) SetTrigger ¶ added in v1.61.0
func (o *CreateJob) SetTrigger(ctx context.Context, v TriggerSettings)
SetTrigger sets the value of the Trigger field in CreateJob.
func (*CreateJob) SetWebhookNotifications ¶ added in v1.61.0
func (o *CreateJob) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in CreateJob.
func (*CreateJob) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*CreateJob) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (CreateJob) ToObjectValue ¶ added in v1.61.0
func (o CreateJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateJob only implements ToObjectValue() and Type().
type CreateJob_SdkV2 ¶ added in v1.62.1
type CreateJob_SdkV2 struct { // List of permissions to set on the job. AccessControlList types.List `tfsdk:"access_control_list"` // The id of the user specified budget policy to use for this job. If not // specified, a default budget policy may be applied when creating or // modifying the job. See `effective_budget_policy_id` for the budget policy // used by this workload. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional continuous property for this job. The continuous property // will ensure that there is always one run executing. Only one of // `schedule` and `continuous` can be used. Continuous types.List `tfsdk:"continuous"` // Deployment information for jobs managed by external sources. Deployment types.List `tfsdk:"deployment"` // An optional description for the job. The maximum length is 27700 // characters in UTF-8 encoding. Description types.String `tfsdk:"description"` // Edit mode of the job. // // * `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * // `EDITABLE`: The job is in an editable state and can be modified. EditMode types.String `tfsdk:"edit_mode"` // An optional set of email addresses that is notified when runs of this job // begin or complete as well as when this job is deleted. EmailNotifications types.List `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by serverless tasks of this job. An environment is required to // be present for serverless tasks. For serverless notebook tasks, the // environment is accessible in the notebook environment panel. For other // serverless tasks, the task environment is required to be specified using // environment_key in the task settings. Environments types.List `tfsdk:"environment"` // Used to tell what is the format of the job. This field is ignored in // Create/Update/Reset calls. When using the Jobs API 2.1 this value is // always set to `"MULTI_TASK"`. Format types.String `tfsdk:"format"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.List `tfsdk:"health"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/get. JobClusters types.List `tfsdk:"job_cluster"` // An optional maximum allowed number of concurrent runs of the job. Set // this value if you want to be able to execute multiple runs of the same // job concurrently. This is useful for example if you trigger your job on a // frequent schedule and want to allow consecutive runs to overlap with each // other, or if you want to trigger multiple runs which differ by their // input parameters. This setting affects only new runs. For example, // suppose the job’s concurrency is 4 and there are 4 concurrent active // runs. Then setting the concurrency to 3 won’t kill any of the active // runs. However, from then on, new runs are skipped unless there are fewer // than 3 active runs. This value cannot exceed 1000. Setting this value to // `0` causes all new runs to be skipped. MaxConcurrentRuns types.Int64 `tfsdk:"max_concurrent_runs"` // An optional name for the job. The maximum length is 4096 bytes in UTF-8 // encoding. Name types.String `tfsdk:"name"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // job. NotificationSettings types.List `tfsdk:"notification_settings"` // Job-level parameter definitions Parameters types.List `tfsdk:"parameter"` // The queue settings of the job. Queue types.List `tfsdk:"queue"` // Write-only setting. Specifies the user or service principal that the job // runs as. If not specified, the job runs as the user who created the job. // // Either `user_name` or `service_principal_name` should be specified. If // not, an error is thrown. RunAs types.List `tfsdk:"run_as"` // An optional periodic schedule for this job. The default behavior is that // the job only runs when triggered by clicking “Run Now” in the Jobs UI // or sending an API request to `runNow`. Schedule types.List `tfsdk:"schedule"` // A map of tags associated with the job. These are forwarded to the cluster // as cluster tags for jobs clusters, and are subject to the same // limitations as cluster tags. A maximum of 25 tags can be added to the // job. Tags types.Map `tfsdk:"tags"` // A list of task specifications to be executed by this job. If more than // 100 tasks are available, you can paginate through them using // :method:jobs/get. Use the `next_page_token` field at the object root to // determine if more results are available. Tasks types.List `tfsdk:"task"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A configuration to trigger a run when certain conditions are met. The // default behavior is that the job runs only when triggered by clicking // “Run Now” in the Jobs UI or sending an API request to `runNow`. Trigger types.List `tfsdk:"trigger"` // A collection of system notification IDs to notify when runs of this job // begin or complete. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
func (CreateJob_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateJob_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in CreateJob_SdkV2 as a slice of JobAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (CreateJob_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateJob_SdkV2) GetContinuous ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetContinuous(ctx context.Context) (Continuous_SdkV2, bool)
GetContinuous returns the value of the Continuous field in CreateJob_SdkV2 as a Continuous_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetDeployment ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetDeployment(ctx context.Context) (JobDeployment_SdkV2, bool)
GetDeployment returns the value of the Deployment field in CreateJob_SdkV2 as a JobDeployment_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in CreateJob_SdkV2 as a JobEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetEnvironments ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
GetEnvironments returns the value of the Environments field in CreateJob_SdkV2 as a slice of JobEnvironment_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in CreateJob_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetHealth ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
GetHealth returns the value of the Health field in CreateJob_SdkV2 as a JobsHealthRules_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetJobClusters ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
GetJobClusters returns the value of the JobClusters field in CreateJob_SdkV2 as a slice of JobCluster_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in CreateJob_SdkV2 as a JobNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetParameters ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetParameters(ctx context.Context) ([]JobParameterDefinition_SdkV2, bool)
GetParameters returns the value of the Parameters field in CreateJob_SdkV2 as a slice of JobParameterDefinition_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetQueue ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
GetQueue returns the value of the Queue field in CreateJob_SdkV2 as a QueueSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetRunAs ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
GetRunAs returns the value of the RunAs field in CreateJob_SdkV2 as a JobRunAs_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetSchedule ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
GetSchedule returns the value of the Schedule field in CreateJob_SdkV2 as a CronSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetTags ¶ added in v1.62.1
GetTags returns the value of the Tags field in CreateJob_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetTasks ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetTasks(ctx context.Context) ([]Task_SdkV2, bool)
GetTasks returns the value of the Tasks field in CreateJob_SdkV2 as a slice of Task_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetTrigger ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetTrigger(ctx context.Context) (TriggerSettings_SdkV2, bool)
GetTrigger returns the value of the Trigger field in CreateJob_SdkV2 as a TriggerSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *CreateJob_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in CreateJob_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateJob_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetContinuous ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetContinuous(ctx context.Context, v Continuous_SdkV2)
SetContinuous sets the value of the Continuous field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetDeployment ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetDeployment(ctx context.Context, v JobDeployment_SdkV2)
SetDeployment sets the value of the Deployment field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetEnvironments ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
SetEnvironments sets the value of the Environments field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetHealth ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
SetHealth sets the value of the Health field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetJobClusters ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
SetJobClusters sets the value of the JobClusters field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetParameters ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetParameters(ctx context.Context, v []JobParameterDefinition_SdkV2)
SetParameters sets the value of the Parameters field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetQueue ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
SetQueue sets the value of the Queue field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetRunAs ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
SetRunAs sets the value of the RunAs field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetSchedule ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
SetSchedule sets the value of the Schedule field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetTags ¶ added in v1.62.1
SetTags sets the value of the Tags field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetTasks ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetTasks(ctx context.Context, v []Task_SdkV2)
SetTasks sets the value of the Tasks field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetTrigger ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetTrigger(ctx context.Context, v TriggerSettings_SdkV2)
SetTrigger sets the value of the Trigger field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *CreateJob_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in CreateJob_SdkV2.
func (*CreateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateJob_SdkV2)
func (*CreateJob_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateJob_SdkV2)
func (CreateJob_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateJob_SdkV2 only implements ToObjectValue() and Type().
type CreateResponse ¶
type CreateResponse struct { // The canonical identifier for the newly created job. JobId types.Int64 `tfsdk:"job_id"` }
Job was created successfully
func (CreateResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse)
func (*CreateResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse)
func (CreateResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateResponse only implements ToObjectValue() and Type().
type CreateResponse_SdkV2 ¶ added in v1.62.1
type CreateResponse_SdkV2 struct { // The canonical identifier for the newly created job. JobId types.Int64 `tfsdk:"job_id"` }
Job was created successfully
func (CreateResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse_SdkV2)
func (*CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2)
func (CreateResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateResponse_SdkV2 only implements ToObjectValue() and Type().
type CronSchedule ¶
type CronSchedule struct { // Indicate whether this schedule is paused or not. PauseStatus types.String `tfsdk:"pause_status"` // A Cron expression using Quartz syntax that describes the schedule for a // job. See [Cron Trigger] for details. This field is required. // // [Cron Trigger]: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html QuartzCronExpression types.String `tfsdk:"quartz_cron_expression"` // A Java timezone ID. The schedule for a job is resolved with respect to // this timezone. See [Java TimeZone] for details. This field is required. // // [Java TimeZone]: https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html TimezoneId types.String `tfsdk:"timezone_id"` }
func (CronSchedule) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CronSchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CronSchedule) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronSchedule)
func (*CronSchedule) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CronSchedule) SyncEffectiveFieldsDuringRead(existingState CronSchedule)
func (CronSchedule) ToObjectValue ¶ added in v1.61.0
func (o CronSchedule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CronSchedule only implements ToObjectValue() and Type().
type CronSchedule_SdkV2 ¶ added in v1.62.1
type CronSchedule_SdkV2 struct { // Indicate whether this schedule is paused or not. PauseStatus types.String `tfsdk:"pause_status"` // A Cron expression using Quartz syntax that describes the schedule for a // job. See [Cron Trigger] for details. This field is required. // // [Cron Trigger]: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html QuartzCronExpression types.String `tfsdk:"quartz_cron_expression"` // A Java timezone ID. The schedule for a job is resolved with respect to // this timezone. See [Java TimeZone] for details. This field is required. // // [Java TimeZone]: https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html TimezoneId types.String `tfsdk:"timezone_id"` }
func (CronSchedule_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CronSchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CronSchedule_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronSchedule_SdkV2)
func (*CronSchedule_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState CronSchedule_SdkV2)
func (CronSchedule_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CronSchedule_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CronSchedule_SdkV2 only implements ToObjectValue() and Type().
type DbtOutput ¶
type DbtOutput struct { // An optional map of headers to send when retrieving the artifact from the // `artifacts_link`. ArtifactsHeaders types.Map `tfsdk:"artifacts_headers"` // A pre-signed URL to download the (compressed) dbt artifacts. This link is // valid for a limited time (30 minutes). This information is only available // after the run has finished. ArtifactsLink types.String `tfsdk:"artifacts_link"` }
func (DbtOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbtOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DbtOutput) GetArtifactsHeaders ¶ added in v1.61.0
GetArtifactsHeaders returns the value of the ArtifactsHeaders field in DbtOutput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (DbtOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbtOutput) SetArtifactsHeaders ¶ added in v1.61.0
SetArtifactsHeaders sets the value of the ArtifactsHeaders field in DbtOutput.
func (*DbtOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DbtOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DbtOutput) ToObjectValue ¶ added in v1.61.0
func (o DbtOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbtOutput only implements ToObjectValue() and Type().
type DbtOutput_SdkV2 ¶ added in v1.62.1
type DbtOutput_SdkV2 struct { // An optional map of headers to send when retrieving the artifact from the // `artifacts_link`. ArtifactsHeaders types.Map `tfsdk:"artifacts_headers"` // A pre-signed URL to download the (compressed) dbt artifacts. This link is // valid for a limited time (30 minutes). This information is only available // after the run has finished. ArtifactsLink types.String `tfsdk:"artifacts_link"` }
func (DbtOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbtOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DbtOutput_SdkV2) GetArtifactsHeaders ¶ added in v1.62.1
GetArtifactsHeaders returns the value of the ArtifactsHeaders field in DbtOutput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (DbtOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbtOutput_SdkV2) SetArtifactsHeaders ¶ added in v1.62.1
SetArtifactsHeaders sets the value of the ArtifactsHeaders field in DbtOutput_SdkV2.
func (*DbtOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtOutput_SdkV2)
func (*DbtOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtOutput_SdkV2)
func (DbtOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DbtOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbtOutput_SdkV2 only implements ToObjectValue() and Type().
type DbtTask ¶
type DbtTask struct { // Optional name of the catalog to use. The value is the top level in the // 3-level namespace of Unity Catalog (catalog / schema / relation). The // catalog value can only be specified if a warehouse_id is specified. // Requires dbt-databricks >= 1.1.1. Catalog types.String `tfsdk:"catalog"` // A list of dbt commands to execute. All commands must start with `dbt`. // This parameter must not be empty. A maximum of up to 10 commands can be // provided. Commands types.List `tfsdk:"commands"` // Optional (relative) path to the profiles directory. Can only be specified // if no warehouse_id is specified. If no warehouse_id is specified and this // folder is unset, the root directory is used. ProfilesDirectory types.String `tfsdk:"profiles_directory"` // Path to the project directory. Optional for Git sourced tasks, in which // case if no value is provided, the root of the Git repository is used. ProjectDirectory types.String `tfsdk:"project_directory"` // Optional schema to write to. This parameter is only used when a // warehouse_id is also provided. If not provided, the `default` schema is // used. Schema types.String `tfsdk:"schema"` // Optional location type of the project directory. When set to `WORKSPACE`, // the project will be retrieved from the local Databricks workspace. When // set to `GIT`, the project will be retrieved from a Git repository defined // in `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. // // * `WORKSPACE`: Project is located in Databricks workspace. * `GIT`: // Project is located in cloud Git provider. Source types.String `tfsdk:"source"` // ID of the SQL warehouse to connect to. If provided, we automatically // generate and provide the profile and connection details to dbt. It can be // overridden on a per-command basis by using the `--profiles-dir` command // line argument. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (DbtTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbtTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DbtTask) GetCommands ¶ added in v1.61.0
GetCommands returns the value of the Commands field in DbtTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (DbtTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbtTask) SetCommands ¶ added in v1.61.0
SetCommands sets the value of the Commands field in DbtTask.
func (*DbtTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DbtTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DbtTask) ToObjectValue ¶ added in v1.61.0
func (o DbtTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbtTask only implements ToObjectValue() and Type().
type DbtTask_SdkV2 ¶ added in v1.62.1
type DbtTask_SdkV2 struct { // Optional name of the catalog to use. The value is the top level in the // 3-level namespace of Unity Catalog (catalog / schema / relation). The // catalog value can only be specified if a warehouse_id is specified. // Requires dbt-databricks >= 1.1.1. Catalog types.String `tfsdk:"catalog"` // A list of dbt commands to execute. All commands must start with `dbt`. // This parameter must not be empty. A maximum of up to 10 commands can be // provided. Commands types.List `tfsdk:"commands"` // Optional (relative) path to the profiles directory. Can only be specified // if no warehouse_id is specified. If no warehouse_id is specified and this // folder is unset, the root directory is used. ProfilesDirectory types.String `tfsdk:"profiles_directory"` // Path to the project directory. Optional for Git sourced tasks, in which // case if no value is provided, the root of the Git repository is used. ProjectDirectory types.String `tfsdk:"project_directory"` // Optional schema to write to. This parameter is only used when a // warehouse_id is also provided. If not provided, the `default` schema is // used. Schema types.String `tfsdk:"schema"` // Optional location type of the project directory. When set to `WORKSPACE`, // the project will be retrieved from the local Databricks workspace. When // set to `GIT`, the project will be retrieved from a Git repository defined // in `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. // // * `WORKSPACE`: Project is located in Databricks workspace. * `GIT`: // Project is located in cloud Git provider. Source types.String `tfsdk:"source"` // ID of the SQL warehouse to connect to. If provided, we automatically // generate and provide the profile and connection details to dbt. It can be // overridden on a per-command basis by using the `--profiles-dir` command // line argument. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (DbtTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbtTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DbtTask_SdkV2) GetCommands ¶ added in v1.62.1
GetCommands returns the value of the Commands field in DbtTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (DbtTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbtTask_SdkV2) SetCommands ¶ added in v1.62.1
func (o *DbtTask_SdkV2) SetCommands(ctx context.Context, v []types.String)
SetCommands sets the value of the Commands field in DbtTask_SdkV2.
func (*DbtTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtTask_SdkV2)
func (*DbtTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtTask_SdkV2)
func (DbtTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DbtTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbtTask_SdkV2 only implements ToObjectValue() and Type().
type DeleteJob ¶
type DeleteJob struct { // The canonical identifier of the job to delete. This field is required. JobId types.Int64 `tfsdk:"job_id"` }
func (DeleteJob) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteJob) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteJob) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DeleteJob) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DeleteJob) ToObjectValue ¶ added in v1.61.0
func (o DeleteJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteJob only implements ToObjectValue() and Type().
type DeleteJob_SdkV2 ¶ added in v1.62.1
type DeleteJob_SdkV2 struct { // The canonical identifier of the job to delete. This field is required. JobId types.Int64 `tfsdk:"job_id"` }
func (DeleteJob_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteJob_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteJob_SdkV2)
func (*DeleteJob_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteJob_SdkV2)
func (DeleteJob_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteJob_SdkV2 only implements ToObjectValue() and Type().
type DeleteResponse ¶
type DeleteResponse struct { }
func (DeleteResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().
type DeleteResponse_SdkV2 ¶ added in v1.62.1
type DeleteResponse_SdkV2 struct { }
func (DeleteResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse_SdkV2 only implements ToObjectValue() and Type().
type DeleteRun ¶
func (DeleteRun) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteRun) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DeleteRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DeleteRun) ToObjectValue ¶ added in v1.61.0
func (o DeleteRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteRun only implements ToObjectValue() and Type().
type DeleteRunResponse ¶
type DeleteRunResponse struct { }
func (DeleteRunResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteRunResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteRunResponse only implements ToObjectValue() and Type().
type DeleteRunResponse_SdkV2 ¶ added in v1.62.1
type DeleteRunResponse_SdkV2 struct { }
func (DeleteRunResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteRunResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteRunResponse_SdkV2 only implements ToObjectValue() and Type().
type DeleteRun_SdkV2 ¶ added in v1.62.1
func (DeleteRun_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteRun_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRun_SdkV2)
func (*DeleteRun_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRun_SdkV2)
func (DeleteRun_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteRun_SdkV2 only implements ToObjectValue() and Type().
type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange ¶
type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange struct { // The field where this change would be made, prepended with the job cluster // key. Field types.String `tfsdk:"field"` // The new value of this field after enforcing policy compliance (either a // number, a boolean, or a string) converted to a string. This is intended // to be read by a human. The typed new value of this field can be retrieved // by reading the settings field in the API response. NewValue types.String `tfsdk:"new_value"` // The previous value of this field before enforcing policy compliance // (either a number, a boolean, or a string) converted to a string. This is // intended to be read by a human. The type of the field can be retrieved by // reading the settings field in the API response. PreviousValue types.String `tfsdk:"previous_value"` }
Represents a change to the job cluster's settings that would be required for the job clusters to become compliant with their policies.
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) GetComplexFieldTypes ¶ added in v1.61.0
func (a EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForJobResponseJobClusterSettingsChange. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceForJobResponseJobClusterSettingsChange)
func (*EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceForJobResponseJobClusterSettingsChange)
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ToObjectValue ¶ added in v1.61.0
func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceForJobResponseJobClusterSettingsChange only implements ToObjectValue() and Type().
type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2 ¶ added in v1.62.1
type EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2 struct { // The field where this change would be made, prepended with the job cluster // key. Field types.String `tfsdk:"field"` // The new value of this field after enforcing policy compliance (either a // number, a boolean, or a string) converted to a string. This is intended // to be read by a human. The typed new value of this field can be retrieved // by reading the settings field in the API response. NewValue types.String `tfsdk:"new_value"` // The previous value of this field before enforcing policy compliance // (either a number, a boolean, or a string) converted to a string. This is // intended to be read by a human. The type of the field can be retrieved by // reading the settings field in the API response. PreviousValue types.String `tfsdk:"previous_value"` }
Represents a change to the job cluster's settings that would be required for the job clusters to become compliant with their policies.
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForJobResponseJobClusterSettingsChange. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2)
func (*EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2)
func (EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2 only implements ToObjectValue() and Type().
type EnforcePolicyComplianceRequest ¶
type EnforcePolicyComplianceRequest struct { // The ID of the job you want to enforce policy compliance on. JobId types.Int64 `tfsdk:"job_id"` // If set, previews changes made to the job to comply with its policy, but // does not update the job. ValidateOnly types.Bool `tfsdk:"validate_only"` }
func (EnforcePolicyComplianceRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a EnforcePolicyComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceRequest)
func (*EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest)
func (EnforcePolicyComplianceRequest) ToObjectValue ¶ added in v1.61.0
func (o EnforcePolicyComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceRequest only implements ToObjectValue() and Type().
type EnforcePolicyComplianceRequest_SdkV2 ¶ added in v1.62.1
type EnforcePolicyComplianceRequest_SdkV2 struct { // The ID of the job you want to enforce policy compliance on. JobId types.Int64 `tfsdk:"job_id"` // If set, previews changes made to the job to comply with its policy, but // does not update the job. ValidateOnly types.Bool `tfsdk:"validate_only"` }
func (EnforcePolicyComplianceRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EnforcePolicyComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceRequest_SdkV2)
func (*EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest_SdkV2)
func (EnforcePolicyComplianceRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EnforcePolicyComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceRequest_SdkV2 only implements ToObjectValue() and Type().
type EnforcePolicyComplianceResponse ¶
type EnforcePolicyComplianceResponse struct { // Whether any changes have been made to the job cluster settings for the // job to become compliant with its policies. HasChanges types.Bool `tfsdk:"has_changes"` // A list of job cluster changes that have been made to the job’s cluster // settings in order for all job clusters to become compliant with their // policies. JobClusterChanges types.List `tfsdk:"job_cluster_changes"` // Updated job settings after policy enforcement. Policy enforcement only // applies to job clusters that are created when running the job (which are // specified in new_cluster) and does not apply to existing all-purpose // clusters. Updated job settings are derived by applying policy default // values to the existing job clusters in order to satisfy policy // requirements. Settings types.Object `tfsdk:"settings"` }
func (EnforcePolicyComplianceResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a EnforcePolicyComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceResponse) GetJobClusterChanges ¶ added in v1.61.0
func (o *EnforcePolicyComplianceResponse) GetJobClusterChanges(ctx context.Context) ([]EnforcePolicyComplianceForJobResponseJobClusterSettingsChange, bool)
GetJobClusterChanges returns the value of the JobClusterChanges field in EnforcePolicyComplianceResponse as a slice of EnforcePolicyComplianceForJobResponseJobClusterSettingsChange values. If the field is unknown or null, the boolean return value is false.
func (*EnforcePolicyComplianceResponse) GetSettings ¶ added in v1.61.0
func (o *EnforcePolicyComplianceResponse) GetSettings(ctx context.Context) (JobSettings, bool)
GetSettings returns the value of the Settings field in EnforcePolicyComplianceResponse as a JobSettings value. If the field is unknown or null, the boolean return value is false.
func (*EnforcePolicyComplianceResponse) SetJobClusterChanges ¶ added in v1.61.0
func (o *EnforcePolicyComplianceResponse) SetJobClusterChanges(ctx context.Context, v []EnforcePolicyComplianceForJobResponseJobClusterSettingsChange)
SetJobClusterChanges sets the value of the JobClusterChanges field in EnforcePolicyComplianceResponse.
func (*EnforcePolicyComplianceResponse) SetSettings ¶ added in v1.61.0
func (o *EnforcePolicyComplianceResponse) SetSettings(ctx context.Context, v JobSettings)
SetSettings sets the value of the Settings field in EnforcePolicyComplianceResponse.
func (*EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceResponse)
func (*EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse)
func (EnforcePolicyComplianceResponse) ToObjectValue ¶ added in v1.61.0
func (o EnforcePolicyComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceResponse only implements ToObjectValue() and Type().
type EnforcePolicyComplianceResponse_SdkV2 ¶ added in v1.62.1
type EnforcePolicyComplianceResponse_SdkV2 struct { // Whether any changes have been made to the job cluster settings for the // job to become compliant with its policies. HasChanges types.Bool `tfsdk:"has_changes"` // A list of job cluster changes that have been made to the job’s cluster // settings in order for all job clusters to become compliant with their // policies. JobClusterChanges types.List `tfsdk:"job_cluster_changes"` // Updated job settings after policy enforcement. Policy enforcement only // applies to job clusters that are created when running the job (which are // specified in new_cluster) and does not apply to existing all-purpose // clusters. Updated job settings are derived by applying policy default // values to the existing job clusters in order to satisfy policy // requirements. Settings types.List `tfsdk:"settings"` }
func (EnforcePolicyComplianceResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforcePolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforcePolicyComplianceResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EnforcePolicyComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforcePolicyComplianceResponse_SdkV2) GetJobClusterChanges ¶ added in v1.62.1
func (o *EnforcePolicyComplianceResponse_SdkV2) GetJobClusterChanges(ctx context.Context) ([]EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2, bool)
GetJobClusterChanges returns the value of the JobClusterChanges field in EnforcePolicyComplianceResponse_SdkV2 as a slice of EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*EnforcePolicyComplianceResponse_SdkV2) GetSettings ¶ added in v1.62.1
func (o *EnforcePolicyComplianceResponse_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
GetSettings returns the value of the Settings field in EnforcePolicyComplianceResponse_SdkV2 as a JobSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EnforcePolicyComplianceResponse_SdkV2) SetJobClusterChanges ¶ added in v1.62.1
func (o *EnforcePolicyComplianceResponse_SdkV2) SetJobClusterChanges(ctx context.Context, v []EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2)
SetJobClusterChanges sets the value of the JobClusterChanges field in EnforcePolicyComplianceResponse_SdkV2.
func (*EnforcePolicyComplianceResponse_SdkV2) SetSettings ¶ added in v1.62.1
func (o *EnforcePolicyComplianceResponse_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
SetSettings sets the value of the Settings field in EnforcePolicyComplianceResponse_SdkV2.
func (*EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforcePolicyComplianceResponse_SdkV2)
func (*EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse_SdkV2)
func (EnforcePolicyComplianceResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EnforcePolicyComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforcePolicyComplianceResponse_SdkV2 only implements ToObjectValue() and Type().
type ExportRunOutput ¶
type ExportRunOutput struct { // The exported content in HTML format (one for every view item). To extract // the HTML notebook from the JSON response, download and run this [Python // script]. // // [Python script]: https://docs.databricks.com/en/_static/examples/extract.py Views types.List `tfsdk:"views"` }
Run was exported successfully.
func (ExportRunOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ExportRunOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ExportRunOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExportRunOutput) GetViews ¶ added in v1.61.0
func (o *ExportRunOutput) GetViews(ctx context.Context) ([]ViewItem, bool)
GetViews returns the value of the Views field in ExportRunOutput as a slice of ViewItem values. If the field is unknown or null, the boolean return value is false.
func (*ExportRunOutput) SetViews ¶ added in v1.61.0
func (o *ExportRunOutput) SetViews(ctx context.Context, v []ViewItem)
SetViews sets the value of the Views field in ExportRunOutput.
func (*ExportRunOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExportRunOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunOutput)
func (*ExportRunOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExportRunOutput) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput)
func (ExportRunOutput) ToObjectValue ¶ added in v1.61.0
func (o ExportRunOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportRunOutput only implements ToObjectValue() and Type().
type ExportRunOutput_SdkV2 ¶ added in v1.62.1
type ExportRunOutput_SdkV2 struct { // The exported content in HTML format (one for every view item). To extract // the HTML notebook from the JSON response, download and run this [Python // script]. // // [Python script]: https://docs.databricks.com/en/_static/examples/extract.py Views types.List `tfsdk:"views"` }
Run was exported successfully.
func (ExportRunOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ExportRunOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ExportRunOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExportRunOutput_SdkV2) GetViews ¶ added in v1.62.1
func (o *ExportRunOutput_SdkV2) GetViews(ctx context.Context) ([]ViewItem_SdkV2, bool)
GetViews returns the value of the Views field in ExportRunOutput_SdkV2 as a slice of ViewItem_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ExportRunOutput_SdkV2) SetViews ¶ added in v1.62.1
func (o *ExportRunOutput_SdkV2) SetViews(ctx context.Context, v []ViewItem_SdkV2)
SetViews sets the value of the Views field in ExportRunOutput_SdkV2.
func (*ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunOutput_SdkV2)
func (*ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput_SdkV2)
func (ExportRunOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ExportRunOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportRunOutput_SdkV2 only implements ToObjectValue() and Type().
type ExportRunRequest ¶
type ExportRunRequest struct { // The canonical identifier for the run. This field is required. RunId types.Int64 `tfsdk:"-"` // Which views to export (CODE, DASHBOARDS, or ALL). Defaults to CODE. ViewsToExport types.String `tfsdk:"-"` }
Export and retrieve a job run
func (ExportRunRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ExportRunRequest) ToObjectValue ¶ added in v1.61.0
func (o ExportRunRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportRunRequest only implements ToObjectValue() and Type().
type ExportRunRequest_SdkV2 ¶ added in v1.62.1
type ExportRunRequest_SdkV2 struct { // The canonical identifier for the run. This field is required. RunId types.Int64 `tfsdk:"-"` // Which views to export (CODE, DASHBOARDS, or ALL). Defaults to CODE. ViewsToExport types.String `tfsdk:"-"` }
Export and retrieve a job run
func (ExportRunRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ExportRunRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ExportRunRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportRunRequest_SdkV2 only implements ToObjectValue() and Type().
type FileArrivalTriggerConfiguration ¶
type FileArrivalTriggerConfiguration struct { // If set, the trigger starts a run only after the specified amount of time // passed since the last time the trigger fired. The minimum allowed value // is 60 seconds MinTimeBetweenTriggersSeconds types.Int64 `tfsdk:"min_time_between_triggers_seconds"` // URL to be monitored for file arrivals. The path must point to the root or // a subpath of the external location. Url types.String `tfsdk:"url"` // If set, the trigger starts a run only after no file activity has occurred // for the specified amount of time. This makes it possible to wait for a // batch of incoming files to arrive before triggering a run. The minimum // allowed value is 60 seconds. WaitAfterLastChangeSeconds types.Int64 `tfsdk:"wait_after_last_change_seconds"` }
func (FileArrivalTriggerConfiguration) ApplySchemaCustomizations ¶ added in v1.63.0
func (c FileArrivalTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (FileArrivalTriggerConfiguration) GetComplexFieldTypes ¶ added in v1.61.0
func (a FileArrivalTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in FileArrivalTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileArrivalTriggerConfiguration)
func (*FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration)
func (FileArrivalTriggerConfiguration) ToObjectValue ¶ added in v1.61.0
func (o FileArrivalTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, FileArrivalTriggerConfiguration only implements ToObjectValue() and Type().
type FileArrivalTriggerConfiguration_SdkV2 ¶ added in v1.62.1
type FileArrivalTriggerConfiguration_SdkV2 struct { // If set, the trigger starts a run only after the specified amount of time // passed since the last time the trigger fired. The minimum allowed value // is 60 seconds MinTimeBetweenTriggersSeconds types.Int64 `tfsdk:"min_time_between_triggers_seconds"` // URL to be monitored for file arrivals. The path must point to the root or // a subpath of the external location. Url types.String `tfsdk:"url"` // If set, the trigger starts a run only after no file activity has occurred // for the specified amount of time. This makes it possible to wait for a // batch of incoming files to arrive before triggering a run. The minimum // allowed value is 60 seconds. WaitAfterLastChangeSeconds types.Int64 `tfsdk:"wait_after_last_change_seconds"` }
func (FileArrivalTriggerConfiguration_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c FileArrivalTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (FileArrivalTriggerConfiguration_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a FileArrivalTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in FileArrivalTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileArrivalTriggerConfiguration_SdkV2)
func (*FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration_SdkV2)
func (FileArrivalTriggerConfiguration_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o FileArrivalTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, FileArrivalTriggerConfiguration_SdkV2 only implements ToObjectValue() and Type().
type ForEachStats ¶
type ForEachStats struct { // Sample of 3 most common error messages occurred during the iteration. ErrorMessageStats types.List `tfsdk:"error_message_stats"` // Describes stats of the iteration. Only latest retries are considered. TaskRunStats types.Object `tfsdk:"task_run_stats"` }
func (ForEachStats) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachStats) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachStats) GetErrorMessageStats ¶ added in v1.61.0
func (o *ForEachStats) GetErrorMessageStats(ctx context.Context) ([]ForEachTaskErrorMessageStats, bool)
GetErrorMessageStats returns the value of the ErrorMessageStats field in ForEachStats as a slice of ForEachTaskErrorMessageStats values. If the field is unknown or null, the boolean return value is false.
func (*ForEachStats) GetTaskRunStats ¶ added in v1.61.0
func (o *ForEachStats) GetTaskRunStats(ctx context.Context) (ForEachTaskTaskRunStats, bool)
GetTaskRunStats returns the value of the TaskRunStats field in ForEachStats as a ForEachTaskTaskRunStats value. If the field is unknown or null, the boolean return value is false.
func (*ForEachStats) SetErrorMessageStats ¶ added in v1.61.0
func (o *ForEachStats) SetErrorMessageStats(ctx context.Context, v []ForEachTaskErrorMessageStats)
SetErrorMessageStats sets the value of the ErrorMessageStats field in ForEachStats.
func (*ForEachStats) SetTaskRunStats ¶ added in v1.61.0
func (o *ForEachStats) SetTaskRunStats(ctx context.Context, v ForEachTaskTaskRunStats)
SetTaskRunStats sets the value of the TaskRunStats field in ForEachStats.
func (*ForEachStats) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ForEachStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachStats)
func (*ForEachStats) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ForEachStats) SyncEffectiveFieldsDuringRead(existingState ForEachStats)
func (ForEachStats) ToObjectValue ¶ added in v1.61.0
func (o ForEachStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachStats only implements ToObjectValue() and Type().
type ForEachStats_SdkV2 ¶ added in v1.62.1
type ForEachStats_SdkV2 struct { // Sample of 3 most common error messages occurred during the iteration. ErrorMessageStats types.List `tfsdk:"error_message_stats"` // Describes stats of the iteration. Only latest retries are considered. TaskRunStats types.List `tfsdk:"task_run_stats"` }
func (ForEachStats_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachStats_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachStats_SdkV2) GetErrorMessageStats ¶ added in v1.62.1
func (o *ForEachStats_SdkV2) GetErrorMessageStats(ctx context.Context) ([]ForEachTaskErrorMessageStats_SdkV2, bool)
GetErrorMessageStats returns the value of the ErrorMessageStats field in ForEachStats_SdkV2 as a slice of ForEachTaskErrorMessageStats_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ForEachStats_SdkV2) GetTaskRunStats ¶ added in v1.62.1
func (o *ForEachStats_SdkV2) GetTaskRunStats(ctx context.Context) (ForEachTaskTaskRunStats_SdkV2, bool)
GetTaskRunStats returns the value of the TaskRunStats field in ForEachStats_SdkV2 as a ForEachTaskTaskRunStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ForEachStats_SdkV2) SetErrorMessageStats ¶ added in v1.62.1
func (o *ForEachStats_SdkV2) SetErrorMessageStats(ctx context.Context, v []ForEachTaskErrorMessageStats_SdkV2)
SetErrorMessageStats sets the value of the ErrorMessageStats field in ForEachStats_SdkV2.
func (*ForEachStats_SdkV2) SetTaskRunStats ¶ added in v1.62.1
func (o *ForEachStats_SdkV2) SetTaskRunStats(ctx context.Context, v ForEachTaskTaskRunStats_SdkV2)
SetTaskRunStats sets the value of the TaskRunStats field in ForEachStats_SdkV2.
func (*ForEachStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachStats_SdkV2)
func (*ForEachStats_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachStats_SdkV2)
func (ForEachStats_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ForEachStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachStats_SdkV2 only implements ToObjectValue() and Type().
type ForEachTask ¶
type ForEachTask struct { // An optional maximum allowed number of concurrent runs of the task. Set // this value if you want to be able to execute multiple runs of the task // concurrently. Concurrency types.Int64 `tfsdk:"concurrency"` // Array for task to iterate on. This can be a JSON string or a reference to // an array parameter. Inputs types.String `tfsdk:"inputs"` // Configuration for the task that will be run for each element in the array Task types.Object `tfsdk:"task"` }
func (ForEachTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTask) GetTask ¶ added in v1.61.0
func (o *ForEachTask) GetTask(ctx context.Context) (Task, bool)
GetTask returns the value of the Task field in ForEachTask as a Task value. If the field is unknown or null, the boolean return value is false.
func (*ForEachTask) SetTask ¶ added in v1.61.0
func (o *ForEachTask) SetTask(ctx context.Context, v Task)
SetTask sets the value of the Task field in ForEachTask.
func (*ForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTask)
func (*ForEachTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ForEachTask) SyncEffectiveFieldsDuringRead(existingState ForEachTask)
func (ForEachTask) ToObjectValue ¶ added in v1.61.0
func (o ForEachTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTask only implements ToObjectValue() and Type().
type ForEachTaskErrorMessageStats ¶
type ForEachTaskErrorMessageStats struct { // Describes the count of such error message encountered during the // iterations. Count types.Int64 `tfsdk:"count"` // Describes the error message occured during the iterations. ErrorMessage types.String `tfsdk:"error_message"` // Describes the termination reason for the error message. TerminationCategory types.String `tfsdk:"termination_category"` }
func (ForEachTaskErrorMessageStats) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTaskErrorMessageStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTaskErrorMessageStats) GetComplexFieldTypes ¶ added in v1.61.0
func (a ForEachTaskErrorMessageStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskErrorMessageStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskErrorMessageStats)
func (*ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats)
func (ForEachTaskErrorMessageStats) ToObjectValue ¶ added in v1.61.0
func (o ForEachTaskErrorMessageStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTaskErrorMessageStats only implements ToObjectValue() and Type().
type ForEachTaskErrorMessageStats_SdkV2 ¶ added in v1.62.1
type ForEachTaskErrorMessageStats_SdkV2 struct { // Describes the count of such error message encountered during the // iterations. Count types.Int64 `tfsdk:"count"` // Describes the error message occured during the iterations. ErrorMessage types.String `tfsdk:"error_message"` // Describes the termination reason for the error message. TerminationCategory types.String `tfsdk:"termination_category"` }
func (ForEachTaskErrorMessageStats_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTaskErrorMessageStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTaskErrorMessageStats_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ForEachTaskErrorMessageStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskErrorMessageStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskErrorMessageStats_SdkV2)
func (*ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats_SdkV2)
func (ForEachTaskErrorMessageStats_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ForEachTaskErrorMessageStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTaskErrorMessageStats_SdkV2 only implements ToObjectValue() and Type().
type ForEachTaskTaskRunStats ¶
type ForEachTaskTaskRunStats struct { // Describes the iteration runs having an active lifecycle state or an // active run sub state. ActiveIterations types.Int64 `tfsdk:"active_iterations"` // Describes the number of failed and succeeded iteration runs. CompletedIterations types.Int64 `tfsdk:"completed_iterations"` // Describes the number of failed iteration runs. FailedIterations types.Int64 `tfsdk:"failed_iterations"` // Describes the number of iteration runs that have been scheduled. ScheduledIterations types.Int64 `tfsdk:"scheduled_iterations"` // Describes the number of succeeded iteration runs. SucceededIterations types.Int64 `tfsdk:"succeeded_iterations"` // Describes the length of the list of items to iterate over. TotalIterations types.Int64 `tfsdk:"total_iterations"` }
func (ForEachTaskTaskRunStats) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTaskTaskRunStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTaskTaskRunStats) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskTaskRunStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskTaskRunStats)
func (*ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats)
func (ForEachTaskTaskRunStats) ToObjectValue ¶ added in v1.61.0
func (o ForEachTaskTaskRunStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTaskTaskRunStats only implements ToObjectValue() and Type().
type ForEachTaskTaskRunStats_SdkV2 ¶ added in v1.62.1
type ForEachTaskTaskRunStats_SdkV2 struct { // Describes the iteration runs having an active lifecycle state or an // active run sub state. ActiveIterations types.Int64 `tfsdk:"active_iterations"` // Describes the number of failed and succeeded iteration runs. CompletedIterations types.Int64 `tfsdk:"completed_iterations"` // Describes the number of failed iteration runs. FailedIterations types.Int64 `tfsdk:"failed_iterations"` // Describes the number of iteration runs that have been scheduled. ScheduledIterations types.Int64 `tfsdk:"scheduled_iterations"` // Describes the number of succeeded iteration runs. SucceededIterations types.Int64 `tfsdk:"succeeded_iterations"` // Describes the length of the list of items to iterate over. TotalIterations types.Int64 `tfsdk:"total_iterations"` }
func (ForEachTaskTaskRunStats_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTaskTaskRunStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTaskTaskRunStats_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ForEachTaskTaskRunStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskTaskRunStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTaskTaskRunStats_SdkV2)
func (*ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats_SdkV2)
func (ForEachTaskTaskRunStats_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ForEachTaskTaskRunStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTaskTaskRunStats_SdkV2 only implements ToObjectValue() and Type().
type ForEachTask_SdkV2 ¶ added in v1.62.1
type ForEachTask_SdkV2 struct { // An optional maximum allowed number of concurrent runs of the task. Set // this value if you want to be able to execute multiple runs of the task // concurrently. Concurrency types.Int64 `tfsdk:"concurrency"` // Array for task to iterate on. This can be a JSON string or a reference to // an array parameter. Inputs types.String `tfsdk:"inputs"` // Configuration for the task that will be run for each element in the array Task types.List `tfsdk:"task"` }
func (ForEachTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ForEachTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ForEachTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ForEachTask_SdkV2) GetTask ¶ added in v1.62.1
func (o *ForEachTask_SdkV2) GetTask(ctx context.Context) (Task_SdkV2, bool)
GetTask returns the value of the Task field in ForEachTask_SdkV2 as a Task_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ForEachTask_SdkV2) SetTask ¶ added in v1.62.1
func (o *ForEachTask_SdkV2) SetTask(ctx context.Context, v Task_SdkV2)
SetTask sets the value of the Task field in ForEachTask_SdkV2.
func (*ForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEachTask_SdkV2)
func (*ForEachTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTask_SdkV2)
func (ForEachTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ForEachTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ForEachTask_SdkV2 only implements ToObjectValue() and Type().
type GetJobPermissionLevelsRequest ¶
type GetJobPermissionLevelsRequest struct { // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
Get job permission levels
func (GetJobPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetJobPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetJobPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetJobPermissionLevelsRequest_SdkV2 ¶ added in v1.62.1
type GetJobPermissionLevelsRequest_SdkV2 struct { // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
Get job permission levels
func (GetJobPermissionLevelsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetJobPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobPermissionLevelsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetJobPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetJobPermissionLevelsResponse ¶
type GetJobPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetJobPermissionLevelsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetJobPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetJobPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetJobPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetJobPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetJobPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]JobPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetJobPermissionLevelsResponse as a slice of JobPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetJobPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetJobPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []JobPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetJobPermissionLevelsResponse.
func (*GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsResponse)
func (*GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse)
func (GetJobPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetJobPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetJobPermissionLevelsResponse_SdkV2 ¶ added in v1.62.1
type GetJobPermissionLevelsResponse_SdkV2 struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetJobPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetJobPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetJobPermissionLevelsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetJobPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetJobPermissionLevelsResponse_SdkV2) GetPermissionLevels ¶ added in v1.62.1
func (o *GetJobPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]JobPermissionsDescription_SdkV2, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetJobPermissionLevelsResponse_SdkV2 as a slice of JobPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetJobPermissionLevelsResponse_SdkV2) SetPermissionLevels ¶ added in v1.62.1
func (o *GetJobPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []JobPermissionsDescription_SdkV2)
SetPermissionLevels sets the value of the PermissionLevels field in GetJobPermissionLevelsResponse_SdkV2.
func (*GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsResponse_SdkV2)
func (*GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse_SdkV2)
func (GetJobPermissionLevelsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetJobPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().
type GetJobPermissionsRequest ¶
type GetJobPermissionsRequest struct { // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
Get job permissions
func (GetJobPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetJobPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionsRequest only implements ToObjectValue() and Type().
type GetJobPermissionsRequest_SdkV2 ¶ added in v1.62.1
type GetJobPermissionsRequest_SdkV2 struct { // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
Get job permissions
func (GetJobPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetJobPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetJobPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetJobRequest ¶
type GetJobRequest struct { // The canonical identifier of the job to retrieve information about. This // field is required. JobId types.Int64 `tfsdk:"-"` // Use `next_page_token` returned from the previous GetJob to request the // next page of the job's sub-resources. PageToken types.String `tfsdk:"-"` }
Get a single job
func (GetJobRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobRequest) ToObjectValue ¶ added in v1.61.0
func (o GetJobRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobRequest only implements ToObjectValue() and Type().
type GetJobRequest_SdkV2 ¶ added in v1.62.1
type GetJobRequest_SdkV2 struct { // The canonical identifier of the job to retrieve information about. This // field is required. JobId types.Int64 `tfsdk:"-"` // Use `next_page_token` returned from the previous GetJob to request the // next page of the job's sub-resources. PageToken types.String `tfsdk:"-"` }
Get a single job
func (GetJobRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetJobRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetJobRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetJobRequest_SdkV2 only implements ToObjectValue() and Type().
type GetPolicyComplianceRequest ¶
type GetPolicyComplianceRequest struct { // The ID of the job whose compliance status you are requesting. JobId types.Int64 `tfsdk:"-"` }
Get job policy compliance
func (GetPolicyComplianceRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetPolicyComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetPolicyComplianceRequest) ToObjectValue ¶ added in v1.61.0
func (o GetPolicyComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyComplianceRequest only implements ToObjectValue() and Type().
type GetPolicyComplianceRequest_SdkV2 ¶ added in v1.62.1
type GetPolicyComplianceRequest_SdkV2 struct { // The ID of the job whose compliance status you are requesting. JobId types.Int64 `tfsdk:"-"` }
Get job policy compliance
func (GetPolicyComplianceRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetPolicyComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetPolicyComplianceRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetPolicyComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyComplianceRequest_SdkV2 only implements ToObjectValue() and Type().
type GetPolicyComplianceResponse ¶
type GetPolicyComplianceResponse struct { // Whether the job is compliant with its policies or not. Jobs could be out // of compliance if a policy they are using was updated after the job was // last edited and some of its job clusters no longer comply with their // updated policies. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. An identifier for the job cluster is prepended to the // path. The values indicate an error message describing the policy // validation error. Violations types.Map `tfsdk:"violations"` }
func (GetPolicyComplianceResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetPolicyComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetPolicyComplianceResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetPolicyComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPolicyComplianceResponse) GetViolations ¶ added in v1.61.0
func (o *GetPolicyComplianceResponse) GetViolations(ctx context.Context) (map[string]types.String, bool)
GetViolations returns the value of the Violations field in GetPolicyComplianceResponse as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetPolicyComplianceResponse) SetViolations ¶ added in v1.61.0
SetViolations sets the value of the Violations field in GetPolicyComplianceResponse.
func (*GetPolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceResponse)
func (*GetPolicyComplianceResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse)
func (GetPolicyComplianceResponse) ToObjectValue ¶ added in v1.61.0
func (o GetPolicyComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyComplianceResponse only implements ToObjectValue() and Type().
type GetPolicyComplianceResponse_SdkV2 ¶ added in v1.62.1
type GetPolicyComplianceResponse_SdkV2 struct { // Whether the job is compliant with its policies or not. Jobs could be out // of compliance if a policy they are using was updated after the job was // last edited and some of its job clusters no longer comply with their // updated policies. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. An identifier for the job cluster is prepended to the // path. The values indicate an error message describing the policy // validation error. Violations types.Map `tfsdk:"violations"` }
func (GetPolicyComplianceResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetPolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetPolicyComplianceResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetPolicyComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPolicyComplianceResponse_SdkV2) GetViolations ¶ added in v1.62.1
func (o *GetPolicyComplianceResponse_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
GetViolations returns the value of the Violations field in GetPolicyComplianceResponse_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetPolicyComplianceResponse_SdkV2) SetViolations ¶ added in v1.62.1
func (o *GetPolicyComplianceResponse_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
SetViolations sets the value of the Violations field in GetPolicyComplianceResponse_SdkV2.
func (*GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceResponse_SdkV2)
func (*GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse_SdkV2)
func (GetPolicyComplianceResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetPolicyComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyComplianceResponse_SdkV2 only implements ToObjectValue() and Type().
type GetRunOutputRequest ¶
type GetRunOutputRequest struct { // The canonical identifier for the run. RunId types.Int64 `tfsdk:"-"` }
Get the output for a single run
func (GetRunOutputRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunOutputRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetRunOutputRequest) ToObjectValue ¶ added in v1.61.0
func (o GetRunOutputRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRunOutputRequest only implements ToObjectValue() and Type().
type GetRunOutputRequest_SdkV2 ¶ added in v1.62.1
type GetRunOutputRequest_SdkV2 struct { // The canonical identifier for the run. RunId types.Int64 `tfsdk:"-"` }
Get the output for a single run
func (GetRunOutputRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetRunOutputRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunOutputRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetRunOutputRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetRunOutputRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRunOutputRequest_SdkV2 only implements ToObjectValue() and Type().
type GetRunRequest ¶
type GetRunRequest struct { // Whether to include the repair history in the response. IncludeHistory types.Bool `tfsdk:"-"` // Whether to include resolved parameter values in the response. IncludeResolvedValues types.Bool `tfsdk:"-"` // Use `next_page_token` returned from the previous GetRun to request the // next page of the run's sub-resources. PageToken types.String `tfsdk:"-"` // The canonical identifier of the run for which to retrieve the metadata. // This field is required. RunId types.Int64 `tfsdk:"-"` }
Get a single job run
func (GetRunRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetRunRequest) ToObjectValue ¶ added in v1.61.0
func (o GetRunRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRunRequest only implements ToObjectValue() and Type().
type GetRunRequest_SdkV2 ¶ added in v1.62.1
type GetRunRequest_SdkV2 struct { // Whether to include the repair history in the response. IncludeHistory types.Bool `tfsdk:"-"` // Whether to include resolved parameter values in the response. IncludeResolvedValues types.Bool `tfsdk:"-"` // Use `next_page_token` returned from the previous GetRun to request the // next page of the run's sub-resources. PageToken types.String `tfsdk:"-"` // The canonical identifier of the run for which to retrieve the metadata. // This field is required. RunId types.Int64 `tfsdk:"-"` }
Get a single job run
func (GetRunRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetRunRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetRunRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRunRequest_SdkV2 only implements ToObjectValue() and Type().
type GitSnapshot ¶
type GitSnapshot struct { // Commit that was used to execute the run. If git_branch was specified, // this points to the HEAD of the branch at the time of the run; if git_tag // was specified, this points to the commit the tag points to. UsedCommit types.String `tfsdk:"used_commit"` }
Read-only state of the remote repository at the time the job was run. This field is only included on job runs.
func (GitSnapshot) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GitSnapshot) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GitSnapshot) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSnapshot. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GitSnapshot) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GitSnapshot) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSnapshot)
func (*GitSnapshot) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GitSnapshot) SyncEffectiveFieldsDuringRead(existingState GitSnapshot)
func (GitSnapshot) ToObjectValue ¶ added in v1.61.0
func (o GitSnapshot) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GitSnapshot only implements ToObjectValue() and Type().
type GitSnapshot_SdkV2 ¶ added in v1.62.1
type GitSnapshot_SdkV2 struct { // Commit that was used to execute the run. If git_branch was specified, // this points to the HEAD of the branch at the time of the run; if git_tag // was specified, this points to the commit the tag points to. UsedCommit types.String `tfsdk:"used_commit"` }
Read-only state of the remote repository at the time the job was run. This field is only included on job runs.
func (GitSnapshot_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GitSnapshot_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GitSnapshot_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSnapshot. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GitSnapshot_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSnapshot_SdkV2)
func (*GitSnapshot_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSnapshot_SdkV2)
func (GitSnapshot_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GitSnapshot_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GitSnapshot_SdkV2 only implements ToObjectValue() and Type().
type GitSource ¶
type GitSource struct { // Name of the branch to be checked out and used by this job. This field // cannot be specified in conjunction with git_tag or git_commit. GitBranch types.String `tfsdk:"branch"` // Commit to be checked out and used by this job. This field cannot be // specified in conjunction with git_branch or git_tag. GitCommit types.String `tfsdk:"commit"` // Unique identifier of the service used to host the Git repository. The // value is case insensitive. GitProvider types.String `tfsdk:"git_provider"` // Read-only state of the remote repository at the time the job was run. // This field is only included on job runs. GitSnapshot types.Object `tfsdk:"git_snapshot"` // Name of the tag to be checked out and used by this job. This field cannot // be specified in conjunction with git_branch or git_commit. GitTag types.String `tfsdk:"tag"` // URL of the repository to be cloned by this job. GitUrl types.String `tfsdk:"url"` // The source of the job specification in the remote repository when the job // is source controlled. JobSource types.Object `tfsdk:"job_source"` }
An optional specification for a remote Git repository containing the source code used by tasks. Version-controlled source code is supported by notebook, dbt, Python script, and SQL File tasks.
If `git_source` is set, these tasks retrieve the file from the remote repository by default. However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task.
Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File tasks are used, `git_source` must be defined on the job.
func (GitSource) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GitSource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GitSource) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GitSource) GetGitSnapshot ¶ added in v1.61.0
func (o *GitSource) GetGitSnapshot(ctx context.Context) (GitSnapshot, bool)
GetGitSnapshot returns the value of the GitSnapshot field in GitSource as a GitSnapshot value. If the field is unknown or null, the boolean return value is false.
func (*GitSource) GetJobSource ¶ added in v1.61.0
GetJobSource returns the value of the JobSource field in GitSource as a JobSource value. If the field is unknown or null, the boolean return value is false.
func (*GitSource) SetGitSnapshot ¶ added in v1.61.0
func (o *GitSource) SetGitSnapshot(ctx context.Context, v GitSnapshot)
SetGitSnapshot sets the value of the GitSnapshot field in GitSource.
func (*GitSource) SetJobSource ¶ added in v1.61.0
SetJobSource sets the value of the JobSource field in GitSource.
func (*GitSource) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*GitSource) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (GitSource) ToObjectValue ¶ added in v1.61.0
func (o GitSource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GitSource only implements ToObjectValue() and Type().
type GitSource_SdkV2 ¶ added in v1.62.1
type GitSource_SdkV2 struct { // Name of the branch to be checked out and used by this job. This field // cannot be specified in conjunction with git_tag or git_commit. GitBranch types.String `tfsdk:"branch"` // Commit to be checked out and used by this job. This field cannot be // specified in conjunction with git_branch or git_tag. GitCommit types.String `tfsdk:"commit"` // Unique identifier of the service used to host the Git repository. The // value is case insensitive. GitProvider types.String `tfsdk:"git_provider"` // Read-only state of the remote repository at the time the job was run. // This field is only included on job runs. GitSnapshot types.List `tfsdk:"git_snapshot"` // Name of the tag to be checked out and used by this job. This field cannot // be specified in conjunction with git_branch or git_commit. GitTag types.String `tfsdk:"tag"` // URL of the repository to be cloned by this job. GitUrl types.String `tfsdk:"url"` // The source of the job specification in the remote repository when the job // is source controlled. JobSource types.List `tfsdk:"job_source"` }
An optional specification for a remote Git repository containing the source code used by tasks. Version-controlled source code is supported by notebook, dbt, Python script, and SQL File tasks.
If `git_source` is set, these tasks retrieve the file from the remote repository by default. However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task.
Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File tasks are used, `git_source` must be defined on the job.
func (GitSource_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GitSource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GitSource_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GitSource_SdkV2) GetGitSnapshot ¶ added in v1.62.1
func (o *GitSource_SdkV2) GetGitSnapshot(ctx context.Context) (GitSnapshot_SdkV2, bool)
GetGitSnapshot returns the value of the GitSnapshot field in GitSource_SdkV2 as a GitSnapshot_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GitSource_SdkV2) GetJobSource ¶ added in v1.62.1
func (o *GitSource_SdkV2) GetJobSource(ctx context.Context) (JobSource_SdkV2, bool)
GetJobSource returns the value of the JobSource field in GitSource_SdkV2 as a JobSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GitSource_SdkV2) SetGitSnapshot ¶ added in v1.62.1
func (o *GitSource_SdkV2) SetGitSnapshot(ctx context.Context, v GitSnapshot_SdkV2)
SetGitSnapshot sets the value of the GitSnapshot field in GitSource_SdkV2.
func (*GitSource_SdkV2) SetJobSource ¶ added in v1.62.1
func (o *GitSource_SdkV2) SetJobSource(ctx context.Context, v JobSource_SdkV2)
SetJobSource sets the value of the JobSource field in GitSource_SdkV2.
func (*GitSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSource_SdkV2)
func (*GitSource_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSource_SdkV2)
func (GitSource_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GitSource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GitSource_SdkV2 only implements ToObjectValue() and Type().
type Job ¶
type Job struct { // The time at which this job was created in epoch milliseconds // (milliseconds since 1/1/1970 UTC). CreatedTime types.Int64 `tfsdk:"created_time"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // The id of the budget policy used by this job for cost attribution // purposes. This may be set through (in order of precedence): 1. Budget // admins through the account or workspace console 2. Jobs UI in the job // details page and Jobs API using `budget_policy_id` 3. Inferred default // based on accessible budget policies of the run_as identity on job // creation or modification. EffectiveBudgetPolicyId types.String `tfsdk:"effective_budget_policy_id"` // Indicates if the job has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/get endpoint. // It is only relevant for API 2.2 :method:jobs/list requests with // `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // The canonical identifier for this job. JobId types.Int64 `tfsdk:"job_id"` // A token that can be used to list the next page of sub-resources. NextPageToken types.String `tfsdk:"next_page_token"` // The email of an active workspace user or the application ID of a service // principal that the job runs as. This value can be changed by setting the // `run_as` field when creating or updating a job. // // By default, `run_as_user_name` is based on the current job settings and // is set to the creator of the job if job access control is disabled or to // the user with the `is_owner` permission if job access control is enabled. RunAsUserName types.String `tfsdk:"run_as_user_name"` // Settings for this job and all of its runs. These settings can be updated // using the `resetJob` method. Settings types.Object `tfsdk:"settings"` }
Job was retrieved successfully.
func (Job) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Job) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Job) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Job. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Job) GetSettings ¶ added in v1.61.0
func (o *Job) GetSettings(ctx context.Context) (JobSettings, bool)
GetSettings returns the value of the Settings field in Job as a JobSettings value. If the field is unknown or null, the boolean return value is false.
func (*Job) SetSettings ¶ added in v1.61.0
func (o *Job) SetSettings(ctx context.Context, v JobSettings)
SetSettings sets the value of the Settings field in Job.
func (*Job) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Job) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Job) ToObjectValue ¶ added in v1.61.0
func (o Job) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Job only implements ToObjectValue() and Type().
type JobAccessControlRequest ¶
type JobAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (JobAccessControlRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlRequest)
func (*JobAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest)
func (JobAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o JobAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobAccessControlRequest only implements ToObjectValue() and Type().
type JobAccessControlRequest_SdkV2 ¶ added in v1.62.1
type JobAccessControlRequest_SdkV2 struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (JobAccessControlRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobAccessControlRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlRequest_SdkV2)
func (*JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest_SdkV2)
func (JobAccessControlRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().
type JobAccessControlResponse ¶
type JobAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (JobAccessControlResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *JobAccessControlResponse) GetAllPermissions(ctx context.Context) ([]JobPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in JobAccessControlResponse as a slice of JobPermission values. If the field is unknown or null, the boolean return value is false.
func (JobAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *JobAccessControlResponse) SetAllPermissions(ctx context.Context, v []JobPermission)
SetAllPermissions sets the value of the AllPermissions field in JobAccessControlResponse.
func (*JobAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlResponse)
func (*JobAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse)
func (JobAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o JobAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobAccessControlResponse only implements ToObjectValue() and Type().
type JobAccessControlResponse_SdkV2 ¶ added in v1.62.1
type JobAccessControlResponse_SdkV2 struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (JobAccessControlResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobAccessControlResponse_SdkV2) GetAllPermissions ¶ added in v1.62.1
func (o *JobAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]JobPermission_SdkV2, bool)
GetAllPermissions returns the value of the AllPermissions field in JobAccessControlResponse_SdkV2 as a slice of JobPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (JobAccessControlResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobAccessControlResponse_SdkV2) SetAllPermissions ¶ added in v1.62.1
func (o *JobAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []JobPermission_SdkV2)
SetAllPermissions sets the value of the AllPermissions field in JobAccessControlResponse_SdkV2.
func (*JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobAccessControlResponse_SdkV2)
func (*JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse_SdkV2)
func (JobAccessControlResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().
type JobCluster ¶
type JobCluster struct { // A unique name for the job cluster. This field is required and must be // unique within the job. `JobTaskSettings` may refer to this field to // determine which cluster to launch for the task execution. JobClusterKey types.String `tfsdk:"job_cluster_key"` // If new_cluster, a description of a cluster that is created for each task. NewCluster types.Object `tfsdk:"new_cluster"` }
func (JobCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobCluster) GetNewCluster ¶ added in v1.61.0
func (o *JobCluster) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
GetNewCluster returns the value of the NewCluster field in JobCluster as a compute_tf.ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*JobCluster) SetNewCluster ¶ added in v1.61.0
func (o *JobCluster) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
SetNewCluster sets the value of the NewCluster field in JobCluster.
func (*JobCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCluster)
func (*JobCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobCluster) SyncEffectiveFieldsDuringRead(existingState JobCluster)
func (JobCluster) ToObjectValue ¶ added in v1.61.0
func (o JobCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobCluster only implements ToObjectValue() and Type().
type JobCluster_SdkV2 ¶ added in v1.62.1
type JobCluster_SdkV2 struct { // A unique name for the job cluster. This field is required and must be // unique within the job. `JobTaskSettings` may refer to this field to // determine which cluster to launch for the task execution. JobClusterKey types.String `tfsdk:"job_cluster_key"` // If new_cluster, a description of a cluster that is created for each task. NewCluster types.List `tfsdk:"new_cluster"` }
func (JobCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobCluster_SdkV2) GetNewCluster ¶ added in v1.62.1
func (o *JobCluster_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
GetNewCluster returns the value of the NewCluster field in JobCluster_SdkV2 as a compute_tf.ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobCluster_SdkV2) SetNewCluster ¶ added in v1.62.1
func (o *JobCluster_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
SetNewCluster sets the value of the NewCluster field in JobCluster_SdkV2.
func (*JobCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCluster_SdkV2)
func (*JobCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCluster_SdkV2)
func (JobCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobCluster_SdkV2 only implements ToObjectValue() and Type().
type JobCompliance ¶
type JobCompliance struct { // Whether this job is in compliance with the latest version of its policy. IsCompliant types.Bool `tfsdk:"is_compliant"` // Canonical unique identifier for a job. JobId types.Int64 `tfsdk:"job_id"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. An identifier for the job cluster is prepended to the // path. The values indicate an error message describing the policy // validation error. Violations types.Map `tfsdk:"violations"` }
func (JobCompliance) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobCompliance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobCompliance) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCompliance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobCompliance) GetViolations ¶ added in v1.61.0
GetViolations returns the value of the Violations field in JobCompliance as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobCompliance) SetViolations ¶ added in v1.61.0
SetViolations sets the value of the Violations field in JobCompliance.
func (*JobCompliance) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCompliance)
func (*JobCompliance) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobCompliance) SyncEffectiveFieldsDuringRead(existingState JobCompliance)
func (JobCompliance) ToObjectValue ¶ added in v1.61.0
func (o JobCompliance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobCompliance only implements ToObjectValue() and Type().
type JobCompliance_SdkV2 ¶ added in v1.62.1
type JobCompliance_SdkV2 struct { // Whether this job is in compliance with the latest version of its policy. IsCompliant types.Bool `tfsdk:"is_compliant"` // Canonical unique identifier for a job. JobId types.Int64 `tfsdk:"job_id"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. An identifier for the job cluster is prepended to the // path. The values indicate an error message describing the policy // validation error. Violations types.Map `tfsdk:"violations"` }
func (JobCompliance_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobCompliance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobCompliance_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCompliance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobCompliance_SdkV2) GetViolations ¶ added in v1.62.1
GetViolations returns the value of the Violations field in JobCompliance_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobCompliance_SdkV2) SetViolations ¶ added in v1.62.1
SetViolations sets the value of the Violations field in JobCompliance_SdkV2.
func (*JobCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobCompliance_SdkV2)
func (*JobCompliance_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCompliance_SdkV2)
func (JobCompliance_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobCompliance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobCompliance_SdkV2 only implements ToObjectValue() and Type().
type JobDeployment ¶
type JobDeployment struct { // The kind of deployment that manages the job. // // * `BUNDLE`: The job is managed by Databricks Asset Bundle. Kind types.String `tfsdk:"kind"` // Path of the file that contains deployment metadata. MetadataFilePath types.String `tfsdk:"metadata_file_path"` }
func (JobDeployment) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobDeployment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobDeployment) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobDeployment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobDeployment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobDeployment)
func (*JobDeployment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobDeployment) SyncEffectiveFieldsDuringRead(existingState JobDeployment)
func (JobDeployment) ToObjectValue ¶ added in v1.61.0
func (o JobDeployment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobDeployment only implements ToObjectValue() and Type().
type JobDeployment_SdkV2 ¶ added in v1.62.1
type JobDeployment_SdkV2 struct { // The kind of deployment that manages the job. // // * `BUNDLE`: The job is managed by Databricks Asset Bundle. Kind types.String `tfsdk:"kind"` // Path of the file that contains deployment metadata. MetadataFilePath types.String `tfsdk:"metadata_file_path"` }
func (JobDeployment_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobDeployment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobDeployment_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobDeployment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobDeployment_SdkV2)
func (*JobDeployment_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobDeployment_SdkV2)
func (JobDeployment_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobDeployment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobDeployment_SdkV2 only implements ToObjectValue() and Type().
type JobEmailNotifications ¶
type JobEmailNotifications struct { // If true, do not send email to recipients specified in `on_failure` if the // run is skipped. This field is `deprecated`. Please use the // `notification_settings.no_alert_for_skipped_runs` field. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` // A list of email addresses to be notified when the duration of a run // exceeds the threshold specified for the `RUN_DURATION_SECONDS` metric in // the `health` field. If no rule for the `RUN_DURATION_SECONDS` metric is // specified in the `health` field for the job, notifications are not sent. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // A list of email addresses to be notified when a run unsuccessfully // completes. A run is considered to have completed unsuccessfully if it // ends with an `INTERNAL_ERROR` `life_cycle_state` or a `FAILED`, or // `TIMED_OUT` result_state. If this is not specified on job creation, // reset, or update the list is empty, and notifications are not sent. OnFailure types.List `tfsdk:"on_failure"` // A list of email addresses to be notified when a run begins. If not // specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnStart types.List `tfsdk:"on_start"` // A list of email addresses to notify when any streaming backlog thresholds // are exceeded for any stream. Streaming backlog thresholds can be set in // the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // A list of email addresses to be notified when a run successfully // completes. A run is considered to have completed successfully if it ends // with a `TERMINATED` `life_cycle_state` and a `SUCCESS` result_state. If // not specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnSuccess types.List `tfsdk:"on_success"` }
func (JobEmailNotifications) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobEmailNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobEmailNotifications) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEmailNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobEmailNotifications) GetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *JobEmailNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in JobEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications) GetOnFailure ¶ added in v1.61.0
GetOnFailure returns the value of the OnFailure field in JobEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications) GetOnStart ¶ added in v1.61.0
GetOnStart returns the value of the OnStart field in JobEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications) GetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *JobEmailNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in JobEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications) GetOnSuccess ¶ added in v1.61.0
GetOnSuccess returns the value of the OnSuccess field in JobEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications) SetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *JobEmailNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in JobEmailNotifications.
func (*JobEmailNotifications) SetOnFailure ¶ added in v1.61.0
func (o *JobEmailNotifications) SetOnFailure(ctx context.Context, v []types.String)
SetOnFailure sets the value of the OnFailure field in JobEmailNotifications.
func (*JobEmailNotifications) SetOnStart ¶ added in v1.61.0
func (o *JobEmailNotifications) SetOnStart(ctx context.Context, v []types.String)
SetOnStart sets the value of the OnStart field in JobEmailNotifications.
func (*JobEmailNotifications) SetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *JobEmailNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in JobEmailNotifications.
func (*JobEmailNotifications) SetOnSuccess ¶ added in v1.61.0
func (o *JobEmailNotifications) SetOnSuccess(ctx context.Context, v []types.String)
SetOnSuccess sets the value of the OnSuccess field in JobEmailNotifications.
func (*JobEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEmailNotifications)
func (*JobEmailNotifications) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications)
func (JobEmailNotifications) ToObjectValue ¶ added in v1.61.0
func (o JobEmailNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobEmailNotifications only implements ToObjectValue() and Type().
type JobEmailNotifications_SdkV2 ¶ added in v1.62.1
type JobEmailNotifications_SdkV2 struct { // If true, do not send email to recipients specified in `on_failure` if the // run is skipped. This field is `deprecated`. Please use the // `notification_settings.no_alert_for_skipped_runs` field. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` // A list of email addresses to be notified when the duration of a run // exceeds the threshold specified for the `RUN_DURATION_SECONDS` metric in // the `health` field. If no rule for the `RUN_DURATION_SECONDS` metric is // specified in the `health` field for the job, notifications are not sent. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // A list of email addresses to be notified when a run unsuccessfully // completes. A run is considered to have completed unsuccessfully if it // ends with an `INTERNAL_ERROR` `life_cycle_state` or a `FAILED`, or // `TIMED_OUT` result_state. If this is not specified on job creation, // reset, or update the list is empty, and notifications are not sent. OnFailure types.List `tfsdk:"on_failure"` // A list of email addresses to be notified when a run begins. If not // specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnStart types.List `tfsdk:"on_start"` // A list of email addresses to notify when any streaming backlog thresholds // are exceeded for any stream. Streaming backlog thresholds can be set in // the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // A list of email addresses to be notified when a run successfully // completes. A run is considered to have completed successfully if it ends // with a `TERMINATED` `life_cycle_state` and a `SUCCESS` result_state. If // not specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnSuccess types.List `tfsdk:"on_success"` }
func (JobEmailNotifications_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobEmailNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobEmailNotifications_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobEmailNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEmailNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in JobEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications_SdkV2) GetOnFailure ¶ added in v1.62.1
GetOnFailure returns the value of the OnFailure field in JobEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications_SdkV2) GetOnStart ¶ added in v1.62.1
GetOnStart returns the value of the OnStart field in JobEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in JobEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications_SdkV2) GetOnSuccess ¶ added in v1.62.1
GetOnSuccess returns the value of the OnSuccess field in JobEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in JobEmailNotifications_SdkV2.
func (*JobEmailNotifications_SdkV2) SetOnFailure ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) SetOnFailure(ctx context.Context, v []types.String)
SetOnFailure sets the value of the OnFailure field in JobEmailNotifications_SdkV2.
func (*JobEmailNotifications_SdkV2) SetOnStart ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) SetOnStart(ctx context.Context, v []types.String)
SetOnStart sets the value of the OnStart field in JobEmailNotifications_SdkV2.
func (*JobEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in JobEmailNotifications_SdkV2.
func (*JobEmailNotifications_SdkV2) SetOnSuccess ¶ added in v1.62.1
func (o *JobEmailNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []types.String)
SetOnSuccess sets the value of the OnSuccess field in JobEmailNotifications_SdkV2.
func (*JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEmailNotifications_SdkV2)
func (*JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications_SdkV2)
func (JobEmailNotifications_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobEmailNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobEmailNotifications_SdkV2 only implements ToObjectValue() and Type().
type JobEnvironment ¶
type JobEnvironment struct { // The key of an environment. It has to be unique within a job. EnvironmentKey types.String `tfsdk:"environment_key"` // The environment entity used to preserve serverless environment side panel // and jobs' environment for non-notebook task. In this minimal environment // spec, only pip dependencies are supported. Spec types.Object `tfsdk:"spec"` }
func (JobEnvironment) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobEnvironment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobEnvironment) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEnvironment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobEnvironment) GetSpec ¶ added in v1.61.0
func (o *JobEnvironment) GetSpec(ctx context.Context) (compute_tf.Environment, bool)
GetSpec returns the value of the Spec field in JobEnvironment as a compute_tf.Environment value. If the field is unknown or null, the boolean return value is false.
func (*JobEnvironment) SetSpec ¶ added in v1.61.0
func (o *JobEnvironment) SetSpec(ctx context.Context, v compute_tf.Environment)
SetSpec sets the value of the Spec field in JobEnvironment.
func (*JobEnvironment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobEnvironment) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEnvironment)
func (*JobEnvironment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobEnvironment) SyncEffectiveFieldsDuringRead(existingState JobEnvironment)
func (JobEnvironment) ToObjectValue ¶ added in v1.61.0
func (o JobEnvironment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobEnvironment only implements ToObjectValue() and Type().
type JobEnvironment_SdkV2 ¶ added in v1.62.1
type JobEnvironment_SdkV2 struct { // The key of an environment. It has to be unique within a job. EnvironmentKey types.String `tfsdk:"environment_key"` // The environment entity used to preserve serverless environment side panel // and jobs' environment for non-notebook task. In this minimal environment // spec, only pip dependencies are supported. Spec types.List `tfsdk:"spec"` }
func (JobEnvironment_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobEnvironment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobEnvironment_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEnvironment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobEnvironment_SdkV2) GetSpec ¶ added in v1.62.1
func (o *JobEnvironment_SdkV2) GetSpec(ctx context.Context) (compute_tf.Environment_SdkV2, bool)
GetSpec returns the value of the Spec field in JobEnvironment_SdkV2 as a compute_tf.Environment_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobEnvironment_SdkV2) SetSpec ¶ added in v1.62.1
func (o *JobEnvironment_SdkV2) SetSpec(ctx context.Context, v compute_tf.Environment_SdkV2)
SetSpec sets the value of the Spec field in JobEnvironment_SdkV2.
func (*JobEnvironment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobEnvironment_SdkV2)
func (*JobEnvironment_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEnvironment_SdkV2)
func (JobEnvironment_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobEnvironment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobEnvironment_SdkV2 only implements ToObjectValue() and Type().
type JobNotificationSettings ¶
type JobNotificationSettings struct { // If true, do not send notifications to recipients specified in // `on_failure` if the run is canceled. NoAlertForCanceledRuns types.Bool `tfsdk:"no_alert_for_canceled_runs"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is skipped. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` }
func (JobNotificationSettings) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobNotificationSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobNotificationSettings) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobNotificationSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobNotificationSettings)
func (*JobNotificationSettings) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings)
func (JobNotificationSettings) ToObjectValue ¶ added in v1.61.0
func (o JobNotificationSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobNotificationSettings only implements ToObjectValue() and Type().
type JobNotificationSettings_SdkV2 ¶ added in v1.62.1
type JobNotificationSettings_SdkV2 struct { // If true, do not send notifications to recipients specified in // `on_failure` if the run is canceled. NoAlertForCanceledRuns types.Bool `tfsdk:"no_alert_for_canceled_runs"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is skipped. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` }
func (JobNotificationSettings_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobNotificationSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobNotificationSettings_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobNotificationSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobNotificationSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobNotificationSettings_SdkV2)
func (*JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings_SdkV2)
func (JobNotificationSettings_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobNotificationSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobNotificationSettings_SdkV2 only implements ToObjectValue() and Type().
type JobParameter ¶
type JobParameter struct { // The optional default value of the parameter Default types.String `tfsdk:"default"` // The name of the parameter Name types.String `tfsdk:"name"` // The value used in the run Value types.String `tfsdk:"value"` }
func (JobParameter) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobParameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobParameter) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameter. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobParameter) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobParameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameter)
func (*JobParameter) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobParameter) SyncEffectiveFieldsDuringRead(existingState JobParameter)
func (JobParameter) ToObjectValue ¶ added in v1.61.0
func (o JobParameter) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobParameter only implements ToObjectValue() and Type().
type JobParameterDefinition ¶
type JobParameterDefinition struct { // Default value of the parameter. Default types.String `tfsdk:"default"` // The name of the defined parameter. May only contain alphanumeric // characters, `_`, `-`, and `.` Name types.String `tfsdk:"name"` }
func (JobParameterDefinition) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobParameterDefinition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobParameterDefinition) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameterDefinition. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobParameterDefinition) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameterDefinition)
func (*JobParameterDefinition) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition)
func (JobParameterDefinition) ToObjectValue ¶ added in v1.61.0
func (o JobParameterDefinition) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobParameterDefinition only implements ToObjectValue() and Type().
type JobParameterDefinition_SdkV2 ¶ added in v1.62.1
type JobParameterDefinition_SdkV2 struct { // Default value of the parameter. Default types.String `tfsdk:"default"` // The name of the defined parameter. May only contain alphanumeric // characters, `_`, `-`, and `.` Name types.String `tfsdk:"name"` }
func (JobParameterDefinition_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobParameterDefinition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobParameterDefinition_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobParameterDefinition_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameterDefinition. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameterDefinition_SdkV2)
func (*JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition_SdkV2)
func (JobParameterDefinition_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobParameterDefinition_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobParameterDefinition_SdkV2 only implements ToObjectValue() and Type().
type JobParameter_SdkV2 ¶ added in v1.62.1
type JobParameter_SdkV2 struct { // The optional default value of the parameter Default types.String `tfsdk:"default"` // The name of the parameter Name types.String `tfsdk:"name"` // The value used in the run Value types.String `tfsdk:"value"` }
func (JobParameter_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobParameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobParameter_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameter. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobParameter_SdkV2)
func (*JobParameter_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameter_SdkV2)
func (JobParameter_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobParameter_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobParameter_SdkV2 only implements ToObjectValue() and Type().
type JobPermission ¶
type JobPermission struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (JobPermission) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobPermission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermission) GetInheritedFromObject ¶ added in v1.61.0
GetInheritedFromObject returns the value of the InheritedFromObject field in JobPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *JobPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in JobPermission.
func (*JobPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermission)
func (*JobPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobPermission) SyncEffectiveFieldsDuringRead(existingState JobPermission)
func (JobPermission) ToObjectValue ¶ added in v1.61.0
func (o JobPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermission only implements ToObjectValue() and Type().
type JobPermission_SdkV2 ¶ added in v1.62.1
type JobPermission_SdkV2 struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (JobPermission_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobPermission_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermission_SdkV2) GetInheritedFromObject ¶ added in v1.62.1
GetInheritedFromObject returns the value of the InheritedFromObject field in JobPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobPermission_SdkV2) SetInheritedFromObject ¶ added in v1.62.1
func (o *JobPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in JobPermission_SdkV2.
func (*JobPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermission_SdkV2)
func (*JobPermission_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermission_SdkV2)
func (JobPermission_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermission_SdkV2 only implements ToObjectValue() and Type().
type JobPermissions ¶
type JobPermissions struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (JobPermissions) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *JobPermissions) GetAccessControlList(ctx context.Context) ([]JobAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in JobPermissions as a slice of JobAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (JobPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *JobPermissions) SetAccessControlList(ctx context.Context, v []JobAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in JobPermissions.
func (*JobPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissions)
func (*JobPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobPermissions) SyncEffectiveFieldsDuringRead(existingState JobPermissions)
func (JobPermissions) ToObjectValue ¶ added in v1.61.0
func (o JobPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissions only implements ToObjectValue() and Type().
type JobPermissionsDescription ¶
type JobPermissionsDescription struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (JobPermissionsDescription) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a JobPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsDescription)
func (*JobPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription)
func (JobPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o JobPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissionsDescription only implements ToObjectValue() and Type().
type JobPermissionsDescription_SdkV2 ¶ added in v1.62.1
type JobPermissionsDescription_SdkV2 struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (JobPermissionsDescription_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobPermissionsDescription_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsDescription_SdkV2)
func (*JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription_SdkV2)
func (JobPermissionsDescription_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissionsDescription_SdkV2 only implements ToObjectValue() and Type().
type JobPermissionsRequest ¶
type JobPermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list"` // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
func (JobPermissionsRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *JobPermissionsRequest) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in JobPermissionsRequest as a slice of JobAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (JobPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *JobPermissionsRequest) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in JobPermissionsRequest.
func (*JobPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsRequest)
func (*JobPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest)
func (JobPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o JobPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissionsRequest only implements ToObjectValue() and Type().
type JobPermissionsRequest_SdkV2 ¶ added in v1.62.1
type JobPermissionsRequest_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` // The job for which to get or manage permissions. JobId types.String `tfsdk:"-"` }
func (JobPermissionsRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobPermissionsRequest_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *JobPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in JobPermissionsRequest_SdkV2 as a slice of JobAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (JobPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a JobPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissionsRequest_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *JobPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in JobPermissionsRequest_SdkV2.
func (*JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissionsRequest_SdkV2)
func (*JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest_SdkV2)
func (JobPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type JobPermissions_SdkV2 ¶ added in v1.62.1
type JobPermissions_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (JobPermissions_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*JobPermissions_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *JobPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlResponse_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in JobPermissions_SdkV2 as a slice of JobAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (JobPermissions_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobPermissions_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *JobPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlResponse_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in JobPermissions_SdkV2.
func (*JobPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPermissions_SdkV2)
func (*JobPermissions_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissions_SdkV2)
func (JobPermissions_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobPermissions_SdkV2 only implements ToObjectValue() and Type().
type JobRunAs ¶
type JobRunAs struct { // Application ID of an active service principal. Setting this field // requires the `servicePrincipal/user` role. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // The email of an active workspace user. Non-admin users can only set this // field to their own email. UserName types.String `tfsdk:"user_name"` }
Write-only setting. Specifies the user or service principal that the job runs as. If not specified, the job runs as the user who created the job.
Either `user_name` or `service_principal_name` should be specified. If not, an error is thrown.
func (JobRunAs) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobRunAs) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobRunAs) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobRunAs. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobRunAs) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*JobRunAs) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (JobRunAs) ToObjectValue ¶ added in v1.61.0
func (o JobRunAs) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobRunAs only implements ToObjectValue() and Type().
type JobRunAs_SdkV2 ¶ added in v1.62.1
type JobRunAs_SdkV2 struct { // Application ID of an active service principal. Setting this field // requires the `servicePrincipal/user` role. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // The email of an active workspace user. Non-admin users can only set this // field to their own email. UserName types.String `tfsdk:"user_name"` }
Write-only setting. Specifies the user or service principal that the job runs as. If not specified, the job runs as the user who created the job.
Either `user_name` or `service_principal_name` should be specified. If not, an error is thrown.
func (JobRunAs_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobRunAs_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobRunAs_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobRunAs. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobRunAs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobRunAs_SdkV2)
func (*JobRunAs_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobRunAs_SdkV2)
func (JobRunAs_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobRunAs_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobRunAs_SdkV2 only implements ToObjectValue() and Type().
type JobSettings ¶
type JobSettings struct { // The id of the user specified budget policy to use for this job. If not // specified, a default budget policy may be applied when creating or // modifying the job. See `effective_budget_policy_id` for the budget policy // used by this workload. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional continuous property for this job. The continuous property // will ensure that there is always one run executing. Only one of // `schedule` and `continuous` can be used. Continuous types.Object `tfsdk:"continuous"` // Deployment information for jobs managed by external sources. Deployment types.Object `tfsdk:"deployment"` // An optional description for the job. The maximum length is 27700 // characters in UTF-8 encoding. Description types.String `tfsdk:"description"` // Edit mode of the job. // // * `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * // `EDITABLE`: The job is in an editable state and can be modified. EditMode types.String `tfsdk:"edit_mode"` // An optional set of email addresses that is notified when runs of this job // begin or complete as well as when this job is deleted. EmailNotifications types.Object `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by serverless tasks of this job. An environment is required to // be present for serverless tasks. For serverless notebook tasks, the // environment is accessible in the notebook environment panel. For other // serverless tasks, the task environment is required to be specified using // environment_key in the task settings. Environments types.List `tfsdk:"environment"` // Used to tell what is the format of the job. This field is ignored in // Create/Update/Reset calls. When using the Jobs API 2.1 this value is // always set to `"MULTI_TASK"`. Format types.String `tfsdk:"format"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.Object `tfsdk:"health"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/get. JobClusters types.List `tfsdk:"job_cluster"` // An optional maximum allowed number of concurrent runs of the job. Set // this value if you want to be able to execute multiple runs of the same // job concurrently. This is useful for example if you trigger your job on a // frequent schedule and want to allow consecutive runs to overlap with each // other, or if you want to trigger multiple runs which differ by their // input parameters. This setting affects only new runs. For example, // suppose the job’s concurrency is 4 and there are 4 concurrent active // runs. Then setting the concurrency to 3 won’t kill any of the active // runs. However, from then on, new runs are skipped unless there are fewer // than 3 active runs. This value cannot exceed 1000. Setting this value to // `0` causes all new runs to be skipped. MaxConcurrentRuns types.Int64 `tfsdk:"max_concurrent_runs"` // An optional name for the job. The maximum length is 4096 bytes in UTF-8 // encoding. Name types.String `tfsdk:"name"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // job. NotificationSettings types.Object `tfsdk:"notification_settings"` // Job-level parameter definitions Parameters types.List `tfsdk:"parameter"` // The queue settings of the job. Queue types.Object `tfsdk:"queue"` // Write-only setting. Specifies the user or service principal that the job // runs as. If not specified, the job runs as the user who created the job. // // Either `user_name` or `service_principal_name` should be specified. If // not, an error is thrown. RunAs types.Object `tfsdk:"run_as"` // An optional periodic schedule for this job. The default behavior is that // the job only runs when triggered by clicking “Run Now” in the Jobs UI // or sending an API request to `runNow`. Schedule types.Object `tfsdk:"schedule"` // A map of tags associated with the job. These are forwarded to the cluster // as cluster tags for jobs clusters, and are subject to the same // limitations as cluster tags. A maximum of 25 tags can be added to the // job. Tags types.Map `tfsdk:"tags"` // A list of task specifications to be executed by this job. If more than // 100 tasks are available, you can paginate through them using // :method:jobs/get. Use the `next_page_token` field at the object root to // determine if more results are available. Tasks types.List `tfsdk:"task"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A configuration to trigger a run when certain conditions are met. The // default behavior is that the job runs only when triggered by clicking // “Run Now” in the Jobs UI or sending an API request to `runNow`. Trigger types.Object `tfsdk:"trigger"` // A collection of system notification IDs to notify when runs of this job // begin or complete. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
func (JobSettings) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobSettings) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobSettings) GetContinuous ¶ added in v1.61.0
func (o *JobSettings) GetContinuous(ctx context.Context) (Continuous, bool)
GetContinuous returns the value of the Continuous field in JobSettings as a Continuous value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetDeployment ¶ added in v1.61.0
func (o *JobSettings) GetDeployment(ctx context.Context) (JobDeployment, bool)
GetDeployment returns the value of the Deployment field in JobSettings as a JobDeployment value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetEmailNotifications ¶ added in v1.61.0
func (o *JobSettings) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in JobSettings as a JobEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetEnvironments ¶ added in v1.61.0
func (o *JobSettings) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
GetEnvironments returns the value of the Environments field in JobSettings as a slice of JobEnvironment values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetGitSource ¶ added in v1.61.0
func (o *JobSettings) GetGitSource(ctx context.Context) (GitSource, bool)
GetGitSource returns the value of the GitSource field in JobSettings as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetHealth ¶ added in v1.61.0
func (o *JobSettings) GetHealth(ctx context.Context) (JobsHealthRules, bool)
GetHealth returns the value of the Health field in JobSettings as a JobsHealthRules value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetJobClusters ¶ added in v1.61.0
func (o *JobSettings) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
GetJobClusters returns the value of the JobClusters field in JobSettings as a slice of JobCluster values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetNotificationSettings ¶ added in v1.61.0
func (o *JobSettings) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in JobSettings as a JobNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetParameters ¶ added in v1.61.0
func (o *JobSettings) GetParameters(ctx context.Context) ([]JobParameterDefinition, bool)
GetParameters returns the value of the Parameters field in JobSettings as a slice of JobParameterDefinition values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetQueue ¶ added in v1.61.0
func (o *JobSettings) GetQueue(ctx context.Context) (QueueSettings, bool)
GetQueue returns the value of the Queue field in JobSettings as a QueueSettings value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetRunAs ¶ added in v1.61.0
func (o *JobSettings) GetRunAs(ctx context.Context) (JobRunAs, bool)
GetRunAs returns the value of the RunAs field in JobSettings as a JobRunAs value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetSchedule ¶ added in v1.61.0
func (o *JobSettings) GetSchedule(ctx context.Context) (CronSchedule, bool)
GetSchedule returns the value of the Schedule field in JobSettings as a CronSchedule value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetTags ¶ added in v1.61.0
GetTags returns the value of the Tags field in JobSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetTasks ¶ added in v1.61.0
func (o *JobSettings) GetTasks(ctx context.Context) ([]Task, bool)
GetTasks returns the value of the Tasks field in JobSettings as a slice of Task values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetTrigger ¶ added in v1.61.0
func (o *JobSettings) GetTrigger(ctx context.Context) (TriggerSettings, bool)
GetTrigger returns the value of the Trigger field in JobSettings as a TriggerSettings value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) GetWebhookNotifications ¶ added in v1.61.0
func (o *JobSettings) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in JobSettings as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings) SetContinuous ¶ added in v1.61.0
func (o *JobSettings) SetContinuous(ctx context.Context, v Continuous)
SetContinuous sets the value of the Continuous field in JobSettings.
func (*JobSettings) SetDeployment ¶ added in v1.61.0
func (o *JobSettings) SetDeployment(ctx context.Context, v JobDeployment)
SetDeployment sets the value of the Deployment field in JobSettings.
func (*JobSettings) SetEmailNotifications ¶ added in v1.61.0
func (o *JobSettings) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in JobSettings.
func (*JobSettings) SetEnvironments ¶ added in v1.61.0
func (o *JobSettings) SetEnvironments(ctx context.Context, v []JobEnvironment)
SetEnvironments sets the value of the Environments field in JobSettings.
func (*JobSettings) SetGitSource ¶ added in v1.61.0
func (o *JobSettings) SetGitSource(ctx context.Context, v GitSource)
SetGitSource sets the value of the GitSource field in JobSettings.
func (*JobSettings) SetHealth ¶ added in v1.61.0
func (o *JobSettings) SetHealth(ctx context.Context, v JobsHealthRules)
SetHealth sets the value of the Health field in JobSettings.
func (*JobSettings) SetJobClusters ¶ added in v1.61.0
func (o *JobSettings) SetJobClusters(ctx context.Context, v []JobCluster)
SetJobClusters sets the value of the JobClusters field in JobSettings.
func (*JobSettings) SetNotificationSettings ¶ added in v1.61.0
func (o *JobSettings) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in JobSettings.
func (*JobSettings) SetParameters ¶ added in v1.61.0
func (o *JobSettings) SetParameters(ctx context.Context, v []JobParameterDefinition)
SetParameters sets the value of the Parameters field in JobSettings.
func (*JobSettings) SetQueue ¶ added in v1.61.0
func (o *JobSettings) SetQueue(ctx context.Context, v QueueSettings)
SetQueue sets the value of the Queue field in JobSettings.
func (*JobSettings) SetRunAs ¶ added in v1.61.0
func (o *JobSettings) SetRunAs(ctx context.Context, v JobRunAs)
SetRunAs sets the value of the RunAs field in JobSettings.
func (*JobSettings) SetSchedule ¶ added in v1.61.0
func (o *JobSettings) SetSchedule(ctx context.Context, v CronSchedule)
SetSchedule sets the value of the Schedule field in JobSettings.
func (*JobSettings) SetTags ¶ added in v1.61.0
SetTags sets the value of the Tags field in JobSettings.
func (*JobSettings) SetTasks ¶ added in v1.61.0
func (o *JobSettings) SetTasks(ctx context.Context, v []Task)
SetTasks sets the value of the Tasks field in JobSettings.
func (*JobSettings) SetTrigger ¶ added in v1.61.0
func (o *JobSettings) SetTrigger(ctx context.Context, v TriggerSettings)
SetTrigger sets the value of the Trigger field in JobSettings.
func (*JobSettings) SetWebhookNotifications ¶ added in v1.61.0
func (o *JobSettings) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in JobSettings.
func (*JobSettings) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSettings)
func (*JobSettings) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobSettings) SyncEffectiveFieldsDuringRead(existingState JobSettings)
func (JobSettings) ToObjectValue ¶ added in v1.61.0
func (o JobSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobSettings only implements ToObjectValue() and Type().
type JobSettings_SdkV2 ¶ added in v1.62.1
type JobSettings_SdkV2 struct { // The id of the user specified budget policy to use for this job. If not // specified, a default budget policy may be applied when creating or // modifying the job. See `effective_budget_policy_id` for the budget policy // used by this workload. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional continuous property for this job. The continuous property // will ensure that there is always one run executing. Only one of // `schedule` and `continuous` can be used. Continuous types.List `tfsdk:"continuous"` // Deployment information for jobs managed by external sources. Deployment types.List `tfsdk:"deployment"` // An optional description for the job. The maximum length is 27700 // characters in UTF-8 encoding. Description types.String `tfsdk:"description"` // Edit mode of the job. // // * `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * // `EDITABLE`: The job is in an editable state and can be modified. EditMode types.String `tfsdk:"edit_mode"` // An optional set of email addresses that is notified when runs of this job // begin or complete as well as when this job is deleted. EmailNotifications types.List `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by serverless tasks of this job. An environment is required to // be present for serverless tasks. For serverless notebook tasks, the // environment is accessible in the notebook environment panel. For other // serverless tasks, the task environment is required to be specified using // environment_key in the task settings. Environments types.List `tfsdk:"environment"` // Used to tell what is the format of the job. This field is ignored in // Create/Update/Reset calls. When using the Jobs API 2.1 this value is // always set to `"MULTI_TASK"`. Format types.String `tfsdk:"format"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.List `tfsdk:"health"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/get. JobClusters types.List `tfsdk:"job_cluster"` // An optional maximum allowed number of concurrent runs of the job. Set // this value if you want to be able to execute multiple runs of the same // job concurrently. This is useful for example if you trigger your job on a // frequent schedule and want to allow consecutive runs to overlap with each // other, or if you want to trigger multiple runs which differ by their // input parameters. This setting affects only new runs. For example, // suppose the job’s concurrency is 4 and there are 4 concurrent active // runs. Then setting the concurrency to 3 won’t kill any of the active // runs. However, from then on, new runs are skipped unless there are fewer // than 3 active runs. This value cannot exceed 1000. Setting this value to // `0` causes all new runs to be skipped. MaxConcurrentRuns types.Int64 `tfsdk:"max_concurrent_runs"` // An optional name for the job. The maximum length is 4096 bytes in UTF-8 // encoding. Name types.String `tfsdk:"name"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // job. NotificationSettings types.List `tfsdk:"notification_settings"` // Job-level parameter definitions Parameters types.List `tfsdk:"parameter"` // The queue settings of the job. Queue types.List `tfsdk:"queue"` // Write-only setting. Specifies the user or service principal that the job // runs as. If not specified, the job runs as the user who created the job. // // Either `user_name` or `service_principal_name` should be specified. If // not, an error is thrown. RunAs types.List `tfsdk:"run_as"` // An optional periodic schedule for this job. The default behavior is that // the job only runs when triggered by clicking “Run Now” in the Jobs UI // or sending an API request to `runNow`. Schedule types.List `tfsdk:"schedule"` // A map of tags associated with the job. These are forwarded to the cluster // as cluster tags for jobs clusters, and are subject to the same // limitations as cluster tags. A maximum of 25 tags can be added to the // job. Tags types.Map `tfsdk:"tags"` // A list of task specifications to be executed by this job. If more than // 100 tasks are available, you can paginate through them using // :method:jobs/get. Use the `next_page_token` field at the object root to // determine if more results are available. Tasks types.List `tfsdk:"task"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A configuration to trigger a run when certain conditions are met. The // default behavior is that the job runs only when triggered by clicking // “Run Now” in the Jobs UI or sending an API request to `runNow`. Trigger types.List `tfsdk:"trigger"` // A collection of system notification IDs to notify when runs of this job // begin or complete. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
func (JobSettings_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobSettings_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobSettings_SdkV2) GetContinuous ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetContinuous(ctx context.Context) (Continuous_SdkV2, bool)
GetContinuous returns the value of the Continuous field in JobSettings_SdkV2 as a Continuous_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetDeployment ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetDeployment(ctx context.Context) (JobDeployment_SdkV2, bool)
GetDeployment returns the value of the Deployment field in JobSettings_SdkV2 as a JobDeployment_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in JobSettings_SdkV2 as a JobEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetEnvironments ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
GetEnvironments returns the value of the Environments field in JobSettings_SdkV2 as a slice of JobEnvironment_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in JobSettings_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetHealth ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
GetHealth returns the value of the Health field in JobSettings_SdkV2 as a JobsHealthRules_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetJobClusters ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
GetJobClusters returns the value of the JobClusters field in JobSettings_SdkV2 as a slice of JobCluster_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in JobSettings_SdkV2 as a JobNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetParameters ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetParameters(ctx context.Context) ([]JobParameterDefinition_SdkV2, bool)
GetParameters returns the value of the Parameters field in JobSettings_SdkV2 as a slice of JobParameterDefinition_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetQueue ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
GetQueue returns the value of the Queue field in JobSettings_SdkV2 as a QueueSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetRunAs ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
GetRunAs returns the value of the RunAs field in JobSettings_SdkV2 as a JobRunAs_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetSchedule ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
GetSchedule returns the value of the Schedule field in JobSettings_SdkV2 as a CronSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetTags ¶ added in v1.62.1
GetTags returns the value of the Tags field in JobSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetTasks ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetTasks(ctx context.Context) ([]Task_SdkV2, bool)
GetTasks returns the value of the Tasks field in JobSettings_SdkV2 as a slice of Task_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetTrigger ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetTrigger(ctx context.Context) (TriggerSettings_SdkV2, bool)
GetTrigger returns the value of the Trigger field in JobSettings_SdkV2 as a TriggerSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *JobSettings_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in JobSettings_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*JobSettings_SdkV2) SetContinuous ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetContinuous(ctx context.Context, v Continuous_SdkV2)
SetContinuous sets the value of the Continuous field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetDeployment ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetDeployment(ctx context.Context, v JobDeployment_SdkV2)
SetDeployment sets the value of the Deployment field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetEnvironments ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
SetEnvironments sets the value of the Environments field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetHealth ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
SetHealth sets the value of the Health field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetJobClusters ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
SetJobClusters sets the value of the JobClusters field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetParameters ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetParameters(ctx context.Context, v []JobParameterDefinition_SdkV2)
SetParameters sets the value of the Parameters field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetQueue ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
SetQueue sets the value of the Queue field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetRunAs ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
SetRunAs sets the value of the RunAs field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetSchedule ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
SetSchedule sets the value of the Schedule field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetTags ¶ added in v1.62.1
SetTags sets the value of the Tags field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetTasks ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetTasks(ctx context.Context, v []Task_SdkV2)
SetTasks sets the value of the Tasks field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetTrigger ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetTrigger(ctx context.Context, v TriggerSettings_SdkV2)
SetTrigger sets the value of the Trigger field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *JobSettings_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in JobSettings_SdkV2.
func (*JobSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSettings_SdkV2)
func (*JobSettings_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSettings_SdkV2)
func (JobSettings_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobSettings_SdkV2 only implements ToObjectValue() and Type().
type JobSource ¶
type JobSource struct { // Dirty state indicates the job is not fully synced with the job // specification in the remote repository. // // Possible values are: * `NOT_SYNCED`: The job is not yet synced with the // remote job specification. Import the remote job specification from UI to // make the job fully synced. * `DISCONNECTED`: The job is temporary // disconnected from the remote job specification and is allowed for live // edit. Import the remote job specification again from UI to make the job // fully synced. DirtyState types.String `tfsdk:"dirty_state"` // Name of the branch which the job is imported from. ImportFromGitBranch types.String `tfsdk:"import_from_git_branch"` // Path of the job YAML file that contains the job specification. JobConfigPath types.String `tfsdk:"job_config_path"` }
The source of the job specification in the remote repository when the job is source controlled.
func (JobSource) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobSource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobSource) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobSource) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*JobSource) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (JobSource) ToObjectValue ¶ added in v1.61.0
func (o JobSource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobSource only implements ToObjectValue() and Type().
type JobSource_SdkV2 ¶ added in v1.62.1
type JobSource_SdkV2 struct { // Dirty state indicates the job is not fully synced with the job // specification in the remote repository. // // Possible values are: * `NOT_SYNCED`: The job is not yet synced with the // remote job specification. Import the remote job specification from UI to // make the job fully synced. * `DISCONNECTED`: The job is temporary // disconnected from the remote job specification and is allowed for live // edit. Import the remote job specification again from UI to make the job // fully synced. DirtyState types.String `tfsdk:"dirty_state"` // Name of the branch which the job is imported from. ImportFromGitBranch types.String `tfsdk:"import_from_git_branch"` // Path of the job YAML file that contains the job specification. JobConfigPath types.String `tfsdk:"job_config_path"` }
The source of the job specification in the remote repository when the job is source controlled.
func (JobSource_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobSource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobSource_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSource_SdkV2)
func (*JobSource_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSource_SdkV2)
func (JobSource_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobSource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobSource_SdkV2 only implements ToObjectValue() and Type().
type Job_SdkV2 ¶ added in v1.62.1
type Job_SdkV2 struct { // The time at which this job was created in epoch milliseconds // (milliseconds since 1/1/1970 UTC). CreatedTime types.Int64 `tfsdk:"created_time"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // The id of the budget policy used by this job for cost attribution // purposes. This may be set through (in order of precedence): 1. Budget // admins through the account or workspace console 2. Jobs UI in the job // details page and Jobs API using `budget_policy_id` 3. Inferred default // based on accessible budget policies of the run_as identity on job // creation or modification. EffectiveBudgetPolicyId types.String `tfsdk:"effective_budget_policy_id"` // Indicates if the job has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/get endpoint. // It is only relevant for API 2.2 :method:jobs/list requests with // `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // The canonical identifier for this job. JobId types.Int64 `tfsdk:"job_id"` // A token that can be used to list the next page of sub-resources. NextPageToken types.String `tfsdk:"next_page_token"` // The email of an active workspace user or the application ID of a service // principal that the job runs as. This value can be changed by setting the // `run_as` field when creating or updating a job. // // By default, `run_as_user_name` is based on the current job settings and // is set to the creator of the job if job access control is disabled or to // the user with the `is_owner` permission if job access control is enabled. RunAsUserName types.String `tfsdk:"run_as_user_name"` // Settings for this job and all of its runs. These settings can be updated // using the `resetJob` method. Settings types.List `tfsdk:"settings"` }
Job was retrieved successfully.
func (Job_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Job_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Job_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Job. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Job_SdkV2) GetSettings ¶ added in v1.62.1
func (o *Job_SdkV2) GetSettings(ctx context.Context) (JobSettings_SdkV2, bool)
GetSettings returns the value of the Settings field in Job_SdkV2 as a JobSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Job_SdkV2) SetSettings ¶ added in v1.62.1
func (o *Job_SdkV2) SetSettings(ctx context.Context, v JobSettings_SdkV2)
SetSettings sets the value of the Settings field in Job_SdkV2.
func (*Job_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (*Job_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (Job_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Job_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Job_SdkV2 only implements ToObjectValue() and Type().
type JobsHealthRule ¶
type JobsHealthRule struct { // Specifies the health metric that is being evaluated for a particular // health rule. // // * `RUN_DURATION_SECONDS`: Expected total time for a run in seconds. * // `STREAMING_BACKLOG_BYTES`: An estimate of the maximum bytes of data // waiting to be consumed across all streams. This metric is in Public // Preview. * `STREAMING_BACKLOG_RECORDS`: An estimate of the maximum offset // lag across all streams. This metric is in Public Preview. * // `STREAMING_BACKLOG_SECONDS`: An estimate of the maximum consumer delay // across all streams. This metric is in Public Preview. * // `STREAMING_BACKLOG_FILES`: An estimate of the maximum number of // outstanding files across all streams. This metric is in Public Preview. Metric types.String `tfsdk:"metric"` // Specifies the operator used to compare the health metric value with the // specified threshold. Op types.String `tfsdk:"op"` // Specifies the threshold value that the health metric should obey to // satisfy the health rule. Value types.Int64 `tfsdk:"value"` }
func (JobsHealthRule) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobsHealthRule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobsHealthRule) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRule. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobsHealthRule) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobsHealthRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRule)
func (*JobsHealthRule) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobsHealthRule) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule)
func (JobsHealthRule) ToObjectValue ¶ added in v1.61.0
func (o JobsHealthRule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobsHealthRule only implements ToObjectValue() and Type().
type JobsHealthRule_SdkV2 ¶ added in v1.62.1
type JobsHealthRule_SdkV2 struct { // Specifies the health metric that is being evaluated for a particular // health rule. // // * `RUN_DURATION_SECONDS`: Expected total time for a run in seconds. * // `STREAMING_BACKLOG_BYTES`: An estimate of the maximum bytes of data // waiting to be consumed across all streams. This metric is in Public // Preview. * `STREAMING_BACKLOG_RECORDS`: An estimate of the maximum offset // lag across all streams. This metric is in Public Preview. * // `STREAMING_BACKLOG_SECONDS`: An estimate of the maximum consumer delay // across all streams. This metric is in Public Preview. * // `STREAMING_BACKLOG_FILES`: An estimate of the maximum number of // outstanding files across all streams. This metric is in Public Preview. Metric types.String `tfsdk:"metric"` // Specifies the operator used to compare the health metric value with the // specified threshold. Op types.String `tfsdk:"op"` // Specifies the threshold value that the health metric should obey to // satisfy the health rule. Value types.Int64 `tfsdk:"value"` }
func (JobsHealthRule_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobsHealthRule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobsHealthRule_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRule. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRule_SdkV2)
func (*JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule_SdkV2)
func (JobsHealthRule_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobsHealthRule_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobsHealthRule_SdkV2 only implements ToObjectValue() and Type().
type JobsHealthRules ¶
An optional set of health rules that can be defined for this job.
func (JobsHealthRules) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobsHealthRules) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobsHealthRules) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRules. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobsHealthRules) GetRules ¶ added in v1.61.0
func (o *JobsHealthRules) GetRules(ctx context.Context) ([]JobsHealthRule, bool)
GetRules returns the value of the Rules field in JobsHealthRules as a slice of JobsHealthRule values. If the field is unknown or null, the boolean return value is false.
func (*JobsHealthRules) SetRules ¶ added in v1.61.0
func (o *JobsHealthRules) SetRules(ctx context.Context, v []JobsHealthRule)
SetRules sets the value of the Rules field in JobsHealthRules.
func (*JobsHealthRules) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobsHealthRules) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRules)
func (*JobsHealthRules) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobsHealthRules) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules)
func (JobsHealthRules) ToObjectValue ¶ added in v1.61.0
func (o JobsHealthRules) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobsHealthRules only implements ToObjectValue() and Type().
type JobsHealthRules_SdkV2 ¶ added in v1.62.1
An optional set of health rules that can be defined for this job.
func (JobsHealthRules_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c JobsHealthRules_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (JobsHealthRules_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRules. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*JobsHealthRules_SdkV2) GetRules ¶ added in v1.62.1
func (o *JobsHealthRules_SdkV2) GetRules(ctx context.Context) ([]JobsHealthRule_SdkV2, bool)
GetRules returns the value of the Rules field in JobsHealthRules_SdkV2 as a slice of JobsHealthRule_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*JobsHealthRules_SdkV2) SetRules ¶ added in v1.62.1
func (o *JobsHealthRules_SdkV2) SetRules(ctx context.Context, v []JobsHealthRule_SdkV2)
SetRules sets the value of the Rules field in JobsHealthRules_SdkV2.
func (*JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobsHealthRules_SdkV2)
func (*JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules_SdkV2)
func (JobsHealthRules_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o JobsHealthRules_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, JobsHealthRules_SdkV2 only implements ToObjectValue() and Type().
type ListJobComplianceForPolicyResponse ¶
type ListJobComplianceForPolicyResponse struct { // A list of jobs and their policy compliance statuses. Jobs types.List `tfsdk:"jobs"` // This field represents the pagination token to retrieve the next page of // results. If this field is not in the response, it means no further // results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If this field is not in the response, it means no further // results for the request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListJobComplianceForPolicyResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListJobComplianceForPolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListJobComplianceForPolicyResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListJobComplianceForPolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceForPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListJobComplianceForPolicyResponse) GetJobs ¶ added in v1.61.0
func (o *ListJobComplianceForPolicyResponse) GetJobs(ctx context.Context) ([]JobCompliance, bool)
GetJobs returns the value of the Jobs field in ListJobComplianceForPolicyResponse as a slice of JobCompliance values. If the field is unknown or null, the boolean return value is false.
func (*ListJobComplianceForPolicyResponse) SetJobs ¶ added in v1.61.0
func (o *ListJobComplianceForPolicyResponse) SetJobs(ctx context.Context, v []JobCompliance)
SetJobs sets the value of the Jobs field in ListJobComplianceForPolicyResponse.
func (*ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceForPolicyResponse)
func (*ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse)
func (ListJobComplianceForPolicyResponse) ToObjectValue ¶ added in v1.61.0
func (o ListJobComplianceForPolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobComplianceForPolicyResponse only implements ToObjectValue() and Type().
type ListJobComplianceForPolicyResponse_SdkV2 ¶ added in v1.62.1
type ListJobComplianceForPolicyResponse_SdkV2 struct { // A list of jobs and their policy compliance statuses. Jobs types.List `tfsdk:"jobs"` // This field represents the pagination token to retrieve the next page of // results. If this field is not in the response, it means no further // results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If this field is not in the response, it means no further // results for the request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListJobComplianceForPolicyResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListJobComplianceForPolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListJobComplianceForPolicyResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListJobComplianceForPolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceForPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListJobComplianceForPolicyResponse_SdkV2) GetJobs ¶ added in v1.62.1
func (o *ListJobComplianceForPolicyResponse_SdkV2) GetJobs(ctx context.Context) ([]JobCompliance_SdkV2, bool)
GetJobs returns the value of the Jobs field in ListJobComplianceForPolicyResponse_SdkV2 as a slice of JobCompliance_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListJobComplianceForPolicyResponse_SdkV2) SetJobs ¶ added in v1.62.1
func (o *ListJobComplianceForPolicyResponse_SdkV2) SetJobs(ctx context.Context, v []JobCompliance_SdkV2)
SetJobs sets the value of the Jobs field in ListJobComplianceForPolicyResponse_SdkV2.
func (*ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceForPolicyResponse_SdkV2)
func (*ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse_SdkV2)
func (ListJobComplianceForPolicyResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListJobComplianceForPolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobComplianceForPolicyResponse_SdkV2 only implements ToObjectValue() and Type().
type ListJobComplianceRequest ¶
type ListJobComplianceRequest struct { // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // A page token that can be used to navigate to the next page or previous // page as returned by `next_page_token` or `prev_page_token`. PageToken types.String `tfsdk:"-"` // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"-"` }
List job policy compliance
func (ListJobComplianceRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListJobComplianceRequest) ToObjectValue ¶ added in v1.61.0
func (o ListJobComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobComplianceRequest only implements ToObjectValue() and Type().
type ListJobComplianceRequest_SdkV2 ¶ added in v1.62.1
type ListJobComplianceRequest_SdkV2 struct { // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // A page token that can be used to navigate to the next page or previous // page as returned by `next_page_token` or `prev_page_token`. PageToken types.String `tfsdk:"-"` // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"-"` }
List job policy compliance
func (ListJobComplianceRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListJobComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListJobComplianceRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListJobComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobComplianceRequest_SdkV2 only implements ToObjectValue() and Type().
type ListJobsRequest ¶
type ListJobsRequest struct { // Whether to include task and cluster details in the response. Note that in // API 2.2, only the first 100 elements will be shown. Use :method:jobs/get // to paginate through all tasks and clusters. ExpandTasks types.Bool `tfsdk:"-"` // The number of jobs to return. This value must be greater than 0 and less // or equal to 100. The default value is 20. Limit types.Int64 `tfsdk:"-"` // A filter on the list based on the exact (case insensitive) job name. Name types.String `tfsdk:"-"` // The offset of the first job to return, relative to the most recently // created job. Deprecated since June 2023. Use `page_token` to iterate // through the pages instead. Offset types.Int64 `tfsdk:"-"` // Use `next_page_token` or `prev_page_token` returned from the previous // request to list the next or previous page of jobs respectively. PageToken types.String `tfsdk:"-"` }
List jobs
func (ListJobsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListJobsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListJobsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobsRequest only implements ToObjectValue() and Type().
type ListJobsRequest_SdkV2 ¶ added in v1.62.1
type ListJobsRequest_SdkV2 struct { // Whether to include task and cluster details in the response. Note that in // API 2.2, only the first 100 elements will be shown. Use :method:jobs/get // to paginate through all tasks and clusters. ExpandTasks types.Bool `tfsdk:"-"` // The number of jobs to return. This value must be greater than 0 and less // or equal to 100. The default value is 20. Limit types.Int64 `tfsdk:"-"` // A filter on the list based on the exact (case insensitive) job name. Name types.String `tfsdk:"-"` // The offset of the first job to return, relative to the most recently // created job. Deprecated since June 2023. Use `page_token` to iterate // through the pages instead. Offset types.Int64 `tfsdk:"-"` // Use `next_page_token` or `prev_page_token` returned from the previous // request to list the next or previous page of jobs respectively. PageToken types.String `tfsdk:"-"` }
List jobs
func (ListJobsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListJobsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListJobsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobsRequest_SdkV2 only implements ToObjectValue() and Type().
type ListJobsResponse ¶
type ListJobsResponse struct { // If true, additional jobs matching the provided filter are available for // listing. HasMore types.Bool `tfsdk:"has_more"` // The list of jobs. Only included in the response if there are jobs to // list. Jobs types.List `tfsdk:"jobs"` // A token that can be used to list the next page of jobs (if applicable). NextPageToken types.String `tfsdk:"next_page_token"` // A token that can be used to list the previous page of jobs (if // applicable). PrevPageToken types.String `tfsdk:"prev_page_token"` }
List of jobs was retrieved successfully.
func (ListJobsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListJobsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListJobsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListJobsResponse) GetJobs ¶ added in v1.61.0
func (o *ListJobsResponse) GetJobs(ctx context.Context) ([]BaseJob, bool)
GetJobs returns the value of the Jobs field in ListJobsResponse as a slice of BaseJob values. If the field is unknown or null, the boolean return value is false.
func (*ListJobsResponse) SetJobs ¶ added in v1.61.0
func (o *ListJobsResponse) SetJobs(ctx context.Context, v []BaseJob)
SetJobs sets the value of the Jobs field in ListJobsResponse.
func (*ListJobsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListJobsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsResponse)
func (*ListJobsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListJobsResponse) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse)
func (ListJobsResponse) ToObjectValue ¶ added in v1.61.0
func (o ListJobsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobsResponse only implements ToObjectValue() and Type().
type ListJobsResponse_SdkV2 ¶ added in v1.62.1
type ListJobsResponse_SdkV2 struct { // If true, additional jobs matching the provided filter are available for // listing. HasMore types.Bool `tfsdk:"has_more"` // The list of jobs. Only included in the response if there are jobs to // list. Jobs types.List `tfsdk:"jobs"` // A token that can be used to list the next page of jobs (if applicable). NextPageToken types.String `tfsdk:"next_page_token"` // A token that can be used to list the previous page of jobs (if // applicable). PrevPageToken types.String `tfsdk:"prev_page_token"` }
List of jobs was retrieved successfully.
func (ListJobsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListJobsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListJobsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListJobsResponse_SdkV2) GetJobs ¶ added in v1.62.1
func (o *ListJobsResponse_SdkV2) GetJobs(ctx context.Context) ([]BaseJob_SdkV2, bool)
GetJobs returns the value of the Jobs field in ListJobsResponse_SdkV2 as a slice of BaseJob_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListJobsResponse_SdkV2) SetJobs ¶ added in v1.62.1
func (o *ListJobsResponse_SdkV2) SetJobs(ctx context.Context, v []BaseJob_SdkV2)
SetJobs sets the value of the Jobs field in ListJobsResponse_SdkV2.
func (*ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsResponse_SdkV2)
func (*ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse_SdkV2)
func (ListJobsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListJobsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListJobsResponse_SdkV2 only implements ToObjectValue() and Type().
type ListRunsRequest ¶
type ListRunsRequest struct { // If active_only is `true`, only active runs are included in the results; // otherwise, lists both active and completed runs. An active run is a run // in the `QUEUED`, `PENDING`, `RUNNING`, or `TERMINATING`. This field // cannot be `true` when completed_only is `true`. ActiveOnly types.Bool `tfsdk:"-"` // If completed_only is `true`, only completed runs are included in the // results; otherwise, lists both active and completed runs. This field // cannot be `true` when active_only is `true`. CompletedOnly types.Bool `tfsdk:"-"` // Whether to include task and cluster details in the response. Note that in // API 2.2, only the first 100 elements will be shown. Use // :method:jobs/getrun to paginate through all tasks and clusters. ExpandTasks types.Bool `tfsdk:"-"` // The job for which to list runs. If omitted, the Jobs service lists runs // from all jobs. JobId types.Int64 `tfsdk:"-"` // The number of runs to return. This value must be greater than 0 and less // than 25. The default value is 20. If a request specifies a limit of 0, // the service instead uses the maximum limit. Limit types.Int64 `tfsdk:"-"` // The offset of the first run to return, relative to the most recent run. // Deprecated since June 2023. Use `page_token` to iterate through the pages // instead. Offset types.Int64 `tfsdk:"-"` // Use `next_page_token` or `prev_page_token` returned from the previous // request to list the next or previous page of runs respectively. PageToken types.String `tfsdk:"-"` // The type of runs to return. For a description of run types, see // :method:jobs/getRun. RunType types.String `tfsdk:"-"` // Show runs that started _at or after_ this value. The value must be a UTC // timestamp in milliseconds. Can be combined with _start_time_to_ to filter // by a time range. StartTimeFrom types.Int64 `tfsdk:"-"` // Show runs that started _at or before_ this value. The value must be a UTC // timestamp in milliseconds. Can be combined with _start_time_from_ to // filter by a time range. StartTimeTo types.Int64 `tfsdk:"-"` }
List job runs
func (ListRunsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListRunsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListRunsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRunsRequest only implements ToObjectValue() and Type().
type ListRunsRequest_SdkV2 ¶ added in v1.62.1
type ListRunsRequest_SdkV2 struct { // If active_only is `true`, only active runs are included in the results; // otherwise, lists both active and completed runs. An active run is a run // in the `QUEUED`, `PENDING`, `RUNNING`, or `TERMINATING`. This field // cannot be `true` when completed_only is `true`. ActiveOnly types.Bool `tfsdk:"-"` // If completed_only is `true`, only completed runs are included in the // results; otherwise, lists both active and completed runs. This field // cannot be `true` when active_only is `true`. CompletedOnly types.Bool `tfsdk:"-"` // Whether to include task and cluster details in the response. Note that in // API 2.2, only the first 100 elements will be shown. Use // :method:jobs/getrun to paginate through all tasks and clusters. ExpandTasks types.Bool `tfsdk:"-"` // The job for which to list runs. If omitted, the Jobs service lists runs // from all jobs. JobId types.Int64 `tfsdk:"-"` // The number of runs to return. This value must be greater than 0 and less // than 25. The default value is 20. If a request specifies a limit of 0, // the service instead uses the maximum limit. Limit types.Int64 `tfsdk:"-"` // The offset of the first run to return, relative to the most recent run. // Deprecated since June 2023. Use `page_token` to iterate through the pages // instead. Offset types.Int64 `tfsdk:"-"` // Use `next_page_token` or `prev_page_token` returned from the previous // request to list the next or previous page of runs respectively. PageToken types.String `tfsdk:"-"` // The type of runs to return. For a description of run types, see // :method:jobs/getRun. RunType types.String `tfsdk:"-"` // Show runs that started _at or after_ this value. The value must be a UTC // timestamp in milliseconds. Can be combined with _start_time_to_ to filter // by a time range. StartTimeFrom types.Int64 `tfsdk:"-"` // Show runs that started _at or before_ this value. The value must be a UTC // timestamp in milliseconds. Can be combined with _start_time_from_ to // filter by a time range. StartTimeTo types.Int64 `tfsdk:"-"` }
List job runs
func (ListRunsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListRunsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListRunsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRunsRequest_SdkV2 only implements ToObjectValue() and Type().
type ListRunsResponse ¶
type ListRunsResponse struct { // If true, additional runs matching the provided filter are available for // listing. HasMore types.Bool `tfsdk:"has_more"` // A token that can be used to list the next page of runs (if applicable). NextPageToken types.String `tfsdk:"next_page_token"` // A token that can be used to list the previous page of runs (if // applicable). PrevPageToken types.String `tfsdk:"prev_page_token"` // A list of runs, from most recently started to least. Only included in the // response if there are runs to list. Runs types.List `tfsdk:"runs"` }
List of runs was retrieved successfully.
func (ListRunsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListRunsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListRunsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListRunsResponse) GetRuns ¶ added in v1.61.0
func (o *ListRunsResponse) GetRuns(ctx context.Context) ([]BaseRun, bool)
GetRuns returns the value of the Runs field in ListRunsResponse as a slice of BaseRun values. If the field is unknown or null, the boolean return value is false.
func (*ListRunsResponse) SetRuns ¶ added in v1.61.0
func (o *ListRunsResponse) SetRuns(ctx context.Context, v []BaseRun)
SetRuns sets the value of the Runs field in ListRunsResponse.
func (*ListRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsResponse)
func (*ListRunsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListRunsResponse) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse)
func (ListRunsResponse) ToObjectValue ¶ added in v1.61.0
func (o ListRunsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRunsResponse only implements ToObjectValue() and Type().
type ListRunsResponse_SdkV2 ¶ added in v1.62.1
type ListRunsResponse_SdkV2 struct { // If true, additional runs matching the provided filter are available for // listing. HasMore types.Bool `tfsdk:"has_more"` // A token that can be used to list the next page of runs (if applicable). NextPageToken types.String `tfsdk:"next_page_token"` // A token that can be used to list the previous page of runs (if // applicable). PrevPageToken types.String `tfsdk:"prev_page_token"` // A list of runs, from most recently started to least. Only included in the // response if there are runs to list. Runs types.List `tfsdk:"runs"` }
List of runs was retrieved successfully.
func (ListRunsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListRunsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListRunsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListRunsResponse_SdkV2) GetRuns ¶ added in v1.62.1
func (o *ListRunsResponse_SdkV2) GetRuns(ctx context.Context) ([]BaseRun_SdkV2, bool)
GetRuns returns the value of the Runs field in ListRunsResponse_SdkV2 as a slice of BaseRun_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListRunsResponse_SdkV2) SetRuns ¶ added in v1.62.1
func (o *ListRunsResponse_SdkV2) SetRuns(ctx context.Context, v []BaseRun_SdkV2)
SetRuns sets the value of the Runs field in ListRunsResponse_SdkV2.
func (*ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsResponse_SdkV2)
func (*ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse_SdkV2)
func (ListRunsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListRunsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRunsResponse_SdkV2 only implements ToObjectValue() and Type().
type NotebookOutput ¶
type NotebookOutput struct { // The value passed to // [dbutils.notebook.exit()](/notebooks/notebook-workflows.html#notebook-workflows-exit). // Databricks restricts this API to return the first 5 MB of the value. For // a larger result, your job can store the results in a cloud storage // service. This field is absent if `dbutils.notebook.exit()` was never // called. Result types.String `tfsdk:"result"` // Whether or not the result was truncated. Truncated types.Bool `tfsdk:"truncated"` }
func (NotebookOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NotebookOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NotebookOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NotebookOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *NotebookOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookOutput)
func (*NotebookOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *NotebookOutput) SyncEffectiveFieldsDuringRead(existingState NotebookOutput)
func (NotebookOutput) ToObjectValue ¶ added in v1.61.0
func (o NotebookOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NotebookOutput only implements ToObjectValue() and Type().
type NotebookOutput_SdkV2 ¶ added in v1.62.1
type NotebookOutput_SdkV2 struct { // The value passed to // [dbutils.notebook.exit()](/notebooks/notebook-workflows.html#notebook-workflows-exit). // Databricks restricts this API to return the first 5 MB of the value. For // a larger result, your job can store the results in a cloud storage // service. This field is absent if `dbutils.notebook.exit()` was never // called. Result types.String `tfsdk:"result"` // Whether or not the result was truncated. Truncated types.Bool `tfsdk:"truncated"` }
func (NotebookOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NotebookOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NotebookOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NotebookOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookOutput_SdkV2)
func (*NotebookOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookOutput_SdkV2)
func (NotebookOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o NotebookOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NotebookOutput_SdkV2 only implements ToObjectValue() and Type().
type NotebookTask ¶
type NotebookTask struct { // Base parameters to be used for each run of this job. If the run is // initiated by a call to :method:jobs/run Now with parameters specified, // the two parameters maps are merged. If the same key is specified in // `base_parameters` and in `run-now`, the value from `run-now` is used. Use // [Task parameter variables] to set parameters containing information about // job runs. // // If the notebook takes a parameter that is not specified in the job’s // `base_parameters` or the `run-now` override parameters, the default value // from the notebook is used. // // Retrieve these parameters in a notebook using [dbutils.widgets.get]. // // The JSON representation of this field cannot exceed 1MB. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-widgets BaseParameters types.Map `tfsdk:"base_parameters"` // The path of the notebook to be run in the Databricks workspace or remote // repository. For notebooks stored in the Databricks workspace, the path // must be absolute and begin with a slash. For notebooks stored in a remote // repository, the path must be relative. This field is required. NotebookPath types.String `tfsdk:"notebook_path"` // Optional location type of the notebook. When set to `WORKSPACE`, the // notebook will be retrieved from the local Databricks workspace. When set // to `GIT`, the notebook will be retrieved from a Git repository defined in // `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. * `WORKSPACE`: // Notebook is located in Databricks workspace. * `GIT`: Notebook is located // in cloud Git provider. Source types.String `tfsdk:"source"` // Optional `warehouse_id` to run the notebook on a SQL warehouse. Classic // SQL warehouses are NOT supported, please use serverless or pro SQL // warehouses. // // Note that SQL warehouses only support SQL cells; if the notebook contains // non-SQL cells, the run will fail. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (NotebookTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NotebookTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*NotebookTask) GetBaseParameters ¶ added in v1.61.0
GetBaseParameters returns the value of the BaseParameters field in NotebookTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (NotebookTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NotebookTask) SetBaseParameters ¶ added in v1.61.0
SetBaseParameters sets the value of the BaseParameters field in NotebookTask.
func (*NotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *NotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookTask)
func (*NotebookTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *NotebookTask) SyncEffectiveFieldsDuringRead(existingState NotebookTask)
func (NotebookTask) ToObjectValue ¶ added in v1.61.0
func (o NotebookTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NotebookTask only implements ToObjectValue() and Type().
type NotebookTask_SdkV2 ¶ added in v1.62.1
type NotebookTask_SdkV2 struct { // Base parameters to be used for each run of this job. If the run is // initiated by a call to :method:jobs/run Now with parameters specified, // the two parameters maps are merged. If the same key is specified in // `base_parameters` and in `run-now`, the value from `run-now` is used. Use // [Task parameter variables] to set parameters containing information about // job runs. // // If the notebook takes a parameter that is not specified in the job’s // `base_parameters` or the `run-now` override parameters, the default value // from the notebook is used. // // Retrieve these parameters in a notebook using [dbutils.widgets.get]. // // The JSON representation of this field cannot exceed 1MB. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-widgets BaseParameters types.Map `tfsdk:"base_parameters"` // The path of the notebook to be run in the Databricks workspace or remote // repository. For notebooks stored in the Databricks workspace, the path // must be absolute and begin with a slash. For notebooks stored in a remote // repository, the path must be relative. This field is required. NotebookPath types.String `tfsdk:"notebook_path"` // Optional location type of the notebook. When set to `WORKSPACE`, the // notebook will be retrieved from the local Databricks workspace. When set // to `GIT`, the notebook will be retrieved from a Git repository defined in // `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. * `WORKSPACE`: // Notebook is located in Databricks workspace. * `GIT`: Notebook is located // in cloud Git provider. Source types.String `tfsdk:"source"` // Optional `warehouse_id` to run the notebook on a SQL warehouse. Classic // SQL warehouses are NOT supported, please use serverless or pro SQL // warehouses. // // Note that SQL warehouses only support SQL cells; if the notebook contains // non-SQL cells, the run will fail. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (NotebookTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NotebookTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*NotebookTask_SdkV2) GetBaseParameters ¶ added in v1.62.1
GetBaseParameters returns the value of the BaseParameters field in NotebookTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (NotebookTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NotebookTask_SdkV2) SetBaseParameters ¶ added in v1.62.1
SetBaseParameters sets the value of the BaseParameters field in NotebookTask_SdkV2.
func (*NotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NotebookTask_SdkV2)
func (*NotebookTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookTask_SdkV2)
func (NotebookTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o NotebookTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NotebookTask_SdkV2 only implements ToObjectValue() and Type().
type OutputSchemaInfo ¶ added in v1.64.0
type OutputSchemaInfo struct { CatalogName types.String `tfsdk:"catalog_name"` // The expiration time for the output schema as a Unix timestamp in // milliseconds. ExpirationTime types.Int64 `tfsdk:"expiration_time"` SchemaName types.String `tfsdk:"schema_name"` }
Stores the catalog name, schema name, and the output schema expiration time for the clean room run.
func (OutputSchemaInfo) ApplySchemaCustomizations ¶ added in v1.64.0
func (c OutputSchemaInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (OutputSchemaInfo) GetComplexFieldTypes ¶ added in v1.64.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in OutputSchemaInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*OutputSchemaInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.64.0
func (newState *OutputSchemaInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan OutputSchemaInfo)
func (*OutputSchemaInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.64.0
func (newState *OutputSchemaInfo) SyncEffectiveFieldsDuringRead(existingState OutputSchemaInfo)
func (OutputSchemaInfo) ToObjectValue ¶ added in v1.64.0
func (o OutputSchemaInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, OutputSchemaInfo only implements ToObjectValue() and Type().
type OutputSchemaInfo_SdkV2 ¶ added in v1.64.0
type OutputSchemaInfo_SdkV2 struct { CatalogName types.String `tfsdk:"catalog_name"` // The expiration time for the output schema as a Unix timestamp in // milliseconds. ExpirationTime types.Int64 `tfsdk:"expiration_time"` SchemaName types.String `tfsdk:"schema_name"` }
Stores the catalog name, schema name, and the output schema expiration time for the clean room run.
func (OutputSchemaInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.64.0
func (c OutputSchemaInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (OutputSchemaInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.64.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in OutputSchemaInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.64.0
func (newState *OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan OutputSchemaInfo_SdkV2)
func (*OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.64.0
func (newState *OutputSchemaInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState OutputSchemaInfo_SdkV2)
func (OutputSchemaInfo_SdkV2) ToObjectValue ¶ added in v1.64.0
func (o OutputSchemaInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, OutputSchemaInfo_SdkV2 only implements ToObjectValue() and Type().
type PeriodicTriggerConfiguration ¶
type PeriodicTriggerConfiguration struct { // The interval at which the trigger should run. Interval types.Int64 `tfsdk:"interval"` // The unit of time for the interval. Unit types.String `tfsdk:"unit"` }
func (PeriodicTriggerConfiguration) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PeriodicTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PeriodicTriggerConfiguration) GetComplexFieldTypes ¶ added in v1.61.0
func (a PeriodicTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PeriodicTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan PeriodicTriggerConfiguration)
func (*PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration)
func (PeriodicTriggerConfiguration) ToObjectValue ¶ added in v1.61.0
func (o PeriodicTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PeriodicTriggerConfiguration only implements ToObjectValue() and Type().
type PeriodicTriggerConfiguration_SdkV2 ¶ added in v1.62.1
type PeriodicTriggerConfiguration_SdkV2 struct { // The interval at which the trigger should run. Interval types.Int64 `tfsdk:"interval"` // The unit of time for the interval. Unit types.String `tfsdk:"unit"` }
func (PeriodicTriggerConfiguration_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PeriodicTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PeriodicTriggerConfiguration_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a PeriodicTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PeriodicTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PeriodicTriggerConfiguration_SdkV2)
func (*PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration_SdkV2)
func (PeriodicTriggerConfiguration_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PeriodicTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PeriodicTriggerConfiguration_SdkV2 only implements ToObjectValue() and Type().
type PipelineParams ¶
type PipelineParams struct { // If true, triggers a full refresh on the delta live table. FullRefresh types.Bool `tfsdk:"full_refresh"` }
func (PipelineParams) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PipelineParams) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PipelineParams) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineParams. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PipelineParams) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PipelineParams) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineParams)
func (*PipelineParams) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PipelineParams) SyncEffectiveFieldsDuringRead(existingState PipelineParams)
func (PipelineParams) ToObjectValue ¶ added in v1.61.0
func (o PipelineParams) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PipelineParams only implements ToObjectValue() and Type().
type PipelineParams_SdkV2 ¶ added in v1.62.1
type PipelineParams_SdkV2 struct { // If true, triggers a full refresh on the delta live table. FullRefresh types.Bool `tfsdk:"full_refresh"` }
func (PipelineParams_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PipelineParams_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PipelineParams_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineParams. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PipelineParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineParams_SdkV2)
func (*PipelineParams_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineParams_SdkV2)
func (PipelineParams_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PipelineParams_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PipelineParams_SdkV2 only implements ToObjectValue() and Type().
type PipelineTask ¶
type PipelineTask struct { // If true, triggers a full refresh on the delta live table. FullRefresh types.Bool `tfsdk:"full_refresh"` // The full name of the pipeline task to execute. PipelineId types.String `tfsdk:"pipeline_id"` }
func (PipelineTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PipelineTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PipelineTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PipelineTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PipelineTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineTask)
func (*PipelineTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PipelineTask) SyncEffectiveFieldsDuringRead(existingState PipelineTask)
func (PipelineTask) ToObjectValue ¶ added in v1.61.0
func (o PipelineTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PipelineTask only implements ToObjectValue() and Type().
type PipelineTask_SdkV2 ¶ added in v1.62.1
type PipelineTask_SdkV2 struct { // If true, triggers a full refresh on the delta live table. FullRefresh types.Bool `tfsdk:"full_refresh"` // The full name of the pipeline task to execute. PipelineId types.String `tfsdk:"pipeline_id"` }
func (PipelineTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PipelineTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PipelineTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PipelineTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PipelineTask_SdkV2)
func (*PipelineTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineTask_SdkV2)
func (PipelineTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PipelineTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PipelineTask_SdkV2 only implements ToObjectValue() and Type().
type PythonWheelTask ¶
type PythonWheelTask struct { // Named entry point to use, if it does not exist in the metadata of the // package it executes the function from the package directly using // `$packageName.$entryPoint()` EntryPoint types.String `tfsdk:"entry_point"` // Command-line parameters passed to Python wheel task in the form of // `["--name=task", "--data=dbfs:/path/to/data.json"]`. Leave it empty if // `parameters` is not null. NamedParameters types.Map `tfsdk:"named_parameters"` // Name of the package to execute PackageName types.String `tfsdk:"package_name"` // Command-line parameters passed to Python wheel task. Leave it empty if // `named_parameters` is not null. Parameters types.List `tfsdk:"parameters"` }
func (PythonWheelTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PythonWheelTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PythonWheelTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonWheelTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PythonWheelTask) GetNamedParameters ¶ added in v1.61.0
GetNamedParameters returns the value of the NamedParameters field in PythonWheelTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*PythonWheelTask) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in PythonWheelTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PythonWheelTask) SetNamedParameters ¶ added in v1.61.0
SetNamedParameters sets the value of the NamedParameters field in PythonWheelTask.
func (*PythonWheelTask) SetParameters ¶ added in v1.61.0
func (o *PythonWheelTask) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in PythonWheelTask.
func (*PythonWheelTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PythonWheelTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonWheelTask)
func (*PythonWheelTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PythonWheelTask) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask)
func (PythonWheelTask) ToObjectValue ¶ added in v1.61.0
func (o PythonWheelTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonWheelTask only implements ToObjectValue() and Type().
type PythonWheelTask_SdkV2 ¶ added in v1.62.1
type PythonWheelTask_SdkV2 struct { // Named entry point to use, if it does not exist in the metadata of the // package it executes the function from the package directly using // `$packageName.$entryPoint()` EntryPoint types.String `tfsdk:"entry_point"` // Command-line parameters passed to Python wheel task in the form of // `["--name=task", "--data=dbfs:/path/to/data.json"]`. Leave it empty if // `parameters` is not null. NamedParameters types.Map `tfsdk:"named_parameters"` // Name of the package to execute PackageName types.String `tfsdk:"package_name"` // Command-line parameters passed to Python wheel task. Leave it empty if // `named_parameters` is not null. Parameters types.List `tfsdk:"parameters"` }
func (PythonWheelTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PythonWheelTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PythonWheelTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonWheelTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PythonWheelTask_SdkV2) GetNamedParameters ¶ added in v1.62.1
func (o *PythonWheelTask_SdkV2) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
GetNamedParameters returns the value of the NamedParameters field in PythonWheelTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*PythonWheelTask_SdkV2) GetParameters ¶ added in v1.62.1
GetParameters returns the value of the Parameters field in PythonWheelTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PythonWheelTask_SdkV2) SetNamedParameters ¶ added in v1.62.1
SetNamedParameters sets the value of the NamedParameters field in PythonWheelTask_SdkV2.
func (*PythonWheelTask_SdkV2) SetParameters ¶ added in v1.62.1
func (o *PythonWheelTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in PythonWheelTask_SdkV2.
func (*PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonWheelTask_SdkV2)
func (*PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask_SdkV2)
func (PythonWheelTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PythonWheelTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonWheelTask_SdkV2 only implements ToObjectValue() and Type().
type QueueDetails ¶ added in v1.52.0
type QueueDetails struct { // The reason for queuing the run. * `ACTIVE_RUNS_LIMIT_REACHED`: The run // was queued due to reaching the workspace limit of active task runs. * // `MAX_CONCURRENT_RUNS_REACHED`: The run was queued due to reaching the // per-job limit of concurrent job runs. * // `ACTIVE_RUN_JOB_TASKS_LIMIT_REACHED`: The run was queued due to reaching // the workspace limit of active run job tasks. Code types.String `tfsdk:"code"` // A descriptive message with the queuing details. This field is // unstructured, and its exact format is subject to change. Message types.String `tfsdk:"message"` }
func (QueueDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c QueueDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (QueueDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueueDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueueDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueDetails)
func (*QueueDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueueDetails) SyncEffectiveFieldsDuringRead(existingState QueueDetails)
func (QueueDetails) ToObjectValue ¶ added in v1.61.0
func (o QueueDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueueDetails only implements ToObjectValue() and Type().
type QueueDetails_SdkV2 ¶ added in v1.62.1
type QueueDetails_SdkV2 struct { // The reason for queuing the run. * `ACTIVE_RUNS_LIMIT_REACHED`: The run // was queued due to reaching the workspace limit of active task runs. * // `MAX_CONCURRENT_RUNS_REACHED`: The run was queued due to reaching the // per-job limit of concurrent job runs. * // `ACTIVE_RUN_JOB_TASKS_LIMIT_REACHED`: The run was queued due to reaching // the workspace limit of active run job tasks. Code types.String `tfsdk:"code"` // A descriptive message with the queuing details. This field is // unstructured, and its exact format is subject to change. Message types.String `tfsdk:"message"` }
func (QueueDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c QueueDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (QueueDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueueDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueDetails_SdkV2)
func (*QueueDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueDetails_SdkV2)
func (QueueDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o QueueDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueueDetails_SdkV2 only implements ToObjectValue() and Type().
type QueueSettings ¶
type QueueSettings struct { // If true, enable queueing for the job. This is a required field. Enabled types.Bool `tfsdk:"enabled"` }
func (QueueSettings) ApplySchemaCustomizations ¶ added in v1.63.0
func (c QueueSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (QueueSettings) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueueSettings) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueueSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueSettings)
func (*QueueSettings) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueueSettings) SyncEffectiveFieldsDuringRead(existingState QueueSettings)
func (QueueSettings) ToObjectValue ¶ added in v1.61.0
func (o QueueSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueueSettings only implements ToObjectValue() and Type().
type QueueSettings_SdkV2 ¶ added in v1.62.1
type QueueSettings_SdkV2 struct { // If true, enable queueing for the job. This is a required field. Enabled types.Bool `tfsdk:"enabled"` }
func (QueueSettings_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c QueueSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (QueueSettings_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueueSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueueSettings_SdkV2)
func (*QueueSettings_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueSettings_SdkV2)
func (QueueSettings_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o QueueSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueueSettings_SdkV2 only implements ToObjectValue() and Type().
type RepairHistoryItem ¶
type RepairHistoryItem struct { // The end time of the (repaired) run. EndTime types.Int64 `tfsdk:"end_time"` // The ID of the repair. Only returned for the items that represent a repair // in `repair_history`. Id types.Int64 `tfsdk:"id"` // The start time of the (repaired) run. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.Object `tfsdk:"state"` // The current status of the run Status types.Object `tfsdk:"status"` // The run IDs of the task runs that ran as part of this repair history // item. TaskRunIds types.List `tfsdk:"task_run_ids"` // The repair history item type. Indicates whether a run is the original run // or a repair run. Type_ types.String `tfsdk:"type"` }
func (RepairHistoryItem) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairHistoryItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairHistoryItem) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairHistoryItem. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairHistoryItem) GetState ¶ added in v1.61.0
func (o *RepairHistoryItem) GetState(ctx context.Context) (RunState, bool)
GetState returns the value of the State field in RepairHistoryItem as a RunState value. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem) GetStatus ¶ added in v1.61.0
func (o *RepairHistoryItem) GetStatus(ctx context.Context) (RunStatus, bool)
GetStatus returns the value of the Status field in RepairHistoryItem as a RunStatus value. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem) GetTaskRunIds ¶ added in v1.61.0
GetTaskRunIds returns the value of the TaskRunIds field in RepairHistoryItem as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem) SetState ¶ added in v1.61.0
func (o *RepairHistoryItem) SetState(ctx context.Context, v RunState)
SetState sets the value of the State field in RepairHistoryItem.
func (*RepairHistoryItem) SetStatus ¶ added in v1.61.0
func (o *RepairHistoryItem) SetStatus(ctx context.Context, v RunStatus)
SetStatus sets the value of the Status field in RepairHistoryItem.
func (*RepairHistoryItem) SetTaskRunIds ¶ added in v1.61.0
func (o *RepairHistoryItem) SetTaskRunIds(ctx context.Context, v []types.Int64)
SetTaskRunIds sets the value of the TaskRunIds field in RepairHistoryItem.
func (*RepairHistoryItem) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairHistoryItem)
func (*RepairHistoryItem) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem)
func (RepairHistoryItem) ToObjectValue ¶ added in v1.61.0
func (o RepairHistoryItem) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairHistoryItem only implements ToObjectValue() and Type().
type RepairHistoryItem_SdkV2 ¶ added in v1.62.1
type RepairHistoryItem_SdkV2 struct { // The end time of the (repaired) run. EndTime types.Int64 `tfsdk:"end_time"` // The ID of the repair. Only returned for the items that represent a repair // in `repair_history`. Id types.Int64 `tfsdk:"id"` // The start time of the (repaired) run. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.List `tfsdk:"state"` // The current status of the run Status types.List `tfsdk:"status"` // The run IDs of the task runs that ran as part of this repair history // item. TaskRunIds types.List `tfsdk:"task_run_ids"` // The repair history item type. Indicates whether a run is the original run // or a repair run. Type_ types.String `tfsdk:"type"` }
func (RepairHistoryItem_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairHistoryItem_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairHistoryItem_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairHistoryItem. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairHistoryItem_SdkV2) GetState ¶ added in v1.62.1
func (o *RepairHistoryItem_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
GetState returns the value of the State field in RepairHistoryItem_SdkV2 as a RunState_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem_SdkV2) GetStatus ¶ added in v1.62.1
func (o *RepairHistoryItem_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
GetStatus returns the value of the Status field in RepairHistoryItem_SdkV2 as a RunStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem_SdkV2) GetTaskRunIds ¶ added in v1.62.1
GetTaskRunIds returns the value of the TaskRunIds field in RepairHistoryItem_SdkV2 as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.
func (*RepairHistoryItem_SdkV2) SetState ¶ added in v1.62.1
func (o *RepairHistoryItem_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
SetState sets the value of the State field in RepairHistoryItem_SdkV2.
func (*RepairHistoryItem_SdkV2) SetStatus ¶ added in v1.62.1
func (o *RepairHistoryItem_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
SetStatus sets the value of the Status field in RepairHistoryItem_SdkV2.
func (*RepairHistoryItem_SdkV2) SetTaskRunIds ¶ added in v1.62.1
func (o *RepairHistoryItem_SdkV2) SetTaskRunIds(ctx context.Context, v []types.Int64)
SetTaskRunIds sets the value of the TaskRunIds field in RepairHistoryItem_SdkV2.
func (*RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairHistoryItem_SdkV2)
func (*RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem_SdkV2)
func (RepairHistoryItem_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RepairHistoryItem_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairHistoryItem_SdkV2 only implements ToObjectValue() and Type().
type RepairRun ¶
type RepairRun struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // Job-level parameters used in the run. for example `"param": // "overriding_val"` JobParameters types.Map `tfsdk:"job_parameters"` // The ID of the latest repair. This parameter is not required when // repairing a run for the first time, but must be provided on subsequent // requests to repair the same run. LatestRepairId types.Int64 `tfsdk:"latest_repair_id"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.Object `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // If true, repair all failed tasks. Only one of `rerun_tasks` or // `rerun_all_failed_tasks` can be used. RerunAllFailedTasks types.Bool `tfsdk:"rerun_all_failed_tasks"` // If true, repair all tasks that depend on the tasks in `rerun_tasks`, even // if they were previously successful. Can be also used in combination with // `rerun_all_failed_tasks`. RerunDependentTasks types.Bool `tfsdk:"rerun_dependent_tasks"` // The task keys of the task runs to repair. RerunTasks types.List `tfsdk:"rerun_tasks"` // The job run ID of the run to repair. The run must not be in progress. RunId types.Int64 `tfsdk:"run_id"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RepairRun) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairRun) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairRun) GetDbtCommands ¶ added in v1.61.0
GetDbtCommands returns the value of the DbtCommands field in RepairRun as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetJarParams ¶ added in v1.61.0
GetJarParams returns the value of the JarParams field in RepairRun as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetJobParameters ¶ added in v1.61.0
GetJobParameters returns the value of the JobParameters field in RepairRun as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetNotebookParams ¶ added in v1.61.0
GetNotebookParams returns the value of the NotebookParams field in RepairRun as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetPipelineParams ¶ added in v1.61.0
func (o *RepairRun) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
GetPipelineParams returns the value of the PipelineParams field in RepairRun as a PipelineParams value. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetPythonNamedParams ¶ added in v1.61.0
GetPythonNamedParams returns the value of the PythonNamedParams field in RepairRun as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetPythonParams ¶ added in v1.61.0
GetPythonParams returns the value of the PythonParams field in RepairRun as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetRerunTasks ¶ added in v1.61.0
GetRerunTasks returns the value of the RerunTasks field in RepairRun as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetSparkSubmitParams ¶ added in v1.61.0
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RepairRun as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) GetSqlParams ¶ added in v1.61.0
GetSqlParams returns the value of the SqlParams field in RepairRun as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun) SetDbtCommands ¶ added in v1.61.0
SetDbtCommands sets the value of the DbtCommands field in RepairRun.
func (*RepairRun) SetJarParams ¶ added in v1.61.0
SetJarParams sets the value of the JarParams field in RepairRun.
func (*RepairRun) SetJobParameters ¶ added in v1.61.0
SetJobParameters sets the value of the JobParameters field in RepairRun.
func (*RepairRun) SetNotebookParams ¶ added in v1.61.0
SetNotebookParams sets the value of the NotebookParams field in RepairRun.
func (*RepairRun) SetPipelineParams ¶ added in v1.61.0
func (o *RepairRun) SetPipelineParams(ctx context.Context, v PipelineParams)
SetPipelineParams sets the value of the PipelineParams field in RepairRun.
func (*RepairRun) SetPythonNamedParams ¶ added in v1.61.0
SetPythonNamedParams sets the value of the PythonNamedParams field in RepairRun.
func (*RepairRun) SetPythonParams ¶ added in v1.61.0
SetPythonParams sets the value of the PythonParams field in RepairRun.
func (*RepairRun) SetRerunTasks ¶ added in v1.61.0
SetRerunTasks sets the value of the RerunTasks field in RepairRun.
func (*RepairRun) SetSparkSubmitParams ¶ added in v1.61.0
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RepairRun.
func (*RepairRun) SetSqlParams ¶ added in v1.61.0
SetSqlParams sets the value of the SqlParams field in RepairRun.
func (*RepairRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RepairRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RepairRun) ToObjectValue ¶ added in v1.61.0
func (o RepairRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairRun only implements ToObjectValue() and Type().
type RepairRunResponse ¶
type RepairRunResponse struct { // The ID of the repair. Must be provided in subsequent repairs using the // `latest_repair_id` field to ensure sequential repairs. RepairId types.Int64 `tfsdk:"repair_id"` }
Run repair was initiated.
func (RepairRunResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairRunResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairRunResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RepairRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRunResponse)
func (*RepairRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RepairRunResponse) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse)
func (RepairRunResponse) ToObjectValue ¶ added in v1.61.0
func (o RepairRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairRunResponse only implements ToObjectValue() and Type().
type RepairRunResponse_SdkV2 ¶ added in v1.62.1
type RepairRunResponse_SdkV2 struct { // The ID of the repair. Must be provided in subsequent repairs using the // `latest_repair_id` field to ensure sequential repairs. RepairId types.Int64 `tfsdk:"repair_id"` }
Run repair was initiated.
func (RepairRunResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairRunResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairRunResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRunResponse_SdkV2)
func (*RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse_SdkV2)
func (RepairRunResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RepairRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairRunResponse_SdkV2 only implements ToObjectValue() and Type().
type RepairRun_SdkV2 ¶ added in v1.62.1
type RepairRun_SdkV2 struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // Job-level parameters used in the run. for example `"param": // "overriding_val"` JobParameters types.Map `tfsdk:"job_parameters"` // The ID of the latest repair. This parameter is not required when // repairing a run for the first time, but must be provided on subsequent // requests to repair the same run. LatestRepairId types.Int64 `tfsdk:"latest_repair_id"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.List `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // If true, repair all failed tasks. Only one of `rerun_tasks` or // `rerun_all_failed_tasks` can be used. RerunAllFailedTasks types.Bool `tfsdk:"rerun_all_failed_tasks"` // If true, repair all tasks that depend on the tasks in `rerun_tasks`, even // if they were previously successful. Can be also used in combination with // `rerun_all_failed_tasks`. RerunDependentTasks types.Bool `tfsdk:"rerun_dependent_tasks"` // The task keys of the task runs to repair. RerunTasks types.List `tfsdk:"rerun_tasks"` // The job run ID of the run to repair. The run must not be in progress. RunId types.Int64 `tfsdk:"run_id"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RepairRun_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RepairRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RepairRun_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RepairRun_SdkV2) GetDbtCommands ¶ added in v1.62.1
GetDbtCommands returns the value of the DbtCommands field in RepairRun_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetJarParams ¶ added in v1.62.1
GetJarParams returns the value of the JarParams field in RepairRun_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetJobParameters ¶ added in v1.62.1
GetJobParameters returns the value of the JobParameters field in RepairRun_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetNotebookParams ¶ added in v1.62.1
GetNotebookParams returns the value of the NotebookParams field in RepairRun_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetPipelineParams ¶ added in v1.62.1
func (o *RepairRun_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
GetPipelineParams returns the value of the PipelineParams field in RepairRun_SdkV2 as a PipelineParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetPythonNamedParams ¶ added in v1.62.1
GetPythonNamedParams returns the value of the PythonNamedParams field in RepairRun_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetPythonParams ¶ added in v1.62.1
GetPythonParams returns the value of the PythonParams field in RepairRun_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetRerunTasks ¶ added in v1.62.1
GetRerunTasks returns the value of the RerunTasks field in RepairRun_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetSparkSubmitParams ¶ added in v1.62.1
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RepairRun_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) GetSqlParams ¶ added in v1.62.1
GetSqlParams returns the value of the SqlParams field in RepairRun_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RepairRun_SdkV2) SetDbtCommands ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetJarParams ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetJobParameters ¶ added in v1.62.1
SetJobParameters sets the value of the JobParameters field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetNotebookParams ¶ added in v1.62.1
SetNotebookParams sets the value of the NotebookParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetPipelineParams ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
SetPipelineParams sets the value of the PipelineParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetPythonNamedParams ¶ added in v1.62.1
SetPythonNamedParams sets the value of the PythonNamedParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetPythonParams ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetRerunTasks ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetRerunTasks(ctx context.Context, v []types.String)
SetRerunTasks sets the value of the RerunTasks field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetSparkSubmitParams ¶ added in v1.62.1
func (o *RepairRun_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SetSqlParams ¶ added in v1.62.1
SetSqlParams sets the value of the SqlParams field in RepairRun_SdkV2.
func (*RepairRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRun_SdkV2)
func (*RepairRun_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRun_SdkV2)
func (RepairRun_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RepairRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RepairRun_SdkV2 only implements ToObjectValue() and Type().
type ResetJob ¶
type ResetJob struct { // The canonical identifier of the job to reset. This field is required. JobId types.Int64 `tfsdk:"job_id"` // The new settings of the job. These settings completely replace the old // settings. // // Changes to the field `JobBaseSettings.timeout_seconds` are applied to // active runs. Changes to other fields are applied to future runs only. NewSettings types.Object `tfsdk:"new_settings"` }
func (ResetJob) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResetJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResetJob) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResetJob) GetNewSettings ¶ added in v1.61.0
func (o *ResetJob) GetNewSettings(ctx context.Context) (JobSettings, bool)
GetNewSettings returns the value of the NewSettings field in ResetJob as a JobSettings value. If the field is unknown or null, the boolean return value is false.
func (*ResetJob) SetNewSettings ¶ added in v1.61.0
func (o *ResetJob) SetNewSettings(ctx context.Context, v JobSettings)
SetNewSettings sets the value of the NewSettings field in ResetJob.
func (*ResetJob) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*ResetJob) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (ResetJob) ToObjectValue ¶ added in v1.61.0
func (o ResetJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResetJob only implements ToObjectValue() and Type().
type ResetJob_SdkV2 ¶ added in v1.62.1
type ResetJob_SdkV2 struct { // The canonical identifier of the job to reset. This field is required. JobId types.Int64 `tfsdk:"job_id"` // The new settings of the job. These settings completely replace the old // settings. // // Changes to the field `JobBaseSettings.timeout_seconds` are applied to // active runs. Changes to other fields are applied to future runs only. NewSettings types.List `tfsdk:"new_settings"` }
func (ResetJob_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResetJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResetJob_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResetJob_SdkV2) GetNewSettings ¶ added in v1.62.1
func (o *ResetJob_SdkV2) GetNewSettings(ctx context.Context) (JobSettings_SdkV2, bool)
GetNewSettings returns the value of the NewSettings field in ResetJob_SdkV2 as a JobSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResetJob_SdkV2) SetNewSettings ¶ added in v1.62.1
func (o *ResetJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV2)
SetNewSettings sets the value of the NewSettings field in ResetJob_SdkV2.
func (*ResetJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetJob_SdkV2)
func (*ResetJob_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResetJob_SdkV2)
func (ResetJob_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResetJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResetJob_SdkV2 only implements ToObjectValue() and Type().
type ResetResponse ¶
type ResetResponse struct { }
func (ResetResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ResetResponse) ToObjectValue ¶ added in v1.61.0
func (o ResetResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResetResponse only implements ToObjectValue() and Type().
type ResetResponse_SdkV2 ¶ added in v1.62.1
type ResetResponse_SdkV2 struct { }
func (ResetResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ResetResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResetResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResetResponse_SdkV2 only implements ToObjectValue() and Type().
type ResolvedConditionTaskValues ¶
type ResolvedConditionTaskValues struct { Left types.String `tfsdk:"left"` Right types.String `tfsdk:"right"` }
func (ResolvedConditionTaskValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedConditionTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedConditionTaskValues) GetComplexFieldTypes ¶ added in v1.61.0
func (a ResolvedConditionTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedConditionTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedConditionTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedConditionTaskValues)
func (*ResolvedConditionTaskValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues)
func (ResolvedConditionTaskValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedConditionTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedConditionTaskValues only implements ToObjectValue() and Type().
type ResolvedConditionTaskValues_SdkV2 ¶ added in v1.62.1
type ResolvedConditionTaskValues_SdkV2 struct { Left types.String `tfsdk:"left"` Right types.String `tfsdk:"right"` }
func (ResolvedConditionTaskValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedConditionTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedConditionTaskValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedConditionTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedConditionTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedConditionTaskValues_SdkV2)
func (*ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues_SdkV2)
func (ResolvedConditionTaskValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedConditionTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedConditionTaskValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedDbtTaskValues ¶
func (ResolvedDbtTaskValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedDbtTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResolvedDbtTaskValues) GetCommands ¶ added in v1.61.0
GetCommands returns the value of the Commands field in ResolvedDbtTaskValues as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (ResolvedDbtTaskValues) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedDbtTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedDbtTaskValues) SetCommands ¶ added in v1.61.0
func (o *ResolvedDbtTaskValues) SetCommands(ctx context.Context, v []types.String)
SetCommands sets the value of the Commands field in ResolvedDbtTaskValues.
func (*ResolvedDbtTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedDbtTaskValues)
func (*ResolvedDbtTaskValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues)
func (ResolvedDbtTaskValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedDbtTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedDbtTaskValues only implements ToObjectValue() and Type().
type ResolvedDbtTaskValues_SdkV2 ¶ added in v1.62.1
func (ResolvedDbtTaskValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedDbtTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResolvedDbtTaskValues_SdkV2) GetCommands ¶ added in v1.62.1
GetCommands returns the value of the Commands field in ResolvedDbtTaskValues_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (ResolvedDbtTaskValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedDbtTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedDbtTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedDbtTaskValues_SdkV2) SetCommands ¶ added in v1.62.1
func (o *ResolvedDbtTaskValues_SdkV2) SetCommands(ctx context.Context, v []types.String)
SetCommands sets the value of the Commands field in ResolvedDbtTaskValues_SdkV2.
func (*ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedDbtTaskValues_SdkV2)
func (*ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues_SdkV2)
func (ResolvedDbtTaskValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedDbtTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedDbtTaskValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedNotebookTaskValues ¶
func (ResolvedNotebookTaskValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedNotebookTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResolvedNotebookTaskValues) GetBaseParameters ¶ added in v1.61.0
func (o *ResolvedNotebookTaskValues) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
GetBaseParameters returns the value of the BaseParameters field in ResolvedNotebookTaskValues as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (ResolvedNotebookTaskValues) GetComplexFieldTypes ¶ added in v1.61.0
func (a ResolvedNotebookTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedNotebookTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedNotebookTaskValues) SetBaseParameters ¶ added in v1.61.0
func (o *ResolvedNotebookTaskValues) SetBaseParameters(ctx context.Context, v map[string]types.String)
SetBaseParameters sets the value of the BaseParameters field in ResolvedNotebookTaskValues.
func (*ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedNotebookTaskValues)
func (*ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues)
func (ResolvedNotebookTaskValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedNotebookTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedNotebookTaskValues only implements ToObjectValue() and Type().
type ResolvedNotebookTaskValues_SdkV2 ¶ added in v1.62.1
func (ResolvedNotebookTaskValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedNotebookTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResolvedNotebookTaskValues_SdkV2) GetBaseParameters ¶ added in v1.62.1
func (o *ResolvedNotebookTaskValues_SdkV2) GetBaseParameters(ctx context.Context) (map[string]types.String, bool)
GetBaseParameters returns the value of the BaseParameters field in ResolvedNotebookTaskValues_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (ResolvedNotebookTaskValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedNotebookTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedNotebookTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedNotebookTaskValues_SdkV2) SetBaseParameters ¶ added in v1.62.1
func (o *ResolvedNotebookTaskValues_SdkV2) SetBaseParameters(ctx context.Context, v map[string]types.String)
SetBaseParameters sets the value of the BaseParameters field in ResolvedNotebookTaskValues_SdkV2.
func (*ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedNotebookTaskValues_SdkV2)
func (*ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues_SdkV2)
func (ResolvedNotebookTaskValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedNotebookTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedNotebookTaskValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedParamPairValues ¶
func (ResolvedParamPairValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedParamPairValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedParamPairValues) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedParamPairValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedParamPairValues) GetParameters ¶ added in v1.61.0
func (o *ResolvedParamPairValues) GetParameters(ctx context.Context) (map[string]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedParamPairValues as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedParamPairValues) SetParameters ¶ added in v1.61.0
SetParameters sets the value of the Parameters field in ResolvedParamPairValues.
func (*ResolvedParamPairValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedParamPairValues)
func (*ResolvedParamPairValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues)
func (ResolvedParamPairValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedParamPairValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedParamPairValues only implements ToObjectValue() and Type().
type ResolvedParamPairValues_SdkV2 ¶ added in v1.62.1
func (ResolvedParamPairValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedParamPairValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedParamPairValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedParamPairValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedParamPairValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedParamPairValues_SdkV2) GetParameters ¶ added in v1.62.1
func (o *ResolvedParamPairValues_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedParamPairValues_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedParamPairValues_SdkV2) SetParameters ¶ added in v1.62.1
func (o *ResolvedParamPairValues_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
SetParameters sets the value of the Parameters field in ResolvedParamPairValues_SdkV2.
func (*ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedParamPairValues_SdkV2)
func (*ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues_SdkV2)
func (ResolvedParamPairValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedParamPairValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedParamPairValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedPythonWheelTaskValues ¶
type ResolvedPythonWheelTaskValues struct { NamedParameters types.Map `tfsdk:"named_parameters"` Parameters types.List `tfsdk:"parameters"` }
func (ResolvedPythonWheelTaskValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedPythonWheelTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedPythonWheelTaskValues) GetComplexFieldTypes ¶ added in v1.61.0
func (a ResolvedPythonWheelTaskValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedPythonWheelTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedPythonWheelTaskValues) GetNamedParameters ¶ added in v1.61.0
func (o *ResolvedPythonWheelTaskValues) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
GetNamedParameters returns the value of the NamedParameters field in ResolvedPythonWheelTaskValues as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedPythonWheelTaskValues) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in ResolvedPythonWheelTaskValues as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedPythonWheelTaskValues) SetNamedParameters ¶ added in v1.61.0
func (o *ResolvedPythonWheelTaskValues) SetNamedParameters(ctx context.Context, v map[string]types.String)
SetNamedParameters sets the value of the NamedParameters field in ResolvedPythonWheelTaskValues.
func (*ResolvedPythonWheelTaskValues) SetParameters ¶ added in v1.61.0
func (o *ResolvedPythonWheelTaskValues) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in ResolvedPythonWheelTaskValues.
func (*ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedPythonWheelTaskValues)
func (*ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues)
func (ResolvedPythonWheelTaskValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedPythonWheelTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedPythonWheelTaskValues only implements ToObjectValue() and Type().
type ResolvedPythonWheelTaskValues_SdkV2 ¶ added in v1.62.1
type ResolvedPythonWheelTaskValues_SdkV2 struct { NamedParameters types.Map `tfsdk:"named_parameters"` Parameters types.List `tfsdk:"parameters"` }
func (ResolvedPythonWheelTaskValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedPythonWheelTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedPythonWheelTaskValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedPythonWheelTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedPythonWheelTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedPythonWheelTaskValues_SdkV2) GetNamedParameters ¶ added in v1.62.1
func (o *ResolvedPythonWheelTaskValues_SdkV2) GetNamedParameters(ctx context.Context) (map[string]types.String, bool)
GetNamedParameters returns the value of the NamedParameters field in ResolvedPythonWheelTaskValues_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedPythonWheelTaskValues_SdkV2) GetParameters ¶ added in v1.62.1
func (o *ResolvedPythonWheelTaskValues_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedPythonWheelTaskValues_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedPythonWheelTaskValues_SdkV2) SetNamedParameters ¶ added in v1.62.1
func (o *ResolvedPythonWheelTaskValues_SdkV2) SetNamedParameters(ctx context.Context, v map[string]types.String)
SetNamedParameters sets the value of the NamedParameters field in ResolvedPythonWheelTaskValues_SdkV2.
func (*ResolvedPythonWheelTaskValues_SdkV2) SetParameters ¶ added in v1.62.1
func (o *ResolvedPythonWheelTaskValues_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in ResolvedPythonWheelTaskValues_SdkV2.
func (*ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedPythonWheelTaskValues_SdkV2)
func (*ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues_SdkV2)
func (ResolvedPythonWheelTaskValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedPythonWheelTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedPythonWheelTaskValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedRunJobTaskValues ¶
type ResolvedRunJobTaskValues struct { JobParameters types.Map `tfsdk:"job_parameters"` Parameters types.Map `tfsdk:"parameters"` }
func (ResolvedRunJobTaskValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedRunJobTaskValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedRunJobTaskValues) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedRunJobTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedRunJobTaskValues) GetJobParameters ¶ added in v1.61.0
func (o *ResolvedRunJobTaskValues) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
GetJobParameters returns the value of the JobParameters field in ResolvedRunJobTaskValues as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedRunJobTaskValues) GetParameters ¶ added in v1.61.0
func (o *ResolvedRunJobTaskValues) GetParameters(ctx context.Context) (map[string]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedRunJobTaskValues as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedRunJobTaskValues) SetJobParameters ¶ added in v1.61.0
SetJobParameters sets the value of the JobParameters field in ResolvedRunJobTaskValues.
func (*ResolvedRunJobTaskValues) SetParameters ¶ added in v1.61.0
SetParameters sets the value of the Parameters field in ResolvedRunJobTaskValues.
func (*ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedRunJobTaskValues)
func (*ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues)
func (ResolvedRunJobTaskValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedRunJobTaskValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedRunJobTaskValues only implements ToObjectValue() and Type().
type ResolvedRunJobTaskValues_SdkV2 ¶ added in v1.62.1
type ResolvedRunJobTaskValues_SdkV2 struct { JobParameters types.Map `tfsdk:"job_parameters"` Parameters types.Map `tfsdk:"parameters"` }
func (ResolvedRunJobTaskValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedRunJobTaskValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedRunJobTaskValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedRunJobTaskValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedRunJobTaskValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedRunJobTaskValues_SdkV2) GetJobParameters ¶ added in v1.62.1
func (o *ResolvedRunJobTaskValues_SdkV2) GetJobParameters(ctx context.Context) (map[string]types.String, bool)
GetJobParameters returns the value of the JobParameters field in ResolvedRunJobTaskValues_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedRunJobTaskValues_SdkV2) GetParameters ¶ added in v1.62.1
func (o *ResolvedRunJobTaskValues_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedRunJobTaskValues_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedRunJobTaskValues_SdkV2) SetJobParameters ¶ added in v1.62.1
func (o *ResolvedRunJobTaskValues_SdkV2) SetJobParameters(ctx context.Context, v map[string]types.String)
SetJobParameters sets the value of the JobParameters field in ResolvedRunJobTaskValues_SdkV2.
func (*ResolvedRunJobTaskValues_SdkV2) SetParameters ¶ added in v1.62.1
func (o *ResolvedRunJobTaskValues_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
SetParameters sets the value of the Parameters field in ResolvedRunJobTaskValues_SdkV2.
func (*ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedRunJobTaskValues_SdkV2)
func (*ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues_SdkV2)
func (ResolvedRunJobTaskValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedRunJobTaskValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedRunJobTaskValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedStringParamsValues ¶
func (ResolvedStringParamsValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedStringParamsValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedStringParamsValues) GetComplexFieldTypes ¶ added in v1.61.0
func (a ResolvedStringParamsValues) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedStringParamsValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedStringParamsValues) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in ResolvedStringParamsValues as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedStringParamsValues) SetParameters ¶ added in v1.61.0
func (o *ResolvedStringParamsValues) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in ResolvedStringParamsValues.
func (*ResolvedStringParamsValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedStringParamsValues)
func (*ResolvedStringParamsValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues)
func (ResolvedStringParamsValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedStringParamsValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedStringParamsValues only implements ToObjectValue() and Type().
type ResolvedStringParamsValues_SdkV2 ¶ added in v1.62.1
func (ResolvedStringParamsValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedStringParamsValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedStringParamsValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResolvedStringParamsValues_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedStringParamsValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedStringParamsValues_SdkV2) GetParameters ¶ added in v1.62.1
func (o *ResolvedStringParamsValues_SdkV2) GetParameters(ctx context.Context) ([]types.String, bool)
GetParameters returns the value of the Parameters field in ResolvedStringParamsValues_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResolvedStringParamsValues_SdkV2) SetParameters ¶ added in v1.62.1
func (o *ResolvedStringParamsValues_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in ResolvedStringParamsValues_SdkV2.
func (*ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedStringParamsValues_SdkV2)
func (*ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues_SdkV2)
func (ResolvedStringParamsValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedStringParamsValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedStringParamsValues_SdkV2 only implements ToObjectValue() and Type().
type ResolvedValues ¶
type ResolvedValues struct { ConditionTask types.Object `tfsdk:"condition_task"` DbtTask types.Object `tfsdk:"dbt_task"` NotebookTask types.Object `tfsdk:"notebook_task"` PythonWheelTask types.Object `tfsdk:"python_wheel_task"` RunJobTask types.Object `tfsdk:"run_job_task"` SimulationTask types.Object `tfsdk:"simulation_task"` SparkJarTask types.Object `tfsdk:"spark_jar_task"` SparkPythonTask types.Object `tfsdk:"spark_python_task"` SparkSubmitTask types.Object `tfsdk:"spark_submit_task"` SqlTask types.Object `tfsdk:"sql_task"` }
func (ResolvedValues) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedValues) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedValues) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedValues) GetConditionTask ¶ added in v1.61.0
func (o *ResolvedValues) GetConditionTask(ctx context.Context) (ResolvedConditionTaskValues, bool)
GetConditionTask returns the value of the ConditionTask field in ResolvedValues as a ResolvedConditionTaskValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetDbtTask ¶ added in v1.61.0
func (o *ResolvedValues) GetDbtTask(ctx context.Context) (ResolvedDbtTaskValues, bool)
GetDbtTask returns the value of the DbtTask field in ResolvedValues as a ResolvedDbtTaskValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetNotebookTask ¶ added in v1.61.0
func (o *ResolvedValues) GetNotebookTask(ctx context.Context) (ResolvedNotebookTaskValues, bool)
GetNotebookTask returns the value of the NotebookTask field in ResolvedValues as a ResolvedNotebookTaskValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetPythonWheelTask ¶ added in v1.61.0
func (o *ResolvedValues) GetPythonWheelTask(ctx context.Context) (ResolvedPythonWheelTaskValues, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in ResolvedValues as a ResolvedPythonWheelTaskValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetRunJobTask ¶ added in v1.61.0
func (o *ResolvedValues) GetRunJobTask(ctx context.Context) (ResolvedRunJobTaskValues, bool)
GetRunJobTask returns the value of the RunJobTask field in ResolvedValues as a ResolvedRunJobTaskValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetSimulationTask ¶ added in v1.61.0
func (o *ResolvedValues) GetSimulationTask(ctx context.Context) (ResolvedParamPairValues, bool)
GetSimulationTask returns the value of the SimulationTask field in ResolvedValues as a ResolvedParamPairValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetSparkJarTask ¶ added in v1.61.0
func (o *ResolvedValues) GetSparkJarTask(ctx context.Context) (ResolvedStringParamsValues, bool)
GetSparkJarTask returns the value of the SparkJarTask field in ResolvedValues as a ResolvedStringParamsValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetSparkPythonTask ¶ added in v1.61.0
func (o *ResolvedValues) GetSparkPythonTask(ctx context.Context) (ResolvedStringParamsValues, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in ResolvedValues as a ResolvedStringParamsValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetSparkSubmitTask ¶ added in v1.61.0
func (o *ResolvedValues) GetSparkSubmitTask(ctx context.Context) (ResolvedStringParamsValues, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in ResolvedValues as a ResolvedStringParamsValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) GetSqlTask ¶ added in v1.61.0
func (o *ResolvedValues) GetSqlTask(ctx context.Context) (ResolvedParamPairValues, bool)
GetSqlTask returns the value of the SqlTask field in ResolvedValues as a ResolvedParamPairValues value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues) SetConditionTask ¶ added in v1.61.0
func (o *ResolvedValues) SetConditionTask(ctx context.Context, v ResolvedConditionTaskValues)
SetConditionTask sets the value of the ConditionTask field in ResolvedValues.
func (*ResolvedValues) SetDbtTask ¶ added in v1.61.0
func (o *ResolvedValues) SetDbtTask(ctx context.Context, v ResolvedDbtTaskValues)
SetDbtTask sets the value of the DbtTask field in ResolvedValues.
func (*ResolvedValues) SetNotebookTask ¶ added in v1.61.0
func (o *ResolvedValues) SetNotebookTask(ctx context.Context, v ResolvedNotebookTaskValues)
SetNotebookTask sets the value of the NotebookTask field in ResolvedValues.
func (*ResolvedValues) SetPythonWheelTask ¶ added in v1.61.0
func (o *ResolvedValues) SetPythonWheelTask(ctx context.Context, v ResolvedPythonWheelTaskValues)
SetPythonWheelTask sets the value of the PythonWheelTask field in ResolvedValues.
func (*ResolvedValues) SetRunJobTask ¶ added in v1.61.0
func (o *ResolvedValues) SetRunJobTask(ctx context.Context, v ResolvedRunJobTaskValues)
SetRunJobTask sets the value of the RunJobTask field in ResolvedValues.
func (*ResolvedValues) SetSimulationTask ¶ added in v1.61.0
func (o *ResolvedValues) SetSimulationTask(ctx context.Context, v ResolvedParamPairValues)
SetSimulationTask sets the value of the SimulationTask field in ResolvedValues.
func (*ResolvedValues) SetSparkJarTask ¶ added in v1.61.0
func (o *ResolvedValues) SetSparkJarTask(ctx context.Context, v ResolvedStringParamsValues)
SetSparkJarTask sets the value of the SparkJarTask field in ResolvedValues.
func (*ResolvedValues) SetSparkPythonTask ¶ added in v1.61.0
func (o *ResolvedValues) SetSparkPythonTask(ctx context.Context, v ResolvedStringParamsValues)
SetSparkPythonTask sets the value of the SparkPythonTask field in ResolvedValues.
func (*ResolvedValues) SetSparkSubmitTask ¶ added in v1.61.0
func (o *ResolvedValues) SetSparkSubmitTask(ctx context.Context, v ResolvedStringParamsValues)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in ResolvedValues.
func (*ResolvedValues) SetSqlTask ¶ added in v1.61.0
func (o *ResolvedValues) SetSqlTask(ctx context.Context, v ResolvedParamPairValues)
SetSqlTask sets the value of the SqlTask field in ResolvedValues.
func (*ResolvedValues) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResolvedValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedValues)
func (*ResolvedValues) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResolvedValues) SyncEffectiveFieldsDuringRead(existingState ResolvedValues)
func (ResolvedValues) ToObjectValue ¶ added in v1.61.0
func (o ResolvedValues) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedValues only implements ToObjectValue() and Type().
type ResolvedValues_SdkV2 ¶ added in v1.62.1
type ResolvedValues_SdkV2 struct { ConditionTask types.List `tfsdk:"condition_task"` DbtTask types.List `tfsdk:"dbt_task"` NotebookTask types.List `tfsdk:"notebook_task"` PythonWheelTask types.List `tfsdk:"python_wheel_task"` RunJobTask types.List `tfsdk:"run_job_task"` SimulationTask types.List `tfsdk:"simulation_task"` SparkJarTask types.List `tfsdk:"spark_jar_task"` SparkPythonTask types.List `tfsdk:"spark_python_task"` SparkSubmitTask types.List `tfsdk:"spark_submit_task"` SqlTask types.List `tfsdk:"sql_task"` }
func (ResolvedValues_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResolvedValues_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResolvedValues_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedValues. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResolvedValues_SdkV2) GetConditionTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetConditionTask(ctx context.Context) (ResolvedConditionTaskValues_SdkV2, bool)
GetConditionTask returns the value of the ConditionTask field in ResolvedValues_SdkV2 as a ResolvedConditionTaskValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetDbtTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetDbtTask(ctx context.Context) (ResolvedDbtTaskValues_SdkV2, bool)
GetDbtTask returns the value of the DbtTask field in ResolvedValues_SdkV2 as a ResolvedDbtTaskValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetNotebookTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetNotebookTask(ctx context.Context) (ResolvedNotebookTaskValues_SdkV2, bool)
GetNotebookTask returns the value of the NotebookTask field in ResolvedValues_SdkV2 as a ResolvedNotebookTaskValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetPythonWheelTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetPythonWheelTask(ctx context.Context) (ResolvedPythonWheelTaskValues_SdkV2, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in ResolvedValues_SdkV2 as a ResolvedPythonWheelTaskValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetRunJobTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetRunJobTask(ctx context.Context) (ResolvedRunJobTaskValues_SdkV2, bool)
GetRunJobTask returns the value of the RunJobTask field in ResolvedValues_SdkV2 as a ResolvedRunJobTaskValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetSimulationTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetSimulationTask(ctx context.Context) (ResolvedParamPairValues_SdkV2, bool)
GetSimulationTask returns the value of the SimulationTask field in ResolvedValues_SdkV2 as a ResolvedParamPairValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetSparkJarTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetSparkJarTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
GetSparkJarTask returns the value of the SparkJarTask field in ResolvedValues_SdkV2 as a ResolvedStringParamsValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetSparkPythonTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetSparkPythonTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in ResolvedValues_SdkV2 as a ResolvedStringParamsValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetSparkSubmitTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetSparkSubmitTask(ctx context.Context) (ResolvedStringParamsValues_SdkV2, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in ResolvedValues_SdkV2 as a ResolvedStringParamsValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) GetSqlTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) GetSqlTask(ctx context.Context) (ResolvedParamPairValues_SdkV2, bool)
GetSqlTask returns the value of the SqlTask field in ResolvedValues_SdkV2 as a ResolvedParamPairValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ResolvedValues_SdkV2) SetConditionTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetConditionTask(ctx context.Context, v ResolvedConditionTaskValues_SdkV2)
SetConditionTask sets the value of the ConditionTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetDbtTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetDbtTask(ctx context.Context, v ResolvedDbtTaskValues_SdkV2)
SetDbtTask sets the value of the DbtTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetNotebookTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetNotebookTask(ctx context.Context, v ResolvedNotebookTaskValues_SdkV2)
SetNotebookTask sets the value of the NotebookTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetPythonWheelTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetPythonWheelTask(ctx context.Context, v ResolvedPythonWheelTaskValues_SdkV2)
SetPythonWheelTask sets the value of the PythonWheelTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetRunJobTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetRunJobTask(ctx context.Context, v ResolvedRunJobTaskValues_SdkV2)
SetRunJobTask sets the value of the RunJobTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetSimulationTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetSimulationTask(ctx context.Context, v ResolvedParamPairValues_SdkV2)
SetSimulationTask sets the value of the SimulationTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetSparkJarTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetSparkJarTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
SetSparkJarTask sets the value of the SparkJarTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetSparkPythonTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetSparkPythonTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
SetSparkPythonTask sets the value of the SparkPythonTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetSparkSubmitTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetSparkSubmitTask(ctx context.Context, v ResolvedStringParamsValues_SdkV2)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SetSqlTask ¶ added in v1.62.1
func (o *ResolvedValues_SdkV2) SetSqlTask(ctx context.Context, v ResolvedParamPairValues_SdkV2)
SetSqlTask sets the value of the SqlTask field in ResolvedValues_SdkV2.
func (*ResolvedValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResolvedValues_SdkV2)
func (*ResolvedValues_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedValues_SdkV2)
func (ResolvedValues_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResolvedValues_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResolvedValues_SdkV2 only implements ToObjectValue() and Type().
type Run ¶
type Run struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.Object `tfsdk:"cluster_instance"` // A snapshot of the job’s cluster specification when this run was // created. ClusterSpec types.Object `tfsdk:"cluster_spec"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Description of the run Description types.String `tfsdk:"description"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // Indicates if the run has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/getrun // endpoint. It is only relevant for API 2.2 :method:jobs/listruns requests // with `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // Only populated by for-each iterations. The parent for-each task is // located in tasks array. Iterations types.List `tfsdk:"iterations"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/getrun. JobClusters types.List `tfsdk:"job_clusters"` // The canonical identifier of the job that contains this run. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run JobParameters types.List `tfsdk:"job_parameters"` // ID of the job run that this run belongs to. For legacy and single-task // job runs the field is populated with the job run ID. For task runs, the // field is populated with the ID of the job run that the task run belongs // to. JobRunId types.Int64 `tfsdk:"job_run_id"` // A token that can be used to list the next page of sub-resources. NextPageToken types.String `tfsdk:"next_page_token"` // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // If this run is a retry of a prior run attempt, this field contains the // run_id of the original attempt; otherwise, it is the same as the run_id. OriginalAttemptRunId types.Int64 `tfsdk:"original_attempt_run_id"` // The parameters used for this run. OverridingParameters types.Object `tfsdk:"overriding_parameters"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // The repair history of the run. RepairHistory types.List `tfsdk:"repair_history"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The canonical identifier of the run. This ID is unique across all runs of // all jobs. RunId types.Int64 `tfsdk:"run_id"` // An optional name for the run. The maximum length is 4096 bytes in UTF-8 // encoding. RunName types.String `tfsdk:"run_name"` // The URL to the detail page of the run. RunPageUrl types.String `tfsdk:"run_page_url"` // The type of a run. * `JOB_RUN`: Normal job run. A run created with // :method:jobs/runNow. * `WORKFLOW_RUN`: Workflow run. A run created with // [dbutils.notebook.run]. * `SUBMIT_RUN`: Submit run. A run created with // :method:jobs/submit. // // [dbutils.notebook.run]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-workflow RunType types.String `tfsdk:"run_type"` // The cron schedule that triggered this run if it was triggered by the // periodic scheduler. Schedule types.Object `tfsdk:"schedule"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.Object `tfsdk:"state"` // The current status of the run Status types.Object `tfsdk:"status"` // The list of tasks performed by the run. Each task has its own `run_id` // which you can use to call `JobsGetOutput` to retrieve the run resutls. If // more than 100 tasks are available, you can paginate through them using // :method:jobs/getrun. Use the `next_page_token` field at the object root // to determine if more results are available. Tasks types.List `tfsdk:"tasks"` // The type of trigger that fired this run. // // * `PERIODIC`: Schedules that periodically trigger runs, such as a cron // scheduler. * `ONE_TIME`: One time triggers that fire a single run. This // occurs you triggered a single run on demand through the UI or the API. * // `RETRY`: Indicates a run that is triggered as a retry of a previously // failed run. This occurs when you request to re-run the job in case of // failures. * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run // Job task. * `FILE_ARRIVAL`: Indicates a run that is triggered by a file // arrival. * `TABLE`: Indicates a run that is triggered by a table update. // * `CONTINUOUS_RESTART`: Indicates a run created by user to manually // restart a continuous job run. Trigger types.String `tfsdk:"trigger"` // Additional details about what triggered the run TriggerInfo types.Object `tfsdk:"trigger_info"` }
Run was retrieved successfully
func (Run) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Run) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*Run) GetClusterInstance ¶ added in v1.61.0
func (o *Run) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
GetClusterInstance returns the value of the ClusterInstance field in Run as a ClusterInstance value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetClusterSpec ¶ added in v1.61.0
func (o *Run) GetClusterSpec(ctx context.Context) (ClusterSpec, bool)
GetClusterSpec returns the value of the ClusterSpec field in Run as a ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (Run) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Run) GetGitSource ¶ added in v1.61.0
GetGitSource returns the value of the GitSource field in Run as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetIterations ¶ added in v1.61.0
GetIterations returns the value of the Iterations field in Run as a slice of RunTask values. If the field is unknown or null, the boolean return value is false.
func (*Run) GetJobClusters ¶ added in v1.61.0
func (o *Run) GetJobClusters(ctx context.Context) ([]JobCluster, bool)
GetJobClusters returns the value of the JobClusters field in Run as a slice of JobCluster values. If the field is unknown or null, the boolean return value is false.
func (*Run) GetJobParameters ¶ added in v1.61.0
func (o *Run) GetJobParameters(ctx context.Context) ([]JobParameter, bool)
GetJobParameters returns the value of the JobParameters field in Run as a slice of JobParameter values. If the field is unknown or null, the boolean return value is false.
func (*Run) GetOverridingParameters ¶ added in v1.61.0
func (o *Run) GetOverridingParameters(ctx context.Context) (RunParameters, bool)
GetOverridingParameters returns the value of the OverridingParameters field in Run as a RunParameters value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetRepairHistory ¶ added in v1.61.0
func (o *Run) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem, bool)
GetRepairHistory returns the value of the RepairHistory field in Run as a slice of RepairHistoryItem values. If the field is unknown or null, the boolean return value is false.
func (*Run) GetSchedule ¶ added in v1.61.0
func (o *Run) GetSchedule(ctx context.Context) (CronSchedule, bool)
GetSchedule returns the value of the Schedule field in Run as a CronSchedule value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetState ¶ added in v1.61.0
GetState returns the value of the State field in Run as a RunState value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetStatus ¶ added in v1.61.0
GetStatus returns the value of the Status field in Run as a RunStatus value. If the field is unknown or null, the boolean return value is false.
func (*Run) GetTasks ¶ added in v1.61.0
GetTasks returns the value of the Tasks field in Run as a slice of RunTask values. If the field is unknown or null, the boolean return value is false.
func (*Run) GetTriggerInfo ¶ added in v1.61.0
func (o *Run) GetTriggerInfo(ctx context.Context) (TriggerInfo, bool)
GetTriggerInfo returns the value of the TriggerInfo field in Run as a TriggerInfo value. If the field is unknown or null, the boolean return value is false.
func (*Run) SetClusterInstance ¶ added in v1.61.0
func (o *Run) SetClusterInstance(ctx context.Context, v ClusterInstance)
SetClusterInstance sets the value of the ClusterInstance field in Run.
func (*Run) SetClusterSpec ¶ added in v1.61.0
func (o *Run) SetClusterSpec(ctx context.Context, v ClusterSpec)
SetClusterSpec sets the value of the ClusterSpec field in Run.
func (*Run) SetGitSource ¶ added in v1.61.0
SetGitSource sets the value of the GitSource field in Run.
func (*Run) SetIterations ¶ added in v1.61.0
SetIterations sets the value of the Iterations field in Run.
func (*Run) SetJobClusters ¶ added in v1.61.0
func (o *Run) SetJobClusters(ctx context.Context, v []JobCluster)
SetJobClusters sets the value of the JobClusters field in Run.
func (*Run) SetJobParameters ¶ added in v1.61.0
func (o *Run) SetJobParameters(ctx context.Context, v []JobParameter)
SetJobParameters sets the value of the JobParameters field in Run.
func (*Run) SetOverridingParameters ¶ added in v1.61.0
func (o *Run) SetOverridingParameters(ctx context.Context, v RunParameters)
SetOverridingParameters sets the value of the OverridingParameters field in Run.
func (*Run) SetRepairHistory ¶ added in v1.61.0
func (o *Run) SetRepairHistory(ctx context.Context, v []RepairHistoryItem)
SetRepairHistory sets the value of the RepairHistory field in Run.
func (*Run) SetSchedule ¶ added in v1.61.0
func (o *Run) SetSchedule(ctx context.Context, v CronSchedule)
SetSchedule sets the value of the Schedule field in Run.
func (*Run) SetTriggerInfo ¶ added in v1.61.0
func (o *Run) SetTriggerInfo(ctx context.Context, v TriggerInfo)
SetTriggerInfo sets the value of the TriggerInfo field in Run.
func (*Run) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Run) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Run) ToObjectValue ¶ added in v1.61.0
func (o Run) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Run only implements ToObjectValue() and Type().
type RunConditionTask ¶
type RunConditionTask struct { // The left operand of the condition task. Can be either a string value or a // job state or parameter reference. Left types.String `tfsdk:"left"` // * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their // operands. This means that `“12.0” == “12”` will evaluate to // `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, // `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their // operands. `“12.0” >= “12”` will evaluate to `true`, `“10.0” // >= “12”` will evaluate to `false`. // // The boolean comparison to task values can be implemented with operators // `EQUAL_TO`, `NOT_EQUAL`. If a task value was set to a boolean value, it // will be serialized to `“true”` or `“false”` for the comparison. Op types.String `tfsdk:"op"` // The condition expression evaluation result. Filled in if the task was // successfully completed. Can be `"true"` or `"false"` Outcome types.String `tfsdk:"outcome"` // The right operand of the condition task. Can be either a string value or // a job state or parameter reference. Right types.String `tfsdk:"right"` }
func (RunConditionTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunConditionTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunConditionTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunConditionTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunConditionTask)
func (*RunConditionTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunConditionTask) SyncEffectiveFieldsDuringRead(existingState RunConditionTask)
func (RunConditionTask) ToObjectValue ¶ added in v1.61.0
func (o RunConditionTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunConditionTask only implements ToObjectValue() and Type().
type RunConditionTask_SdkV2 ¶ added in v1.62.1
type RunConditionTask_SdkV2 struct { // The left operand of the condition task. Can be either a string value or a // job state or parameter reference. Left types.String `tfsdk:"left"` // * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their // operands. This means that `“12.0” == “12”` will evaluate to // `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, // `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their // operands. `“12.0” >= “12”` will evaluate to `true`, `“10.0” // >= “12”` will evaluate to `false`. // // The boolean comparison to task values can be implemented with operators // `EQUAL_TO`, `NOT_EQUAL`. If a task value was set to a boolean value, it // will be serialized to `“true”` or `“false”` for the comparison. Op types.String `tfsdk:"op"` // The condition expression evaluation result. Filled in if the task was // successfully completed. Can be `"true"` or `"false"` Outcome types.String `tfsdk:"outcome"` // The right operand of the condition task. Can be either a string value or // a job state or parameter reference. Right types.String `tfsdk:"right"` }
func (RunConditionTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunConditionTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunConditionTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunConditionTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunConditionTask_SdkV2)
func (*RunConditionTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunConditionTask_SdkV2)
func (RunConditionTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunConditionTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunConditionTask_SdkV2 only implements ToObjectValue() and Type().
type RunForEachTask ¶
type RunForEachTask struct { // An optional maximum allowed number of concurrent runs of the task. Set // this value if you want to be able to execute multiple runs of the task // concurrently. Concurrency types.Int64 `tfsdk:"concurrency"` // Array for task to iterate on. This can be a JSON string or a reference to // an array parameter. Inputs types.String `tfsdk:"inputs"` // Read only field. Populated for GetRun and ListRuns RPC calls and stores // the execution stats of an For each task Stats types.Object `tfsdk:"stats"` // Configuration for the task that will be run for each element in the array Task types.Object `tfsdk:"task"` }
func (RunForEachTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunForEachTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunForEachTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunForEachTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunForEachTask) GetStats ¶ added in v1.61.0
func (o *RunForEachTask) GetStats(ctx context.Context) (ForEachStats, bool)
GetStats returns the value of the Stats field in RunForEachTask as a ForEachStats value. If the field is unknown or null, the boolean return value is false.
func (*RunForEachTask) GetTask ¶ added in v1.61.0
func (o *RunForEachTask) GetTask(ctx context.Context) (Task, bool)
GetTask returns the value of the Task field in RunForEachTask as a Task value. If the field is unknown or null, the boolean return value is false.
func (*RunForEachTask) SetStats ¶ added in v1.61.0
func (o *RunForEachTask) SetStats(ctx context.Context, v ForEachStats)
SetStats sets the value of the Stats field in RunForEachTask.
func (*RunForEachTask) SetTask ¶ added in v1.61.0
func (o *RunForEachTask) SetTask(ctx context.Context, v Task)
SetTask sets the value of the Task field in RunForEachTask.
func (*RunForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunForEachTask)
func (*RunForEachTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunForEachTask) SyncEffectiveFieldsDuringRead(existingState RunForEachTask)
func (RunForEachTask) ToObjectValue ¶ added in v1.61.0
func (o RunForEachTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunForEachTask only implements ToObjectValue() and Type().
type RunForEachTask_SdkV2 ¶ added in v1.62.1
type RunForEachTask_SdkV2 struct { // An optional maximum allowed number of concurrent runs of the task. Set // this value if you want to be able to execute multiple runs of the task // concurrently. Concurrency types.Int64 `tfsdk:"concurrency"` // Array for task to iterate on. This can be a JSON string or a reference to // an array parameter. Inputs types.String `tfsdk:"inputs"` // Read only field. Populated for GetRun and ListRuns RPC calls and stores // the execution stats of an For each task Stats types.List `tfsdk:"stats"` // Configuration for the task that will be run for each element in the array Task types.List `tfsdk:"task"` }
func (RunForEachTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunForEachTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunForEachTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunForEachTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunForEachTask_SdkV2) GetStats ¶ added in v1.62.1
func (o *RunForEachTask_SdkV2) GetStats(ctx context.Context) (ForEachStats_SdkV2, bool)
GetStats returns the value of the Stats field in RunForEachTask_SdkV2 as a ForEachStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunForEachTask_SdkV2) GetTask ¶ added in v1.62.1
func (o *RunForEachTask_SdkV2) GetTask(ctx context.Context) (Task_SdkV2, bool)
GetTask returns the value of the Task field in RunForEachTask_SdkV2 as a Task_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunForEachTask_SdkV2) SetStats ¶ added in v1.62.1
func (o *RunForEachTask_SdkV2) SetStats(ctx context.Context, v ForEachStats_SdkV2)
SetStats sets the value of the Stats field in RunForEachTask_SdkV2.
func (*RunForEachTask_SdkV2) SetTask ¶ added in v1.62.1
func (o *RunForEachTask_SdkV2) SetTask(ctx context.Context, v Task_SdkV2)
SetTask sets the value of the Task field in RunForEachTask_SdkV2.
func (*RunForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunForEachTask_SdkV2)
func (*RunForEachTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunForEachTask_SdkV2)
func (RunForEachTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunForEachTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunForEachTask_SdkV2 only implements ToObjectValue() and Type().
type RunJobOutput ¶
type RunJobOutput struct { // The run id of the triggered job run RunId types.Int64 `tfsdk:"run_id"` }
func (RunJobOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunJobOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunJobOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunJobOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunJobOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobOutput)
func (*RunJobOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunJobOutput) SyncEffectiveFieldsDuringRead(existingState RunJobOutput)
func (RunJobOutput) ToObjectValue ¶ added in v1.61.0
func (o RunJobOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunJobOutput only implements ToObjectValue() and Type().
type RunJobOutput_SdkV2 ¶ added in v1.62.1
type RunJobOutput_SdkV2 struct { // The run id of the triggered job run RunId types.Int64 `tfsdk:"run_id"` }
func (RunJobOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunJobOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunJobOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunJobOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobOutput_SdkV2)
func (*RunJobOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobOutput_SdkV2)
func (RunJobOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunJobOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunJobOutput_SdkV2 only implements ToObjectValue() and Type().
type RunJobTask ¶
type RunJobTask struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // ID of the job to trigger. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used to trigger the job. JobParameters types.Map `tfsdk:"job_parameters"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.Object `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunJobTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunJobTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunJobTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunJobTask) GetDbtCommands ¶ added in v1.61.0
GetDbtCommands returns the value of the DbtCommands field in RunJobTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetJarParams ¶ added in v1.61.0
GetJarParams returns the value of the JarParams field in RunJobTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetJobParameters ¶ added in v1.61.0
GetJobParameters returns the value of the JobParameters field in RunJobTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetNotebookParams ¶ added in v1.61.0
GetNotebookParams returns the value of the NotebookParams field in RunJobTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetPipelineParams ¶ added in v1.61.0
func (o *RunJobTask) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
GetPipelineParams returns the value of the PipelineParams field in RunJobTask as a PipelineParams value. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetPythonNamedParams ¶ added in v1.61.0
GetPythonNamedParams returns the value of the PythonNamedParams field in RunJobTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetPythonParams ¶ added in v1.61.0
GetPythonParams returns the value of the PythonParams field in RunJobTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetSparkSubmitParams ¶ added in v1.61.0
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunJobTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) GetSqlParams ¶ added in v1.61.0
GetSqlParams returns the value of the SqlParams field in RunJobTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask) SetDbtCommands ¶ added in v1.61.0
func (o *RunJobTask) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RunJobTask.
func (*RunJobTask) SetJarParams ¶ added in v1.61.0
func (o *RunJobTask) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RunJobTask.
func (*RunJobTask) SetJobParameters ¶ added in v1.61.0
SetJobParameters sets the value of the JobParameters field in RunJobTask.
func (*RunJobTask) SetNotebookParams ¶ added in v1.61.0
SetNotebookParams sets the value of the NotebookParams field in RunJobTask.
func (*RunJobTask) SetPipelineParams ¶ added in v1.61.0
func (o *RunJobTask) SetPipelineParams(ctx context.Context, v PipelineParams)
SetPipelineParams sets the value of the PipelineParams field in RunJobTask.
func (*RunJobTask) SetPythonNamedParams ¶ added in v1.61.0
SetPythonNamedParams sets the value of the PythonNamedParams field in RunJobTask.
func (*RunJobTask) SetPythonParams ¶ added in v1.61.0
func (o *RunJobTask) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RunJobTask.
func (*RunJobTask) SetSparkSubmitParams ¶ added in v1.61.0
func (o *RunJobTask) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunJobTask.
func (*RunJobTask) SetSqlParams ¶ added in v1.61.0
SetSqlParams sets the value of the SqlParams field in RunJobTask.
func (*RunJobTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunJobTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobTask)
func (*RunJobTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunJobTask) SyncEffectiveFieldsDuringRead(existingState RunJobTask)
func (RunJobTask) ToObjectValue ¶ added in v1.61.0
func (o RunJobTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunJobTask only implements ToObjectValue() and Type().
type RunJobTask_SdkV2 ¶ added in v1.62.1
type RunJobTask_SdkV2 struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // ID of the job to trigger. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used to trigger the job. JobParameters types.Map `tfsdk:"job_parameters"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.List `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunJobTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunJobTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunJobTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunJobTask_SdkV2) GetDbtCommands ¶ added in v1.62.1
GetDbtCommands returns the value of the DbtCommands field in RunJobTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetJarParams ¶ added in v1.62.1
GetJarParams returns the value of the JarParams field in RunJobTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetJobParameters ¶ added in v1.62.1
GetJobParameters returns the value of the JobParameters field in RunJobTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetNotebookParams ¶ added in v1.62.1
GetNotebookParams returns the value of the NotebookParams field in RunJobTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetPipelineParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
GetPipelineParams returns the value of the PipelineParams field in RunJobTask_SdkV2 as a PipelineParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetPythonNamedParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
GetPythonNamedParams returns the value of the PythonNamedParams field in RunJobTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetPythonParams ¶ added in v1.62.1
GetPythonParams returns the value of the PythonParams field in RunJobTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetSparkSubmitParams ¶ added in v1.62.1
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunJobTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) GetSqlParams ¶ added in v1.62.1
GetSqlParams returns the value of the SqlParams field in RunJobTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunJobTask_SdkV2) SetDbtCommands ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetJarParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetJobParameters ¶ added in v1.62.1
SetJobParameters sets the value of the JobParameters field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetNotebookParams ¶ added in v1.62.1
SetNotebookParams sets the value of the NotebookParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetPipelineParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
SetPipelineParams sets the value of the PipelineParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetPythonNamedParams ¶ added in v1.62.1
SetPythonNamedParams sets the value of the PythonNamedParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetPythonParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetSparkSubmitParams ¶ added in v1.62.1
func (o *RunJobTask_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SetSqlParams ¶ added in v1.62.1
SetSqlParams sets the value of the SqlParams field in RunJobTask_SdkV2.
func (*RunJobTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobTask_SdkV2)
func (*RunJobTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobTask_SdkV2)
func (RunJobTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunJobTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunJobTask_SdkV2 only implements ToObjectValue() and Type().
type RunNow ¶
type RunNow struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // An optional token to guarantee the idempotency of job run requests. If a // run with the provided token already exists, the request does not create a // new run but returns the ID of the existing run instead. If a run with the // provided token is deleted, an error is returned. // // If you specify the idempotency token, upon failure you can retry until // the request succeeds. Databricks guarantees that exactly one run is // launched with that idempotency token. // // This token must have at most 64 characters. // // For more information, see [How to ensure idempotency for jobs]. // // [How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html IdempotencyToken types.String `tfsdk:"idempotency_token"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // The ID of the job to be executed JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run. for example `"param": // "overriding_val"` JobParameters types.Map `tfsdk:"job_parameters"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // A list of task keys to run inside of the job. If this field is not // provided, all tasks in the job will be run. Only types.List `tfsdk:"only"` // Controls whether the pipeline should perform a full refresh PipelineParams types.Object `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // The queue settings of the run. Queue types.Object `tfsdk:"queue"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunNow) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunNow) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunNow) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNow. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunNow) GetDbtCommands ¶ added in v1.61.0
GetDbtCommands returns the value of the DbtCommands field in RunNow as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetJarParams ¶ added in v1.61.0
GetJarParams returns the value of the JarParams field in RunNow as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetJobParameters ¶ added in v1.61.0
GetJobParameters returns the value of the JobParameters field in RunNow as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetNotebookParams ¶ added in v1.61.0
GetNotebookParams returns the value of the NotebookParams field in RunNow as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetOnly ¶ added in v1.61.0
GetOnly returns the value of the Only field in RunNow as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetPipelineParams ¶ added in v1.61.0
func (o *RunNow) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
GetPipelineParams returns the value of the PipelineParams field in RunNow as a PipelineParams value. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetPythonNamedParams ¶ added in v1.61.0
GetPythonNamedParams returns the value of the PythonNamedParams field in RunNow as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetPythonParams ¶ added in v1.61.0
GetPythonParams returns the value of the PythonParams field in RunNow as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetQueue ¶ added in v1.61.0
func (o *RunNow) GetQueue(ctx context.Context) (QueueSettings, bool)
GetQueue returns the value of the Queue field in RunNow as a QueueSettings value. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetSparkSubmitParams ¶ added in v1.61.0
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunNow as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) GetSqlParams ¶ added in v1.61.0
GetSqlParams returns the value of the SqlParams field in RunNow as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow) SetDbtCommands ¶ added in v1.61.0
SetDbtCommands sets the value of the DbtCommands field in RunNow.
func (*RunNow) SetJarParams ¶ added in v1.61.0
SetJarParams sets the value of the JarParams field in RunNow.
func (*RunNow) SetJobParameters ¶ added in v1.61.0
SetJobParameters sets the value of the JobParameters field in RunNow.
func (*RunNow) SetNotebookParams ¶ added in v1.61.0
SetNotebookParams sets the value of the NotebookParams field in RunNow.
func (*RunNow) SetPipelineParams ¶ added in v1.61.0
func (o *RunNow) SetPipelineParams(ctx context.Context, v PipelineParams)
SetPipelineParams sets the value of the PipelineParams field in RunNow.
func (*RunNow) SetPythonNamedParams ¶ added in v1.61.0
SetPythonNamedParams sets the value of the PythonNamedParams field in RunNow.
func (*RunNow) SetPythonParams ¶ added in v1.61.0
SetPythonParams sets the value of the PythonParams field in RunNow.
func (*RunNow) SetQueue ¶ added in v1.61.0
func (o *RunNow) SetQueue(ctx context.Context, v QueueSettings)
SetQueue sets the value of the Queue field in RunNow.
func (*RunNow) SetSparkSubmitParams ¶ added in v1.61.0
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunNow.
func (*RunNow) SetSqlParams ¶ added in v1.61.0
SetSqlParams sets the value of the SqlParams field in RunNow.
func (*RunNow) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunNow) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RunNow) ToObjectValue ¶ added in v1.61.0
func (o RunNow) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunNow only implements ToObjectValue() and Type().
type RunNowResponse ¶
type RunNowResponse struct { // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // The globally unique ID of the newly triggered run. RunId types.Int64 `tfsdk:"run_id"` }
Run was started successfully.
func (RunNowResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunNowResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunNowResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNowResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunNowResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunNowResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNowResponse)
func (*RunNowResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunNowResponse) SyncEffectiveFieldsDuringRead(existingState RunNowResponse)
func (RunNowResponse) ToObjectValue ¶ added in v1.61.0
func (o RunNowResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunNowResponse only implements ToObjectValue() and Type().
type RunNowResponse_SdkV2 ¶ added in v1.62.1
type RunNowResponse_SdkV2 struct { // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // The globally unique ID of the newly triggered run. RunId types.Int64 `tfsdk:"run_id"` }
Run was started successfully.
func (RunNowResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunNowResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunNowResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNowResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunNowResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNowResponse_SdkV2)
func (*RunNowResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNowResponse_SdkV2)
func (RunNowResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunNowResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunNowResponse_SdkV2 only implements ToObjectValue() and Type().
type RunNow_SdkV2 ¶ added in v1.62.1
type RunNow_SdkV2 struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // An optional token to guarantee the idempotency of job run requests. If a // run with the provided token already exists, the request does not create a // new run but returns the ID of the existing run instead. If a run with the // provided token is deleted, an error is returned. // // If you specify the idempotency token, upon failure you can retry until // the request succeeds. Databricks guarantees that exactly one run is // launched with that idempotency token. // // This token must have at most 64 characters. // // For more information, see [How to ensure idempotency for jobs]. // // [How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html IdempotencyToken types.String `tfsdk:"idempotency_token"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // The ID of the job to be executed JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run. for example `"param": // "overriding_val"` JobParameters types.Map `tfsdk:"job_parameters"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // A list of task keys to run inside of the job. If this field is not // provided, all tasks in the job will be run. Only types.List `tfsdk:"only"` // Controls whether the pipeline should perform a full refresh PipelineParams types.List `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // The queue settings of the run. Queue types.List `tfsdk:"queue"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunNow_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunNow_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunNow_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNow. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunNow_SdkV2) GetDbtCommands ¶ added in v1.62.1
GetDbtCommands returns the value of the DbtCommands field in RunNow_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetJarParams ¶ added in v1.62.1
GetJarParams returns the value of the JarParams field in RunNow_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetJobParameters ¶ added in v1.62.1
GetJobParameters returns the value of the JobParameters field in RunNow_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetNotebookParams ¶ added in v1.62.1
GetNotebookParams returns the value of the NotebookParams field in RunNow_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetOnly ¶ added in v1.62.1
GetOnly returns the value of the Only field in RunNow_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetPipelineParams ¶ added in v1.62.1
func (o *RunNow_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
GetPipelineParams returns the value of the PipelineParams field in RunNow_SdkV2 as a PipelineParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetPythonNamedParams ¶ added in v1.62.1
GetPythonNamedParams returns the value of the PythonNamedParams field in RunNow_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetPythonParams ¶ added in v1.62.1
GetPythonParams returns the value of the PythonParams field in RunNow_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetQueue ¶ added in v1.62.1
func (o *RunNow_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
GetQueue returns the value of the Queue field in RunNow_SdkV2 as a QueueSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetSparkSubmitParams ¶ added in v1.62.1
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunNow_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) GetSqlParams ¶ added in v1.62.1
GetSqlParams returns the value of the SqlParams field in RunNow_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunNow_SdkV2) SetDbtCommands ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetJarParams ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetJobParameters ¶ added in v1.62.1
SetJobParameters sets the value of the JobParameters field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetNotebookParams ¶ added in v1.62.1
SetNotebookParams sets the value of the NotebookParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetOnly ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetOnly(ctx context.Context, v []types.String)
SetOnly sets the value of the Only field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetPipelineParams ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
SetPipelineParams sets the value of the PipelineParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetPythonNamedParams ¶ added in v1.62.1
SetPythonNamedParams sets the value of the PythonNamedParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetPythonParams ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetQueue ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
SetQueue sets the value of the Queue field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetSparkSubmitParams ¶ added in v1.62.1
func (o *RunNow_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SetSqlParams ¶ added in v1.62.1
SetSqlParams sets the value of the SqlParams field in RunNow_SdkV2.
func (*RunNow_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNow_SdkV2)
func (*RunNow_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNow_SdkV2)
func (RunNow_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunNow_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunNow_SdkV2 only implements ToObjectValue() and Type().
type RunOutput ¶
type RunOutput struct { // The output of a clean rooms notebook task, if available CleanRoomsNotebookOutput types.Object `tfsdk:"clean_rooms_notebook_output"` // The output of a dbt task, if available. DbtOutput types.Object `tfsdk:"dbt_output"` // An error message indicating why a task failed or why output is not // available. The message is unstructured, and its exact format is subject // to change. Error types.String `tfsdk:"error"` // If there was an error executing the run, this field contains any // available stack traces. ErrorTrace types.String `tfsdk:"error_trace"` Info types.String `tfsdk:"info"` // The output from tasks that write to standard streams (stdout/stderr) such // as spark_jar_task, spark_python_task, python_wheel_task. // // It's not supported for the notebook_task, pipeline_task or // spark_submit_task. // // Databricks restricts this API to return the last 5 MB of these logs. Logs types.String `tfsdk:"logs"` // Whether the logs are truncated. LogsTruncated types.Bool `tfsdk:"logs_truncated"` // All details of the run except for its output. Metadata types.Object `tfsdk:"metadata"` // The output of a notebook task, if available. A notebook task that // terminates (either successfully or with a failure) without calling // `dbutils.notebook.exit()` is considered to have an empty output. This // field is set but its result value is empty. Databricks restricts this API // to return the first 5 MB of the output. To return a larger result, use // the [ClusterLogConf] field to configure log storage for the job cluster. // // [ClusterLogConf]: https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterlogconf NotebookOutput types.Object `tfsdk:"notebook_output"` // The output of a run job task, if available RunJobOutput types.Object `tfsdk:"run_job_output"` // The output of a SQL task, if available. SqlOutput types.Object `tfsdk:"sql_output"` }
Run output was retrieved successfully.
func (RunOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*RunOutput) GetCleanRoomsNotebookOutput ¶ added in v1.64.0
func (o *RunOutput) GetCleanRoomsNotebookOutput(ctx context.Context) (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput, bool)
GetCleanRoomsNotebookOutput returns the value of the CleanRoomsNotebookOutput field in RunOutput as a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput value. If the field is unknown or null, the boolean return value is false.
func (RunOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunOutput) GetDbtOutput ¶ added in v1.61.0
GetDbtOutput returns the value of the DbtOutput field in RunOutput as a DbtOutput value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput) GetMetadata ¶ added in v1.61.0
GetMetadata returns the value of the Metadata field in RunOutput as a Run value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput) GetNotebookOutput ¶ added in v1.61.0
func (o *RunOutput) GetNotebookOutput(ctx context.Context) (NotebookOutput, bool)
GetNotebookOutput returns the value of the NotebookOutput field in RunOutput as a NotebookOutput value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput) GetRunJobOutput ¶ added in v1.61.0
func (o *RunOutput) GetRunJobOutput(ctx context.Context) (RunJobOutput, bool)
GetRunJobOutput returns the value of the RunJobOutput field in RunOutput as a RunJobOutput value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput) GetSqlOutput ¶ added in v1.61.0
GetSqlOutput returns the value of the SqlOutput field in RunOutput as a SqlOutput value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput) SetCleanRoomsNotebookOutput ¶ added in v1.64.0
func (o *RunOutput) SetCleanRoomsNotebookOutput(ctx context.Context, v CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput)
SetCleanRoomsNotebookOutput sets the value of the CleanRoomsNotebookOutput field in RunOutput.
func (*RunOutput) SetDbtOutput ¶ added in v1.61.0
SetDbtOutput sets the value of the DbtOutput field in RunOutput.
func (*RunOutput) SetMetadata ¶ added in v1.61.0
SetMetadata sets the value of the Metadata field in RunOutput.
func (*RunOutput) SetNotebookOutput ¶ added in v1.61.0
func (o *RunOutput) SetNotebookOutput(ctx context.Context, v NotebookOutput)
SetNotebookOutput sets the value of the NotebookOutput field in RunOutput.
func (*RunOutput) SetRunJobOutput ¶ added in v1.61.0
func (o *RunOutput) SetRunJobOutput(ctx context.Context, v RunJobOutput)
SetRunJobOutput sets the value of the RunJobOutput field in RunOutput.
func (*RunOutput) SetSqlOutput ¶ added in v1.61.0
SetSqlOutput sets the value of the SqlOutput field in RunOutput.
func (*RunOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RunOutput) ToObjectValue ¶ added in v1.61.0
func (o RunOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunOutput only implements ToObjectValue() and Type().
type RunOutput_SdkV2 ¶ added in v1.62.1
type RunOutput_SdkV2 struct { // The output of a clean rooms notebook task, if available CleanRoomsNotebookOutput types.List `tfsdk:"clean_rooms_notebook_output"` // The output of a dbt task, if available. DbtOutput types.List `tfsdk:"dbt_output"` // An error message indicating why a task failed or why output is not // available. The message is unstructured, and its exact format is subject // to change. Error types.String `tfsdk:"error"` // If there was an error executing the run, this field contains any // available stack traces. ErrorTrace types.String `tfsdk:"error_trace"` Info types.String `tfsdk:"info"` // The output from tasks that write to standard streams (stdout/stderr) such // as spark_jar_task, spark_python_task, python_wheel_task. // // It's not supported for the notebook_task, pipeline_task or // spark_submit_task. // // Databricks restricts this API to return the last 5 MB of these logs. Logs types.String `tfsdk:"logs"` // Whether the logs are truncated. LogsTruncated types.Bool `tfsdk:"logs_truncated"` // All details of the run except for its output. Metadata types.List `tfsdk:"metadata"` // The output of a notebook task, if available. A notebook task that // terminates (either successfully or with a failure) without calling // `dbutils.notebook.exit()` is considered to have an empty output. This // field is set but its result value is empty. Databricks restricts this API // to return the first 5 MB of the output. To return a larger result, use // the [ClusterLogConf] field to configure log storage for the job cluster. // // [ClusterLogConf]: https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterlogconf NotebookOutput types.List `tfsdk:"notebook_output"` // The output of a run job task, if available RunJobOutput types.List `tfsdk:"run_job_output"` // The output of a SQL task, if available. SqlOutput types.List `tfsdk:"sql_output"` }
Run output was retrieved successfully.
func (RunOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*RunOutput_SdkV2) GetCleanRoomsNotebookOutput ¶ added in v1.64.0
func (o *RunOutput_SdkV2) GetCleanRoomsNotebookOutput(ctx context.Context) (CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2, bool)
GetCleanRoomsNotebookOutput returns the value of the CleanRoomsNotebookOutput field in RunOutput_SdkV2 as a CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (RunOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunOutput_SdkV2) GetDbtOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) GetDbtOutput(ctx context.Context) (DbtOutput_SdkV2, bool)
GetDbtOutput returns the value of the DbtOutput field in RunOutput_SdkV2 as a DbtOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput_SdkV2) GetMetadata ¶ added in v1.62.1
func (o *RunOutput_SdkV2) GetMetadata(ctx context.Context) (Run_SdkV2, bool)
GetMetadata returns the value of the Metadata field in RunOutput_SdkV2 as a Run_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput_SdkV2) GetNotebookOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) GetNotebookOutput(ctx context.Context) (NotebookOutput_SdkV2, bool)
GetNotebookOutput returns the value of the NotebookOutput field in RunOutput_SdkV2 as a NotebookOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput_SdkV2) GetRunJobOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) GetRunJobOutput(ctx context.Context) (RunJobOutput_SdkV2, bool)
GetRunJobOutput returns the value of the RunJobOutput field in RunOutput_SdkV2 as a RunJobOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput_SdkV2) GetSqlOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) GetSqlOutput(ctx context.Context) (SqlOutput_SdkV2, bool)
GetSqlOutput returns the value of the SqlOutput field in RunOutput_SdkV2 as a SqlOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunOutput_SdkV2) SetCleanRoomsNotebookOutput ¶ added in v1.64.0
func (o *RunOutput_SdkV2) SetCleanRoomsNotebookOutput(ctx context.Context, v CleanRoomsNotebookTaskCleanRoomsNotebookTaskOutput_SdkV2)
SetCleanRoomsNotebookOutput sets the value of the CleanRoomsNotebookOutput field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SetDbtOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) SetDbtOutput(ctx context.Context, v DbtOutput_SdkV2)
SetDbtOutput sets the value of the DbtOutput field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SetMetadata ¶ added in v1.62.1
func (o *RunOutput_SdkV2) SetMetadata(ctx context.Context, v Run_SdkV2)
SetMetadata sets the value of the Metadata field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SetNotebookOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) SetNotebookOutput(ctx context.Context, v NotebookOutput_SdkV2)
SetNotebookOutput sets the value of the NotebookOutput field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SetRunJobOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) SetRunJobOutput(ctx context.Context, v RunJobOutput_SdkV2)
SetRunJobOutput sets the value of the RunJobOutput field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SetSqlOutput ¶ added in v1.62.1
func (o *RunOutput_SdkV2) SetSqlOutput(ctx context.Context, v SqlOutput_SdkV2)
SetSqlOutput sets the value of the SqlOutput field in RunOutput_SdkV2.
func (*RunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunOutput_SdkV2)
func (*RunOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunOutput_SdkV2)
func (RunOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunOutput_SdkV2 only implements ToObjectValue() and Type().
type RunParameters ¶
type RunParameters struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.Object `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunParameters) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunParameters) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunParameters) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunParameters. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunParameters) GetDbtCommands ¶ added in v1.61.0
GetDbtCommands returns the value of the DbtCommands field in RunParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetJarParams ¶ added in v1.61.0
GetJarParams returns the value of the JarParams field in RunParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetNotebookParams ¶ added in v1.61.0
GetNotebookParams returns the value of the NotebookParams field in RunParameters as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetPipelineParams ¶ added in v1.61.0
func (o *RunParameters) GetPipelineParams(ctx context.Context) (PipelineParams, bool)
GetPipelineParams returns the value of the PipelineParams field in RunParameters as a PipelineParams value. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetPythonNamedParams ¶ added in v1.61.0
GetPythonNamedParams returns the value of the PythonNamedParams field in RunParameters as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetPythonParams ¶ added in v1.61.0
GetPythonParams returns the value of the PythonParams field in RunParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetSparkSubmitParams ¶ added in v1.61.0
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) GetSqlParams ¶ added in v1.61.0
GetSqlParams returns the value of the SqlParams field in RunParameters as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters) SetDbtCommands ¶ added in v1.61.0
func (o *RunParameters) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RunParameters.
func (*RunParameters) SetJarParams ¶ added in v1.61.0
func (o *RunParameters) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RunParameters.
func (*RunParameters) SetNotebookParams ¶ added in v1.61.0
SetNotebookParams sets the value of the NotebookParams field in RunParameters.
func (*RunParameters) SetPipelineParams ¶ added in v1.61.0
func (o *RunParameters) SetPipelineParams(ctx context.Context, v PipelineParams)
SetPipelineParams sets the value of the PipelineParams field in RunParameters.
func (*RunParameters) SetPythonNamedParams ¶ added in v1.61.0
SetPythonNamedParams sets the value of the PythonNamedParams field in RunParameters.
func (*RunParameters) SetPythonParams ¶ added in v1.61.0
func (o *RunParameters) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RunParameters.
func (*RunParameters) SetSparkSubmitParams ¶ added in v1.61.0
func (o *RunParameters) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunParameters.
func (*RunParameters) SetSqlParams ¶ added in v1.61.0
SetSqlParams sets the value of the SqlParams field in RunParameters.
func (*RunParameters) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RunParameters) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunParameters)
func (*RunParameters) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RunParameters) SyncEffectiveFieldsDuringRead(existingState RunParameters)
func (RunParameters) ToObjectValue ¶ added in v1.61.0
func (o RunParameters) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunParameters only implements ToObjectValue() and Type().
type RunParameters_SdkV2 ¶ added in v1.62.1
type RunParameters_SdkV2 struct { // An array of commands to execute for jobs with the dbt task, for example // `"dbt_commands": ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt // run"]` DbtCommands types.List `tfsdk:"dbt_commands"` // A list of parameters for jobs with Spark JAR tasks, for example // `"jar_params": ["john doe", "35"]`. The parameters are used to invoke the // main function of the main class specified in the Spark JAR task. If not // specified upon `run-now`, it defaults to an empty list. jar_params cannot // be specified in conjunction with notebook_params. The JSON representation // of this field (for example `{"jar_params":["john doe","35"]}`) cannot // exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables JarParams types.List `tfsdk:"jar_params"` // A map from keys to values for jobs with notebook task, for example // `"notebook_params": {"name": "john doe", "age": "35"}`. The map is passed // to the notebook and is accessible through the [dbutils.widgets.get] // function. // // If not specified upon `run-now`, the triggered run uses the job’s base // parameters. // // notebook_params cannot be specified in conjunction with jar_params. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // The JSON representation of this field (for example // `{"notebook_params":{"name":"john doe","age":"35"}}`) cannot exceed // 10,000 bytes. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables // [dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html NotebookParams types.Map `tfsdk:"notebook_params"` // Controls whether the pipeline should perform a full refresh PipelineParams types.List `tfsdk:"pipeline_params"` PythonNamedParams types.Map `tfsdk:"python_named_params"` // A list of parameters for jobs with Python tasks, for example // `"python_params": ["john doe", "35"]`. The parameters are passed to // Python file as command-line parameters. If specified upon `run-now`, it // would overwrite the parameters specified in job setting. The JSON // representation of this field (for example `{"python_params":["john // doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables PythonParams types.List `tfsdk:"python_params"` // A list of parameters for jobs with spark submit task, for example // `"spark_submit_params": ["--class", // "org.apache.spark.examples.SparkPi"]`. The parameters are passed to // spark-submit script as command-line parameters. If specified upon // `run-now`, it would overwrite the parameters specified in job setting. // The JSON representation of this field (for example // `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. // // Use [Task parameter variables] to set parameters containing information // about job runs // // Important // // These parameters accept only Latin characters (ASCII character set). // Using non-ASCII characters returns an error. Examples of invalid, // non-ASCII characters are Chinese, Japanese kanjis, and emojis. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables SparkSubmitParams types.List `tfsdk:"spark_submit_params"` // A map from keys to values for jobs with SQL task, for example // `"sql_params": {"name": "john doe", "age": "35"}`. The SQL alert task // does not support custom parameters. SqlParams types.Map `tfsdk:"sql_params"` }
func (RunParameters_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunParameters_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunParameters_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunParameters. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunParameters_SdkV2) GetDbtCommands ¶ added in v1.62.1
GetDbtCommands returns the value of the DbtCommands field in RunParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetJarParams ¶ added in v1.62.1
GetJarParams returns the value of the JarParams field in RunParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetNotebookParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) GetNotebookParams(ctx context.Context) (map[string]types.String, bool)
GetNotebookParams returns the value of the NotebookParams field in RunParameters_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetPipelineParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) GetPipelineParams(ctx context.Context) (PipelineParams_SdkV2, bool)
GetPipelineParams returns the value of the PipelineParams field in RunParameters_SdkV2 as a PipelineParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetPythonNamedParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) GetPythonNamedParams(ctx context.Context) (map[string]types.String, bool)
GetPythonNamedParams returns the value of the PythonNamedParams field in RunParameters_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetPythonParams ¶ added in v1.62.1
GetPythonParams returns the value of the PythonParams field in RunParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetSparkSubmitParams ¶ added in v1.62.1
GetSparkSubmitParams returns the value of the SparkSubmitParams field in RunParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) GetSqlParams ¶ added in v1.62.1
GetSqlParams returns the value of the SqlParams field in RunParameters_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*RunParameters_SdkV2) SetDbtCommands ¶ added in v1.62.1
func (o *RunParameters_SdkV2) SetDbtCommands(ctx context.Context, v []types.String)
SetDbtCommands sets the value of the DbtCommands field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetJarParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) SetJarParams(ctx context.Context, v []types.String)
SetJarParams sets the value of the JarParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetNotebookParams ¶ added in v1.62.1
SetNotebookParams sets the value of the NotebookParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetPipelineParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) SetPipelineParams(ctx context.Context, v PipelineParams_SdkV2)
SetPipelineParams sets the value of the PipelineParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetPythonNamedParams ¶ added in v1.62.1
SetPythonNamedParams sets the value of the PythonNamedParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetPythonParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) SetPythonParams(ctx context.Context, v []types.String)
SetPythonParams sets the value of the PythonParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetSparkSubmitParams ¶ added in v1.62.1
func (o *RunParameters_SdkV2) SetSparkSubmitParams(ctx context.Context, v []types.String)
SetSparkSubmitParams sets the value of the SparkSubmitParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SetSqlParams ¶ added in v1.62.1
SetSqlParams sets the value of the SqlParams field in RunParameters_SdkV2.
func (*RunParameters_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunParameters_SdkV2)
func (*RunParameters_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunParameters_SdkV2)
func (RunParameters_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunParameters_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunParameters_SdkV2 only implements ToObjectValue() and Type().
type RunState ¶
type RunState struct { // A value indicating the run's current lifecycle state. This field is // always available in the response. LifeCycleState types.String `tfsdk:"life_cycle_state"` // The reason indicating why the run was queued. QueueReason types.String `tfsdk:"queue_reason"` // A value indicating the run's result. This field is only available for // terminal lifecycle states. ResultState types.String `tfsdk:"result_state"` // A descriptive message for the current state. This field is unstructured, // and its exact format is subject to change. StateMessage types.String `tfsdk:"state_message"` // A value indicating whether a run was canceled manually by a user or by // the scheduler because the run timed out. UserCancelledOrTimedout types.Bool `tfsdk:"user_cancelled_or_timedout"` }
The current state of the run.
func (RunState) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunState) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunState) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunState) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RunState) ToObjectValue ¶ added in v1.61.0
func (o RunState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunState only implements ToObjectValue() and Type().
type RunState_SdkV2 ¶ added in v1.62.1
type RunState_SdkV2 struct { // A value indicating the run's current lifecycle state. This field is // always available in the response. LifeCycleState types.String `tfsdk:"life_cycle_state"` // The reason indicating why the run was queued. QueueReason types.String `tfsdk:"queue_reason"` // A value indicating the run's result. This field is only available for // terminal lifecycle states. ResultState types.String `tfsdk:"result_state"` // A descriptive message for the current state. This field is unstructured, // and its exact format is subject to change. StateMessage types.String `tfsdk:"state_message"` // A value indicating whether a run was canceled manually by a user or by // the scheduler because the run timed out. UserCancelledOrTimedout types.Bool `tfsdk:"user_cancelled_or_timedout"` }
The current state of the run.
func (RunState_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunState_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunState_SdkV2)
func (*RunState_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunState_SdkV2)
func (RunState_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunState_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunState_SdkV2 only implements ToObjectValue() and Type().
type RunStatus ¶ added in v1.52.0
type RunStatus struct { // If the run was queued, details about the reason for queuing the run. QueueDetails types.Object `tfsdk:"queue_details"` // The current state of the run. State types.String `tfsdk:"state"` // If the run is in a TERMINATING or TERMINATED state, details about the // reason for terminating the run. TerminationDetails types.Object `tfsdk:"termination_details"` }
The current status of the run
func (RunStatus) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunStatus) GetQueueDetails ¶ added in v1.61.0
func (o *RunStatus) GetQueueDetails(ctx context.Context) (QueueDetails, bool)
GetQueueDetails returns the value of the QueueDetails field in RunStatus as a QueueDetails value. If the field is unknown or null, the boolean return value is false.
func (*RunStatus) GetTerminationDetails ¶ added in v1.61.0
func (o *RunStatus) GetTerminationDetails(ctx context.Context) (TerminationDetails, bool)
GetTerminationDetails returns the value of the TerminationDetails field in RunStatus as a TerminationDetails value. If the field is unknown or null, the boolean return value is false.
func (*RunStatus) SetQueueDetails ¶ added in v1.61.0
func (o *RunStatus) SetQueueDetails(ctx context.Context, v QueueDetails)
SetQueueDetails sets the value of the QueueDetails field in RunStatus.
func (*RunStatus) SetTerminationDetails ¶ added in v1.61.0
func (o *RunStatus) SetTerminationDetails(ctx context.Context, v TerminationDetails)
SetTerminationDetails sets the value of the TerminationDetails field in RunStatus.
func (*RunStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RunStatus) ToObjectValue ¶ added in v1.61.0
func (o RunStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunStatus only implements ToObjectValue() and Type().
type RunStatus_SdkV2 ¶ added in v1.62.1
type RunStatus_SdkV2 struct { // If the run was queued, details about the reason for queuing the run. QueueDetails types.List `tfsdk:"queue_details"` // The current state of the run. State types.String `tfsdk:"state"` // If the run is in a TERMINATING or TERMINATED state, details about the // reason for terminating the run. TerminationDetails types.List `tfsdk:"termination_details"` }
The current status of the run
func (RunStatus_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RunStatus_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunStatus_SdkV2) GetQueueDetails ¶ added in v1.62.1
func (o *RunStatus_SdkV2) GetQueueDetails(ctx context.Context) (QueueDetails_SdkV2, bool)
GetQueueDetails returns the value of the QueueDetails field in RunStatus_SdkV2 as a QueueDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunStatus_SdkV2) GetTerminationDetails ¶ added in v1.62.1
func (o *RunStatus_SdkV2) GetTerminationDetails(ctx context.Context) (TerminationDetails_SdkV2, bool)
GetTerminationDetails returns the value of the TerminationDetails field in RunStatus_SdkV2 as a TerminationDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunStatus_SdkV2) SetQueueDetails ¶ added in v1.62.1
func (o *RunStatus_SdkV2) SetQueueDetails(ctx context.Context, v QueueDetails_SdkV2)
SetQueueDetails sets the value of the QueueDetails field in RunStatus_SdkV2.
func (*RunStatus_SdkV2) SetTerminationDetails ¶ added in v1.62.1
func (o *RunStatus_SdkV2) SetTerminationDetails(ctx context.Context, v TerminationDetails_SdkV2)
SetTerminationDetails sets the value of the TerminationDetails field in RunStatus_SdkV2.
func (*RunStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunStatus_SdkV2)
func (*RunStatus_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunStatus_SdkV2)
func (RunStatus_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunStatus_SdkV2 only implements ToObjectValue() and Type().
type RunTask ¶
type RunTask struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.Object `tfsdk:"clean_rooms_notebook_task"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.Object `tfsdk:"cluster_instance"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.Object `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.Object `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete successfully before // executing this task. The key is `task_key`, and the value is the name // assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An optional set of email addresses notified when the task run begins or // completes. The default behavior is to not send any emails. EmailNotifications types.Object `tfsdk:"email_notifications"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.Object `tfsdk:"for_each_task"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. If `git_source` is set, // these tasks retrieve the file from the remote repository by default. // However, this behavior can be overridden by setting `source` to // `WORKSPACE` on the task. Note: dbt and SQL File tasks support only // version-controlled sources. If dbt or SQL File tasks are used, // `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.Object `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.Object `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task run. NotificationSettings types.Object `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.Object `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.Object `tfsdk:"python_wheel_task"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // Parameter values including resolved references ResolvedValues types.Object `tfsdk:"resolved_values"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The ID of the task run. RunId types.Int64 `tfsdk:"run_id"` // An optional value indicating the condition that determines whether the // task should be run once its dependencies have been completed. When // omitted, defaults to `ALL_SUCCESS`. See :method:jobs/create for a list of // possible values. RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.Object `tfsdk:"run_job_task"` RunPageUrl types.String `tfsdk:"run_page_url"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.Object `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.Object `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.Object `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.Object `tfsdk:"sql_task"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.Object `tfsdk:"state"` // The current status of the run Status types.Object `tfsdk:"status"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. The default behavior is to not send any system notifications. // Task webhooks respect the task notification settings. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
Used when outputting a child run, in GetRun or ListRuns.
func (RunTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*RunTask) GetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *RunTask) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in RunTask as a CleanRoomsNotebookTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetClusterInstance ¶ added in v1.61.0
func (o *RunTask) GetClusterInstance(ctx context.Context) (ClusterInstance, bool)
GetClusterInstance returns the value of the ClusterInstance field in RunTask as a ClusterInstance value. If the field is unknown or null, the boolean return value is false.
func (RunTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunTask) GetConditionTask ¶ added in v1.61.0
func (o *RunTask) GetConditionTask(ctx context.Context) (RunConditionTask, bool)
GetConditionTask returns the value of the ConditionTask field in RunTask as a RunConditionTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetDbtTask ¶ added in v1.61.0
GetDbtTask returns the value of the DbtTask field in RunTask as a DbtTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetDependsOn ¶ added in v1.61.0
func (o *RunTask) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
GetDependsOn returns the value of the DependsOn field in RunTask as a slice of TaskDependency values. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetEmailNotifications ¶ added in v1.61.0
func (o *RunTask) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in RunTask as a JobEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetForEachTask ¶ added in v1.61.0
func (o *RunTask) GetForEachTask(ctx context.Context) (RunForEachTask, bool)
GetForEachTask returns the value of the ForEachTask field in RunTask as a RunForEachTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetGitSource ¶ added in v1.61.0
GetGitSource returns the value of the GitSource field in RunTask as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetLibraries ¶ added in v1.61.0
GetLibraries returns the value of the Libraries field in RunTask as a slice of compute_tf.Library values. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetNewCluster ¶ added in v1.61.0
func (o *RunTask) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
GetNewCluster returns the value of the NewCluster field in RunTask as a compute_tf.ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetNotebookTask ¶ added in v1.61.0
func (o *RunTask) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
GetNotebookTask returns the value of the NotebookTask field in RunTask as a NotebookTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetNotificationSettings ¶ added in v1.61.0
func (o *RunTask) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in RunTask as a TaskNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetPipelineTask ¶ added in v1.61.0
func (o *RunTask) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
GetPipelineTask returns the value of the PipelineTask field in RunTask as a PipelineTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetPythonWheelTask ¶ added in v1.61.0
func (o *RunTask) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in RunTask as a PythonWheelTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetResolvedValues ¶ added in v1.61.0
func (o *RunTask) GetResolvedValues(ctx context.Context) (ResolvedValues, bool)
GetResolvedValues returns the value of the ResolvedValues field in RunTask as a ResolvedValues value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetRunJobTask ¶ added in v1.61.0
func (o *RunTask) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
GetRunJobTask returns the value of the RunJobTask field in RunTask as a RunJobTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetSparkJarTask ¶ added in v1.61.0
func (o *RunTask) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
GetSparkJarTask returns the value of the SparkJarTask field in RunTask as a SparkJarTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetSparkPythonTask ¶ added in v1.61.0
func (o *RunTask) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in RunTask as a SparkPythonTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetSparkSubmitTask ¶ added in v1.61.0
func (o *RunTask) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in RunTask as a SparkSubmitTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetSqlTask ¶ added in v1.61.0
GetSqlTask returns the value of the SqlTask field in RunTask as a SqlTask value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetState ¶ added in v1.61.0
GetState returns the value of the State field in RunTask as a RunState value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetStatus ¶ added in v1.61.0
GetStatus returns the value of the Status field in RunTask as a RunStatus value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) GetWebhookNotifications ¶ added in v1.61.0
func (o *RunTask) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in RunTask as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*RunTask) SetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *RunTask) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in RunTask.
func (*RunTask) SetClusterInstance ¶ added in v1.61.0
func (o *RunTask) SetClusterInstance(ctx context.Context, v ClusterInstance)
SetClusterInstance sets the value of the ClusterInstance field in RunTask.
func (*RunTask) SetConditionTask ¶ added in v1.61.0
func (o *RunTask) SetConditionTask(ctx context.Context, v RunConditionTask)
SetConditionTask sets the value of the ConditionTask field in RunTask.
func (*RunTask) SetDbtTask ¶ added in v1.61.0
SetDbtTask sets the value of the DbtTask field in RunTask.
func (*RunTask) SetDependsOn ¶ added in v1.61.0
func (o *RunTask) SetDependsOn(ctx context.Context, v []TaskDependency)
SetDependsOn sets the value of the DependsOn field in RunTask.
func (*RunTask) SetEmailNotifications ¶ added in v1.61.0
func (o *RunTask) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in RunTask.
func (*RunTask) SetForEachTask ¶ added in v1.61.0
func (o *RunTask) SetForEachTask(ctx context.Context, v RunForEachTask)
SetForEachTask sets the value of the ForEachTask field in RunTask.
func (*RunTask) SetGitSource ¶ added in v1.61.0
SetGitSource sets the value of the GitSource field in RunTask.
func (*RunTask) SetLibraries ¶ added in v1.61.0
func (o *RunTask) SetLibraries(ctx context.Context, v []compute_tf.Library)
SetLibraries sets the value of the Libraries field in RunTask.
func (*RunTask) SetNewCluster ¶ added in v1.61.0
func (o *RunTask) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
SetNewCluster sets the value of the NewCluster field in RunTask.
func (*RunTask) SetNotebookTask ¶ added in v1.61.0
func (o *RunTask) SetNotebookTask(ctx context.Context, v NotebookTask)
SetNotebookTask sets the value of the NotebookTask field in RunTask.
func (*RunTask) SetNotificationSettings ¶ added in v1.61.0
func (o *RunTask) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in RunTask.
func (*RunTask) SetPipelineTask ¶ added in v1.61.0
func (o *RunTask) SetPipelineTask(ctx context.Context, v PipelineTask)
SetPipelineTask sets the value of the PipelineTask field in RunTask.
func (*RunTask) SetPythonWheelTask ¶ added in v1.61.0
func (o *RunTask) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
SetPythonWheelTask sets the value of the PythonWheelTask field in RunTask.
func (*RunTask) SetResolvedValues ¶ added in v1.61.0
func (o *RunTask) SetResolvedValues(ctx context.Context, v ResolvedValues)
SetResolvedValues sets the value of the ResolvedValues field in RunTask.
func (*RunTask) SetRunJobTask ¶ added in v1.61.0
func (o *RunTask) SetRunJobTask(ctx context.Context, v RunJobTask)
SetRunJobTask sets the value of the RunJobTask field in RunTask.
func (*RunTask) SetSparkJarTask ¶ added in v1.61.0
func (o *RunTask) SetSparkJarTask(ctx context.Context, v SparkJarTask)
SetSparkJarTask sets the value of the SparkJarTask field in RunTask.
func (*RunTask) SetSparkPythonTask ¶ added in v1.61.0
func (o *RunTask) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
SetSparkPythonTask sets the value of the SparkPythonTask field in RunTask.
func (*RunTask) SetSparkSubmitTask ¶ added in v1.61.0
func (o *RunTask) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in RunTask.
func (*RunTask) SetSqlTask ¶ added in v1.61.0
SetSqlTask sets the value of the SqlTask field in RunTask.
func (*RunTask) SetStatus ¶ added in v1.61.0
SetStatus sets the value of the Status field in RunTask.
func (*RunTask) SetWebhookNotifications ¶ added in v1.61.0
func (o *RunTask) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in RunTask.
func (*RunTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RunTask) ToObjectValue ¶ added in v1.61.0
func (o RunTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunTask only implements ToObjectValue() and Type().
type RunTask_SdkV2 ¶ added in v1.62.1
type RunTask_SdkV2 struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.List `tfsdk:"clean_rooms_notebook_task"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.List `tfsdk:"cluster_instance"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.List `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.List `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete successfully before // executing this task. The key is `task_key`, and the value is the name // assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An optional set of email addresses notified when the task run begins or // completes. The default behavior is to not send any emails. EmailNotifications types.List `tfsdk:"email_notifications"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.List `tfsdk:"for_each_task"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. If `git_source` is set, // these tasks retrieve the file from the remote repository by default. // However, this behavior can be overridden by setting `source` to // `WORKSPACE` on the task. Note: dbt and SQL File tasks support only // version-controlled sources. If dbt or SQL File tasks are used, // `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.List `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.List `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task run. NotificationSettings types.List `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.List `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.List `tfsdk:"python_wheel_task"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // Parameter values including resolved references ResolvedValues types.List `tfsdk:"resolved_values"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The ID of the task run. RunId types.Int64 `tfsdk:"run_id"` // An optional value indicating the condition that determines whether the // task should be run once its dependencies have been completed. When // omitted, defaults to `ALL_SUCCESS`. See :method:jobs/create for a list of // possible values. RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.List `tfsdk:"run_job_task"` RunPageUrl types.String `tfsdk:"run_page_url"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.List `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.List `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.List `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.List `tfsdk:"sql_task"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.List `tfsdk:"state"` // The current status of the run Status types.List `tfsdk:"status"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. The default behavior is to not send any system notifications. // Task webhooks respect the task notification settings. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
Used when outputting a child run, in GetRun or ListRuns.
func (RunTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RunTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*RunTask_SdkV2) GetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in RunTask_SdkV2 as a CleanRoomsNotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetClusterInstance ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
GetClusterInstance returns the value of the ClusterInstance field in RunTask_SdkV2 as a ClusterInstance_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (RunTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RunTask_SdkV2) GetConditionTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetConditionTask(ctx context.Context) (RunConditionTask_SdkV2, bool)
GetConditionTask returns the value of the ConditionTask field in RunTask_SdkV2 as a RunConditionTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetDbtTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
GetDbtTask returns the value of the DbtTask field in RunTask_SdkV2 as a DbtTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetDependsOn ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
GetDependsOn returns the value of the DependsOn field in RunTask_SdkV2 as a slice of TaskDependency_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in RunTask_SdkV2 as a JobEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetForEachTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetForEachTask(ctx context.Context) (RunForEachTask_SdkV2, bool)
GetForEachTask returns the value of the ForEachTask field in RunTask_SdkV2 as a RunForEachTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in RunTask_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in RunTask_SdkV2 as a slice of compute_tf.Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetNewCluster ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
GetNewCluster returns the value of the NewCluster field in RunTask_SdkV2 as a compute_tf.ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetNotebookTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
GetNotebookTask returns the value of the NotebookTask field in RunTask_SdkV2 as a NotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in RunTask_SdkV2 as a TaskNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetPipelineTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
GetPipelineTask returns the value of the PipelineTask field in RunTask_SdkV2 as a PipelineTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetPythonWheelTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in RunTask_SdkV2 as a PythonWheelTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetResolvedValues ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetResolvedValues(ctx context.Context) (ResolvedValues_SdkV2, bool)
GetResolvedValues returns the value of the ResolvedValues field in RunTask_SdkV2 as a ResolvedValues_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetRunJobTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
GetRunJobTask returns the value of the RunJobTask field in RunTask_SdkV2 as a RunJobTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetSparkJarTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
GetSparkJarTask returns the value of the SparkJarTask field in RunTask_SdkV2 as a SparkJarTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetSparkPythonTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in RunTask_SdkV2 as a SparkPythonTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetSparkSubmitTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in RunTask_SdkV2 as a SparkSubmitTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetSqlTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
GetSqlTask returns the value of the SqlTask field in RunTask_SdkV2 as a SqlTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetState ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
GetState returns the value of the State field in RunTask_SdkV2 as a RunState_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetStatus ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
GetStatus returns the value of the Status field in RunTask_SdkV2 as a RunStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *RunTask_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in RunTask_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*RunTask_SdkV2) SetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetClusterInstance ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
SetClusterInstance sets the value of the ClusterInstance field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetConditionTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetConditionTask(ctx context.Context, v RunConditionTask_SdkV2)
SetConditionTask sets the value of the ConditionTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetDbtTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
SetDbtTask sets the value of the DbtTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetDependsOn ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
SetDependsOn sets the value of the DependsOn field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetForEachTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetForEachTask(ctx context.Context, v RunForEachTask_SdkV2)
SetForEachTask sets the value of the ForEachTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
SetLibraries sets the value of the Libraries field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetNewCluster ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
SetNewCluster sets the value of the NewCluster field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetNotebookTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
SetNotebookTask sets the value of the NotebookTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetPipelineTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
SetPipelineTask sets the value of the PipelineTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetPythonWheelTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
SetPythonWheelTask sets the value of the PythonWheelTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetResolvedValues ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetResolvedValues(ctx context.Context, v ResolvedValues_SdkV2)
SetResolvedValues sets the value of the ResolvedValues field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetRunJobTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
SetRunJobTask sets the value of the RunJobTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetSparkJarTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
SetSparkJarTask sets the value of the SparkJarTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetSparkPythonTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
SetSparkPythonTask sets the value of the SparkPythonTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetSparkSubmitTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetSqlTask ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
SetSqlTask sets the value of the SqlTask field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetState ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
SetState sets the value of the State field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetStatus ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
SetStatus sets the value of the Status field in RunTask_SdkV2.
func (*RunTask_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *RunTask_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in RunTask_SdkV2.
func (*RunTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTask_SdkV2)
func (*RunTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunTask_SdkV2)
func (RunTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RunTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RunTask_SdkV2 only implements ToObjectValue() and Type().
type Run_SdkV2 ¶ added in v1.62.1
type Run_SdkV2 struct { // The sequence number of this run attempt for a triggered job run. The // initial attempt of a run has an attempt_number of 0. If the initial run // attempt fails, and the job has a retry policy (`max_retries` > 0), // subsequent runs are created with an `original_attempt_run_id` of the // original attempt’s ID and an incrementing `attempt_number`. Runs are // retried only until they succeed, and the maximum `attempt_number` is the // same as the `max_retries` value for the job. AttemptNumber types.Int64 `tfsdk:"attempt_number"` // The time in milliseconds it took to terminate the cluster and clean up // any associated artifacts. The duration of a task run is the sum of the // `setup_duration`, `execution_duration`, and the `cleanup_duration`. The // `cleanup_duration` field is set to 0 for multitask job runs. The total // duration of a multitask job run is the value of the `run_duration` field. CleanupDuration types.Int64 `tfsdk:"cleanup_duration"` // The cluster used for this run. If the run is specified to use a new // cluster, this field is set once the Jobs service has requested a cluster // for the run. ClusterInstance types.List `tfsdk:"cluster_instance"` // A snapshot of the job’s cluster specification when this run was // created. ClusterSpec types.List `tfsdk:"cluster_spec"` // The creator user name. This field won’t be included in the response if // the user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Description of the run Description types.String `tfsdk:"description"` // The time at which this run ended in epoch milliseconds (milliseconds // since 1/1/1970 UTC). This field is set to 0 if the job is still running. EndTime types.Int64 `tfsdk:"end_time"` // The time in milliseconds it took to execute the commands in the JAR or // notebook until they completed, failed, timed out, were cancelled, or // encountered an unexpected error. The duration of a task run is the sum of // the `setup_duration`, `execution_duration`, and the `cleanup_duration`. // The `execution_duration` field is set to 0 for multitask job runs. The // total duration of a multitask job run is the value of the `run_duration` // field. ExecutionDuration types.Int64 `tfsdk:"execution_duration"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // Indicates if the run has more sub-resources (`tasks`, `job_clusters`) // that are not shown. They can be accessed via :method:jobs/getrun // endpoint. It is only relevant for API 2.2 :method:jobs/listruns requests // with `expand_tasks=true`. HasMore types.Bool `tfsdk:"has_more"` // Only populated by for-each iterations. The parent for-each task is // located in tasks array. Iterations types.List `tfsdk:"iterations"` // A list of job cluster specifications that can be shared and reused by // tasks of this job. Libraries cannot be declared in a shared job cluster. // You must declare dependent libraries in task settings. If more than 100 // job clusters are available, you can paginate through them using // :method:jobs/getrun. JobClusters types.List `tfsdk:"job_clusters"` // The canonical identifier of the job that contains this run. JobId types.Int64 `tfsdk:"job_id"` // Job-level parameters used in the run JobParameters types.List `tfsdk:"job_parameters"` // ID of the job run that this run belongs to. For legacy and single-task // job runs the field is populated with the job run ID. For task runs, the // field is populated with the ID of the job run that the task run belongs // to. JobRunId types.Int64 `tfsdk:"job_run_id"` // A token that can be used to list the next page of sub-resources. NextPageToken types.String `tfsdk:"next_page_token"` // A unique identifier for this job run. This is set to the same value as // `run_id`. NumberInJob types.Int64 `tfsdk:"number_in_job"` // If this run is a retry of a prior run attempt, this field contains the // run_id of the original attempt; otherwise, it is the same as the run_id. OriginalAttemptRunId types.Int64 `tfsdk:"original_attempt_run_id"` // The parameters used for this run. OverridingParameters types.List `tfsdk:"overriding_parameters"` // The time in milliseconds that the run has spent in the queue. QueueDuration types.Int64 `tfsdk:"queue_duration"` // The repair history of the run. RepairHistory types.List `tfsdk:"repair_history"` // The time in milliseconds it took the job run and all of its repairs to // finish. RunDuration types.Int64 `tfsdk:"run_duration"` // The canonical identifier of the run. This ID is unique across all runs of // all jobs. RunId types.Int64 `tfsdk:"run_id"` // An optional name for the run. The maximum length is 4096 bytes in UTF-8 // encoding. RunName types.String `tfsdk:"run_name"` // The URL to the detail page of the run. RunPageUrl types.String `tfsdk:"run_page_url"` // The type of a run. * `JOB_RUN`: Normal job run. A run created with // :method:jobs/runNow. * `WORKFLOW_RUN`: Workflow run. A run created with // [dbutils.notebook.run]. * `SUBMIT_RUN`: Submit run. A run created with // :method:jobs/submit. // // [dbutils.notebook.run]: https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-workflow RunType types.String `tfsdk:"run_type"` // The cron schedule that triggered this run if it was triggered by the // periodic scheduler. Schedule types.List `tfsdk:"schedule"` // The time in milliseconds it took to set up the cluster. For runs that run // on new clusters this is the cluster creation time, for runs that run on // existing clusters this time should be very short. The duration of a task // run is the sum of the `setup_duration`, `execution_duration`, and the // `cleanup_duration`. The `setup_duration` field is set to 0 for multitask // job runs. The total duration of a multitask job run is the value of the // `run_duration` field. SetupDuration types.Int64 `tfsdk:"setup_duration"` // The time at which this run was started in epoch milliseconds // (milliseconds since 1/1/1970 UTC). This may not be the time when the job // task starts executing, for example, if the job is scheduled to run on a // new cluster, this is the time the cluster creation call is issued. StartTime types.Int64 `tfsdk:"start_time"` // Deprecated. Please use the `status` field instead. State types.List `tfsdk:"state"` // The current status of the run Status types.List `tfsdk:"status"` // The list of tasks performed by the run. Each task has its own `run_id` // which you can use to call `JobsGetOutput` to retrieve the run resutls. If // more than 100 tasks are available, you can paginate through them using // :method:jobs/getrun. Use the `next_page_token` field at the object root // to determine if more results are available. Tasks types.List `tfsdk:"tasks"` // The type of trigger that fired this run. // // * `PERIODIC`: Schedules that periodically trigger runs, such as a cron // scheduler. * `ONE_TIME`: One time triggers that fire a single run. This // occurs you triggered a single run on demand through the UI or the API. * // `RETRY`: Indicates a run that is triggered as a retry of a previously // failed run. This occurs when you request to re-run the job in case of // failures. * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run // Job task. * `FILE_ARRIVAL`: Indicates a run that is triggered by a file // arrival. * `TABLE`: Indicates a run that is triggered by a table update. // * `CONTINUOUS_RESTART`: Indicates a run created by user to manually // restart a continuous job run. Trigger types.String `tfsdk:"trigger"` // Additional details about what triggered the run TriggerInfo types.List `tfsdk:"trigger_info"` }
Run was retrieved successfully
func (Run_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Run_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*Run_SdkV2) GetClusterInstance ¶ added in v1.62.1
func (o *Run_SdkV2) GetClusterInstance(ctx context.Context) (ClusterInstance_SdkV2, bool)
GetClusterInstance returns the value of the ClusterInstance field in Run_SdkV2 as a ClusterInstance_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetClusterSpec ¶ added in v1.62.1
func (o *Run_SdkV2) GetClusterSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
GetClusterSpec returns the value of the ClusterSpec field in Run_SdkV2 as a ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (Run_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Run_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *Run_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in Run_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetIterations ¶ added in v1.62.1
func (o *Run_SdkV2) GetIterations(ctx context.Context) ([]RunTask_SdkV2, bool)
GetIterations returns the value of the Iterations field in Run_SdkV2 as a slice of RunTask_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetJobClusters ¶ added in v1.62.1
func (o *Run_SdkV2) GetJobClusters(ctx context.Context) ([]JobCluster_SdkV2, bool)
GetJobClusters returns the value of the JobClusters field in Run_SdkV2 as a slice of JobCluster_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetJobParameters ¶ added in v1.62.1
func (o *Run_SdkV2) GetJobParameters(ctx context.Context) ([]JobParameter_SdkV2, bool)
GetJobParameters returns the value of the JobParameters field in Run_SdkV2 as a slice of JobParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetOverridingParameters ¶ added in v1.62.1
func (o *Run_SdkV2) GetOverridingParameters(ctx context.Context) (RunParameters_SdkV2, bool)
GetOverridingParameters returns the value of the OverridingParameters field in Run_SdkV2 as a RunParameters_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetRepairHistory ¶ added in v1.62.1
func (o *Run_SdkV2) GetRepairHistory(ctx context.Context) ([]RepairHistoryItem_SdkV2, bool)
GetRepairHistory returns the value of the RepairHistory field in Run_SdkV2 as a slice of RepairHistoryItem_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetSchedule ¶ added in v1.62.1
func (o *Run_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)
GetSchedule returns the value of the Schedule field in Run_SdkV2 as a CronSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetState ¶ added in v1.62.1
func (o *Run_SdkV2) GetState(ctx context.Context) (RunState_SdkV2, bool)
GetState returns the value of the State field in Run_SdkV2 as a RunState_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetStatus ¶ added in v1.62.1
func (o *Run_SdkV2) GetStatus(ctx context.Context) (RunStatus_SdkV2, bool)
GetStatus returns the value of the Status field in Run_SdkV2 as a RunStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetTasks ¶ added in v1.62.1
func (o *Run_SdkV2) GetTasks(ctx context.Context) ([]RunTask_SdkV2, bool)
GetTasks returns the value of the Tasks field in Run_SdkV2 as a slice of RunTask_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) GetTriggerInfo ¶ added in v1.62.1
func (o *Run_SdkV2) GetTriggerInfo(ctx context.Context) (TriggerInfo_SdkV2, bool)
GetTriggerInfo returns the value of the TriggerInfo field in Run_SdkV2 as a TriggerInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Run_SdkV2) SetClusterInstance ¶ added in v1.62.1
func (o *Run_SdkV2) SetClusterInstance(ctx context.Context, v ClusterInstance_SdkV2)
SetClusterInstance sets the value of the ClusterInstance field in Run_SdkV2.
func (*Run_SdkV2) SetClusterSpec ¶ added in v1.62.1
func (o *Run_SdkV2) SetClusterSpec(ctx context.Context, v ClusterSpec_SdkV2)
SetClusterSpec sets the value of the ClusterSpec field in Run_SdkV2.
func (*Run_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *Run_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in Run_SdkV2.
func (*Run_SdkV2) SetIterations ¶ added in v1.62.1
func (o *Run_SdkV2) SetIterations(ctx context.Context, v []RunTask_SdkV2)
SetIterations sets the value of the Iterations field in Run_SdkV2.
func (*Run_SdkV2) SetJobClusters ¶ added in v1.62.1
func (o *Run_SdkV2) SetJobClusters(ctx context.Context, v []JobCluster_SdkV2)
SetJobClusters sets the value of the JobClusters field in Run_SdkV2.
func (*Run_SdkV2) SetJobParameters ¶ added in v1.62.1
func (o *Run_SdkV2) SetJobParameters(ctx context.Context, v []JobParameter_SdkV2)
SetJobParameters sets the value of the JobParameters field in Run_SdkV2.
func (*Run_SdkV2) SetOverridingParameters ¶ added in v1.62.1
func (o *Run_SdkV2) SetOverridingParameters(ctx context.Context, v RunParameters_SdkV2)
SetOverridingParameters sets the value of the OverridingParameters field in Run_SdkV2.
func (*Run_SdkV2) SetRepairHistory ¶ added in v1.62.1
func (o *Run_SdkV2) SetRepairHistory(ctx context.Context, v []RepairHistoryItem_SdkV2)
SetRepairHistory sets the value of the RepairHistory field in Run_SdkV2.
func (*Run_SdkV2) SetSchedule ¶ added in v1.62.1
func (o *Run_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)
SetSchedule sets the value of the Schedule field in Run_SdkV2.
func (*Run_SdkV2) SetState ¶ added in v1.62.1
func (o *Run_SdkV2) SetState(ctx context.Context, v RunState_SdkV2)
SetState sets the value of the State field in Run_SdkV2.
func (*Run_SdkV2) SetStatus ¶ added in v1.62.1
func (o *Run_SdkV2) SetStatus(ctx context.Context, v RunStatus_SdkV2)
SetStatus sets the value of the Status field in Run_SdkV2.
func (*Run_SdkV2) SetTasks ¶ added in v1.62.1
func (o *Run_SdkV2) SetTasks(ctx context.Context, v []RunTask_SdkV2)
SetTasks sets the value of the Tasks field in Run_SdkV2.
func (*Run_SdkV2) SetTriggerInfo ¶ added in v1.62.1
func (o *Run_SdkV2) SetTriggerInfo(ctx context.Context, v TriggerInfo_SdkV2)
SetTriggerInfo sets the value of the TriggerInfo field in Run_SdkV2.
func (*Run_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (*Run_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (Run_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Run_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Run_SdkV2 only implements ToObjectValue() and Type().
type SparkJarTask ¶
type SparkJarTask struct { // Deprecated since 04/2016. Provide a `jar` through the `libraries` field // instead. For an example, see :method:jobs/create. JarUri types.String `tfsdk:"jar_uri"` // The full name of the class containing the main method to be executed. // This class must be contained in a JAR provided as a library. // // The code must use `SparkContext.getOrCreate` to obtain a Spark context; // otherwise, runs of the job fail. MainClassName types.String `tfsdk:"main_class_name"` // Parameters passed to the main method. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` // Deprecated. A value of `false` is no longer supported. RunAsRepl types.Bool `tfsdk:"run_as_repl"` }
func (SparkJarTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkJarTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkJarTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkJarTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkJarTask) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in SparkJarTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkJarTask) SetParameters ¶ added in v1.61.0
func (o *SparkJarTask) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkJarTask.
func (*SparkJarTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SparkJarTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkJarTask)
func (*SparkJarTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SparkJarTask) SyncEffectiveFieldsDuringRead(existingState SparkJarTask)
func (SparkJarTask) ToObjectValue ¶ added in v1.61.0
func (o SparkJarTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkJarTask only implements ToObjectValue() and Type().
type SparkJarTask_SdkV2 ¶ added in v1.62.1
type SparkJarTask_SdkV2 struct { // Deprecated since 04/2016. Provide a `jar` through the `libraries` field // instead. For an example, see :method:jobs/create. JarUri types.String `tfsdk:"jar_uri"` // The full name of the class containing the main method to be executed. // This class must be contained in a JAR provided as a library. // // The code must use `SparkContext.getOrCreate` to obtain a Spark context; // otherwise, runs of the job fail. MainClassName types.String `tfsdk:"main_class_name"` // Parameters passed to the main method. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` // Deprecated. A value of `false` is no longer supported. RunAsRepl types.Bool `tfsdk:"run_as_repl"` }
func (SparkJarTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkJarTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkJarTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkJarTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkJarTask_SdkV2) GetParameters ¶ added in v1.62.1
GetParameters returns the value of the Parameters field in SparkJarTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkJarTask_SdkV2) SetParameters ¶ added in v1.62.1
func (o *SparkJarTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkJarTask_SdkV2.
func (*SparkJarTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkJarTask_SdkV2)
func (*SparkJarTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkJarTask_SdkV2)
func (SparkJarTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkJarTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkJarTask_SdkV2 only implements ToObjectValue() and Type().
type SparkPythonTask ¶
type SparkPythonTask struct { // Command line parameters passed to the Python file. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` // The Python file to be executed. Cloud file URIs (such as dbfs:/, s3:/, // adls:/, gcs:/) and workspace paths are supported. For python files stored // in the Databricks workspace, the path must be absolute and begin with // `/`. For files stored in a remote repository, the path must be relative. // This field is required. PythonFile types.String `tfsdk:"python_file"` // Optional location type of the Python file. When set to `WORKSPACE` or not // specified, the file will be retrieved from the local Databricks workspace // or cloud location (if the `python_file` has a URI format). When set to // `GIT`, the Python file will be retrieved from a Git repository defined in // `git_source`. // // * `WORKSPACE`: The Python file is located in a Databricks workspace or at // a cloud filesystem URI. * `GIT`: The Python file is located in a remote // Git repository. Source types.String `tfsdk:"source"` }
func (SparkPythonTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkPythonTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkPythonTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkPythonTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkPythonTask) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in SparkPythonTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkPythonTask) SetParameters ¶ added in v1.61.0
func (o *SparkPythonTask) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkPythonTask.
func (*SparkPythonTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SparkPythonTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkPythonTask)
func (*SparkPythonTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SparkPythonTask) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask)
func (SparkPythonTask) ToObjectValue ¶ added in v1.61.0
func (o SparkPythonTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkPythonTask only implements ToObjectValue() and Type().
type SparkPythonTask_SdkV2 ¶ added in v1.62.1
type SparkPythonTask_SdkV2 struct { // Command line parameters passed to the Python file. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` // The Python file to be executed. Cloud file URIs (such as dbfs:/, s3:/, // adls:/, gcs:/) and workspace paths are supported. For python files stored // in the Databricks workspace, the path must be absolute and begin with // `/`. For files stored in a remote repository, the path must be relative. // This field is required. PythonFile types.String `tfsdk:"python_file"` // Optional location type of the Python file. When set to `WORKSPACE` or not // specified, the file will be retrieved from the local Databricks workspace // or cloud location (if the `python_file` has a URI format). When set to // `GIT`, the Python file will be retrieved from a Git repository defined in // `git_source`. // // * `WORKSPACE`: The Python file is located in a Databricks workspace or at // a cloud filesystem URI. * `GIT`: The Python file is located in a remote // Git repository. Source types.String `tfsdk:"source"` }
func (SparkPythonTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkPythonTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkPythonTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkPythonTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkPythonTask_SdkV2) GetParameters ¶ added in v1.62.1
GetParameters returns the value of the Parameters field in SparkPythonTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkPythonTask_SdkV2) SetParameters ¶ added in v1.62.1
func (o *SparkPythonTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkPythonTask_SdkV2.
func (*SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkPythonTask_SdkV2)
func (*SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask_SdkV2)
func (SparkPythonTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkPythonTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkPythonTask_SdkV2 only implements ToObjectValue() and Type().
type SparkSubmitTask ¶
type SparkSubmitTask struct { // Command-line parameters passed to spark submit. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` }
func (SparkSubmitTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkSubmitTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkSubmitTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkSubmitTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkSubmitTask) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in SparkSubmitTask as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkSubmitTask) SetParameters ¶ added in v1.61.0
func (o *SparkSubmitTask) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkSubmitTask.
func (*SparkSubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkSubmitTask)
func (*SparkSubmitTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask)
func (SparkSubmitTask) ToObjectValue ¶ added in v1.61.0
func (o SparkSubmitTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkSubmitTask only implements ToObjectValue() and Type().
type SparkSubmitTask_SdkV2 ¶ added in v1.62.1
type SparkSubmitTask_SdkV2 struct { // Command-line parameters passed to spark submit. // // Use [Task parameter variables] to set parameters containing information // about job runs. // // [Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables Parameters types.List `tfsdk:"parameters"` }
func (SparkSubmitTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkSubmitTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkSubmitTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkSubmitTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkSubmitTask_SdkV2) GetParameters ¶ added in v1.62.1
GetParameters returns the value of the Parameters field in SparkSubmitTask_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*SparkSubmitTask_SdkV2) SetParameters ¶ added in v1.62.1
func (o *SparkSubmitTask_SdkV2) SetParameters(ctx context.Context, v []types.String)
SetParameters sets the value of the Parameters field in SparkSubmitTask_SdkV2.
func (*SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkSubmitTask_SdkV2)
func (*SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask_SdkV2)
func (SparkSubmitTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkSubmitTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkSubmitTask_SdkV2 only implements ToObjectValue() and Type().
type SqlAlertOutput ¶
type SqlAlertOutput struct { // The state of the SQL alert. // // * UNKNOWN: alert yet to be evaluated * OK: alert evaluated and did not // fulfill trigger conditions * TRIGGERED: alert evaluated and fulfilled // trigger conditions AlertState types.String `tfsdk:"alert_state"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // The text of the SQL query. Can Run permission of the SQL query associated // with the SQL alert is required to view this field. QueryText types.String `tfsdk:"query_text"` // Information about SQL statements executed in the run. SqlStatements types.List `tfsdk:"sql_statements"` // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlAlertOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlAlertOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlAlertOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlAlertOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlAlertOutput) GetSqlStatements ¶ added in v1.61.0
func (o *SqlAlertOutput) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput, bool)
GetSqlStatements returns the value of the SqlStatements field in SqlAlertOutput as a slice of SqlStatementOutput values. If the field is unknown or null, the boolean return value is false.
func (*SqlAlertOutput) SetSqlStatements ¶ added in v1.61.0
func (o *SqlAlertOutput) SetSqlStatements(ctx context.Context, v []SqlStatementOutput)
SetSqlStatements sets the value of the SqlStatements field in SqlAlertOutput.
func (*SqlAlertOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlAlertOutput)
func (*SqlAlertOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput)
func (SqlAlertOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlAlertOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlAlertOutput only implements ToObjectValue() and Type().
type SqlAlertOutput_SdkV2 ¶ added in v1.62.1
type SqlAlertOutput_SdkV2 struct { // The state of the SQL alert. // // * UNKNOWN: alert yet to be evaluated * OK: alert evaluated and did not // fulfill trigger conditions * TRIGGERED: alert evaluated and fulfilled // trigger conditions AlertState types.String `tfsdk:"alert_state"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // The text of the SQL query. Can Run permission of the SQL query associated // with the SQL alert is required to view this field. QueryText types.String `tfsdk:"query_text"` // Information about SQL statements executed in the run. SqlStatements types.List `tfsdk:"sql_statements"` // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlAlertOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlAlertOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlAlertOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlAlertOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlAlertOutput_SdkV2) GetSqlStatements ¶ added in v1.62.1
func (o *SqlAlertOutput_SdkV2) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput_SdkV2, bool)
GetSqlStatements returns the value of the SqlStatements field in SqlAlertOutput_SdkV2 as a slice of SqlStatementOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SqlAlertOutput_SdkV2) SetSqlStatements ¶ added in v1.62.1
func (o *SqlAlertOutput_SdkV2) SetSqlStatements(ctx context.Context, v []SqlStatementOutput_SdkV2)
SetSqlStatements sets the value of the SqlStatements field in SqlAlertOutput_SdkV2.
func (*SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlAlertOutput_SdkV2)
func (*SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput_SdkV2)
func (SqlAlertOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlAlertOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlAlertOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlDashboardOutput ¶
type SqlDashboardOutput struct { // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` // Widgets executed in the run. Only SQL query based widgets are listed. Widgets types.List `tfsdk:"widgets"` }
func (SqlDashboardOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlDashboardOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlDashboardOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlDashboardOutput) GetWidgets ¶ added in v1.61.0
func (o *SqlDashboardOutput) GetWidgets(ctx context.Context) ([]SqlDashboardWidgetOutput, bool)
GetWidgets returns the value of the Widgets field in SqlDashboardOutput as a slice of SqlDashboardWidgetOutput values. If the field is unknown or null, the boolean return value is false.
func (*SqlDashboardOutput) SetWidgets ¶ added in v1.61.0
func (o *SqlDashboardOutput) SetWidgets(ctx context.Context, v []SqlDashboardWidgetOutput)
SetWidgets sets the value of the Widgets field in SqlDashboardOutput.
func (*SqlDashboardOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardOutput)
func (*SqlDashboardOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput)
func (SqlDashboardOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlDashboardOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlDashboardOutput only implements ToObjectValue() and Type().
type SqlDashboardOutput_SdkV2 ¶ added in v1.62.1
type SqlDashboardOutput_SdkV2 struct { // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` // Widgets executed in the run. Only SQL query based widgets are listed. Widgets types.List `tfsdk:"widgets"` }
func (SqlDashboardOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlDashboardOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlDashboardOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlDashboardOutput_SdkV2) GetWidgets ¶ added in v1.62.1
func (o *SqlDashboardOutput_SdkV2) GetWidgets(ctx context.Context) ([]SqlDashboardWidgetOutput_SdkV2, bool)
GetWidgets returns the value of the Widgets field in SqlDashboardOutput_SdkV2 as a slice of SqlDashboardWidgetOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SqlDashboardOutput_SdkV2) SetWidgets ¶ added in v1.62.1
func (o *SqlDashboardOutput_SdkV2) SetWidgets(ctx context.Context, v []SqlDashboardWidgetOutput_SdkV2)
SetWidgets sets the value of the Widgets field in SqlDashboardOutput_SdkV2.
func (*SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardOutput_SdkV2)
func (*SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput_SdkV2)
func (SqlDashboardOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlDashboardOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlDashboardOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlDashboardWidgetOutput ¶
type SqlDashboardWidgetOutput struct { // Time (in epoch milliseconds) when execution of the SQL widget ends. EndTime types.Int64 `tfsdk:"end_time"` // The information about the error when execution fails. Error types.Object `tfsdk:"error"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // Time (in epoch milliseconds) when execution of the SQL widget starts. StartTime types.Int64 `tfsdk:"start_time"` // The execution status of the SQL widget. Status types.String `tfsdk:"status"` // The canonical identifier of the SQL widget. WidgetId types.String `tfsdk:"widget_id"` // The title of the SQL widget. WidgetTitle types.String `tfsdk:"widget_title"` }
func (SqlDashboardWidgetOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlDashboardWidgetOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlDashboardWidgetOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardWidgetOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlDashboardWidgetOutput) GetError ¶ added in v1.61.0
func (o *SqlDashboardWidgetOutput) GetError(ctx context.Context) (SqlOutputError, bool)
GetError returns the value of the Error field in SqlDashboardWidgetOutput as a SqlOutputError value. If the field is unknown or null, the boolean return value is false.
func (*SqlDashboardWidgetOutput) SetError ¶ added in v1.61.0
func (o *SqlDashboardWidgetOutput) SetError(ctx context.Context, v SqlOutputError)
SetError sets the value of the Error field in SqlDashboardWidgetOutput.
func (*SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardWidgetOutput)
func (*SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput)
func (SqlDashboardWidgetOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlDashboardWidgetOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlDashboardWidgetOutput only implements ToObjectValue() and Type().
type SqlDashboardWidgetOutput_SdkV2 ¶ added in v1.62.1
type SqlDashboardWidgetOutput_SdkV2 struct { // Time (in epoch milliseconds) when execution of the SQL widget ends. EndTime types.Int64 `tfsdk:"end_time"` // The information about the error when execution fails. Error types.List `tfsdk:"error"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // Time (in epoch milliseconds) when execution of the SQL widget starts. StartTime types.Int64 `tfsdk:"start_time"` // The execution status of the SQL widget. Status types.String `tfsdk:"status"` // The canonical identifier of the SQL widget. WidgetId types.String `tfsdk:"widget_id"` // The title of the SQL widget. WidgetTitle types.String `tfsdk:"widget_title"` }
func (SqlDashboardWidgetOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlDashboardWidgetOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlDashboardWidgetOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a SqlDashboardWidgetOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardWidgetOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlDashboardWidgetOutput_SdkV2) GetError ¶ added in v1.62.1
func (o *SqlDashboardWidgetOutput_SdkV2) GetError(ctx context.Context) (SqlOutputError_SdkV2, bool)
GetError returns the value of the Error field in SqlDashboardWidgetOutput_SdkV2 as a SqlOutputError_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlDashboardWidgetOutput_SdkV2) SetError ¶ added in v1.62.1
func (o *SqlDashboardWidgetOutput_SdkV2) SetError(ctx context.Context, v SqlOutputError_SdkV2)
SetError sets the value of the Error field in SqlDashboardWidgetOutput_SdkV2.
func (*SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlDashboardWidgetOutput_SdkV2)
func (*SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput_SdkV2)
func (SqlDashboardWidgetOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlDashboardWidgetOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlDashboardWidgetOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlOutput ¶
type SqlOutput struct { // The output of a SQL alert task, if available. AlertOutput types.Object `tfsdk:"alert_output"` // The output of a SQL dashboard task, if available. DashboardOutput types.Object `tfsdk:"dashboard_output"` // The output of a SQL query task, if available. QueryOutput types.Object `tfsdk:"query_output"` }
func (SqlOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SqlOutput) GetAlertOutput ¶ added in v1.61.0
func (o *SqlOutput) GetAlertOutput(ctx context.Context) (SqlAlertOutput, bool)
GetAlertOutput returns the value of the AlertOutput field in SqlOutput as a SqlAlertOutput value. If the field is unknown or null, the boolean return value is false.
func (SqlOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlOutput) GetDashboardOutput ¶ added in v1.61.0
func (o *SqlOutput) GetDashboardOutput(ctx context.Context) (SqlDashboardOutput, bool)
GetDashboardOutput returns the value of the DashboardOutput field in SqlOutput as a SqlDashboardOutput value. If the field is unknown or null, the boolean return value is false.
func (*SqlOutput) GetQueryOutput ¶ added in v1.61.0
func (o *SqlOutput) GetQueryOutput(ctx context.Context) (SqlQueryOutput, bool)
GetQueryOutput returns the value of the QueryOutput field in SqlOutput as a SqlQueryOutput value. If the field is unknown or null, the boolean return value is false.
func (*SqlOutput) SetAlertOutput ¶ added in v1.61.0
func (o *SqlOutput) SetAlertOutput(ctx context.Context, v SqlAlertOutput)
SetAlertOutput sets the value of the AlertOutput field in SqlOutput.
func (*SqlOutput) SetDashboardOutput ¶ added in v1.61.0
func (o *SqlOutput) SetDashboardOutput(ctx context.Context, v SqlDashboardOutput)
SetDashboardOutput sets the value of the DashboardOutput field in SqlOutput.
func (*SqlOutput) SetQueryOutput ¶ added in v1.61.0
func (o *SqlOutput) SetQueryOutput(ctx context.Context, v SqlQueryOutput)
SetQueryOutput sets the value of the QueryOutput field in SqlOutput.
func (*SqlOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*SqlOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (SqlOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlOutput only implements ToObjectValue() and Type().
type SqlOutputError ¶
type SqlOutputError struct { // The error message when execution fails. Message types.String `tfsdk:"message"` }
func (SqlOutputError) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlOutputError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlOutputError) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutputError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlOutputError) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlOutputError) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutputError)
func (*SqlOutputError) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlOutputError) SyncEffectiveFieldsDuringRead(existingState SqlOutputError)
func (SqlOutputError) ToObjectValue ¶ added in v1.61.0
func (o SqlOutputError) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlOutputError only implements ToObjectValue() and Type().
type SqlOutputError_SdkV2 ¶ added in v1.62.1
type SqlOutputError_SdkV2 struct { // The error message when execution fails. Message types.String `tfsdk:"message"` }
func (SqlOutputError_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlOutputError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlOutputError_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutputError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlOutputError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutputError_SdkV2)
func (*SqlOutputError_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutputError_SdkV2)
func (SqlOutputError_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlOutputError_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlOutputError_SdkV2 only implements ToObjectValue() and Type().
type SqlOutput_SdkV2 ¶ added in v1.62.1
type SqlOutput_SdkV2 struct { // The output of a SQL alert task, if available. AlertOutput types.List `tfsdk:"alert_output"` // The output of a SQL dashboard task, if available. DashboardOutput types.List `tfsdk:"dashboard_output"` // The output of a SQL query task, if available. QueryOutput types.List `tfsdk:"query_output"` }
func (SqlOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SqlOutput_SdkV2) GetAlertOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) GetAlertOutput(ctx context.Context) (SqlAlertOutput_SdkV2, bool)
GetAlertOutput returns the value of the AlertOutput field in SqlOutput_SdkV2 as a SqlAlertOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (SqlOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlOutput_SdkV2) GetDashboardOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) GetDashboardOutput(ctx context.Context) (SqlDashboardOutput_SdkV2, bool)
GetDashboardOutput returns the value of the DashboardOutput field in SqlOutput_SdkV2 as a SqlDashboardOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlOutput_SdkV2) GetQueryOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) GetQueryOutput(ctx context.Context) (SqlQueryOutput_SdkV2, bool)
GetQueryOutput returns the value of the QueryOutput field in SqlOutput_SdkV2 as a SqlQueryOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlOutput_SdkV2) SetAlertOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) SetAlertOutput(ctx context.Context, v SqlAlertOutput_SdkV2)
SetAlertOutput sets the value of the AlertOutput field in SqlOutput_SdkV2.
func (*SqlOutput_SdkV2) SetDashboardOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) SetDashboardOutput(ctx context.Context, v SqlDashboardOutput_SdkV2)
SetDashboardOutput sets the value of the DashboardOutput field in SqlOutput_SdkV2.
func (*SqlOutput_SdkV2) SetQueryOutput ¶ added in v1.62.1
func (o *SqlOutput_SdkV2) SetQueryOutput(ctx context.Context, v SqlQueryOutput_SdkV2)
SetQueryOutput sets the value of the QueryOutput field in SqlOutput_SdkV2.
func (*SqlOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutput_SdkV2)
func (*SqlOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutput_SdkV2)
func (SqlOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlQueryOutput ¶
type SqlQueryOutput struct { EndpointId types.String `tfsdk:"endpoint_id"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // The text of the SQL query. Can Run permission of the SQL query is // required to view this field. QueryText types.String `tfsdk:"query_text"` // Information about SQL statements executed in the run. SqlStatements types.List `tfsdk:"sql_statements"` // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlQueryOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlQueryOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlQueryOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlQueryOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlQueryOutput) GetSqlStatements ¶ added in v1.61.0
func (o *SqlQueryOutput) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput, bool)
GetSqlStatements returns the value of the SqlStatements field in SqlQueryOutput as a slice of SqlStatementOutput values. If the field is unknown or null, the boolean return value is false.
func (*SqlQueryOutput) SetSqlStatements ¶ added in v1.61.0
func (o *SqlQueryOutput) SetSqlStatements(ctx context.Context, v []SqlStatementOutput)
SetSqlStatements sets the value of the SqlStatements field in SqlQueryOutput.
func (*SqlQueryOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlQueryOutput)
func (*SqlQueryOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput)
func (SqlQueryOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlQueryOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlQueryOutput only implements ToObjectValue() and Type().
type SqlQueryOutput_SdkV2 ¶ added in v1.62.1
type SqlQueryOutput_SdkV2 struct { EndpointId types.String `tfsdk:"endpoint_id"` // The link to find the output results. OutputLink types.String `tfsdk:"output_link"` // The text of the SQL query. Can Run permission of the SQL query is // required to view this field. QueryText types.String `tfsdk:"query_text"` // Information about SQL statements executed in the run. SqlStatements types.List `tfsdk:"sql_statements"` // The canonical identifier of the SQL warehouse. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlQueryOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlQueryOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlQueryOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlQueryOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlQueryOutput_SdkV2) GetSqlStatements ¶ added in v1.62.1
func (o *SqlQueryOutput_SdkV2) GetSqlStatements(ctx context.Context) ([]SqlStatementOutput_SdkV2, bool)
GetSqlStatements returns the value of the SqlStatements field in SqlQueryOutput_SdkV2 as a slice of SqlStatementOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SqlQueryOutput_SdkV2) SetSqlStatements ¶ added in v1.62.1
func (o *SqlQueryOutput_SdkV2) SetSqlStatements(ctx context.Context, v []SqlStatementOutput_SdkV2)
SetSqlStatements sets the value of the SqlStatements field in SqlQueryOutput_SdkV2.
func (*SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlQueryOutput_SdkV2)
func (*SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput_SdkV2)
func (SqlQueryOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlQueryOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlQueryOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlStatementOutput ¶
type SqlStatementOutput struct { // A key that can be used to look up query details. LookupKey types.String `tfsdk:"lookup_key"` }
func (SqlStatementOutput) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlStatementOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlStatementOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlStatementOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlStatementOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlStatementOutput)
func (*SqlStatementOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput)
func (SqlStatementOutput) ToObjectValue ¶ added in v1.61.0
func (o SqlStatementOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlStatementOutput only implements ToObjectValue() and Type().
type SqlStatementOutput_SdkV2 ¶ added in v1.62.1
type SqlStatementOutput_SdkV2 struct { // A key that can be used to look up query details. LookupKey types.String `tfsdk:"lookup_key"` }
func (SqlStatementOutput_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlStatementOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlStatementOutput_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlStatementOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlStatementOutput_SdkV2)
func (*SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput_SdkV2)
func (SqlStatementOutput_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlStatementOutput_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlStatementOutput_SdkV2 only implements ToObjectValue() and Type().
type SqlTask ¶
type SqlTask struct { // If alert, indicates that this job must refresh a SQL alert. Alert types.Object `tfsdk:"alert"` // If dashboard, indicates that this job must refresh a SQL dashboard. Dashboard types.Object `tfsdk:"dashboard"` // If file, indicates that this job runs a SQL file in a remote Git // repository. File types.Object `tfsdk:"file"` // Parameters to be used for each run of this job. The SQL alert task does // not support custom parameters. Parameters types.Map `tfsdk:"parameters"` // If query, indicates that this job must execute a SQL query. Query types.Object `tfsdk:"query"` // The canonical identifier of the SQL warehouse. Recommended to use with // serverless or pro SQL warehouses. Classic SQL warehouses are only // supported for SQL alert, dashboard and query tasks and are limited to // scheduled single-task jobs. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SqlTask) GetAlert ¶ added in v1.61.0
func (o *SqlTask) GetAlert(ctx context.Context) (SqlTaskAlert, bool)
GetAlert returns the value of the Alert field in SqlTask as a SqlTaskAlert value. If the field is unknown or null, the boolean return value is false.
func (SqlTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTask) GetDashboard ¶ added in v1.61.0
func (o *SqlTask) GetDashboard(ctx context.Context) (SqlTaskDashboard, bool)
GetDashboard returns the value of the Dashboard field in SqlTask as a SqlTaskDashboard value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask) GetFile ¶ added in v1.61.0
func (o *SqlTask) GetFile(ctx context.Context) (SqlTaskFile, bool)
GetFile returns the value of the File field in SqlTask as a SqlTaskFile value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in SqlTask as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*SqlTask) GetQuery ¶ added in v1.61.0
func (o *SqlTask) GetQuery(ctx context.Context) (SqlTaskQuery, bool)
GetQuery returns the value of the Query field in SqlTask as a SqlTaskQuery value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask) SetAlert ¶ added in v1.61.0
func (o *SqlTask) SetAlert(ctx context.Context, v SqlTaskAlert)
SetAlert sets the value of the Alert field in SqlTask.
func (*SqlTask) SetDashboard ¶ added in v1.61.0
func (o *SqlTask) SetDashboard(ctx context.Context, v SqlTaskDashboard)
SetDashboard sets the value of the Dashboard field in SqlTask.
func (*SqlTask) SetFile ¶ added in v1.61.0
func (o *SqlTask) SetFile(ctx context.Context, v SqlTaskFile)
SetFile sets the value of the File field in SqlTask.
func (*SqlTask) SetParameters ¶ added in v1.61.0
SetParameters sets the value of the Parameters field in SqlTask.
func (*SqlTask) SetQuery ¶ added in v1.61.0
func (o *SqlTask) SetQuery(ctx context.Context, v SqlTaskQuery)
SetQuery sets the value of the Query field in SqlTask.
func (*SqlTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*SqlTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (SqlTask) ToObjectValue ¶ added in v1.61.0
func (o SqlTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTask only implements ToObjectValue() and Type().
type SqlTaskAlert ¶
type SqlTaskAlert struct { // The canonical identifier of the SQL alert. AlertId types.String `tfsdk:"alert_id"` // If true, the alert notifications are not sent to subscribers. PauseSubscriptions types.Bool `tfsdk:"pause_subscriptions"` // If specified, alert notifications are sent to subscribers. Subscriptions types.List `tfsdk:"subscriptions"` }
func (SqlTaskAlert) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskAlert) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskAlert. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskAlert) GetSubscriptions ¶ added in v1.61.0
func (o *SqlTaskAlert) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription, bool)
GetSubscriptions returns the value of the Subscriptions field in SqlTaskAlert as a slice of SqlTaskSubscription values. If the field is unknown or null, the boolean return value is false.
func (*SqlTaskAlert) SetSubscriptions ¶ added in v1.61.0
func (o *SqlTaskAlert) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription)
SetSubscriptions sets the value of the Subscriptions field in SqlTaskAlert.
func (*SqlTaskAlert) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskAlert)
func (*SqlTaskAlert) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert)
func (SqlTaskAlert) ToObjectValue ¶ added in v1.61.0
func (o SqlTaskAlert) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskAlert only implements ToObjectValue() and Type().
type SqlTaskAlert_SdkV2 ¶ added in v1.62.1
type SqlTaskAlert_SdkV2 struct { // The canonical identifier of the SQL alert. AlertId types.String `tfsdk:"alert_id"` // If true, the alert notifications are not sent to subscribers. PauseSubscriptions types.Bool `tfsdk:"pause_subscriptions"` // If specified, alert notifications are sent to subscribers. Subscriptions types.List `tfsdk:"subscriptions"` }
func (SqlTaskAlert_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskAlert_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskAlert. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskAlert_SdkV2) GetSubscriptions ¶ added in v1.62.1
func (o *SqlTaskAlert_SdkV2) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription_SdkV2, bool)
GetSubscriptions returns the value of the Subscriptions field in SqlTaskAlert_SdkV2 as a slice of SqlTaskSubscription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SqlTaskAlert_SdkV2) SetSubscriptions ¶ added in v1.62.1
func (o *SqlTaskAlert_SdkV2) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription_SdkV2)
SetSubscriptions sets the value of the Subscriptions field in SqlTaskAlert_SdkV2.
func (*SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskAlert_SdkV2)
func (*SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert_SdkV2)
func (SqlTaskAlert_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTaskAlert_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskAlert_SdkV2 only implements ToObjectValue() and Type().
type SqlTaskDashboard ¶
type SqlTaskDashboard struct { // Subject of the email sent to subscribers of this task. CustomSubject types.String `tfsdk:"custom_subject"` // The canonical identifier of the SQL dashboard. DashboardId types.String `tfsdk:"dashboard_id"` // If true, the dashboard snapshot is not taken, and emails are not sent to // subscribers. PauseSubscriptions types.Bool `tfsdk:"pause_subscriptions"` // If specified, dashboard snapshots are sent to subscriptions. Subscriptions types.List `tfsdk:"subscriptions"` }
func (SqlTaskDashboard) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskDashboard) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskDashboard) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskDashboard. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskDashboard) GetSubscriptions ¶ added in v1.61.0
func (o *SqlTaskDashboard) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription, bool)
GetSubscriptions returns the value of the Subscriptions field in SqlTaskDashboard as a slice of SqlTaskSubscription values. If the field is unknown or null, the boolean return value is false.
func (*SqlTaskDashboard) SetSubscriptions ¶ added in v1.61.0
func (o *SqlTaskDashboard) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription)
SetSubscriptions sets the value of the Subscriptions field in SqlTaskDashboard.
func (*SqlTaskDashboard) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskDashboard)
func (*SqlTaskDashboard) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard)
func (SqlTaskDashboard) ToObjectValue ¶ added in v1.61.0
func (o SqlTaskDashboard) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskDashboard only implements ToObjectValue() and Type().
type SqlTaskDashboard_SdkV2 ¶ added in v1.62.1
type SqlTaskDashboard_SdkV2 struct { // Subject of the email sent to subscribers of this task. CustomSubject types.String `tfsdk:"custom_subject"` // The canonical identifier of the SQL dashboard. DashboardId types.String `tfsdk:"dashboard_id"` // If true, the dashboard snapshot is not taken, and emails are not sent to // subscribers. PauseSubscriptions types.Bool `tfsdk:"pause_subscriptions"` // If specified, dashboard snapshots are sent to subscriptions. Subscriptions types.List `tfsdk:"subscriptions"` }
func (SqlTaskDashboard_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskDashboard_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskDashboard_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskDashboard. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskDashboard_SdkV2) GetSubscriptions ¶ added in v1.62.1
func (o *SqlTaskDashboard_SdkV2) GetSubscriptions(ctx context.Context) ([]SqlTaskSubscription_SdkV2, bool)
GetSubscriptions returns the value of the Subscriptions field in SqlTaskDashboard_SdkV2 as a slice of SqlTaskSubscription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SqlTaskDashboard_SdkV2) SetSubscriptions ¶ added in v1.62.1
func (o *SqlTaskDashboard_SdkV2) SetSubscriptions(ctx context.Context, v []SqlTaskSubscription_SdkV2)
SetSubscriptions sets the value of the Subscriptions field in SqlTaskDashboard_SdkV2.
func (*SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskDashboard_SdkV2)
func (*SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard_SdkV2)
func (SqlTaskDashboard_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTaskDashboard_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskDashboard_SdkV2 only implements ToObjectValue() and Type().
type SqlTaskFile ¶
type SqlTaskFile struct { // Path of the SQL file. Must be relative if the source is a remote Git // repository and absolute for workspace paths. Path types.String `tfsdk:"path"` // Optional location type of the SQL file. When set to `WORKSPACE`, the SQL // file will be retrieved from the local Databricks workspace. When set to // `GIT`, the SQL file will be retrieved from a Git repository defined in // `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. // // * `WORKSPACE`: SQL file is located in Databricks workspace. * `GIT`: SQL // file is located in cloud Git provider. Source types.String `tfsdk:"source"` }
func (SqlTaskFile) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskFile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskFile) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskFile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskFile) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlTaskFile) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskFile)
func (*SqlTaskFile) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlTaskFile) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile)
func (SqlTaskFile) ToObjectValue ¶ added in v1.61.0
func (o SqlTaskFile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskFile only implements ToObjectValue() and Type().
type SqlTaskFile_SdkV2 ¶ added in v1.62.1
type SqlTaskFile_SdkV2 struct { // Path of the SQL file. Must be relative if the source is a remote Git // repository and absolute for workspace paths. Path types.String `tfsdk:"path"` // Optional location type of the SQL file. When set to `WORKSPACE`, the SQL // file will be retrieved from the local Databricks workspace. When set to // `GIT`, the SQL file will be retrieved from a Git repository defined in // `git_source`. If the value is empty, the task will use `GIT` if // `git_source` is defined and `WORKSPACE` otherwise. // // * `WORKSPACE`: SQL file is located in Databricks workspace. * `GIT`: SQL // file is located in cloud Git provider. Source types.String `tfsdk:"source"` }
func (SqlTaskFile_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskFile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskFile_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskFile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskFile_SdkV2)
func (*SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile_SdkV2)
func (SqlTaskFile_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTaskFile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskFile_SdkV2 only implements ToObjectValue() and Type().
type SqlTaskQuery ¶
type SqlTaskQuery struct { // The canonical identifier of the SQL query. QueryId types.String `tfsdk:"query_id"` }
func (SqlTaskQuery) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskQuery) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskQuery. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskQuery) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskQuery)
func (*SqlTaskQuery) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery)
func (SqlTaskQuery) ToObjectValue ¶ added in v1.61.0
func (o SqlTaskQuery) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskQuery only implements ToObjectValue() and Type().
type SqlTaskQuery_SdkV2 ¶ added in v1.62.1
type SqlTaskQuery_SdkV2 struct { // The canonical identifier of the SQL query. QueryId types.String `tfsdk:"query_id"` }
func (SqlTaskQuery_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskQuery_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskQuery_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskQuery. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskQuery_SdkV2)
func (*SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery_SdkV2)
func (SqlTaskQuery_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTaskQuery_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskQuery_SdkV2 only implements ToObjectValue() and Type().
type SqlTaskSubscription ¶
type SqlTaskSubscription struct { // The canonical identifier of the destination to receive email // notification. This parameter is mutually exclusive with user_name. You // cannot set both destination_id and user_name for subscription // notifications. DestinationId types.String `tfsdk:"destination_id"` // The user name to receive the subscription email. This parameter is // mutually exclusive with destination_id. You cannot set both // destination_id and user_name for subscription notifications. UserName types.String `tfsdk:"user_name"` }
func (SqlTaskSubscription) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskSubscription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskSubscription) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskSubscription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskSubscription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskSubscription)
func (*SqlTaskSubscription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription)
func (SqlTaskSubscription) ToObjectValue ¶ added in v1.61.0
func (o SqlTaskSubscription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskSubscription only implements ToObjectValue() and Type().
type SqlTaskSubscription_SdkV2 ¶ added in v1.62.1
type SqlTaskSubscription_SdkV2 struct { // The canonical identifier of the destination to receive email // notification. This parameter is mutually exclusive with user_name. You // cannot set both destination_id and user_name for subscription // notifications. DestinationId types.String `tfsdk:"destination_id"` // The user name to receive the subscription email. This parameter is // mutually exclusive with destination_id. You cannot set both // destination_id and user_name for subscription notifications. UserName types.String `tfsdk:"user_name"` }
func (SqlTaskSubscription_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTaskSubscription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SqlTaskSubscription_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a SqlTaskSubscription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskSubscription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTaskSubscription_SdkV2)
func (*SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription_SdkV2)
func (SqlTaskSubscription_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTaskSubscription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTaskSubscription_SdkV2 only implements ToObjectValue() and Type().
type SqlTask_SdkV2 ¶ added in v1.62.1
type SqlTask_SdkV2 struct { // If alert, indicates that this job must refresh a SQL alert. Alert types.List `tfsdk:"alert"` // If dashboard, indicates that this job must refresh a SQL dashboard. Dashboard types.List `tfsdk:"dashboard"` // If file, indicates that this job runs a SQL file in a remote Git // repository. File types.List `tfsdk:"file"` // Parameters to be used for each run of this job. The SQL alert task does // not support custom parameters. Parameters types.Map `tfsdk:"parameters"` // If query, indicates that this job must execute a SQL query. Query types.List `tfsdk:"query"` // The canonical identifier of the SQL warehouse. Recommended to use with // serverless or pro SQL warehouses. Classic SQL warehouses are only // supported for SQL alert, dashboard and query tasks and are limited to // scheduled single-task jobs. WarehouseId types.String `tfsdk:"warehouse_id"` }
func (SqlTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SqlTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SqlTask_SdkV2) GetAlert ¶ added in v1.62.1
func (o *SqlTask_SdkV2) GetAlert(ctx context.Context) (SqlTaskAlert_SdkV2, bool)
GetAlert returns the value of the Alert field in SqlTask_SdkV2 as a SqlTaskAlert_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (SqlTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SqlTask_SdkV2) GetDashboard ¶ added in v1.62.1
func (o *SqlTask_SdkV2) GetDashboard(ctx context.Context) (SqlTaskDashboard_SdkV2, bool)
GetDashboard returns the value of the Dashboard field in SqlTask_SdkV2 as a SqlTaskDashboard_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask_SdkV2) GetFile ¶ added in v1.62.1
func (o *SqlTask_SdkV2) GetFile(ctx context.Context) (SqlTaskFile_SdkV2, bool)
GetFile returns the value of the File field in SqlTask_SdkV2 as a SqlTaskFile_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask_SdkV2) GetParameters ¶ added in v1.62.1
GetParameters returns the value of the Parameters field in SqlTask_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*SqlTask_SdkV2) GetQuery ¶ added in v1.62.1
func (o *SqlTask_SdkV2) GetQuery(ctx context.Context) (SqlTaskQuery_SdkV2, bool)
GetQuery returns the value of the Query field in SqlTask_SdkV2 as a SqlTaskQuery_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SqlTask_SdkV2) SetAlert ¶ added in v1.62.1
func (o *SqlTask_SdkV2) SetAlert(ctx context.Context, v SqlTaskAlert_SdkV2)
SetAlert sets the value of the Alert field in SqlTask_SdkV2.
func (*SqlTask_SdkV2) SetDashboard ¶ added in v1.62.1
func (o *SqlTask_SdkV2) SetDashboard(ctx context.Context, v SqlTaskDashboard_SdkV2)
SetDashboard sets the value of the Dashboard field in SqlTask_SdkV2.
func (*SqlTask_SdkV2) SetFile ¶ added in v1.62.1
func (o *SqlTask_SdkV2) SetFile(ctx context.Context, v SqlTaskFile_SdkV2)
SetFile sets the value of the File field in SqlTask_SdkV2.
func (*SqlTask_SdkV2) SetParameters ¶ added in v1.62.1
SetParameters sets the value of the Parameters field in SqlTask_SdkV2.
func (*SqlTask_SdkV2) SetQuery ¶ added in v1.62.1
func (o *SqlTask_SdkV2) SetQuery(ctx context.Context, v SqlTaskQuery_SdkV2)
SetQuery sets the value of the Query field in SqlTask_SdkV2.
func (*SqlTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTask_SdkV2)
func (*SqlTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTask_SdkV2)
func (SqlTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SqlTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SqlTask_SdkV2 only implements ToObjectValue() and Type().
type SubmitRun ¶
type SubmitRun struct { // List of permissions to set on the job. AccessControlList types.List `tfsdk:"access_control_list"` // The user specified id of the budget policy to use for this one-time run. // If not specified, the run will be not be attributed to any budget policy. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional set of email addresses notified when the run begins or // completes. EmailNotifications types.Object `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by tasks of this run. Environments types.List `tfsdk:"environments"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.Object `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.Object `tfsdk:"health"` // An optional token that can be used to guarantee the idempotency of job // run requests. If a run with the provided token already exists, the // request does not create a new run but returns the ID of the existing run // instead. If a run with the provided token is deleted, an error is // returned. // // If you specify the idempotency token, upon failure you can retry until // the request succeeds. Databricks guarantees that exactly one run is // launched with that idempotency token. // // This token must have at most 64 characters. // // For more information, see [How to ensure idempotency for jobs]. // // [How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html IdempotencyToken types.String `tfsdk:"idempotency_token"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // run. NotificationSettings types.Object `tfsdk:"notification_settings"` // The queue settings of the one-time run. Queue types.Object `tfsdk:"queue"` // Specifies the user or service principal that the job runs as. If not // specified, the job runs as the user who submits the request. RunAs types.Object `tfsdk:"run_as"` // An optional name for the run. The default value is `Untitled`. RunName types.String `tfsdk:"run_name"` Tasks types.List `tfsdk:"tasks"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
func (SubmitRun) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitRun) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SubmitRun) GetAccessControlList ¶ added in v1.61.0
func (o *SubmitRun) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in SubmitRun as a slice of JobAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (SubmitRun) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitRun) GetEmailNotifications ¶ added in v1.61.0
func (o *SubmitRun) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in SubmitRun as a JobEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetEnvironments ¶ added in v1.61.0
func (o *SubmitRun) GetEnvironments(ctx context.Context) ([]JobEnvironment, bool)
GetEnvironments returns the value of the Environments field in SubmitRun as a slice of JobEnvironment values. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetGitSource ¶ added in v1.61.0
GetGitSource returns the value of the GitSource field in SubmitRun as a GitSource value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetHealth ¶ added in v1.61.0
func (o *SubmitRun) GetHealth(ctx context.Context) (JobsHealthRules, bool)
GetHealth returns the value of the Health field in SubmitRun as a JobsHealthRules value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetNotificationSettings ¶ added in v1.61.0
func (o *SubmitRun) GetNotificationSettings(ctx context.Context) (JobNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in SubmitRun as a JobNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetQueue ¶ added in v1.61.0
func (o *SubmitRun) GetQueue(ctx context.Context) (QueueSettings, bool)
GetQueue returns the value of the Queue field in SubmitRun as a QueueSettings value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetRunAs ¶ added in v1.61.0
GetRunAs returns the value of the RunAs field in SubmitRun as a JobRunAs value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetTasks ¶ added in v1.61.0
func (o *SubmitRun) GetTasks(ctx context.Context) ([]SubmitTask, bool)
GetTasks returns the value of the Tasks field in SubmitRun as a slice of SubmitTask values. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) GetWebhookNotifications ¶ added in v1.61.0
func (o *SubmitRun) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in SubmitRun as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun) SetAccessControlList ¶ added in v1.61.0
func (o *SubmitRun) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in SubmitRun.
func (*SubmitRun) SetEmailNotifications ¶ added in v1.61.0
func (o *SubmitRun) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in SubmitRun.
func (*SubmitRun) SetEnvironments ¶ added in v1.61.0
func (o *SubmitRun) SetEnvironments(ctx context.Context, v []JobEnvironment)
SetEnvironments sets the value of the Environments field in SubmitRun.
func (*SubmitRun) SetGitSource ¶ added in v1.61.0
SetGitSource sets the value of the GitSource field in SubmitRun.
func (*SubmitRun) SetHealth ¶ added in v1.61.0
func (o *SubmitRun) SetHealth(ctx context.Context, v JobsHealthRules)
SetHealth sets the value of the Health field in SubmitRun.
func (*SubmitRun) SetNotificationSettings ¶ added in v1.61.0
func (o *SubmitRun) SetNotificationSettings(ctx context.Context, v JobNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in SubmitRun.
func (*SubmitRun) SetQueue ¶ added in v1.61.0
func (o *SubmitRun) SetQueue(ctx context.Context, v QueueSettings)
SetQueue sets the value of the Queue field in SubmitRun.
func (*SubmitRun) SetRunAs ¶ added in v1.61.0
SetRunAs sets the value of the RunAs field in SubmitRun.
func (*SubmitRun) SetTasks ¶ added in v1.61.0
func (o *SubmitRun) SetTasks(ctx context.Context, v []SubmitTask)
SetTasks sets the value of the Tasks field in SubmitRun.
func (*SubmitRun) SetWebhookNotifications ¶ added in v1.61.0
func (o *SubmitRun) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in SubmitRun.
func (*SubmitRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*SubmitRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (SubmitRun) ToObjectValue ¶ added in v1.61.0
func (o SubmitRun) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitRun only implements ToObjectValue() and Type().
type SubmitRunResponse ¶
type SubmitRunResponse struct { // The canonical identifier for the newly submitted run. RunId types.Int64 `tfsdk:"run_id"` }
Run was created and started successfully.
func (SubmitRunResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitRunResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SubmitRunResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRunResponse)
func (*SubmitRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse)
func (SubmitRunResponse) ToObjectValue ¶ added in v1.61.0
func (o SubmitRunResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitRunResponse only implements ToObjectValue() and Type().
type SubmitRunResponse_SdkV2 ¶ added in v1.62.1
type SubmitRunResponse_SdkV2 struct { // The canonical identifier for the newly submitted run. RunId types.Int64 `tfsdk:"run_id"` }
Run was created and started successfully.
func (SubmitRunResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitRunResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SubmitRunResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRunResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRunResponse_SdkV2)
func (*SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse_SdkV2)
func (SubmitRunResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SubmitRunResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitRunResponse_SdkV2 only implements ToObjectValue() and Type().
type SubmitRun_SdkV2 ¶ added in v1.62.1
type SubmitRun_SdkV2 struct { // List of permissions to set on the job. AccessControlList types.List `tfsdk:"access_control_list"` // The user specified id of the budget policy to use for this one-time run. // If not specified, the run will be not be attributed to any budget policy. BudgetPolicyId types.String `tfsdk:"budget_policy_id"` // An optional set of email addresses notified when the run begins or // completes. EmailNotifications types.List `tfsdk:"email_notifications"` // A list of task execution environment specifications that can be // referenced by tasks of this run. Environments types.List `tfsdk:"environments"` // An optional specification for a remote Git repository containing the // source code used by tasks. Version-controlled source code is supported by // notebook, dbt, Python script, and SQL File tasks. // // If `git_source` is set, these tasks retrieve the file from the remote // repository by default. However, this behavior can be overridden by // setting `source` to `WORKSPACE` on the task. // // Note: dbt and SQL File tasks support only version-controlled sources. If // dbt or SQL File tasks are used, `git_source` must be defined on the job. GitSource types.List `tfsdk:"git_source"` // An optional set of health rules that can be defined for this job. Health types.List `tfsdk:"health"` // An optional token that can be used to guarantee the idempotency of job // run requests. If a run with the provided token already exists, the // request does not create a new run but returns the ID of the existing run // instead. If a run with the provided token is deleted, an error is // returned. // // If you specify the idempotency token, upon failure you can retry until // the request succeeds. Databricks guarantees that exactly one run is // launched with that idempotency token. // // This token must have at most 64 characters. // // For more information, see [How to ensure idempotency for jobs]. // // [How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html IdempotencyToken types.String `tfsdk:"idempotency_token"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // run. NotificationSettings types.List `tfsdk:"notification_settings"` // The queue settings of the one-time run. Queue types.List `tfsdk:"queue"` // Specifies the user or service principal that the job runs as. If not // specified, the job runs as the user who submits the request. RunAs types.List `tfsdk:"run_as"` // An optional name for the run. The default value is `Untitled`. RunName types.String `tfsdk:"run_name"` Tasks types.List `tfsdk:"tasks"` // An optional timeout applied to each run of this job. A value of `0` means // no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
func (SubmitRun_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitRun_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SubmitRun_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetAccessControlList(ctx context.Context) ([]JobAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in SubmitRun_SdkV2 as a slice of JobAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (SubmitRun_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRun. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitRun_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in SubmitRun_SdkV2 as a JobEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetEnvironments ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetEnvironments(ctx context.Context) ([]JobEnvironment_SdkV2, bool)
GetEnvironments returns the value of the Environments field in SubmitRun_SdkV2 as a slice of JobEnvironment_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetGitSource ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetGitSource(ctx context.Context) (GitSource_SdkV2, bool)
GetGitSource returns the value of the GitSource field in SubmitRun_SdkV2 as a GitSource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetHealth ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
GetHealth returns the value of the Health field in SubmitRun_SdkV2 as a JobsHealthRules_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetNotificationSettings(ctx context.Context) (JobNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in SubmitRun_SdkV2 as a JobNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetQueue ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetQueue(ctx context.Context) (QueueSettings_SdkV2, bool)
GetQueue returns the value of the Queue field in SubmitRun_SdkV2 as a QueueSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetRunAs ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetRunAs(ctx context.Context) (JobRunAs_SdkV2, bool)
GetRunAs returns the value of the RunAs field in SubmitRun_SdkV2 as a JobRunAs_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetTasks ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetTasks(ctx context.Context) ([]SubmitTask_SdkV2, bool)
GetTasks returns the value of the Tasks field in SubmitRun_SdkV2 as a slice of SubmitTask_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in SubmitRun_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitRun_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetAccessControlList(ctx context.Context, v []JobAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetEnvironments ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetEnvironments(ctx context.Context, v []JobEnvironment_SdkV2)
SetEnvironments sets the value of the Environments field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetGitSource ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetGitSource(ctx context.Context, v GitSource_SdkV2)
SetGitSource sets the value of the GitSource field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetHealth ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
SetHealth sets the value of the Health field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetNotificationSettings(ctx context.Context, v JobNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetQueue ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetQueue(ctx context.Context, v QueueSettings_SdkV2)
SetQueue sets the value of the Queue field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetRunAs ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetRunAs(ctx context.Context, v JobRunAs_SdkV2)
SetRunAs sets the value of the RunAs field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetTasks ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetTasks(ctx context.Context, v []SubmitTask_SdkV2)
SetTasks sets the value of the Tasks field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *SubmitRun_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in SubmitRun_SdkV2.
func (*SubmitRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRun_SdkV2)
func (*SubmitRun_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRun_SdkV2)
func (SubmitRun_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SubmitRun_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitRun_SdkV2 only implements ToObjectValue() and Type().
type SubmitTask ¶
type SubmitTask struct { // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.Object `tfsdk:"clean_rooms_notebook_task"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.Object `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.Object `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete successfully before // executing this task. The key is `task_key`, and the value is the name // assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An optional set of email addresses notified when the task run begins or // completes. The default behavior is to not send any emails. EmailNotifications types.Object `tfsdk:"email_notifications"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.Object `tfsdk:"for_each_task"` // An optional set of health rules that can be defined for this job. Health types.Object `tfsdk:"health"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.Object `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.Object `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task run. NotificationSettings types.Object `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.Object `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.Object `tfsdk:"python_wheel_task"` // An optional value indicating the condition that determines whether the // task should be run once its dependencies have been completed. When // omitted, defaults to `ALL_SUCCESS`. See :method:jobs/create for a list of // possible values. RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.Object `tfsdk:"run_job_task"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.Object `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.Object `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.Object `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.Object `tfsdk:"sql_task"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. The default behavior is to not send any system notifications. // Task webhooks respect the task notification settings. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
func (SubmitTask) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitTask) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SubmitTask) GetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *SubmitTask) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in SubmitTask as a CleanRoomsNotebookTask value. If the field is unknown or null, the boolean return value is false.
func (SubmitTask) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitTask) GetConditionTask ¶ added in v1.61.0
func (o *SubmitTask) GetConditionTask(ctx context.Context) (ConditionTask, bool)
GetConditionTask returns the value of the ConditionTask field in SubmitTask as a ConditionTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetDbtTask ¶ added in v1.61.0
func (o *SubmitTask) GetDbtTask(ctx context.Context) (DbtTask, bool)
GetDbtTask returns the value of the DbtTask field in SubmitTask as a DbtTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetDependsOn ¶ added in v1.61.0
func (o *SubmitTask) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
GetDependsOn returns the value of the DependsOn field in SubmitTask as a slice of TaskDependency values. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetEmailNotifications ¶ added in v1.61.0
func (o *SubmitTask) GetEmailNotifications(ctx context.Context) (JobEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in SubmitTask as a JobEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetForEachTask ¶ added in v1.61.0
func (o *SubmitTask) GetForEachTask(ctx context.Context) (ForEachTask, bool)
GetForEachTask returns the value of the ForEachTask field in SubmitTask as a ForEachTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetHealth ¶ added in v1.61.0
func (o *SubmitTask) GetHealth(ctx context.Context) (JobsHealthRules, bool)
GetHealth returns the value of the Health field in SubmitTask as a JobsHealthRules value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetLibraries ¶ added in v1.61.0
func (o *SubmitTask) GetLibraries(ctx context.Context) ([]compute_tf.Library, bool)
GetLibraries returns the value of the Libraries field in SubmitTask as a slice of compute_tf.Library values. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetNewCluster ¶ added in v1.61.0
func (o *SubmitTask) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
GetNewCluster returns the value of the NewCluster field in SubmitTask as a compute_tf.ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetNotebookTask ¶ added in v1.61.0
func (o *SubmitTask) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
GetNotebookTask returns the value of the NotebookTask field in SubmitTask as a NotebookTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetNotificationSettings ¶ added in v1.61.0
func (o *SubmitTask) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in SubmitTask as a TaskNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetPipelineTask ¶ added in v1.61.0
func (o *SubmitTask) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
GetPipelineTask returns the value of the PipelineTask field in SubmitTask as a PipelineTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetPythonWheelTask ¶ added in v1.61.0
func (o *SubmitTask) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in SubmitTask as a PythonWheelTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetRunJobTask ¶ added in v1.61.0
func (o *SubmitTask) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
GetRunJobTask returns the value of the RunJobTask field in SubmitTask as a RunJobTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetSparkJarTask ¶ added in v1.61.0
func (o *SubmitTask) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
GetSparkJarTask returns the value of the SparkJarTask field in SubmitTask as a SparkJarTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetSparkPythonTask ¶ added in v1.61.0
func (o *SubmitTask) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in SubmitTask as a SparkPythonTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetSparkSubmitTask ¶ added in v1.61.0
func (o *SubmitTask) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in SubmitTask as a SparkSubmitTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetSqlTask ¶ added in v1.61.0
func (o *SubmitTask) GetSqlTask(ctx context.Context) (SqlTask, bool)
GetSqlTask returns the value of the SqlTask field in SubmitTask as a SqlTask value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) GetWebhookNotifications ¶ added in v1.61.0
func (o *SubmitTask) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in SubmitTask as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask) SetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *SubmitTask) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in SubmitTask.
func (*SubmitTask) SetConditionTask ¶ added in v1.61.0
func (o *SubmitTask) SetConditionTask(ctx context.Context, v ConditionTask)
SetConditionTask sets the value of the ConditionTask field in SubmitTask.
func (*SubmitTask) SetDbtTask ¶ added in v1.61.0
func (o *SubmitTask) SetDbtTask(ctx context.Context, v DbtTask)
SetDbtTask sets the value of the DbtTask field in SubmitTask.
func (*SubmitTask) SetDependsOn ¶ added in v1.61.0
func (o *SubmitTask) SetDependsOn(ctx context.Context, v []TaskDependency)
SetDependsOn sets the value of the DependsOn field in SubmitTask.
func (*SubmitTask) SetEmailNotifications ¶ added in v1.61.0
func (o *SubmitTask) SetEmailNotifications(ctx context.Context, v JobEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in SubmitTask.
func (*SubmitTask) SetForEachTask ¶ added in v1.61.0
func (o *SubmitTask) SetForEachTask(ctx context.Context, v ForEachTask)
SetForEachTask sets the value of the ForEachTask field in SubmitTask.
func (*SubmitTask) SetHealth ¶ added in v1.61.0
func (o *SubmitTask) SetHealth(ctx context.Context, v JobsHealthRules)
SetHealth sets the value of the Health field in SubmitTask.
func (*SubmitTask) SetLibraries ¶ added in v1.61.0
func (o *SubmitTask) SetLibraries(ctx context.Context, v []compute_tf.Library)
SetLibraries sets the value of the Libraries field in SubmitTask.
func (*SubmitTask) SetNewCluster ¶ added in v1.61.0
func (o *SubmitTask) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
SetNewCluster sets the value of the NewCluster field in SubmitTask.
func (*SubmitTask) SetNotebookTask ¶ added in v1.61.0
func (o *SubmitTask) SetNotebookTask(ctx context.Context, v NotebookTask)
SetNotebookTask sets the value of the NotebookTask field in SubmitTask.
func (*SubmitTask) SetNotificationSettings ¶ added in v1.61.0
func (o *SubmitTask) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in SubmitTask.
func (*SubmitTask) SetPipelineTask ¶ added in v1.61.0
func (o *SubmitTask) SetPipelineTask(ctx context.Context, v PipelineTask)
SetPipelineTask sets the value of the PipelineTask field in SubmitTask.
func (*SubmitTask) SetPythonWheelTask ¶ added in v1.61.0
func (o *SubmitTask) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
SetPythonWheelTask sets the value of the PythonWheelTask field in SubmitTask.
func (*SubmitTask) SetRunJobTask ¶ added in v1.61.0
func (o *SubmitTask) SetRunJobTask(ctx context.Context, v RunJobTask)
SetRunJobTask sets the value of the RunJobTask field in SubmitTask.
func (*SubmitTask) SetSparkJarTask ¶ added in v1.61.0
func (o *SubmitTask) SetSparkJarTask(ctx context.Context, v SparkJarTask)
SetSparkJarTask sets the value of the SparkJarTask field in SubmitTask.
func (*SubmitTask) SetSparkPythonTask ¶ added in v1.61.0
func (o *SubmitTask) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
SetSparkPythonTask sets the value of the SparkPythonTask field in SubmitTask.
func (*SubmitTask) SetSparkSubmitTask ¶ added in v1.61.0
func (o *SubmitTask) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in SubmitTask.
func (*SubmitTask) SetSqlTask ¶ added in v1.61.0
func (o *SubmitTask) SetSqlTask(ctx context.Context, v SqlTask)
SetSqlTask sets the value of the SqlTask field in SubmitTask.
func (*SubmitTask) SetWebhookNotifications ¶ added in v1.61.0
func (o *SubmitTask) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in SubmitTask.
func (*SubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitTask)
func (*SubmitTask) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SubmitTask) SyncEffectiveFieldsDuringRead(existingState SubmitTask)
func (SubmitTask) ToObjectValue ¶ added in v1.61.0
func (o SubmitTask) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitTask only implements ToObjectValue() and Type().
type SubmitTask_SdkV2 ¶ added in v1.62.1
type SubmitTask_SdkV2 struct { // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.List `tfsdk:"clean_rooms_notebook_task"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.List `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.List `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete successfully before // executing this task. The key is `task_key`, and the value is the name // assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An optional set of email addresses notified when the task run begins or // completes. The default behavior is to not send any emails. EmailNotifications types.List `tfsdk:"email_notifications"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.List `tfsdk:"for_each_task"` // An optional set of health rules that can be defined for this job. Health types.List `tfsdk:"health"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.List `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.List `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task run. NotificationSettings types.List `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.List `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.List `tfsdk:"python_wheel_task"` // An optional value indicating the condition that determines whether the // task should be run once its dependencies have been completed. When // omitted, defaults to `ALL_SUCCESS`. See :method:jobs/create for a list of // possible values. RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.List `tfsdk:"run_job_task"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.List `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.List `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.List `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.List `tfsdk:"sql_task"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when the run begins or // completes. The default behavior is to not send any system notifications. // Task webhooks respect the task notification settings. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
func (SubmitTask_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SubmitTask_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*SubmitTask_SdkV2) GetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in SubmitTask_SdkV2 as a CleanRoomsNotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (SubmitTask_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitTask. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SubmitTask_SdkV2) GetConditionTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetConditionTask(ctx context.Context) (ConditionTask_SdkV2, bool)
GetConditionTask returns the value of the ConditionTask field in SubmitTask_SdkV2 as a ConditionTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetDbtTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
GetDbtTask returns the value of the DbtTask field in SubmitTask_SdkV2 as a DbtTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetDependsOn ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
GetDependsOn returns the value of the DependsOn field in SubmitTask_SdkV2 as a slice of TaskDependency_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetEmailNotifications(ctx context.Context) (JobEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in SubmitTask_SdkV2 as a JobEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetForEachTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetForEachTask(ctx context.Context) (ForEachTask_SdkV2, bool)
GetForEachTask returns the value of the ForEachTask field in SubmitTask_SdkV2 as a ForEachTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetHealth ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
GetHealth returns the value of the Health field in SubmitTask_SdkV2 as a JobsHealthRules_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in SubmitTask_SdkV2 as a slice of compute_tf.Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetNewCluster ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
GetNewCluster returns the value of the NewCluster field in SubmitTask_SdkV2 as a compute_tf.ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetNotebookTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
GetNotebookTask returns the value of the NotebookTask field in SubmitTask_SdkV2 as a NotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in SubmitTask_SdkV2 as a TaskNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetPipelineTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
GetPipelineTask returns the value of the PipelineTask field in SubmitTask_SdkV2 as a PipelineTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetPythonWheelTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in SubmitTask_SdkV2 as a PythonWheelTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetRunJobTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
GetRunJobTask returns the value of the RunJobTask field in SubmitTask_SdkV2 as a RunJobTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetSparkJarTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
GetSparkJarTask returns the value of the SparkJarTask field in SubmitTask_SdkV2 as a SparkJarTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetSparkPythonTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in SubmitTask_SdkV2 as a SparkPythonTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetSparkSubmitTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in SubmitTask_SdkV2 as a SparkSubmitTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetSqlTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
GetSqlTask returns the value of the SqlTask field in SubmitTask_SdkV2 as a SqlTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in SubmitTask_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SubmitTask_SdkV2) SetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetConditionTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetConditionTask(ctx context.Context, v ConditionTask_SdkV2)
SetConditionTask sets the value of the ConditionTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetDbtTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
SetDbtTask sets the value of the DbtTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetDependsOn ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
SetDependsOn sets the value of the DependsOn field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetEmailNotifications(ctx context.Context, v JobEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetForEachTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetForEachTask(ctx context.Context, v ForEachTask_SdkV2)
SetForEachTask sets the value of the ForEachTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetHealth ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
SetHealth sets the value of the Health field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
SetLibraries sets the value of the Libraries field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetNewCluster ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
SetNewCluster sets the value of the NewCluster field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetNotebookTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
SetNotebookTask sets the value of the NotebookTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetPipelineTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
SetPipelineTask sets the value of the PipelineTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetPythonWheelTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
SetPythonWheelTask sets the value of the PythonWheelTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetRunJobTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
SetRunJobTask sets the value of the RunJobTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetSparkJarTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
SetSparkJarTask sets the value of the SparkJarTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetSparkPythonTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
SetSparkPythonTask sets the value of the SparkPythonTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetSparkSubmitTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetSqlTask ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
SetSqlTask sets the value of the SqlTask field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *SubmitTask_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in SubmitTask_SdkV2.
func (*SubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitTask_SdkV2)
func (*SubmitTask_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitTask_SdkV2)
func (SubmitTask_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SubmitTask_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SubmitTask_SdkV2 only implements ToObjectValue() and Type().
type TableUpdateTriggerConfiguration ¶
type TableUpdateTriggerConfiguration struct { // The table(s) condition based on which to trigger a job run. Condition types.String `tfsdk:"condition"` // If set, the trigger starts a run only after the specified amount of time // has passed since the last time the trigger fired. The minimum allowed // value is 60 seconds. MinTimeBetweenTriggersSeconds types.Int64 `tfsdk:"min_time_between_triggers_seconds"` // A list of Delta tables to monitor for changes. The table name must be in // the format `catalog_name.schema_name.table_name`. TableNames types.List `tfsdk:"table_names"` // If set, the trigger starts a run only after no table updates have // occurred for the specified time and can be used to wait for a series of // table updates before triggering a run. The minimum allowed value is 60 // seconds. WaitAfterLastChangeSeconds types.Int64 `tfsdk:"wait_after_last_change_seconds"` }
func (TableUpdateTriggerConfiguration) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TableUpdateTriggerConfiguration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TableUpdateTriggerConfiguration) GetComplexFieldTypes ¶ added in v1.61.0
func (a TableUpdateTriggerConfiguration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in TableUpdateTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TableUpdateTriggerConfiguration) GetTableNames ¶ added in v1.61.0
GetTableNames returns the value of the TableNames field in TableUpdateTriggerConfiguration as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TableUpdateTriggerConfiguration) SetTableNames ¶ added in v1.61.0
func (o *TableUpdateTriggerConfiguration) SetTableNames(ctx context.Context, v []types.String)
SetTableNames sets the value of the TableNames field in TableUpdateTriggerConfiguration.
func (*TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableUpdateTriggerConfiguration)
func (*TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration)
func (TableUpdateTriggerConfiguration) ToObjectValue ¶ added in v1.61.0
func (o TableUpdateTriggerConfiguration) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TableUpdateTriggerConfiguration only implements ToObjectValue() and Type().
type TableUpdateTriggerConfiguration_SdkV2 ¶ added in v1.62.1
type TableUpdateTriggerConfiguration_SdkV2 struct { // The table(s) condition based on which to trigger a job run. Condition types.String `tfsdk:"condition"` // If set, the trigger starts a run only after the specified amount of time // has passed since the last time the trigger fired. The minimum allowed // value is 60 seconds. MinTimeBetweenTriggersSeconds types.Int64 `tfsdk:"min_time_between_triggers_seconds"` // A list of Delta tables to monitor for changes. The table name must be in // the format `catalog_name.schema_name.table_name`. TableNames types.List `tfsdk:"table_names"` // If set, the trigger starts a run only after no table updates have // occurred for the specified time and can be used to wait for a series of // table updates before triggering a run. The minimum allowed value is 60 // seconds. WaitAfterLastChangeSeconds types.Int64 `tfsdk:"wait_after_last_change_seconds"` }
func (TableUpdateTriggerConfiguration_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TableUpdateTriggerConfiguration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TableUpdateTriggerConfiguration_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a TableUpdateTriggerConfiguration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in TableUpdateTriggerConfiguration. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TableUpdateTriggerConfiguration_SdkV2) GetTableNames ¶ added in v1.62.1
func (o *TableUpdateTriggerConfiguration_SdkV2) GetTableNames(ctx context.Context) ([]types.String, bool)
GetTableNames returns the value of the TableNames field in TableUpdateTriggerConfiguration_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TableUpdateTriggerConfiguration_SdkV2) SetTableNames ¶ added in v1.62.1
func (o *TableUpdateTriggerConfiguration_SdkV2) SetTableNames(ctx context.Context, v []types.String)
SetTableNames sets the value of the TableNames field in TableUpdateTriggerConfiguration_SdkV2.
func (*TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableUpdateTriggerConfiguration_SdkV2)
func (*TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration_SdkV2)
func (TableUpdateTriggerConfiguration_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TableUpdateTriggerConfiguration_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TableUpdateTriggerConfiguration_SdkV2 only implements ToObjectValue() and Type().
type Task ¶
type Task struct { // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.Object `tfsdk:"clean_rooms_notebook_task"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.Object `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.Object `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete before executing this // task. The task will run only if the `run_if` condition is true. The key // is `task_key`, and the value is the name assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An option to disable auto optimization in serverless DisableAutoOptimization types.Bool `tfsdk:"disable_auto_optimization"` // An optional set of email addresses that is notified when runs of this // task begin or complete as well as when this task is deleted. The default // behavior is to not send any emails. EmailNotifications types.Object `tfsdk:"email_notifications"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.Object `tfsdk:"for_each_task"` // An optional set of health rules that can be defined for this job. Health types.Object `tfsdk:"health"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // An optional maximum number of times to retry an unsuccessful run. A run // is considered to be unsuccessful if it completes with the `FAILED` // result_state or `INTERNAL_ERROR` `life_cycle_state`. The value `-1` means // to retry indefinitely and the value `0` means to never retry. MaxRetries types.Int64 `tfsdk:"max_retries"` // An optional minimal interval in milliseconds between the start of the // failed run and the subsequent retry run. The default behavior is that // unsuccessful runs are immediately retried. MinRetryIntervalMillis types.Int64 `tfsdk:"min_retry_interval_millis"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.Object `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.Object `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task. NotificationSettings types.Object `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.Object `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.Object `tfsdk:"python_wheel_task"` // An optional policy to specify whether to retry a job when it times out. // The default behavior is to not retry on timeout. RetryOnTimeout types.Bool `tfsdk:"retry_on_timeout"` // An optional value specifying the condition determining whether the task // is run once its dependencies have been completed. // // * `ALL_SUCCESS`: All dependencies have executed and succeeded * // `AT_LEAST_ONE_SUCCESS`: At least one dependency has succeeded * // `NONE_FAILED`: None of the dependencies have failed and at least one was // executed * `ALL_DONE`: All dependencies have been completed * // `AT_LEAST_ONE_FAILED`: At least one dependency failed * `ALL_FAILED`: ALl // dependencies have failed RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.Object `tfsdk:"run_job_task"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.Object `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.Object `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.Object `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.Object `tfsdk:"sql_task"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when runs of this task // begin or complete. The default behavior is to not send any system // notifications. WebhookNotifications types.Object `tfsdk:"webhook_notifications"` }
func (Task) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Task) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*Task) GetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *Task) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in Task as a CleanRoomsNotebookTask value. If the field is unknown or null, the boolean return value is false.
func (Task) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Task. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Task) GetConditionTask ¶ added in v1.61.0
func (o *Task) GetConditionTask(ctx context.Context) (ConditionTask, bool)
GetConditionTask returns the value of the ConditionTask field in Task as a ConditionTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetDbtTask ¶ added in v1.61.0
GetDbtTask returns the value of the DbtTask field in Task as a DbtTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetDependsOn ¶ added in v1.61.0
func (o *Task) GetDependsOn(ctx context.Context) ([]TaskDependency, bool)
GetDependsOn returns the value of the DependsOn field in Task as a slice of TaskDependency values. If the field is unknown or null, the boolean return value is false.
func (*Task) GetEmailNotifications ¶ added in v1.61.0
func (o *Task) GetEmailNotifications(ctx context.Context) (TaskEmailNotifications, bool)
GetEmailNotifications returns the value of the EmailNotifications field in Task as a TaskEmailNotifications value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetForEachTask ¶ added in v1.61.0
func (o *Task) GetForEachTask(ctx context.Context) (ForEachTask, bool)
GetForEachTask returns the value of the ForEachTask field in Task as a ForEachTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetHealth ¶ added in v1.61.0
func (o *Task) GetHealth(ctx context.Context) (JobsHealthRules, bool)
GetHealth returns the value of the Health field in Task as a JobsHealthRules value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetLibraries ¶ added in v1.61.0
GetLibraries returns the value of the Libraries field in Task as a slice of compute_tf.Library values. If the field is unknown or null, the boolean return value is false.
func (*Task) GetNewCluster ¶ added in v1.61.0
func (o *Task) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec, bool)
GetNewCluster returns the value of the NewCluster field in Task as a compute_tf.ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetNotebookTask ¶ added in v1.61.0
func (o *Task) GetNotebookTask(ctx context.Context) (NotebookTask, bool)
GetNotebookTask returns the value of the NotebookTask field in Task as a NotebookTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetNotificationSettings ¶ added in v1.61.0
func (o *Task) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings, bool)
GetNotificationSettings returns the value of the NotificationSettings field in Task as a TaskNotificationSettings value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetPipelineTask ¶ added in v1.61.0
func (o *Task) GetPipelineTask(ctx context.Context) (PipelineTask, bool)
GetPipelineTask returns the value of the PipelineTask field in Task as a PipelineTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetPythonWheelTask ¶ added in v1.61.0
func (o *Task) GetPythonWheelTask(ctx context.Context) (PythonWheelTask, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in Task as a PythonWheelTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetRunJobTask ¶ added in v1.61.0
func (o *Task) GetRunJobTask(ctx context.Context) (RunJobTask, bool)
GetRunJobTask returns the value of the RunJobTask field in Task as a RunJobTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetSparkJarTask ¶ added in v1.61.0
func (o *Task) GetSparkJarTask(ctx context.Context) (SparkJarTask, bool)
GetSparkJarTask returns the value of the SparkJarTask field in Task as a SparkJarTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetSparkPythonTask ¶ added in v1.61.0
func (o *Task) GetSparkPythonTask(ctx context.Context) (SparkPythonTask, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in Task as a SparkPythonTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetSparkSubmitTask ¶ added in v1.61.0
func (o *Task) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in Task as a SparkSubmitTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetSqlTask ¶ added in v1.61.0
GetSqlTask returns the value of the SqlTask field in Task as a SqlTask value. If the field is unknown or null, the boolean return value is false.
func (*Task) GetWebhookNotifications ¶ added in v1.61.0
func (o *Task) GetWebhookNotifications(ctx context.Context) (WebhookNotifications, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in Task as a WebhookNotifications value. If the field is unknown or null, the boolean return value is false.
func (*Task) SetCleanRoomsNotebookTask ¶ added in v1.62.0
func (o *Task) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in Task.
func (*Task) SetConditionTask ¶ added in v1.61.0
func (o *Task) SetConditionTask(ctx context.Context, v ConditionTask)
SetConditionTask sets the value of the ConditionTask field in Task.
func (*Task) SetDbtTask ¶ added in v1.61.0
SetDbtTask sets the value of the DbtTask field in Task.
func (*Task) SetDependsOn ¶ added in v1.61.0
func (o *Task) SetDependsOn(ctx context.Context, v []TaskDependency)
SetDependsOn sets the value of the DependsOn field in Task.
func (*Task) SetEmailNotifications ¶ added in v1.61.0
func (o *Task) SetEmailNotifications(ctx context.Context, v TaskEmailNotifications)
SetEmailNotifications sets the value of the EmailNotifications field in Task.
func (*Task) SetForEachTask ¶ added in v1.61.0
func (o *Task) SetForEachTask(ctx context.Context, v ForEachTask)
SetForEachTask sets the value of the ForEachTask field in Task.
func (*Task) SetHealth ¶ added in v1.61.0
func (o *Task) SetHealth(ctx context.Context, v JobsHealthRules)
SetHealth sets the value of the Health field in Task.
func (*Task) SetLibraries ¶ added in v1.61.0
func (o *Task) SetLibraries(ctx context.Context, v []compute_tf.Library)
SetLibraries sets the value of the Libraries field in Task.
func (*Task) SetNewCluster ¶ added in v1.61.0
func (o *Task) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec)
SetNewCluster sets the value of the NewCluster field in Task.
func (*Task) SetNotebookTask ¶ added in v1.61.0
func (o *Task) SetNotebookTask(ctx context.Context, v NotebookTask)
SetNotebookTask sets the value of the NotebookTask field in Task.
func (*Task) SetNotificationSettings ¶ added in v1.61.0
func (o *Task) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings)
SetNotificationSettings sets the value of the NotificationSettings field in Task.
func (*Task) SetPipelineTask ¶ added in v1.61.0
func (o *Task) SetPipelineTask(ctx context.Context, v PipelineTask)
SetPipelineTask sets the value of the PipelineTask field in Task.
func (*Task) SetPythonWheelTask ¶ added in v1.61.0
func (o *Task) SetPythonWheelTask(ctx context.Context, v PythonWheelTask)
SetPythonWheelTask sets the value of the PythonWheelTask field in Task.
func (*Task) SetRunJobTask ¶ added in v1.61.0
func (o *Task) SetRunJobTask(ctx context.Context, v RunJobTask)
SetRunJobTask sets the value of the RunJobTask field in Task.
func (*Task) SetSparkJarTask ¶ added in v1.61.0
func (o *Task) SetSparkJarTask(ctx context.Context, v SparkJarTask)
SetSparkJarTask sets the value of the SparkJarTask field in Task.
func (*Task) SetSparkPythonTask ¶ added in v1.61.0
func (o *Task) SetSparkPythonTask(ctx context.Context, v SparkPythonTask)
SetSparkPythonTask sets the value of the SparkPythonTask field in Task.
func (*Task) SetSparkSubmitTask ¶ added in v1.61.0
func (o *Task) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in Task.
func (*Task) SetSqlTask ¶ added in v1.61.0
SetSqlTask sets the value of the SqlTask field in Task.
func (*Task) SetWebhookNotifications ¶ added in v1.61.0
func (o *Task) SetWebhookNotifications(ctx context.Context, v WebhookNotifications)
SetWebhookNotifications sets the value of the WebhookNotifications field in Task.
func (*Task) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Task) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Task) ToObjectValue ¶ added in v1.61.0
func (o Task) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Task only implements ToObjectValue() and Type().
type TaskDependency ¶
type TaskDependency struct { // Can only be specified on condition task dependencies. The outcome of the // dependent task that must be met for this task to run. Outcome types.String `tfsdk:"outcome"` // The name of the task this task depends on. TaskKey types.String `tfsdk:"task_key"` }
func (TaskDependency) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskDependency) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskDependency) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskDependency. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskDependency) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TaskDependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskDependency)
func (*TaskDependency) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TaskDependency) SyncEffectiveFieldsDuringRead(existingState TaskDependency)
func (TaskDependency) ToObjectValue ¶ added in v1.61.0
func (o TaskDependency) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskDependency only implements ToObjectValue() and Type().
type TaskDependency_SdkV2 ¶ added in v1.62.1
type TaskDependency_SdkV2 struct { // Can only be specified on condition task dependencies. The outcome of the // dependent task that must be met for this task to run. Outcome types.String `tfsdk:"outcome"` // The name of the task this task depends on. TaskKey types.String `tfsdk:"task_key"` }
func (TaskDependency_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskDependency_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskDependency_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskDependency. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskDependency_SdkV2)
func (*TaskDependency_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskDependency_SdkV2)
func (TaskDependency_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TaskDependency_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskDependency_SdkV2 only implements ToObjectValue() and Type().
type TaskEmailNotifications ¶
type TaskEmailNotifications struct { // If true, do not send email to recipients specified in `on_failure` if the // run is skipped. This field is `deprecated`. Please use the // `notification_settings.no_alert_for_skipped_runs` field. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` // A list of email addresses to be notified when the duration of a run // exceeds the threshold specified for the `RUN_DURATION_SECONDS` metric in // the `health` field. If no rule for the `RUN_DURATION_SECONDS` metric is // specified in the `health` field for the job, notifications are not sent. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // A list of email addresses to be notified when a run unsuccessfully // completes. A run is considered to have completed unsuccessfully if it // ends with an `INTERNAL_ERROR` `life_cycle_state` or a `FAILED`, or // `TIMED_OUT` result_state. If this is not specified on job creation, // reset, or update the list is empty, and notifications are not sent. OnFailure types.List `tfsdk:"on_failure"` // A list of email addresses to be notified when a run begins. If not // specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnStart types.List `tfsdk:"on_start"` // A list of email addresses to notify when any streaming backlog thresholds // are exceeded for any stream. Streaming backlog thresholds can be set in // the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // A list of email addresses to be notified when a run successfully // completes. A run is considered to have completed successfully if it ends // with a `TERMINATED` `life_cycle_state` and a `SUCCESS` result_state. If // not specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnSuccess types.List `tfsdk:"on_success"` }
func (TaskEmailNotifications) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskEmailNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskEmailNotifications) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskEmailNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskEmailNotifications) GetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *TaskEmailNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in TaskEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications) GetOnFailure ¶ added in v1.61.0
GetOnFailure returns the value of the OnFailure field in TaskEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications) GetOnStart ¶ added in v1.61.0
GetOnStart returns the value of the OnStart field in TaskEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications) GetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *TaskEmailNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in TaskEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications) GetOnSuccess ¶ added in v1.61.0
GetOnSuccess returns the value of the OnSuccess field in TaskEmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications) SetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *TaskEmailNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in TaskEmailNotifications.
func (*TaskEmailNotifications) SetOnFailure ¶ added in v1.61.0
func (o *TaskEmailNotifications) SetOnFailure(ctx context.Context, v []types.String)
SetOnFailure sets the value of the OnFailure field in TaskEmailNotifications.
func (*TaskEmailNotifications) SetOnStart ¶ added in v1.61.0
func (o *TaskEmailNotifications) SetOnStart(ctx context.Context, v []types.String)
SetOnStart sets the value of the OnStart field in TaskEmailNotifications.
func (*TaskEmailNotifications) SetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *TaskEmailNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in TaskEmailNotifications.
func (*TaskEmailNotifications) SetOnSuccess ¶ added in v1.61.0
func (o *TaskEmailNotifications) SetOnSuccess(ctx context.Context, v []types.String)
SetOnSuccess sets the value of the OnSuccess field in TaskEmailNotifications.
func (*TaskEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskEmailNotifications)
func (*TaskEmailNotifications) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications)
func (TaskEmailNotifications) ToObjectValue ¶ added in v1.61.0
func (o TaskEmailNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskEmailNotifications only implements ToObjectValue() and Type().
type TaskEmailNotifications_SdkV2 ¶ added in v1.62.1
type TaskEmailNotifications_SdkV2 struct { // If true, do not send email to recipients specified in `on_failure` if the // run is skipped. This field is `deprecated`. Please use the // `notification_settings.no_alert_for_skipped_runs` field. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` // A list of email addresses to be notified when the duration of a run // exceeds the threshold specified for the `RUN_DURATION_SECONDS` metric in // the `health` field. If no rule for the `RUN_DURATION_SECONDS` metric is // specified in the `health` field for the job, notifications are not sent. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // A list of email addresses to be notified when a run unsuccessfully // completes. A run is considered to have completed unsuccessfully if it // ends with an `INTERNAL_ERROR` `life_cycle_state` or a `FAILED`, or // `TIMED_OUT` result_state. If this is not specified on job creation, // reset, or update the list is empty, and notifications are not sent. OnFailure types.List `tfsdk:"on_failure"` // A list of email addresses to be notified when a run begins. If not // specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnStart types.List `tfsdk:"on_start"` // A list of email addresses to notify when any streaming backlog thresholds // are exceeded for any stream. Streaming backlog thresholds can be set in // the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // A list of email addresses to be notified when a run successfully // completes. A run is considered to have completed successfully if it ends // with a `TERMINATED` `life_cycle_state` and a `SUCCESS` result_state. If // not specified on job creation, reset, or update, the list is empty, and // notifications are not sent. OnSuccess types.List `tfsdk:"on_success"` }
func (TaskEmailNotifications_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskEmailNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskEmailNotifications_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a TaskEmailNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskEmailNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]types.String, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in TaskEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications_SdkV2) GetOnFailure ¶ added in v1.62.1
GetOnFailure returns the value of the OnFailure field in TaskEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications_SdkV2) GetOnStart ¶ added in v1.62.1
GetOnStart returns the value of the OnStart field in TaskEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]types.String, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in TaskEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications_SdkV2) GetOnSuccess ¶ added in v1.62.1
GetOnSuccess returns the value of the OnSuccess field in TaskEmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*TaskEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []types.String)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in TaskEmailNotifications_SdkV2.
func (*TaskEmailNotifications_SdkV2) SetOnFailure ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) SetOnFailure(ctx context.Context, v []types.String)
SetOnFailure sets the value of the OnFailure field in TaskEmailNotifications_SdkV2.
func (*TaskEmailNotifications_SdkV2) SetOnStart ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) SetOnStart(ctx context.Context, v []types.String)
SetOnStart sets the value of the OnStart field in TaskEmailNotifications_SdkV2.
func (*TaskEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []types.String)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in TaskEmailNotifications_SdkV2.
func (*TaskEmailNotifications_SdkV2) SetOnSuccess ¶ added in v1.62.1
func (o *TaskEmailNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []types.String)
SetOnSuccess sets the value of the OnSuccess field in TaskEmailNotifications_SdkV2.
func (*TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskEmailNotifications_SdkV2)
func (*TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications_SdkV2)
func (TaskEmailNotifications_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TaskEmailNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskEmailNotifications_SdkV2 only implements ToObjectValue() and Type().
type TaskNotificationSettings ¶
type TaskNotificationSettings struct { // If true, do not send notifications to recipients specified in `on_start` // for the retried runs and do not send notifications to recipients // specified in `on_failure` until the last retry of the run. AlertOnLastAttempt types.Bool `tfsdk:"alert_on_last_attempt"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is canceled. NoAlertForCanceledRuns types.Bool `tfsdk:"no_alert_for_canceled_runs"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is skipped. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` }
func (TaskNotificationSettings) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskNotificationSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskNotificationSettings) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskNotificationSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskNotificationSettings)
func (*TaskNotificationSettings) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings)
func (TaskNotificationSettings) ToObjectValue ¶ added in v1.61.0
func (o TaskNotificationSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskNotificationSettings only implements ToObjectValue() and Type().
type TaskNotificationSettings_SdkV2 ¶ added in v1.62.1
type TaskNotificationSettings_SdkV2 struct { // If true, do not send notifications to recipients specified in `on_start` // for the retried runs and do not send notifications to recipients // specified in `on_failure` until the last retry of the run. AlertOnLastAttempt types.Bool `tfsdk:"alert_on_last_attempt"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is canceled. NoAlertForCanceledRuns types.Bool `tfsdk:"no_alert_for_canceled_runs"` // If true, do not send notifications to recipients specified in // `on_failure` if the run is skipped. NoAlertForSkippedRuns types.Bool `tfsdk:"no_alert_for_skipped_runs"` }
func (TaskNotificationSettings_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TaskNotificationSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TaskNotificationSettings_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a TaskNotificationSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskNotificationSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TaskNotificationSettings_SdkV2)
func (*TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings_SdkV2)
func (TaskNotificationSettings_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TaskNotificationSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TaskNotificationSettings_SdkV2 only implements ToObjectValue() and Type().
type Task_SdkV2 ¶ added in v1.62.1
type Task_SdkV2 struct { // The task runs a [clean rooms] notebook when the // `clean_rooms_notebook_task` field is present. // // [clean rooms]: https://docs.databricks.com/en/clean-rooms/index.html CleanRoomsNotebookTask types.List `tfsdk:"clean_rooms_notebook_task"` // The task evaluates a condition that can be used to control the execution // of other tasks when the `condition_task` field is present. The condition // task does not require a cluster to execute and does not support retries // or notifications. ConditionTask types.List `tfsdk:"condition_task"` // The task runs one or more dbt commands when the `dbt_task` field is // present. The dbt task requires both Databricks SQL and the ability to use // a serverless or a pro SQL warehouse. DbtTask types.List `tfsdk:"dbt_task"` // An optional array of objects specifying the dependency graph of the task. // All tasks specified in this field must complete before executing this // task. The task will run only if the `run_if` condition is true. The key // is `task_key`, and the value is the name assigned to the dependent task. DependsOn types.List `tfsdk:"depends_on"` // An optional description for this task. Description types.String `tfsdk:"description"` // An option to disable auto optimization in serverless DisableAutoOptimization types.Bool `tfsdk:"disable_auto_optimization"` // An optional set of email addresses that is notified when runs of this // task begin or complete as well as when this task is deleted. The default // behavior is to not send any emails. EmailNotifications types.List `tfsdk:"email_notifications"` // The key that references an environment spec in a job. This field is // required for Python script, Python wheel and dbt tasks when using // serverless compute. EnvironmentKey types.String `tfsdk:"environment_key"` // If existing_cluster_id, the ID of an existing cluster that is used for // all runs. When running jobs or tasks on an existing cluster, you may need // to manually restart the cluster if it stops responding. We suggest // running jobs and tasks on new clusters for greater reliability ExistingClusterId types.String `tfsdk:"existing_cluster_id"` // The task executes a nested task for every input provided when the // `for_each_task` field is present. ForEachTask types.List `tfsdk:"for_each_task"` // An optional set of health rules that can be defined for this job. Health types.List `tfsdk:"health"` // If job_cluster_key, this task is executed reusing the cluster specified // in `job.settings.job_clusters`. JobClusterKey types.String `tfsdk:"job_cluster_key"` // An optional list of libraries to be installed on the cluster. The default // value is an empty list. Libraries types.List `tfsdk:"library"` // An optional maximum number of times to retry an unsuccessful run. A run // is considered to be unsuccessful if it completes with the `FAILED` // result_state or `INTERNAL_ERROR` `life_cycle_state`. The value `-1` means // to retry indefinitely and the value `0` means to never retry. MaxRetries types.Int64 `tfsdk:"max_retries"` // An optional minimal interval in milliseconds between the start of the // failed run and the subsequent retry run. The default behavior is that // unsuccessful runs are immediately retried. MinRetryIntervalMillis types.Int64 `tfsdk:"min_retry_interval_millis"` // If new_cluster, a description of a new cluster that is created for each // run. NewCluster types.List `tfsdk:"new_cluster"` // The task runs a notebook when the `notebook_task` field is present. NotebookTask types.List `tfsdk:"notebook_task"` // Optional notification settings that are used when sending notifications // to each of the `email_notifications` and `webhook_notifications` for this // task. NotificationSettings types.List `tfsdk:"notification_settings"` // The task triggers a pipeline update when the `pipeline_task` field is // present. Only pipelines configured to use triggered more are supported. PipelineTask types.List `tfsdk:"pipeline_task"` // The task runs a Python wheel when the `python_wheel_task` field is // present. PythonWheelTask types.List `tfsdk:"python_wheel_task"` // An optional policy to specify whether to retry a job when it times out. // The default behavior is to not retry on timeout. RetryOnTimeout types.Bool `tfsdk:"retry_on_timeout"` // An optional value specifying the condition determining whether the task // is run once its dependencies have been completed. // // * `ALL_SUCCESS`: All dependencies have executed and succeeded * // `AT_LEAST_ONE_SUCCESS`: At least one dependency has succeeded * // `NONE_FAILED`: None of the dependencies have failed and at least one was // executed * `ALL_DONE`: All dependencies have been completed * // `AT_LEAST_ONE_FAILED`: At least one dependency failed * `ALL_FAILED`: ALl // dependencies have failed RunIf types.String `tfsdk:"run_if"` // The task triggers another job when the `run_job_task` field is present. RunJobTask types.List `tfsdk:"run_job_task"` // The task runs a JAR when the `spark_jar_task` field is present. SparkJarTask types.List `tfsdk:"spark_jar_task"` // The task runs a Python file when the `spark_python_task` field is // present. SparkPythonTask types.List `tfsdk:"spark_python_task"` // (Legacy) The task runs the spark-submit script when the // `spark_submit_task` field is present. This task can run only on new // clusters and is not compatible with serverless compute. // // In the `new_cluster` specification, `libraries` and `spark_conf` are not // supported. Instead, use `--jars` and `--py-files` to add Java and Python // libraries and `--conf` to set the Spark configurations. // // `master`, `deploy-mode`, and `executor-cores` are automatically // configured by Databricks; you _cannot_ specify them in parameters. // // By default, the Spark submit job uses all available memory (excluding // reserved memory for Databricks services). You can set `--driver-memory`, // and `--executor-memory` to a smaller value to leave some room for // off-heap usage. // // The `--jars`, `--py-files`, `--files` arguments support DBFS and S3 // paths. SparkSubmitTask types.List `tfsdk:"spark_submit_task"` // The task runs a SQL query or file, or it refreshes a SQL alert or a // legacy SQL dashboard when the `sql_task` field is present. SqlTask types.List `tfsdk:"sql_task"` // A unique name for the task. This field is used to refer to this task from // other tasks. This field is required and must be unique within its parent // job. On Update or Reset, this field is used to reference the tasks to be // updated or reset. TaskKey types.String `tfsdk:"task_key"` // An optional timeout applied to each run of this job task. A value of `0` // means no timeout. TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` // A collection of system notification IDs to notify when runs of this task // begin or complete. The default behavior is to not send any system // notifications. WebhookNotifications types.List `tfsdk:"webhook_notifications"` }
func (Task_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Task_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*Task_SdkV2) GetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetCleanRoomsNotebookTask(ctx context.Context) (CleanRoomsNotebookTask_SdkV2, bool)
GetCleanRoomsNotebookTask returns the value of the CleanRoomsNotebookTask field in Task_SdkV2 as a CleanRoomsNotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (Task_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Task. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Task_SdkV2) GetConditionTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetConditionTask(ctx context.Context) (ConditionTask_SdkV2, bool)
GetConditionTask returns the value of the ConditionTask field in Task_SdkV2 as a ConditionTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetDbtTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetDbtTask(ctx context.Context) (DbtTask_SdkV2, bool)
GetDbtTask returns the value of the DbtTask field in Task_SdkV2 as a DbtTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetDependsOn ¶ added in v1.62.1
func (o *Task_SdkV2) GetDependsOn(ctx context.Context) ([]TaskDependency_SdkV2, bool)
GetDependsOn returns the value of the DependsOn field in Task_SdkV2 as a slice of TaskDependency_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetEmailNotifications ¶ added in v1.62.1
func (o *Task_SdkV2) GetEmailNotifications(ctx context.Context) (TaskEmailNotifications_SdkV2, bool)
GetEmailNotifications returns the value of the EmailNotifications field in Task_SdkV2 as a TaskEmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetForEachTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetForEachTask(ctx context.Context) (ForEachTask_SdkV2, bool)
GetForEachTask returns the value of the ForEachTask field in Task_SdkV2 as a ForEachTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetHealth ¶ added in v1.62.1
func (o *Task_SdkV2) GetHealth(ctx context.Context) (JobsHealthRules_SdkV2, bool)
GetHealth returns the value of the Health field in Task_SdkV2 as a JobsHealthRules_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *Task_SdkV2) GetLibraries(ctx context.Context) ([]compute_tf.Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in Task_SdkV2 as a slice of compute_tf.Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetNewCluster ¶ added in v1.62.1
func (o *Task_SdkV2) GetNewCluster(ctx context.Context) (compute_tf.ClusterSpec_SdkV2, bool)
GetNewCluster returns the value of the NewCluster field in Task_SdkV2 as a compute_tf.ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetNotebookTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetNotebookTask(ctx context.Context) (NotebookTask_SdkV2, bool)
GetNotebookTask returns the value of the NotebookTask field in Task_SdkV2 as a NotebookTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetNotificationSettings ¶ added in v1.62.1
func (o *Task_SdkV2) GetNotificationSettings(ctx context.Context) (TaskNotificationSettings_SdkV2, bool)
GetNotificationSettings returns the value of the NotificationSettings field in Task_SdkV2 as a TaskNotificationSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetPipelineTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetPipelineTask(ctx context.Context) (PipelineTask_SdkV2, bool)
GetPipelineTask returns the value of the PipelineTask field in Task_SdkV2 as a PipelineTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetPythonWheelTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetPythonWheelTask(ctx context.Context) (PythonWheelTask_SdkV2, bool)
GetPythonWheelTask returns the value of the PythonWheelTask field in Task_SdkV2 as a PythonWheelTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetRunJobTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetRunJobTask(ctx context.Context) (RunJobTask_SdkV2, bool)
GetRunJobTask returns the value of the RunJobTask field in Task_SdkV2 as a RunJobTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetSparkJarTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetSparkJarTask(ctx context.Context) (SparkJarTask_SdkV2, bool)
GetSparkJarTask returns the value of the SparkJarTask field in Task_SdkV2 as a SparkJarTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetSparkPythonTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetSparkPythonTask(ctx context.Context) (SparkPythonTask_SdkV2, bool)
GetSparkPythonTask returns the value of the SparkPythonTask field in Task_SdkV2 as a SparkPythonTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetSparkSubmitTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetSparkSubmitTask(ctx context.Context) (SparkSubmitTask_SdkV2, bool)
GetSparkSubmitTask returns the value of the SparkSubmitTask field in Task_SdkV2 as a SparkSubmitTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetSqlTask ¶ added in v1.62.1
func (o *Task_SdkV2) GetSqlTask(ctx context.Context) (SqlTask_SdkV2, bool)
GetSqlTask returns the value of the SqlTask field in Task_SdkV2 as a SqlTask_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) GetWebhookNotifications ¶ added in v1.62.1
func (o *Task_SdkV2) GetWebhookNotifications(ctx context.Context) (WebhookNotifications_SdkV2, bool)
GetWebhookNotifications returns the value of the WebhookNotifications field in Task_SdkV2 as a WebhookNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Task_SdkV2) SetCleanRoomsNotebookTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetCleanRoomsNotebookTask(ctx context.Context, v CleanRoomsNotebookTask_SdkV2)
SetCleanRoomsNotebookTask sets the value of the CleanRoomsNotebookTask field in Task_SdkV2.
func (*Task_SdkV2) SetConditionTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetConditionTask(ctx context.Context, v ConditionTask_SdkV2)
SetConditionTask sets the value of the ConditionTask field in Task_SdkV2.
func (*Task_SdkV2) SetDbtTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetDbtTask(ctx context.Context, v DbtTask_SdkV2)
SetDbtTask sets the value of the DbtTask field in Task_SdkV2.
func (*Task_SdkV2) SetDependsOn ¶ added in v1.62.1
func (o *Task_SdkV2) SetDependsOn(ctx context.Context, v []TaskDependency_SdkV2)
SetDependsOn sets the value of the DependsOn field in Task_SdkV2.
func (*Task_SdkV2) SetEmailNotifications ¶ added in v1.62.1
func (o *Task_SdkV2) SetEmailNotifications(ctx context.Context, v TaskEmailNotifications_SdkV2)
SetEmailNotifications sets the value of the EmailNotifications field in Task_SdkV2.
func (*Task_SdkV2) SetForEachTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetForEachTask(ctx context.Context, v ForEachTask_SdkV2)
SetForEachTask sets the value of the ForEachTask field in Task_SdkV2.
func (*Task_SdkV2) SetHealth ¶ added in v1.62.1
func (o *Task_SdkV2) SetHealth(ctx context.Context, v JobsHealthRules_SdkV2)
SetHealth sets the value of the Health field in Task_SdkV2.
func (*Task_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *Task_SdkV2) SetLibraries(ctx context.Context, v []compute_tf.Library_SdkV2)
SetLibraries sets the value of the Libraries field in Task_SdkV2.
func (*Task_SdkV2) SetNewCluster ¶ added in v1.62.1
func (o *Task_SdkV2) SetNewCluster(ctx context.Context, v compute_tf.ClusterSpec_SdkV2)
SetNewCluster sets the value of the NewCluster field in Task_SdkV2.
func (*Task_SdkV2) SetNotebookTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetNotebookTask(ctx context.Context, v NotebookTask_SdkV2)
SetNotebookTask sets the value of the NotebookTask field in Task_SdkV2.
func (*Task_SdkV2) SetNotificationSettings ¶ added in v1.62.1
func (o *Task_SdkV2) SetNotificationSettings(ctx context.Context, v TaskNotificationSettings_SdkV2)
SetNotificationSettings sets the value of the NotificationSettings field in Task_SdkV2.
func (*Task_SdkV2) SetPipelineTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetPipelineTask(ctx context.Context, v PipelineTask_SdkV2)
SetPipelineTask sets the value of the PipelineTask field in Task_SdkV2.
func (*Task_SdkV2) SetPythonWheelTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetPythonWheelTask(ctx context.Context, v PythonWheelTask_SdkV2)
SetPythonWheelTask sets the value of the PythonWheelTask field in Task_SdkV2.
func (*Task_SdkV2) SetRunJobTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetRunJobTask(ctx context.Context, v RunJobTask_SdkV2)
SetRunJobTask sets the value of the RunJobTask field in Task_SdkV2.
func (*Task_SdkV2) SetSparkJarTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetSparkJarTask(ctx context.Context, v SparkJarTask_SdkV2)
SetSparkJarTask sets the value of the SparkJarTask field in Task_SdkV2.
func (*Task_SdkV2) SetSparkPythonTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetSparkPythonTask(ctx context.Context, v SparkPythonTask_SdkV2)
SetSparkPythonTask sets the value of the SparkPythonTask field in Task_SdkV2.
func (*Task_SdkV2) SetSparkSubmitTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetSparkSubmitTask(ctx context.Context, v SparkSubmitTask_SdkV2)
SetSparkSubmitTask sets the value of the SparkSubmitTask field in Task_SdkV2.
func (*Task_SdkV2) SetSqlTask ¶ added in v1.62.1
func (o *Task_SdkV2) SetSqlTask(ctx context.Context, v SqlTask_SdkV2)
SetSqlTask sets the value of the SqlTask field in Task_SdkV2.
func (*Task_SdkV2) SetWebhookNotifications ¶ added in v1.62.1
func (o *Task_SdkV2) SetWebhookNotifications(ctx context.Context, v WebhookNotifications_SdkV2)
SetWebhookNotifications sets the value of the WebhookNotifications field in Task_SdkV2.
func (*Task_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Task_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Task_SdkV2)
func (*Task_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Task_SdkV2) SyncEffectiveFieldsDuringRead(existingState Task_SdkV2)
func (Task_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Task_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Task_SdkV2 only implements ToObjectValue() and Type().
type TerminationDetails ¶ added in v1.52.0
type TerminationDetails struct { // The code indicates why the run was terminated. Additional codes might be // introduced in future releases. * `SUCCESS`: The run was completed // successfully. * `USER_CANCELED`: The run was successfully canceled during // execution by a user. * `CANCELED`: The run was canceled during execution // by the Databricks platform; for example, if the maximum run duration was // exceeded. * `SKIPPED`: Run was never executed, for example, if the // upstream task run failed, the dependency type condition was not met, or // there were no material tasks to execute. * `INTERNAL_ERROR`: The run // encountered an unexpected error. Refer to the state message for further // details. * `DRIVER_ERROR`: The run encountered an error while // communicating with the Spark Driver. * `CLUSTER_ERROR`: The run failed // due to a cluster error. Refer to the state message for further details. * // `REPOSITORY_CHECKOUT_FAILED`: Failed to complete the checkout due to an // error when communicating with the third party service. * // `INVALID_CLUSTER_REQUEST`: The run failed because it issued an invalid // request to start the cluster. * `WORKSPACE_RUN_LIMIT_EXCEEDED`: The // workspace has reached the quota for the maximum number of concurrent // active runs. Consider scheduling the runs over a larger time frame. * // `FEATURE_DISABLED`: The run failed because it tried to access a feature // unavailable for the workspace. * `CLUSTER_REQUEST_LIMIT_EXCEEDED`: The // number of cluster creation, start, and upsize requests have exceeded the // allotted rate limit. Consider spreading the run execution over a larger // time frame. * `STORAGE_ACCESS_ERROR`: The run failed due to an error when // accessing the customer blob storage. Refer to the state message for // further details. * `RUN_EXECUTION_ERROR`: The run was completed with task // failures. For more details, refer to the state message or run output. * // `UNAUTHORIZED_ERROR`: The run failed due to a permission issue while // accessing a resource. Refer to the state message for further details. * // `LIBRARY_INSTALLATION_ERROR`: The run failed while installing the // user-requested library. Refer to the state message for further details. // The causes might include, but are not limited to: The provided library is // invalid, there are insufficient permissions to install the library, and // so forth. * `MAX_CONCURRENT_RUNS_EXCEEDED`: The scheduled run exceeds the // limit of maximum concurrent runs set for the job. * // `MAX_SPARK_CONTEXTS_EXCEEDED`: The run is scheduled on a cluster that has // already reached the maximum number of contexts it is configured to // create. See: [Link]. * `RESOURCE_NOT_FOUND`: A resource necessary for run // execution does not exist. Refer to the state message for further details. // * `INVALID_RUN_CONFIGURATION`: The run failed due to an invalid // configuration. Refer to the state message for further details. * // `CLOUD_FAILURE`: The run failed due to a cloud provider issue. Refer to // the state message for further details. * `MAX_JOB_QUEUE_SIZE_EXCEEDED`: // The run was skipped due to reaching the job level queue size limit. // // [Link]: https://kb.databricks.com/en_US/notebooks/too-many-execution-contexts-are-open-right-now Code types.String `tfsdk:"code"` // A descriptive message with the termination details. This field is // unstructured and the format might change. Message types.String `tfsdk:"message"` // * `SUCCESS`: The run terminated without any issues * `INTERNAL_ERROR`: An // error occurred in the Databricks platform. Please look at the [status // page] or contact support if the issue persists. * `CLIENT_ERROR`: The run // was terminated because of an error caused by user input or the job // configuration. * `CLOUD_FAILURE`: The run was terminated because of an // issue with your cloud provider. // // [status page]: https://status.databricks.com/ Type_ types.String `tfsdk:"type"` }
func (TerminationDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TerminationDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TerminationDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TerminationDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TerminationDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationDetails)
func (*TerminationDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TerminationDetails) SyncEffectiveFieldsDuringRead(existingState TerminationDetails)
func (TerminationDetails) ToObjectValue ¶ added in v1.61.0
func (o TerminationDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationDetails only implements ToObjectValue() and Type().
type TerminationDetails_SdkV2 ¶ added in v1.62.1
type TerminationDetails_SdkV2 struct { // The code indicates why the run was terminated. Additional codes might be // introduced in future releases. * `SUCCESS`: The run was completed // successfully. * `USER_CANCELED`: The run was successfully canceled during // execution by a user. * `CANCELED`: The run was canceled during execution // by the Databricks platform; for example, if the maximum run duration was // exceeded. * `SKIPPED`: Run was never executed, for example, if the // upstream task run failed, the dependency type condition was not met, or // there were no material tasks to execute. * `INTERNAL_ERROR`: The run // encountered an unexpected error. Refer to the state message for further // details. * `DRIVER_ERROR`: The run encountered an error while // communicating with the Spark Driver. * `CLUSTER_ERROR`: The run failed // due to a cluster error. Refer to the state message for further details. * // `REPOSITORY_CHECKOUT_FAILED`: Failed to complete the checkout due to an // error when communicating with the third party service. * // `INVALID_CLUSTER_REQUEST`: The run failed because it issued an invalid // request to start the cluster. * `WORKSPACE_RUN_LIMIT_EXCEEDED`: The // workspace has reached the quota for the maximum number of concurrent // active runs. Consider scheduling the runs over a larger time frame. * // `FEATURE_DISABLED`: The run failed because it tried to access a feature // unavailable for the workspace. * `CLUSTER_REQUEST_LIMIT_EXCEEDED`: The // number of cluster creation, start, and upsize requests have exceeded the // allotted rate limit. Consider spreading the run execution over a larger // time frame. * `STORAGE_ACCESS_ERROR`: The run failed due to an error when // accessing the customer blob storage. Refer to the state message for // further details. * `RUN_EXECUTION_ERROR`: The run was completed with task // failures. For more details, refer to the state message or run output. * // `UNAUTHORIZED_ERROR`: The run failed due to a permission issue while // accessing a resource. Refer to the state message for further details. * // `LIBRARY_INSTALLATION_ERROR`: The run failed while installing the // user-requested library. Refer to the state message for further details. // The causes might include, but are not limited to: The provided library is // invalid, there are insufficient permissions to install the library, and // so forth. * `MAX_CONCURRENT_RUNS_EXCEEDED`: The scheduled run exceeds the // limit of maximum concurrent runs set for the job. * // `MAX_SPARK_CONTEXTS_EXCEEDED`: The run is scheduled on a cluster that has // already reached the maximum number of contexts it is configured to // create. See: [Link]. * `RESOURCE_NOT_FOUND`: A resource necessary for run // execution does not exist. Refer to the state message for further details. // * `INVALID_RUN_CONFIGURATION`: The run failed due to an invalid // configuration. Refer to the state message for further details. * // `CLOUD_FAILURE`: The run failed due to a cloud provider issue. Refer to // the state message for further details. * `MAX_JOB_QUEUE_SIZE_EXCEEDED`: // The run was skipped due to reaching the job level queue size limit. // // [Link]: https://kb.databricks.com/en_US/notebooks/too-many-execution-contexts-are-open-right-now Code types.String `tfsdk:"code"` // A descriptive message with the termination details. This field is // unstructured and the format might change. Message types.String `tfsdk:"message"` // * `SUCCESS`: The run terminated without any issues * `INTERNAL_ERROR`: An // error occurred in the Databricks platform. Please look at the [status // page] or contact support if the issue persists. * `CLIENT_ERROR`: The run // was terminated because of an error caused by user input or the job // configuration. * `CLOUD_FAILURE`: The run was terminated because of an // issue with your cloud provider. // // [status page]: https://status.databricks.com/ Type_ types.String `tfsdk:"type"` }
func (TerminationDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TerminationDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TerminationDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TerminationDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationDetails_SdkV2)
func (*TerminationDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationDetails_SdkV2)
func (TerminationDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TerminationDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationDetails_SdkV2 only implements ToObjectValue() and Type().
type TriggerInfo ¶
type TriggerInfo struct { // The run id of the Run Job task run RunId types.Int64 `tfsdk:"run_id"` }
Additional details about what triggered the run
func (TriggerInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TriggerInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TriggerInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TriggerInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TriggerInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerInfo)
func (*TriggerInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TriggerInfo) SyncEffectiveFieldsDuringRead(existingState TriggerInfo)
func (TriggerInfo) ToObjectValue ¶ added in v1.61.0
func (o TriggerInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TriggerInfo only implements ToObjectValue() and Type().
type TriggerInfo_SdkV2 ¶ added in v1.62.1
type TriggerInfo_SdkV2 struct { // The run id of the Run Job task run RunId types.Int64 `tfsdk:"run_id"` }
Additional details about what triggered the run
func (TriggerInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TriggerInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TriggerInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TriggerInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerInfo_SdkV2)
func (*TriggerInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerInfo_SdkV2)
func (TriggerInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TriggerInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TriggerInfo_SdkV2 only implements ToObjectValue() and Type().
type TriggerSettings ¶
type TriggerSettings struct { // File arrival trigger settings. FileArrival types.Object `tfsdk:"file_arrival"` // Whether this trigger is paused or not. PauseStatus types.String `tfsdk:"pause_status"` // Periodic trigger settings. Periodic types.Object `tfsdk:"periodic"` // Old table trigger settings name. Deprecated in favor of `table_update`. Table types.Object `tfsdk:"table"` TableUpdate types.Object `tfsdk:"table_update"` }
func (TriggerSettings) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TriggerSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TriggerSettings) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TriggerSettings) GetFileArrival ¶ added in v1.61.0
func (o *TriggerSettings) GetFileArrival(ctx context.Context) (FileArrivalTriggerConfiguration, bool)
GetFileArrival returns the value of the FileArrival field in TriggerSettings as a FileArrivalTriggerConfiguration value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings) GetPeriodic ¶ added in v1.61.0
func (o *TriggerSettings) GetPeriodic(ctx context.Context) (PeriodicTriggerConfiguration, bool)
GetPeriodic returns the value of the Periodic field in TriggerSettings as a PeriodicTriggerConfiguration value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings) GetTable ¶ added in v1.61.0
func (o *TriggerSettings) GetTable(ctx context.Context) (TableUpdateTriggerConfiguration, bool)
GetTable returns the value of the Table field in TriggerSettings as a TableUpdateTriggerConfiguration value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings) GetTableUpdate ¶ added in v1.61.0
func (o *TriggerSettings) GetTableUpdate(ctx context.Context) (TableUpdateTriggerConfiguration, bool)
GetTableUpdate returns the value of the TableUpdate field in TriggerSettings as a TableUpdateTriggerConfiguration value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings) SetFileArrival ¶ added in v1.61.0
func (o *TriggerSettings) SetFileArrival(ctx context.Context, v FileArrivalTriggerConfiguration)
SetFileArrival sets the value of the FileArrival field in TriggerSettings.
func (*TriggerSettings) SetPeriodic ¶ added in v1.61.0
func (o *TriggerSettings) SetPeriodic(ctx context.Context, v PeriodicTriggerConfiguration)
SetPeriodic sets the value of the Periodic field in TriggerSettings.
func (*TriggerSettings) SetTable ¶ added in v1.61.0
func (o *TriggerSettings) SetTable(ctx context.Context, v TableUpdateTriggerConfiguration)
SetTable sets the value of the Table field in TriggerSettings.
func (*TriggerSettings) SetTableUpdate ¶ added in v1.61.0
func (o *TriggerSettings) SetTableUpdate(ctx context.Context, v TableUpdateTriggerConfiguration)
SetTableUpdate sets the value of the TableUpdate field in TriggerSettings.
func (*TriggerSettings) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TriggerSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerSettings)
func (*TriggerSettings) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TriggerSettings) SyncEffectiveFieldsDuringRead(existingState TriggerSettings)
func (TriggerSettings) ToObjectValue ¶ added in v1.61.0
func (o TriggerSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TriggerSettings only implements ToObjectValue() and Type().
type TriggerSettings_SdkV2 ¶ added in v1.62.1
type TriggerSettings_SdkV2 struct { // File arrival trigger settings. FileArrival types.List `tfsdk:"file_arrival"` // Whether this trigger is paused or not. PauseStatus types.String `tfsdk:"pause_status"` // Periodic trigger settings. Periodic types.List `tfsdk:"periodic"` // Old table trigger settings name. Deprecated in favor of `table_update`. Table types.List `tfsdk:"table"` TableUpdate types.List `tfsdk:"table_update"` }
func (TriggerSettings_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TriggerSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TriggerSettings_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TriggerSettings_SdkV2) GetFileArrival ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) GetFileArrival(ctx context.Context) (FileArrivalTriggerConfiguration_SdkV2, bool)
GetFileArrival returns the value of the FileArrival field in TriggerSettings_SdkV2 as a FileArrivalTriggerConfiguration_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings_SdkV2) GetPeriodic ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) GetPeriodic(ctx context.Context) (PeriodicTriggerConfiguration_SdkV2, bool)
GetPeriodic returns the value of the Periodic field in TriggerSettings_SdkV2 as a PeriodicTriggerConfiguration_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings_SdkV2) GetTable ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) GetTable(ctx context.Context) (TableUpdateTriggerConfiguration_SdkV2, bool)
GetTable returns the value of the Table field in TriggerSettings_SdkV2 as a TableUpdateTriggerConfiguration_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings_SdkV2) GetTableUpdate ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) GetTableUpdate(ctx context.Context) (TableUpdateTriggerConfiguration_SdkV2, bool)
GetTableUpdate returns the value of the TableUpdate field in TriggerSettings_SdkV2 as a TableUpdateTriggerConfiguration_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*TriggerSettings_SdkV2) SetFileArrival ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) SetFileArrival(ctx context.Context, v FileArrivalTriggerConfiguration_SdkV2)
SetFileArrival sets the value of the FileArrival field in TriggerSettings_SdkV2.
func (*TriggerSettings_SdkV2) SetPeriodic ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) SetPeriodic(ctx context.Context, v PeriodicTriggerConfiguration_SdkV2)
SetPeriodic sets the value of the Periodic field in TriggerSettings_SdkV2.
func (*TriggerSettings_SdkV2) SetTable ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) SetTable(ctx context.Context, v TableUpdateTriggerConfiguration_SdkV2)
SetTable sets the value of the Table field in TriggerSettings_SdkV2.
func (*TriggerSettings_SdkV2) SetTableUpdate ¶ added in v1.62.1
func (o *TriggerSettings_SdkV2) SetTableUpdate(ctx context.Context, v TableUpdateTriggerConfiguration_SdkV2)
SetTableUpdate sets the value of the TableUpdate field in TriggerSettings_SdkV2.
func (*TriggerSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TriggerSettings_SdkV2)
func (*TriggerSettings_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerSettings_SdkV2)
func (TriggerSettings_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TriggerSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TriggerSettings_SdkV2 only implements ToObjectValue() and Type().
type UpdateJob ¶
type UpdateJob struct { // Remove top-level fields in the job settings. Removing nested fields is // not supported, except for tasks and job clusters (`tasks/task_1`). This // field is optional. FieldsToRemove types.List `tfsdk:"fields_to_remove"` // The canonical identifier of the job to update. This field is required. JobId types.Int64 `tfsdk:"job_id"` // The new settings for the job. // // Top-level fields specified in `new_settings` are completely replaced, // except for arrays which are merged. That is, new and existing entries are // completely replaced based on the respective key fields, i.e. `task_key` // or `job_cluster_key`, while previous entries are kept. // // Partially updating nested fields is not supported. // // Changes to the field `JobSettings.timeout_seconds` are applied to active // runs. Changes to other fields are applied to future runs only. NewSettings types.Object `tfsdk:"new_settings"` }
func (UpdateJob) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateJob) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateJob) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateJob) GetFieldsToRemove ¶ added in v1.61.0
GetFieldsToRemove returns the value of the FieldsToRemove field in UpdateJob as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateJob) GetNewSettings ¶ added in v1.61.0
func (o *UpdateJob) GetNewSettings(ctx context.Context) (JobSettings, bool)
GetNewSettings returns the value of the NewSettings field in UpdateJob as a JobSettings value. If the field is unknown or null, the boolean return value is false.
func (*UpdateJob) SetFieldsToRemove ¶ added in v1.61.0
SetFieldsToRemove sets the value of the FieldsToRemove field in UpdateJob.
func (*UpdateJob) SetNewSettings ¶ added in v1.61.0
func (o *UpdateJob) SetNewSettings(ctx context.Context, v JobSettings)
SetNewSettings sets the value of the NewSettings field in UpdateJob.
func (*UpdateJob) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*UpdateJob) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (UpdateJob) ToObjectValue ¶ added in v1.61.0
func (o UpdateJob) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateJob only implements ToObjectValue() and Type().
type UpdateJob_SdkV2 ¶ added in v1.62.1
type UpdateJob_SdkV2 struct { // Remove top-level fields in the job settings. Removing nested fields is // not supported, except for tasks and job clusters (`tasks/task_1`). This // field is optional. FieldsToRemove types.List `tfsdk:"fields_to_remove"` // The canonical identifier of the job to update. This field is required. JobId types.Int64 `tfsdk:"job_id"` // The new settings for the job. // // Top-level fields specified in `new_settings` are completely replaced, // except for arrays which are merged. That is, new and existing entries are // completely replaced based on the respective key fields, i.e. `task_key` // or `job_cluster_key`, while previous entries are kept. // // Partially updating nested fields is not supported. // // Changes to the field `JobSettings.timeout_seconds` are applied to active // runs. Changes to other fields are applied to future runs only. NewSettings types.List `tfsdk:"new_settings"` }
func (UpdateJob_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateJob_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateJob_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateJob. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateJob_SdkV2) GetFieldsToRemove ¶ added in v1.62.1
GetFieldsToRemove returns the value of the FieldsToRemove field in UpdateJob_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateJob_SdkV2) GetNewSettings ¶ added in v1.62.1
func (o *UpdateJob_SdkV2) GetNewSettings(ctx context.Context) (JobSettings_SdkV2, bool)
GetNewSettings returns the value of the NewSettings field in UpdateJob_SdkV2 as a JobSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateJob_SdkV2) SetFieldsToRemove ¶ added in v1.62.1
func (o *UpdateJob_SdkV2) SetFieldsToRemove(ctx context.Context, v []types.String)
SetFieldsToRemove sets the value of the FieldsToRemove field in UpdateJob_SdkV2.
func (*UpdateJob_SdkV2) SetNewSettings ¶ added in v1.62.1
func (o *UpdateJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV2)
SetNewSettings sets the value of the NewSettings field in UpdateJob_SdkV2.
func (*UpdateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateJob_SdkV2)
func (*UpdateJob_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateJob_SdkV2)
func (UpdateJob_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateJob_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateJob_SdkV2 only implements ToObjectValue() and Type().
type UpdateResponse ¶
type UpdateResponse struct { }
func (UpdateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (UpdateResponse) ToObjectValue ¶ added in v1.61.0
func (o UpdateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse only implements ToObjectValue() and Type().
type UpdateResponse_SdkV2 ¶ added in v1.62.1
type UpdateResponse_SdkV2 struct { }
func (UpdateResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (UpdateResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse_SdkV2 only implements ToObjectValue() and Type().
type ViewItem ¶
type ViewItem struct { // Content of the view. Content types.String `tfsdk:"content"` // Name of the view item. In the case of code view, it would be the // notebook’s name. In the case of dashboard view, it would be the // dashboard’s name. Name types.String `tfsdk:"name"` // Type of the view item. Type_ types.String `tfsdk:"type"` }
func (ViewItem) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ViewItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ViewItem) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ViewItem. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ViewItem) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*ViewItem) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (ViewItem) ToObjectValue ¶ added in v1.61.0
func (o ViewItem) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ViewItem only implements ToObjectValue() and Type().
type ViewItem_SdkV2 ¶ added in v1.62.1
type ViewItem_SdkV2 struct { // Content of the view. Content types.String `tfsdk:"content"` // Name of the view item. In the case of code view, it would be the // notebook’s name. In the case of dashboard view, it would be the // dashboard’s name. Name types.String `tfsdk:"name"` // Type of the view item. Type_ types.String `tfsdk:"type"` }
func (ViewItem_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ViewItem_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ViewItem_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ViewItem. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ViewItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ViewItem_SdkV2)
func (*ViewItem_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState ViewItem_SdkV2)
func (ViewItem_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ViewItem_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ViewItem_SdkV2 only implements ToObjectValue() and Type().
type Webhook ¶
func (Webhook) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Webhook) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Webhook) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Webhook. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Webhook) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Webhook) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Webhook) ToObjectValue ¶ added in v1.61.0
func (o Webhook) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Webhook only implements ToObjectValue() and Type().
type WebhookNotifications ¶
type WebhookNotifications struct { // An optional list of system notification IDs to call when the duration of // a run exceeds the threshold specified for the `RUN_DURATION_SECONDS` // metric in the `health` field. A maximum of 3 destinations can be // specified for the `on_duration_warning_threshold_exceeded` property. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // An optional list of system notification IDs to call when the run fails. A // maximum of 3 destinations can be specified for the `on_failure` property. OnFailure types.List `tfsdk:"on_failure"` // An optional list of system notification IDs to call when the run starts. // A maximum of 3 destinations can be specified for the `on_start` property. OnStart types.List `tfsdk:"on_start"` // An optional list of system notification IDs to call when any streaming // backlog thresholds are exceeded for any stream. Streaming backlog // thresholds can be set in the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. A maximum of 3 destinations // can be specified for the `on_streaming_backlog_exceeded` property. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // An optional list of system notification IDs to call when the run // completes successfully. A maximum of 3 destinations can be specified for // the `on_success` property. OnSuccess types.List `tfsdk:"on_success"` }
func (WebhookNotifications) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WebhookNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (WebhookNotifications) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in WebhookNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WebhookNotifications) GetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *WebhookNotifications) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]Webhook, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in WebhookNotifications as a slice of Webhook values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications) GetOnFailure ¶ added in v1.61.0
func (o *WebhookNotifications) GetOnFailure(ctx context.Context) ([]Webhook, bool)
GetOnFailure returns the value of the OnFailure field in WebhookNotifications as a slice of Webhook values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications) GetOnStart ¶ added in v1.61.0
func (o *WebhookNotifications) GetOnStart(ctx context.Context) ([]Webhook, bool)
GetOnStart returns the value of the OnStart field in WebhookNotifications as a slice of Webhook values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications) GetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *WebhookNotifications) GetOnStreamingBacklogExceeded(ctx context.Context) ([]Webhook, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in WebhookNotifications as a slice of Webhook values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications) GetOnSuccess ¶ added in v1.61.0
func (o *WebhookNotifications) GetOnSuccess(ctx context.Context) ([]Webhook, bool)
GetOnSuccess returns the value of the OnSuccess field in WebhookNotifications as a slice of Webhook values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications) SetOnDurationWarningThresholdExceeded ¶ added in v1.61.0
func (o *WebhookNotifications) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []Webhook)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in WebhookNotifications.
func (*WebhookNotifications) SetOnFailure ¶ added in v1.61.0
func (o *WebhookNotifications) SetOnFailure(ctx context.Context, v []Webhook)
SetOnFailure sets the value of the OnFailure field in WebhookNotifications.
func (*WebhookNotifications) SetOnStart ¶ added in v1.61.0
func (o *WebhookNotifications) SetOnStart(ctx context.Context, v []Webhook)
SetOnStart sets the value of the OnStart field in WebhookNotifications.
func (*WebhookNotifications) SetOnStreamingBacklogExceeded ¶ added in v1.61.0
func (o *WebhookNotifications) SetOnStreamingBacklogExceeded(ctx context.Context, v []Webhook)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in WebhookNotifications.
func (*WebhookNotifications) SetOnSuccess ¶ added in v1.61.0
func (o *WebhookNotifications) SetOnSuccess(ctx context.Context, v []Webhook)
SetOnSuccess sets the value of the OnSuccess field in WebhookNotifications.
func (*WebhookNotifications) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *WebhookNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan WebhookNotifications)
func (*WebhookNotifications) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *WebhookNotifications) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications)
func (WebhookNotifications) ToObjectValue ¶ added in v1.61.0
func (o WebhookNotifications) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WebhookNotifications only implements ToObjectValue() and Type().
type WebhookNotifications_SdkV2 ¶ added in v1.62.1
type WebhookNotifications_SdkV2 struct { // An optional list of system notification IDs to call when the duration of // a run exceeds the threshold specified for the `RUN_DURATION_SECONDS` // metric in the `health` field. A maximum of 3 destinations can be // specified for the `on_duration_warning_threshold_exceeded` property. OnDurationWarningThresholdExceeded types.List `tfsdk:"on_duration_warning_threshold_exceeded"` // An optional list of system notification IDs to call when the run fails. A // maximum of 3 destinations can be specified for the `on_failure` property. OnFailure types.List `tfsdk:"on_failure"` // An optional list of system notification IDs to call when the run starts. // A maximum of 3 destinations can be specified for the `on_start` property. OnStart types.List `tfsdk:"on_start"` // An optional list of system notification IDs to call when any streaming // backlog thresholds are exceeded for any stream. Streaming backlog // thresholds can be set in the `health` field using the following metrics: // `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, // `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is // based on the 10-minute average of these metrics. If the issue persists, // notifications are resent every 30 minutes. A maximum of 3 destinations // can be specified for the `on_streaming_backlog_exceeded` property. OnStreamingBacklogExceeded types.List `tfsdk:"on_streaming_backlog_exceeded"` // An optional list of system notification IDs to call when the run // completes successfully. A maximum of 3 destinations can be specified for // the `on_success` property. OnSuccess types.List `tfsdk:"on_success"` }
func (WebhookNotifications_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WebhookNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (WebhookNotifications_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a WebhookNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in WebhookNotifications. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WebhookNotifications_SdkV2) GetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) GetOnDurationWarningThresholdExceeded(ctx context.Context) ([]Webhook_SdkV2, bool)
GetOnDurationWarningThresholdExceeded returns the value of the OnDurationWarningThresholdExceeded field in WebhookNotifications_SdkV2 as a slice of Webhook_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications_SdkV2) GetOnFailure ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) GetOnFailure(ctx context.Context) ([]Webhook_SdkV2, bool)
GetOnFailure returns the value of the OnFailure field in WebhookNotifications_SdkV2 as a slice of Webhook_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications_SdkV2) GetOnStart ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) GetOnStart(ctx context.Context) ([]Webhook_SdkV2, bool)
GetOnStart returns the value of the OnStart field in WebhookNotifications_SdkV2 as a slice of Webhook_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications_SdkV2) GetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) GetOnStreamingBacklogExceeded(ctx context.Context) ([]Webhook_SdkV2, bool)
GetOnStreamingBacklogExceeded returns the value of the OnStreamingBacklogExceeded field in WebhookNotifications_SdkV2 as a slice of Webhook_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications_SdkV2) GetOnSuccess ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) GetOnSuccess(ctx context.Context) ([]Webhook_SdkV2, bool)
GetOnSuccess returns the value of the OnSuccess field in WebhookNotifications_SdkV2 as a slice of Webhook_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*WebhookNotifications_SdkV2) SetOnDurationWarningThresholdExceeded ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) SetOnDurationWarningThresholdExceeded(ctx context.Context, v []Webhook_SdkV2)
SetOnDurationWarningThresholdExceeded sets the value of the OnDurationWarningThresholdExceeded field in WebhookNotifications_SdkV2.
func (*WebhookNotifications_SdkV2) SetOnFailure ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) SetOnFailure(ctx context.Context, v []Webhook_SdkV2)
SetOnFailure sets the value of the OnFailure field in WebhookNotifications_SdkV2.
func (*WebhookNotifications_SdkV2) SetOnStart ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) SetOnStart(ctx context.Context, v []Webhook_SdkV2)
SetOnStart sets the value of the OnStart field in WebhookNotifications_SdkV2.
func (*WebhookNotifications_SdkV2) SetOnStreamingBacklogExceeded ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) SetOnStreamingBacklogExceeded(ctx context.Context, v []Webhook_SdkV2)
SetOnStreamingBacklogExceeded sets the value of the OnStreamingBacklogExceeded field in WebhookNotifications_SdkV2.
func (*WebhookNotifications_SdkV2) SetOnSuccess ¶ added in v1.62.1
func (o *WebhookNotifications_SdkV2) SetOnSuccess(ctx context.Context, v []Webhook_SdkV2)
SetOnSuccess sets the value of the OnSuccess field in WebhookNotifications_SdkV2.
func (*WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WebhookNotifications_SdkV2)
func (*WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications_SdkV2)
func (WebhookNotifications_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o WebhookNotifications_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WebhookNotifications_SdkV2 only implements ToObjectValue() and Type().
type Webhook_SdkV2 ¶ added in v1.62.1
func (Webhook_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Webhook_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Webhook_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Webhook. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Webhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Webhook_SdkV2)
func (*Webhook_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState Webhook_SdkV2)
func (Webhook_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Webhook_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Webhook_SdkV2 only implements ToObjectValue() and Type().