Documentation ¶
Index ¶
- type Activity
- type ApproveTransitionRequest
- type ApproveTransitionRequestResponse
- type CommentObject
- type CreateComment
- type CreateCommentResponse
- type CreateExperiment
- type CreateExperimentResponse
- type CreateModelRequest
- type CreateModelResponse
- type CreateModelVersionRequest
- type CreateModelVersionResponse
- type CreateRegistryWebhook
- type CreateRun
- type CreateRunResponse
- type CreateTransitionRequest
- type CreateTransitionRequestResponse
- type CreateWebhookResponse
- type Dataset
- type DatasetInput
- type DeleteCommentRequest
- type DeleteCommentResponse
- type DeleteExperiment
- type DeleteExperimentResponse
- type DeleteModelRequest
- type DeleteModelResponse
- type DeleteModelTagRequest
- type DeleteModelTagResponse
- type DeleteModelVersionRequest
- type DeleteModelVersionResponse
- type DeleteModelVersionTagRequest
- type DeleteModelVersionTagResponse
- type DeleteRun
- type DeleteRunResponse
- type DeleteRuns
- type DeleteRunsResponse
- type DeleteTag
- type DeleteTagResponse
- type DeleteTransitionRequestRequest
- type DeleteTransitionRequestResponse
- type DeleteWebhookRequest
- type DeleteWebhookResponse
- type Experiment
- type ExperimentAccessControlRequest
- type ExperimentAccessControlResponse
- type ExperimentPermission
- type ExperimentPermissions
- type ExperimentPermissionsDescription
- type ExperimentPermissionsRequest
- type ExperimentTag
- type FileInfo
- type GetByNameRequest
- type GetExperimentPermissionLevelsRequest
- type GetExperimentPermissionLevelsResponse
- type GetExperimentPermissionsRequest
- type GetExperimentRequest
- type GetExperimentResponse
- type GetHistoryRequest
- type GetLatestVersionsRequest
- type GetLatestVersionsResponse
- type GetMetricHistoryResponse
- type GetModelRequest
- type GetModelResponse
- type GetModelVersionDownloadUriRequest
- type GetModelVersionDownloadUriResponse
- type GetModelVersionRequest
- type GetModelVersionResponse
- type GetRegisteredModelPermissionLevelsRequest
- type GetRegisteredModelPermissionLevelsResponse
- type GetRegisteredModelPermissionsRequest
- type GetRunRequest
- type GetRunResponse
- type HttpUrlSpec
- type HttpUrlSpecWithoutSecret
- type InputTag
- type JobSpec
- type JobSpecWithoutSecret
- type ListArtifactsRequest
- type ListArtifactsResponse
- type ListExperimentsRequest
- type ListExperimentsResponse
- type ListModelsRequest
- type ListModelsResponse
- type ListRegistryWebhooks
- type ListTransitionRequestsRequest
- type ListTransitionRequestsResponse
- type ListWebhooksRequest
- type LogBatch
- type LogBatchResponse
- type LogInputs
- type LogInputsResponse
- type LogMetric
- type LogMetricResponse
- type LogModel
- type LogModelResponse
- type LogParam
- type LogParamResponse
- type Metric
- type Model
- type ModelDatabricks
- type ModelTag
- type ModelVersion
- type ModelVersionDatabricks
- type ModelVersionTag
- type Param
- type RegisteredModelAccessControlRequest
- type RegisteredModelAccessControlResponse
- type RegisteredModelPermission
- type RegisteredModelPermissions
- type RegisteredModelPermissionsDescription
- type RegisteredModelPermissionsRequest
- type RegistryWebhook
- type RejectTransitionRequest
- type RejectTransitionRequestResponse
- type RenameModelRequest
- type RenameModelResponse
- type RestoreExperiment
- type RestoreExperimentResponse
- type RestoreRun
- type RestoreRunResponse
- type RestoreRuns
- type RestoreRunsResponse
- type Run
- type RunData
- type RunInfo
- type RunInputs
- type RunTag
- type SearchExperiments
- type SearchExperimentsResponse
- type SearchModelVersionsRequest
- type SearchModelVersionsResponse
- type SearchModelsRequest
- type SearchModelsResponse
- type SearchRuns
- type SearchRunsResponse
- type SetExperimentTag
- type SetExperimentTagResponse
- type SetModelTagRequest
- type SetModelTagResponse
- type SetModelVersionTagRequest
- type SetModelVersionTagResponse
- type SetTag
- type SetTagResponse
- type TestRegistryWebhook
- type TestRegistryWebhookRequest
- type TestRegistryWebhookResponse
- type TransitionModelVersionStageDatabricks
- type TransitionRequest
- type TransitionStageResponse
- type UpdateComment
- type UpdateCommentResponse
- type UpdateExperiment
- type UpdateExperimentResponse
- type UpdateModelRequest
- type UpdateModelResponse
- type UpdateModelVersionRequest
- type UpdateModelVersionResponse
- type UpdateRegistryWebhook
- type UpdateRun
- type UpdateRunResponse
- type UpdateWebhookResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { // Type of activity. Valid values are: * `APPLIED_TRANSITION`: User applied // the corresponding stage transition. // // * `REQUESTED_TRANSITION`: User requested the corresponding stage // transition. // // * `CANCELLED_REQUEST`: User cancelled an existing transition request. // // * `APPROVED_REQUEST`: User approved the corresponding stage transition. // // * `REJECTED_REQUEST`: User rejected the coressponding stage transition. // // * `SYSTEM_TRANSITION`: For events performed as a side effect, such as // archiving existing model versions in a stage. ActivityType types.String `tfsdk:"activity_type" tf:"optional"` // User-provided comment associated with the activity. Comment types.String `tfsdk:"comment" tf:"optional"` // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Source stage of the transition (if the activity is stage transition // related). Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. FromStage types.String `tfsdk:"from_stage" tf:"optional"` // Unique identifier for the object. Id types.String `tfsdk:"id" tf:"optional"` // Time of the object at last update, as a Unix timestamp in milliseconds. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Comment made by system, for example explaining an activity of type // `SYSTEM_TRANSITION`. It usually describes a side effect, such as a // version being archived as part of another version's stage transition, and // may not be returned for some activity types. SystemComment types.String `tfsdk:"system_comment" tf:"optional"` // Target stage of the transition (if the activity is stage transition // related). Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. ToStage types.String `tfsdk:"to_stage" tf:"optional"` // The username of the user that created the object. UserId types.String `tfsdk:"user_id" tf:"optional"` }
Activity recorded for the action.
func (*Activity) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Activity) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type ApproveTransitionRequest ¶
type ApproveTransitionRequest struct { // Specifies whether to archive all current model versions in the target // stage. ArchiveExistingVersions types.Bool `tfsdk:"archive_existing_versions" tf:""` // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:""` // Target stage of the transition. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. Stage types.String `tfsdk:"stage" tf:""` // Version of the model. Version types.String `tfsdk:"version" tf:""` }
func (*ApproveTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ApproveTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ApproveTransitionRequest)
func (*ApproveTransitionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ApproveTransitionRequest) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequest)
type ApproveTransitionRequestResponse ¶
type ApproveTransitionRequestResponse struct { // Activity recorded for the action. Activity []Activity `tfsdk:"activity" tf:"optional,object"` }
func (*ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ApproveTransitionRequestResponse)
func (*ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequestResponse)
type CommentObject ¶
type CommentObject struct { // Array of actions on the activity allowed for the current viewer. AvailableActions []types.String `tfsdk:"available_actions" tf:"optional"` // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:"optional"` // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Comment ID Id types.String `tfsdk:"id" tf:"optional"` // Time of the object at last update, as a Unix timestamp in milliseconds. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // The username of the user that created the object. UserId types.String `tfsdk:"user_id" tf:"optional"` }
Comment details.
func (*CommentObject) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CommentObject) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommentObject)
func (*CommentObject) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CommentObject) SyncEffectiveFieldsDuringRead(existingState CommentObject)
type CreateComment ¶
type CreateComment struct { // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:""` // Name of the model. Name types.String `tfsdk:"name" tf:""` // Version of the model. Version types.String `tfsdk:"version" tf:""` }
func (*CreateComment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateComment) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateComment)
func (*CreateComment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateComment) SyncEffectiveFieldsDuringRead(existingState CreateComment)
type CreateCommentResponse ¶
type CreateCommentResponse struct { // Comment details. Comment []CommentObject `tfsdk:"comment" tf:"optional,object"` }
func (*CreateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCommentResponse)
func (*CreateCommentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateCommentResponse) SyncEffectiveFieldsDuringRead(existingState CreateCommentResponse)
type CreateExperiment ¶
type CreateExperiment struct { // Location where all artifacts for the experiment are stored. If not // provided, the remote server will select an appropriate default. ArtifactLocation types.String `tfsdk:"artifact_location" tf:"optional"` // Experiment name. Name types.String `tfsdk:"name" tf:""` // A collection of tags to set on the experiment. Maximum tag size and // number of tags per request depends on the storage backend. All storage // backends are guaranteed to support tag keys up to 250 bytes in size and // tag values up to 5000 bytes in size. All storage backends are also // guaranteed to support up to 20 tags per request. Tags []ExperimentTag `tfsdk:"tags" tf:"optional"` }
func (*CreateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateExperiment)
func (*CreateExperiment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateExperiment) SyncEffectiveFieldsDuringRead(existingState CreateExperiment)
type CreateExperimentResponse ¶
type CreateExperimentResponse struct { // Unique identifier for the experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:"optional"` }
func (*CreateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateExperimentResponse)
func (*CreateExperimentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateExperimentResponse) SyncEffectiveFieldsDuringRead(existingState CreateExperimentResponse)
type CreateModelRequest ¶
type CreateModelRequest struct { // Optional description for registered model. Description types.String `tfsdk:"description" tf:"optional"` // Register models under this name Name types.String `tfsdk:"name" tf:""` // Additional metadata for registered model. Tags []ModelTag `tfsdk:"tags" tf:"optional"` }
func (*CreateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateModelRequest)
func (*CreateModelRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateModelRequest) SyncEffectiveFieldsDuringRead(existingState CreateModelRequest)
type CreateModelResponse ¶
type CreateModelResponse struct {
RegisteredModel []Model `tfsdk:"registered_model" tf:"optional,object"`
}
func (*CreateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateModelResponse)
func (*CreateModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateModelResponse) SyncEffectiveFieldsDuringRead(existingState CreateModelResponse)
type CreateModelVersionRequest ¶
type CreateModelVersionRequest struct { // Optional description for model version. Description types.String `tfsdk:"description" tf:"optional"` // Register model under this name Name types.String `tfsdk:"name" tf:""` // MLflow run ID for correlation, if `source` was generated by an experiment // run in MLflow tracking server RunId types.String `tfsdk:"run_id" tf:"optional"` // MLflow run link - this is the exact link of the run that generated this // model version, potentially hosted at another instance of MLflow. RunLink types.String `tfsdk:"run_link" tf:"optional"` // URI indicating the location of the model artifacts. Source types.String `tfsdk:"source" tf:""` // Additional metadata for model version. Tags []ModelVersionTag `tfsdk:"tags" tf:"optional"` }
func (*CreateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateModelVersionRequest)
func (*CreateModelVersionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionRequest)
type CreateModelVersionResponse ¶
type CreateModelVersionResponse struct { // Return new version number generated for this model in registry. ModelVersion []ModelVersion `tfsdk:"model_version" tf:"optional,object"` }
func (*CreateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateModelVersionResponse)
func (*CreateModelVersionResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionResponse)
type CreateRegistryWebhook ¶
type CreateRegistryWebhook struct { // User-specified description for the webhook. Description types.String `tfsdk:"description" tf:"optional"` // Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A // new model version was created for the associated model. // // * `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was // changed. // // * `TRANSITION_REQUEST_CREATED`: A user requested a model version’s // stage be transitioned. // // * `COMMENT_CREATED`: A user wrote a comment on a registered model. // // * `REGISTERED_MODEL_CREATED`: A new registered model was created. This // event type can only be specified for a registry-wide webhook, which can // be created by not specifying a model name in the create request. // // * `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. // // * `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was // transitioned to staging. // // * `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was // transitioned to production. // // * `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. // // * `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model // version be transitioned to staging. // // * `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model // version be transitioned to production. // // * `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model // version be archived. Events []types.String `tfsdk:"events" tf:""` HttpUrlSpec []HttpUrlSpec `tfsdk:"http_url_spec" tf:"optional,object"` JobSpec []JobSpec `tfsdk:"job_spec" tf:"optional,object"` // Name of the model whose events would trigger this webhook. ModelName types.String `tfsdk:"model_name" tf:"optional"` // Enable or disable triggering the webhook, or put the webhook into test // mode. The default is `ACTIVE`: * `ACTIVE`: Webhook is triggered when an // associated event happens. // // * `DISABLED`: Webhook is not triggered. // // * `TEST_MODE`: Webhook can be triggered through the test endpoint, but is // not triggered on a real event. Status types.String `tfsdk:"status" tf:"optional"` }
func (*CreateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRegistryWebhook)
func (*CreateRegistryWebhook) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState CreateRegistryWebhook)
type CreateRun ¶
type CreateRun struct { // ID of the associated experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:"optional"` // Unix timestamp in milliseconds of when the run started. StartTime types.Int64 `tfsdk:"start_time" tf:"optional"` // Additional metadata for run. Tags []RunTag `tfsdk:"tags" tf:"optional"` // ID of the user executing the run. This field is deprecated as of MLflow // 1.0, and will be removed in a future MLflow release. Use 'mlflow.user' // tag instead. UserId types.String `tfsdk:"user_id" tf:"optional"` }
func (*CreateRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*CreateRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type CreateRunResponse ¶
type CreateRunResponse struct { // The newly created run. Run []Run `tfsdk:"run" tf:"optional,object"` }
func (*CreateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRunResponse)
func (*CreateRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateRunResponse) SyncEffectiveFieldsDuringRead(existingState CreateRunResponse)
type CreateTransitionRequest ¶
type CreateTransitionRequest struct { // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:""` // Target stage of the transition. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. Stage types.String `tfsdk:"stage" tf:""` // Version of the model. Version types.String `tfsdk:"version" tf:""` }
func (*CreateTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateTransitionRequest)
func (*CreateTransitionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateTransitionRequest) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequest)
type CreateTransitionRequestResponse ¶
type CreateTransitionRequestResponse struct { // Transition request details. Request []TransitionRequest `tfsdk:"request" tf:"optional,object"` }
func (*CreateTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateTransitionRequestResponse)
func (*CreateTransitionRequestResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequestResponse)
type CreateWebhookResponse ¶
type CreateWebhookResponse struct {
Webhook []RegistryWebhook `tfsdk:"webhook" tf:"optional,object"`
}
func (*CreateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWebhookResponse)
func (*CreateWebhookResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateWebhookResponse) SyncEffectiveFieldsDuringRead(existingState CreateWebhookResponse)
type Dataset ¶
type Dataset struct { // Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies // it within datasets of the same name. Digest types.String `tfsdk:"digest" tf:"optional"` // The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, // “fantastic-elk-3” Name types.String `tfsdk:"name" tf:"optional"` // The profile of the dataset. Summary statistics for the dataset, such as // the number of rows in a table, the mean / std / mode of each column in a // table, or the number of elements in an array. Profile types.String `tfsdk:"profile" tf:"optional"` // The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, // MLflow TensorSpec JSON for an ndarray, or another schema format. Schema types.String `tfsdk:"schema" tf:"optional"` // The type of the dataset source, e.g. ‘databricks-uc-table’, // ‘DBFS’, ‘S3’, ... Source types.String `tfsdk:"source" tf:"optional"` // Source information for the dataset. Note that the source may not exactly // reproduce the dataset if it was transformed / modified before use with // MLflow. SourceType types.String `tfsdk:"source_type" tf:"optional"` }
func (*Dataset) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Dataset) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type DatasetInput ¶
type DatasetInput struct { // The dataset being used as a Run input. Dataset []Dataset `tfsdk:"dataset" tf:"optional,object"` // A list of tags for the dataset input, e.g. a “context” tag with value // “training” Tags []InputTag `tfsdk:"tags" tf:"optional"` }
func (*DatasetInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DatasetInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan DatasetInput)
func (*DatasetInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DatasetInput) SyncEffectiveFieldsDuringRead(existingState DatasetInput)
type DeleteCommentRequest ¶
Delete a comment
func (*DeleteCommentRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteCommentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentRequest)
func (*DeleteCommentRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteCommentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCommentRequest)
type DeleteCommentResponse ¶
type DeleteCommentResponse struct { }
func (*DeleteCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentResponse)
func (*DeleteCommentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteCommentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCommentResponse)
type DeleteExperiment ¶
type DeleteExperiment struct { // ID of the associated experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:""` }
func (*DeleteExperiment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExperiment)
func (*DeleteExperiment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteExperiment) SyncEffectiveFieldsDuringRead(existingState DeleteExperiment)
type DeleteExperimentResponse ¶
type DeleteExperimentResponse struct { }
func (*DeleteExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExperimentResponse)
func (*DeleteExperimentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteExperimentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteExperimentResponse)
type DeleteModelRequest ¶
type DeleteModelRequest struct { // Registered model unique name identifier. Name types.String `tfsdk:"-"` }
Delete a model
func (*DeleteModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelRequest)
func (*DeleteModelRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelRequest)
type DeleteModelResponse ¶
type DeleteModelResponse struct { }
func (*DeleteModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelResponse)
func (*DeleteModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelResponse)
type DeleteModelTagRequest ¶
type DeleteModelTagRequest struct { // Name of the tag. The name must be an exact match; wild-card deletion is // not supported. Maximum size is 250 bytes. Key types.String `tfsdk:"-"` // Name of the registered model that the tag was logged under. Name types.String `tfsdk:"-"` }
Delete a model tag
func (*DeleteModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagRequest)
func (*DeleteModelTagRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelTagRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagRequest)
type DeleteModelTagResponse ¶
type DeleteModelTagResponse struct { }
func (*DeleteModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagResponse)
func (*DeleteModelTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagResponse)
type DeleteModelVersionRequest ¶
type DeleteModelVersionRequest struct { // Name of the registered model Name types.String `tfsdk:"-"` // Model version number Version types.String `tfsdk:"-"` }
Delete a model version.
func (*DeleteModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionRequest)
func (*DeleteModelVersionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionRequest)
type DeleteModelVersionResponse ¶
type DeleteModelVersionResponse struct { }
func (*DeleteModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionResponse)
func (*DeleteModelVersionResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionResponse)
type DeleteModelVersionTagRequest ¶
type DeleteModelVersionTagRequest struct { // Name of the tag. The name must be an exact match; wild-card deletion is // not supported. Maximum size is 250 bytes. Key types.String `tfsdk:"-"` // Name of the registered model that the tag was logged under. Name types.String `tfsdk:"-"` // Model version number that the tag was logged under. Version types.String `tfsdk:"-"` }
Delete a model version tag
func (*DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagRequest)
func (*DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagRequest)
type DeleteModelVersionTagResponse ¶
type DeleteModelVersionTagResponse struct { }
func (*DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagResponse)
func (*DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagResponse)
type DeleteRun ¶
func (*DeleteRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DeleteRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type DeleteRunResponse ¶
type DeleteRunResponse struct { }
func (*DeleteRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRunResponse)
func (*DeleteRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRunResponse)
type DeleteRuns ¶
type DeleteRuns struct { // The ID of the experiment containing the runs to delete. ExperimentId types.String `tfsdk:"experiment_id" tf:""` // An optional positive integer indicating the maximum number of runs to // delete. The maximum allowed value for max_runs is 10000. MaxRuns types.Int64 `tfsdk:"max_runs" tf:"optional"` // The maximum creation timestamp in milliseconds since the UNIX epoch for // deleting runs. Only runs created prior to or at this timestamp are // deleted. MaxTimestampMillis types.Int64 `tfsdk:"max_timestamp_millis" tf:""` }
func (*DeleteRuns) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRuns)
func (*DeleteRuns) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteRuns) SyncEffectiveFieldsDuringRead(existingState DeleteRuns)
type DeleteRunsResponse ¶
type DeleteRunsResponse struct { // The number of runs deleted. RunsDeleted types.Int64 `tfsdk:"runs_deleted" tf:"optional"` }
func (*DeleteRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRunsResponse)
func (*DeleteRunsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteRunsResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRunsResponse)
type DeleteTag ¶
type DeleteTag struct { // Name of the tag. Maximum size is 255 bytes. Must be provided. Key types.String `tfsdk:"key" tf:""` // ID of the run that the tag was logged under. Must be provided. RunId types.String `tfsdk:"run_id" tf:""` }
func (*DeleteTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DeleteTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type DeleteTagResponse ¶
type DeleteTagResponse struct { }
func (*DeleteTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTagResponse)
func (*DeleteTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteTagResponse)
type DeleteTransitionRequestRequest ¶
type DeleteTransitionRequestRequest struct { // User-provided comment on the action. Comment types.String `tfsdk:"-"` // Username of the user who created this request. Of the transition requests // matching the specified details, only the one transition created by this // user will be deleted. Creator types.String `tfsdk:"-"` // Name of the model. Name types.String `tfsdk:"-"` // Target stage of the transition request. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. Stage types.String `tfsdk:"-"` // Version of the model. Version types.String `tfsdk:"-"` }
Delete a transition request
func (*DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestRequest)
func (*DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestRequest)
type DeleteTransitionRequestResponse ¶
type DeleteTransitionRequestResponse struct { }
func (*DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestResponse)
func (*DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestResponse)
type DeleteWebhookRequest ¶
type DeleteWebhookRequest struct { // Webhook ID required to delete a registry webhook. Id types.String `tfsdk:"-"` }
Delete a webhook
func (*DeleteWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookRequest)
func (*DeleteWebhookRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteWebhookRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookRequest)
type DeleteWebhookResponse ¶
type DeleteWebhookResponse struct { }
func (*DeleteWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookResponse)
func (*DeleteWebhookResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteWebhookResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookResponse)
type Experiment ¶
type Experiment struct { // Location where artifacts for the experiment are stored. ArtifactLocation types.String `tfsdk:"artifact_location" tf:"optional"` // Creation time CreationTime types.Int64 `tfsdk:"creation_time" tf:"optional"` // Unique identifier for the experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:"optional"` // Last update time LastUpdateTime types.Int64 `tfsdk:"last_update_time" tf:"optional"` // Current life cycle stage of the experiment: "active" or "deleted". // Deleted experiments are not returned by APIs. LifecycleStage types.String `tfsdk:"lifecycle_stage" tf:"optional"` // Human readable name that identifies the experiment. Name types.String `tfsdk:"name" tf:"optional"` // Tags: Additional metadata key-value pairs. Tags []ExperimentTag `tfsdk:"tags" tf:"optional"` }
func (*Experiment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Experiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Experiment)
func (*Experiment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Experiment) SyncEffectiveFieldsDuringRead(existingState Experiment)
type ExperimentAccessControlRequest ¶
type ExperimentAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*ExperimentAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentAccessControlRequest)
func (*ExperimentAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlRequest)
type ExperimentAccessControlResponse ¶
type ExperimentAccessControlResponse struct { // All permissions. AllPermissions []ExperimentPermission `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*ExperimentAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentAccessControlResponse)
func (*ExperimentAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlResponse)
type ExperimentPermission ¶
type ExperimentPermission struct { Inherited types.Bool `tfsdk:"inherited" tf:"optional"` InheritedFromObject []types.String `tfsdk:"inherited_from_object" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (*ExperimentPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentPermission)
func (*ExperimentPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentPermission) SyncEffectiveFieldsDuringRead(existingState ExperimentPermission)
type ExperimentPermissions ¶
type ExperimentPermissions struct { AccessControlList []ExperimentAccessControlResponse `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
func (*ExperimentPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentPermissions)
func (*ExperimentPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentPermissions) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissions)
type ExperimentPermissionsDescription ¶
type ExperimentPermissionsDescription struct { Description types.String `tfsdk:"description" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (*ExperimentPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentPermissionsDescription)
func (*ExperimentPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsDescription)
type ExperimentPermissionsRequest ¶
type ExperimentPermissionsRequest struct { AccessControlList []ExperimentAccessControlRequest `tfsdk:"access_control_list" tf:"optional"` // The experiment for which to get or manage permissions. ExperimentId types.String `tfsdk:"-"` }
func (*ExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentPermissionsRequest)
func (*ExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsRequest)
type ExperimentTag ¶
type ExperimentTag struct { // The tag key. Key types.String `tfsdk:"key" tf:"optional"` // The tag value. Value types.String `tfsdk:"value" tf:"optional"` }
func (*ExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExperimentTag)
func (*ExperimentTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExperimentTag) SyncEffectiveFieldsDuringRead(existingState ExperimentTag)
type FileInfo ¶
type FileInfo struct { // Size in bytes. Unset for directories. FileSize types.Int64 `tfsdk:"file_size" tf:"optional"` // Whether the path is a directory. IsDir types.Bool `tfsdk:"is_dir" tf:"optional"` // Path relative to the root artifact directory run. Path types.String `tfsdk:"path" tf:"optional"` }
func (*FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*FileInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type GetByNameRequest ¶
type GetByNameRequest struct { // Name of the associated experiment. ExperimentName types.String `tfsdk:"-"` }
Get metadata
func (*GetByNameRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetByNameRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetByNameRequest)
func (*GetByNameRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetByNameRequest) SyncEffectiveFieldsDuringRead(existingState GetByNameRequest)
type GetExperimentPermissionLevelsRequest ¶
type GetExperimentPermissionLevelsRequest struct { // The experiment for which to get or manage permissions. ExperimentId types.String `tfsdk:"-"` }
Get experiment permission levels
func (*GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionLevelsRequest)
func (*GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsRequest)
type GetExperimentPermissionLevelsResponse ¶
type GetExperimentPermissionLevelsResponse struct { // Specific permission levels PermissionLevels []ExperimentPermissionsDescription `tfsdk:"permission_levels" tf:"optional"` }
func (*GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionLevelsResponse)
func (*GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsResponse)
type GetExperimentPermissionsRequest ¶
type GetExperimentPermissionsRequest struct { // The experiment for which to get or manage permissions. ExperimentId types.String `tfsdk:"-"` }
Get experiment permissions
func (*GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionsRequest)
func (*GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionsRequest)
type GetExperimentRequest ¶
type GetExperimentRequest struct { // ID of the associated experiment. ExperimentId types.String `tfsdk:"-"` }
Get an experiment
func (*GetExperimentRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetExperimentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentRequest)
func (*GetExperimentRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetExperimentRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentRequest)
type GetExperimentResponse ¶
type GetExperimentResponse struct { // Experiment details. Experiment []Experiment `tfsdk:"experiment" tf:"optional,object"` }
func (*GetExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentResponse)
func (*GetExperimentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetExperimentResponse) SyncEffectiveFieldsDuringRead(existingState GetExperimentResponse)
type GetHistoryRequest ¶
type GetHistoryRequest struct { // Maximum number of Metric records to return per paginated request. Default // is set to 25,000. If set higher than 25,000, a request Exception will be // raised. MaxResults types.Int64 `tfsdk:"-"` // Name of the metric. MetricKey types.String `tfsdk:"-"` // Token indicating the page of metric histories to fetch. PageToken types.String `tfsdk:"-"` // ID of the run from which to fetch metric values. Must be provided. RunId types.String `tfsdk:"-"` // [Deprecated, use run_id instead] ID of the run from which to fetch metric // values. This field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"-"` }
Get history of a given metric within a run
func (*GetHistoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetHistoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetHistoryRequest)
func (*GetHistoryRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetHistoryRequest) SyncEffectiveFieldsDuringRead(existingState GetHistoryRequest)
type GetLatestVersionsRequest ¶
type GetLatestVersionsRequest struct { // Registered model unique name identifier. Name types.String `tfsdk:"name" tf:""` // List of stages. Stages []types.String `tfsdk:"stages" tf:"optional"` }
func (*GetLatestVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetLatestVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetLatestVersionsRequest)
func (*GetLatestVersionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetLatestVersionsRequest) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsRequest)
type GetLatestVersionsResponse ¶
type GetLatestVersionsResponse struct { // Latest version models for each requests stage. Only return models with // current `READY` status. If no `stages` provided, returns the latest // version for each stage, including `"None"`. ModelVersions []ModelVersion `tfsdk:"model_versions" tf:"optional"` }
func (*GetLatestVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetLatestVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetLatestVersionsResponse)
func (*GetLatestVersionsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetLatestVersionsResponse) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsResponse)
type GetMetricHistoryResponse ¶
type GetMetricHistoryResponse struct { // All logged values for this metric. Metrics []Metric `tfsdk:"metrics" tf:"optional"` // Token that can be used to retrieve the next page of metric history // results NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (*GetMetricHistoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetMetricHistoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetricHistoryResponse)
func (*GetMetricHistoryResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetMetricHistoryResponse) SyncEffectiveFieldsDuringRead(existingState GetMetricHistoryResponse)
type GetModelRequest ¶
type GetModelRequest struct { // Registered model unique name identifier. Name types.String `tfsdk:"-"` }
Get model
func (*GetModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelRequest)
func (*GetModelRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelRequest) SyncEffectiveFieldsDuringRead(existingState GetModelRequest)
type GetModelResponse ¶
type GetModelResponse struct {
RegisteredModelDatabricks []ModelDatabricks `tfsdk:"registered_model_databricks" tf:"optional,object"`
}
func (*GetModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelResponse)
func (*GetModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelResponse) SyncEffectiveFieldsDuringRead(existingState GetModelResponse)
type GetModelVersionDownloadUriRequest ¶
type GetModelVersionDownloadUriRequest struct { // Name of the registered model Name types.String `tfsdk:"-"` // Model version number Version types.String `tfsdk:"-"` }
Get a model version URI
func (*GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionDownloadUriRequest)
func (*GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriRequest)
type GetModelVersionDownloadUriResponse ¶
type GetModelVersionDownloadUriResponse struct { // URI corresponding to where artifacts for this model version are stored. ArtifactUri types.String `tfsdk:"artifact_uri" tf:"optional"` }
func (*GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionDownloadUriResponse)
func (*GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriResponse)
type GetModelVersionRequest ¶
type GetModelVersionRequest struct { // Name of the registered model Name types.String `tfsdk:"-"` // Model version number Version types.String `tfsdk:"-"` }
Get a model version
func (*GetModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionRequest)
func (*GetModelVersionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState GetModelVersionRequest)
type GetModelVersionResponse ¶
type GetModelVersionResponse struct {
ModelVersion []ModelVersion `tfsdk:"model_version" tf:"optional,object"`
}
func (*GetModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionResponse)
func (*GetModelVersionResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState GetModelVersionResponse)
type GetRegisteredModelPermissionLevelsRequest ¶
type GetRegisteredModelPermissionLevelsRequest struct { // The registered model for which to get or manage permissions. RegisteredModelId types.String `tfsdk:"-"` }
Get registered model permission levels
func (*GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionLevelsRequest)
func (*GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsRequest)
type GetRegisteredModelPermissionLevelsResponse ¶
type GetRegisteredModelPermissionLevelsResponse struct { // Specific permission levels PermissionLevels []RegisteredModelPermissionsDescription `tfsdk:"permission_levels" tf:"optional"` }
func (*GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionLevelsResponse)
func (*GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsResponse)
type GetRegisteredModelPermissionsRequest ¶
type GetRegisteredModelPermissionsRequest struct { // The registered model for which to get or manage permissions. RegisteredModelId types.String `tfsdk:"-"` }
Get registered model permissions
func (*GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionsRequest)
func (*GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionsRequest)
type GetRunRequest ¶
type GetRunRequest struct { // ID of the run to fetch. Must be provided. RunId types.String `tfsdk:"-"` // [Deprecated, use run_id instead] ID of the run to fetch. This field will // be removed in a future MLflow version. RunUuid types.String `tfsdk:"-"` }
Get a run
func (*GetRunRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRunRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunRequest)
func (*GetRunRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRunRequest) SyncEffectiveFieldsDuringRead(existingState GetRunRequest)
type GetRunResponse ¶
type GetRunResponse struct { // Run metadata (name, start time, etc) and data (metrics, params, and // tags). Run []Run `tfsdk:"run" tf:"optional,object"` }
func (*GetRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunResponse)
func (*GetRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRunResponse) SyncEffectiveFieldsDuringRead(existingState GetRunResponse)
type HttpUrlSpec ¶
type HttpUrlSpec struct { // Value of the authorization header that should be sent in the request sent // by the wehbook. It should be of the form `"<auth type> <credentials>"`. // If set to an empty string, no authorization header will be included in // the request. Authorization types.String `tfsdk:"authorization" tf:"optional"` // Enable/disable SSL certificate validation. Default is true. For // self-signed certificates, this field must be false AND the destination // server must disable certificate validation as well. For security // purposes, it is encouraged to perform secret validation with the // HMAC-encoded portion of the payload and acknowledge the risk associated // with disabling hostname validation whereby it becomes more likely that // requests can be maliciously routed to an unintended host. EnableSslVerification types.Bool `tfsdk:"enable_ssl_verification" tf:"optional"` // Shared secret required for HMAC encoding payload. The HMAC-encoded // payload will be sent in the header as: { "X-Databricks-Signature": // $encoded_payload }. Secret types.String `tfsdk:"secret" tf:"optional"` // External HTTPS URL called on event trigger (by using a POST request). Url types.String `tfsdk:"url" tf:""` }
func (*HttpUrlSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *HttpUrlSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan HttpUrlSpec)
func (*HttpUrlSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *HttpUrlSpec) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpec)
type HttpUrlSpecWithoutSecret ¶
type HttpUrlSpecWithoutSecret struct { // Enable/disable SSL certificate validation. Default is true. For // self-signed certificates, this field must be false AND the destination // server must disable certificate validation as well. For security // purposes, it is encouraged to perform secret validation with the // HMAC-encoded portion of the payload and acknowledge the risk associated // with disabling hostname validation whereby it becomes more likely that // requests can be maliciously routed to an unintended host. EnableSslVerification types.Bool `tfsdk:"enable_ssl_verification" tf:"optional"` // External HTTPS URL called on event trigger (by using a POST request). Url types.String `tfsdk:"url" tf:"optional"` }
func (*HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan HttpUrlSpecWithoutSecret)
func (*HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpecWithoutSecret)
type InputTag ¶
type InputTag struct { // The tag key. Key types.String `tfsdk:"key" tf:"optional"` // The tag value. Value types.String `tfsdk:"value" tf:"optional"` }
func (*InputTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*InputTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type JobSpec ¶
type JobSpec struct { // The personal access token used to authorize webhook's job runs. AccessToken types.String `tfsdk:"access_token" tf:""` // ID of the job that the webhook runs. JobId types.String `tfsdk:"job_id" tf:""` // URL of the workspace containing the job that this webhook runs. If not // specified, the job’s workspace URL is assumed to be the same as the // workspace where the webhook is created. WorkspaceUrl types.String `tfsdk:"workspace_url" tf:"optional"` }
func (*JobSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*JobSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type JobSpecWithoutSecret ¶
type JobSpecWithoutSecret struct { // ID of the job that the webhook runs. JobId types.String `tfsdk:"job_id" tf:"optional"` // URL of the workspace containing the job that this webhook runs. Defaults // to the workspace URL in which the webhook is created. If not specified, // the job’s workspace is assumed to be the same as the webhook’s. WorkspaceUrl types.String `tfsdk:"workspace_url" tf:"optional"` }
func (*JobSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *JobSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSpecWithoutSecret)
func (*JobSpecWithoutSecret) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *JobSpecWithoutSecret) SyncEffectiveFieldsDuringRead(existingState JobSpecWithoutSecret)
type ListArtifactsRequest ¶
type ListArtifactsRequest struct { // Token indicating the page of artifact results to fetch. `page_token` is // not supported when listing artifacts in UC Volumes. A maximum of 1000 // artifacts will be retrieved for UC Volumes. Please call // `/api/2.0/fs/directories{directory_path}` for listing artifacts in UC // Volumes, which supports pagination. See [List directory contents | Files // API](/api/workspace/files/listdirectorycontents). PageToken types.String `tfsdk:"-"` // Filter artifacts matching this path (a relative path from the root // artifact directory). Path types.String `tfsdk:"-"` // ID of the run whose artifacts to list. Must be provided. RunId types.String `tfsdk:"-"` // [Deprecated, use run_id instead] ID of the run whose artifacts to list. // This field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"-"` }
Get all artifacts
func (*ListArtifactsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListArtifactsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListArtifactsRequest)
func (*ListArtifactsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListArtifactsRequest) SyncEffectiveFieldsDuringRead(existingState ListArtifactsRequest)
type ListArtifactsResponse ¶
type ListArtifactsResponse struct { // File location and metadata for artifacts. Files []FileInfo `tfsdk:"files" tf:"optional"` // Token that can be used to retrieve the next page of artifact results NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` // Root artifact directory for the run. RootUri types.String `tfsdk:"root_uri" tf:"optional"` }
func (*ListArtifactsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListArtifactsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListArtifactsResponse)
func (*ListArtifactsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListArtifactsResponse) SyncEffectiveFieldsDuringRead(existingState ListArtifactsResponse)
type ListExperimentsRequest ¶
type ListExperimentsRequest struct { // Maximum number of experiments desired. If `max_results` is unspecified, // return all experiments. If `max_results` is too large, it'll be // automatically capped at 1000. Callers of this endpoint are encouraged to // pass max_results explicitly and leverage page_token to iterate through // experiments. MaxResults types.Int64 `tfsdk:"-"` // Token indicating the page of experiments to fetch PageToken types.String `tfsdk:"-"` // Qualifier for type of experiments to be returned. If unspecified, return // only active experiments. ViewType types.String `tfsdk:"-"` }
List experiments
func (*ListExperimentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListExperimentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExperimentsRequest)
func (*ListExperimentsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListExperimentsRequest) SyncEffectiveFieldsDuringRead(existingState ListExperimentsRequest)
type ListExperimentsResponse ¶
type ListExperimentsResponse struct { // Paginated Experiments beginning with the first item on the requested // page. Experiments []Experiment `tfsdk:"experiments" tf:"optional"` // Token that can be used to retrieve the next page of experiments. Empty // token means no more experiment is available for retrieval. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (*ListExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExperimentsResponse)
func (*ListExperimentsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListExperimentsResponse) SyncEffectiveFieldsDuringRead(existingState ListExperimentsResponse)
type ListModelsRequest ¶
type ListModelsRequest struct { // Maximum number of registered models desired. Max threshold is 1000. MaxResults types.Int64 `tfsdk:"-"` // Pagination token to go to the next page based on a previous query. PageToken types.String `tfsdk:"-"` }
List models
func (*ListModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelsRequest)
func (*ListModelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListModelsRequest) SyncEffectiveFieldsDuringRead(existingState ListModelsRequest)
type ListModelsResponse ¶
type ListModelsResponse struct { // Pagination token to request next page of models for the same query. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` RegisteredModels []Model `tfsdk:"registered_models" tf:"optional"` }
func (*ListModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelsResponse)
func (*ListModelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListModelsResponse) SyncEffectiveFieldsDuringRead(existingState ListModelsResponse)
type ListRegistryWebhooks ¶
type ListRegistryWebhooks struct { // Token that can be used to retrieve the next page of artifact results NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` // Array of registry webhooks. Webhooks []RegistryWebhook `tfsdk:"webhooks" tf:"optional"` }
func (*ListRegistryWebhooks) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListRegistryWebhooks) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRegistryWebhooks)
func (*ListRegistryWebhooks) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListRegistryWebhooks) SyncEffectiveFieldsDuringRead(existingState ListRegistryWebhooks)
type ListTransitionRequestsRequest ¶
type ListTransitionRequestsRequest struct { // Name of the model. Name types.String `tfsdk:"-"` // Version of the model. Version types.String `tfsdk:"-"` }
List transition requests
func (*ListTransitionRequestsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListTransitionRequestsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsRequest)
func (*ListTransitionRequestsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListTransitionRequestsRequest) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsRequest)
type ListTransitionRequestsResponse ¶
type ListTransitionRequestsResponse struct { // Array of open transition requests. Requests []Activity `tfsdk:"requests" tf:"optional"` }
func (*ListTransitionRequestsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListTransitionRequestsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsResponse)
func (*ListTransitionRequestsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListTransitionRequestsResponse) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsResponse)
type ListWebhooksRequest ¶
type ListWebhooksRequest struct { // If `events` is specified, any webhook with one or more of the specified // trigger events is included in the output. If `events` is not specified, // webhooks of all event types are included in the output. Events []types.String `tfsdk:"-"` // If not specified, all webhooks associated with the specified events are // listed, regardless of their associated model. ModelName types.String `tfsdk:"-"` // Token indicating the page of artifact results to fetch PageToken types.String `tfsdk:"-"` }
List registry webhooks
func (*ListWebhooksRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListWebhooksRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWebhooksRequest)
func (*ListWebhooksRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListWebhooksRequest) SyncEffectiveFieldsDuringRead(existingState ListWebhooksRequest)
type LogBatch ¶
type LogBatch struct { // Metrics to log. A single request can contain up to 1000 metrics, and up // to 1000 metrics, params, and tags in total. Metrics []Metric `tfsdk:"metrics" tf:"optional"` // Params to log. A single request can contain up to 100 params, and up to // 1000 metrics, params, and tags in total. Params []Param `tfsdk:"params" tf:"optional"` // ID of the run to log under RunId types.String `tfsdk:"run_id" tf:"optional"` // Tags to log. A single request can contain up to 100 tags, and up to 1000 // metrics, params, and tags in total. Tags []RunTag `tfsdk:"tags" tf:"optional"` }
func (*LogBatch) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*LogBatch) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type LogBatchResponse ¶
type LogBatchResponse struct { }
func (*LogBatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogBatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogBatchResponse)
func (*LogBatchResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogBatchResponse) SyncEffectiveFieldsDuringRead(existingState LogBatchResponse)
type LogInputs ¶
type LogInputs struct { // Dataset inputs Datasets []DatasetInput `tfsdk:"datasets" tf:"optional"` // ID of the run to log under RunId types.String `tfsdk:"run_id" tf:"optional"` }
func (*LogInputs) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*LogInputs) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type LogInputsResponse ¶
type LogInputsResponse struct { }
func (*LogInputsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogInputsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogInputsResponse)
func (*LogInputsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogInputsResponse) SyncEffectiveFieldsDuringRead(existingState LogInputsResponse)
type LogMetric ¶
type LogMetric struct { // Name of the metric. Key types.String `tfsdk:"key" tf:""` // ID of the run under which to log the metric. Must be provided. RunId types.String `tfsdk:"run_id" tf:"optional"` // [Deprecated, use run_id instead] ID of the run under which to log the // metric. This field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"run_uuid" tf:"optional"` // Step at which to log the metric Step types.Int64 `tfsdk:"step" tf:"optional"` // Unix timestamp in milliseconds at the time metric was logged. Timestamp types.Int64 `tfsdk:"timestamp" tf:""` // Double value of the metric being logged. Value types.Float64 `tfsdk:"value" tf:""` }
func (*LogMetric) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*LogMetric) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type LogMetricResponse ¶
type LogMetricResponse struct { }
func (*LogMetricResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogMetricResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogMetricResponse)
func (*LogMetricResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogMetricResponse) SyncEffectiveFieldsDuringRead(existingState LogMetricResponse)
type LogModel ¶
type LogModel struct { // MLmodel file in json format. ModelJson types.String `tfsdk:"model_json" tf:"optional"` // ID of the run to log under RunId types.String `tfsdk:"run_id" tf:"optional"` }
func (*LogModel) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*LogModel) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type LogModelResponse ¶
type LogModelResponse struct { }
func (*LogModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogModelResponse)
func (*LogModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogModelResponse) SyncEffectiveFieldsDuringRead(existingState LogModelResponse)
type LogParam ¶
type LogParam struct { // Name of the param. Maximum size is 255 bytes. Key types.String `tfsdk:"key" tf:""` // ID of the run under which to log the param. Must be provided. RunId types.String `tfsdk:"run_id" tf:"optional"` // [Deprecated, use run_id instead] ID of the run under which to log the // param. This field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"run_uuid" tf:"optional"` // String value of the param being logged. Maximum size is 500 bytes. Value types.String `tfsdk:"value" tf:""` }
func (*LogParam) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*LogParam) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type LogParamResponse ¶
type LogParamResponse struct { }
func (*LogParamResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogParamResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogParamResponse)
func (*LogParamResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogParamResponse) SyncEffectiveFieldsDuringRead(existingState LogParamResponse)
type Metric ¶
type Metric struct { // Key identifying this metric. Key types.String `tfsdk:"key" tf:"optional"` // Step at which to log the metric. Step types.Int64 `tfsdk:"step" tf:"optional"` // The timestamp at which this metric was recorded. Timestamp types.Int64 `tfsdk:"timestamp" tf:"optional"` // Value associated with this metric. Value types.Float64 `tfsdk:"value" tf:"optional"` }
func (*Metric) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Metric) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type Model ¶
type Model struct { // Timestamp recorded when this `registered_model` was created. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Description of this `registered_model`. Description types.String `tfsdk:"description" tf:"optional"` // Timestamp recorded when metadata for this `registered_model` was last // updated. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Collection of latest model versions for each stage. Only contains models // with current `READY` status. LatestVersions []ModelVersion `tfsdk:"latest_versions" tf:"optional"` // Unique name for the model. Name types.String `tfsdk:"name" tf:"optional"` // Tags: Additional metadata key-value pairs for this `registered_model`. Tags []ModelTag `tfsdk:"tags" tf:"optional"` // User that created this `registered_model` UserId types.String `tfsdk:"user_id" tf:"optional"` }
func (*Model) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Model) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type ModelDatabricks ¶
type ModelDatabricks struct { // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // User-specified description for the object. Description types.String `tfsdk:"description" tf:"optional"` // Unique identifier for the object. Id types.String `tfsdk:"id" tf:"optional"` // Time of the object at last update, as a Unix timestamp in milliseconds. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Array of model versions, each the latest version for its stage. LatestVersions []ModelVersion `tfsdk:"latest_versions" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:"optional"` // Permission level of the requesting user on the object. For what is // allowed at each level, see [MLflow Model permissions](..). PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // Array of tags associated with the model. Tags []ModelTag `tfsdk:"tags" tf:"optional"` // The username of the user that created the object. UserId types.String `tfsdk:"user_id" tf:"optional"` }
func (*ModelDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ModelDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelDatabricks)
func (*ModelDatabricks) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ModelDatabricks) SyncEffectiveFieldsDuringRead(existingState ModelDatabricks)
type ModelTag ¶
type ModelTag struct { // The tag key. Key types.String `tfsdk:"key" tf:"optional"` // The tag value. Value types.String `tfsdk:"value" tf:"optional"` }
func (*ModelTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*ModelTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type ModelVersion ¶
type ModelVersion struct { // Timestamp recorded when this `model_version` was created. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Current stage for this `model_version`. CurrentStage types.String `tfsdk:"current_stage" tf:"optional"` // Description of this `model_version`. Description types.String `tfsdk:"description" tf:"optional"` // Timestamp recorded when metadata for this `model_version` was last // updated. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Unique name of the model Name types.String `tfsdk:"name" tf:"optional"` // MLflow run ID used when creating `model_version`, if `source` was // generated by an experiment run stored in MLflow tracking server. RunId types.String `tfsdk:"run_id" tf:"optional"` // Run Link: Direct link to the run that generated this version RunLink types.String `tfsdk:"run_link" tf:"optional"` // URI indicating the location of the source model artifacts, used when // creating `model_version` Source types.String `tfsdk:"source" tf:"optional"` // Current status of `model_version` Status types.String `tfsdk:"status" tf:"optional"` // Details on current `status`, if it is pending or failed. StatusMessage types.String `tfsdk:"status_message" tf:"optional"` // Tags: Additional metadata key-value pairs for this `model_version`. Tags []ModelVersionTag `tfsdk:"tags" tf:"optional"` // User that created this `model_version`. UserId types.String `tfsdk:"user_id" tf:"optional"` // Model's version number. Version types.String `tfsdk:"version" tf:"optional"` }
func (*ModelVersion) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ModelVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelVersion)
func (*ModelVersion) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ModelVersion) SyncEffectiveFieldsDuringRead(existingState ModelVersion)
type ModelVersionDatabricks ¶
type ModelVersionDatabricks struct { // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Stage of the model version. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. CurrentStage types.String `tfsdk:"current_stage" tf:"optional"` // User-specified description for the object. Description types.String `tfsdk:"description" tf:"optional"` // Time of the object at last update, as a Unix timestamp in milliseconds. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:"optional"` // Permission level of the requesting user on the object. For what is // allowed at each level, see [MLflow Model permissions](..). PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // Unique identifier for the MLflow tracking run associated with the source // model artifacts. RunId types.String `tfsdk:"run_id" tf:"optional"` // URL of the run associated with the model artifacts. This field is set at // model version creation time only for model versions whose source run is // from a tracking server that is different from the registry server. RunLink types.String `tfsdk:"run_link" tf:"optional"` // URI that indicates the location of the source model artifacts. This is // used when creating the model version. Source types.String `tfsdk:"source" tf:"optional"` // The status of the model version. Valid values are: * // `PENDING_REGISTRATION`: Request to register a new model version is // pending as server performs background tasks. // // * `FAILED_REGISTRATION`: Request to register a new model version has // failed. // // * `READY`: Model version is ready for use. Status types.String `tfsdk:"status" tf:"optional"` // Details on the current status, for example why registration failed. StatusMessage types.String `tfsdk:"status_message" tf:"optional"` // Array of tags that are associated with the model version. Tags []ModelVersionTag `tfsdk:"tags" tf:"optional"` // The username of the user that created the object. UserId types.String `tfsdk:"user_id" tf:"optional"` // Version of the model. Version types.String `tfsdk:"version" tf:"optional"` }
func (*ModelVersionDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ModelVersionDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelVersionDatabricks)
func (*ModelVersionDatabricks) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ModelVersionDatabricks) SyncEffectiveFieldsDuringRead(existingState ModelVersionDatabricks)
type ModelVersionTag ¶
type ModelVersionTag struct { // The tag key. Key types.String `tfsdk:"key" tf:"optional"` // The tag value. Value types.String `tfsdk:"value" tf:"optional"` }
func (*ModelVersionTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ModelVersionTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelVersionTag)
func (*ModelVersionTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ModelVersionTag) SyncEffectiveFieldsDuringRead(existingState ModelVersionTag)
type Param ¶
type Param struct { // Key identifying this param. Key types.String `tfsdk:"key" tf:"optional"` // Value associated with this param. Value types.String `tfsdk:"value" tf:"optional"` }
func (*Param) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Param) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type RegisteredModelAccessControlRequest ¶
type RegisteredModelAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelAccessControlRequest)
func (*RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlRequest)
type RegisteredModelAccessControlResponse ¶
type RegisteredModelAccessControlResponse struct { // All permissions. AllPermissions []RegisteredModelPermission `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelAccessControlResponse)
func (*RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlResponse)
type RegisteredModelPermission ¶
type RegisteredModelPermission struct { Inherited types.Bool `tfsdk:"inherited" tf:"optional"` InheritedFromObject []types.String `tfsdk:"inherited_from_object" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (*RegisteredModelPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelPermission)
func (*RegisteredModelPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelPermission) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermission)
type RegisteredModelPermissions ¶
type RegisteredModelPermissions struct { AccessControlList []RegisteredModelAccessControlResponse `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
func (*RegisteredModelPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelPermissions)
func (*RegisteredModelPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelPermissions) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissions)
type RegisteredModelPermissionsDescription ¶
type RegisteredModelPermissionsDescription struct { Description types.String `tfsdk:"description" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (*RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelPermissionsDescription)
func (*RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsDescription)
type RegisteredModelPermissionsRequest ¶
type RegisteredModelPermissionsRequest struct { AccessControlList []RegisteredModelAccessControlRequest `tfsdk:"access_control_list" tf:"optional"` // The registered model for which to get or manage permissions. RegisteredModelId types.String `tfsdk:"-"` }
func (*RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegisteredModelPermissionsRequest)
func (*RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsRequest)
type RegistryWebhook ¶
type RegistryWebhook struct { // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // User-specified description for the webhook. Description types.String `tfsdk:"description" tf:"optional"` // Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A // new model version was created for the associated model. // // * `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was // changed. // // * `TRANSITION_REQUEST_CREATED`: A user requested a model version’s // stage be transitioned. // // * `COMMENT_CREATED`: A user wrote a comment on a registered model. // // * `REGISTERED_MODEL_CREATED`: A new registered model was created. This // event type can only be specified for a registry-wide webhook, which can // be created by not specifying a model name in the create request. // // * `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. // // * `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was // transitioned to staging. // // * `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was // transitioned to production. // // * `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. // // * `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model // version be transitioned to staging. // // * `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model // version be transitioned to production. // // * `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model // version be archived. Events []types.String `tfsdk:"events" tf:"optional"` HttpUrlSpec []HttpUrlSpecWithoutSecret `tfsdk:"http_url_spec" tf:"optional,object"` // Webhook ID Id types.String `tfsdk:"id" tf:"optional"` JobSpec []JobSpecWithoutSecret `tfsdk:"job_spec" tf:"optional,object"` // Time of the object at last update, as a Unix timestamp in milliseconds. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // Name of the model whose events would trigger this webhook. ModelName types.String `tfsdk:"model_name" tf:"optional"` // Enable or disable triggering the webhook, or put the webhook into test // mode. The default is `ACTIVE`: * `ACTIVE`: Webhook is triggered when an // associated event happens. // // * `DISABLED`: Webhook is not triggered. // // * `TEST_MODE`: Webhook can be triggered through the test endpoint, but is // not triggered on a real event. Status types.String `tfsdk:"status" tf:"optional"` }
func (*RegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegistryWebhook)
func (*RegistryWebhook) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RegistryWebhook) SyncEffectiveFieldsDuringRead(existingState RegistryWebhook)
type RejectTransitionRequest ¶
type RejectTransitionRequest struct { // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:""` // Target stage of the transition. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. Stage types.String `tfsdk:"stage" tf:""` // Version of the model. Version types.String `tfsdk:"version" tf:""` }
func (*RejectTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RejectTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RejectTransitionRequest)
func (*RejectTransitionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RejectTransitionRequest) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequest)
type RejectTransitionRequestResponse ¶
type RejectTransitionRequestResponse struct { // Activity recorded for the action. Activity []Activity `tfsdk:"activity" tf:"optional,object"` }
func (*RejectTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RejectTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RejectTransitionRequestResponse)
func (*RejectTransitionRequestResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RejectTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequestResponse)
type RenameModelRequest ¶
type RenameModelRequest struct { // Registered model unique name identifier. Name types.String `tfsdk:"name" tf:""` // If provided, updates the name for this `registered_model`. NewName types.String `tfsdk:"new_name" tf:"optional"` }
func (*RenameModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RenameModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RenameModelRequest)
func (*RenameModelRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RenameModelRequest) SyncEffectiveFieldsDuringRead(existingState RenameModelRequest)
type RenameModelResponse ¶
type RenameModelResponse struct {
RegisteredModel []Model `tfsdk:"registered_model" tf:"optional,object"`
}
func (*RenameModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RenameModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RenameModelResponse)
func (*RenameModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RenameModelResponse) SyncEffectiveFieldsDuringRead(existingState RenameModelResponse)
type RestoreExperiment ¶
type RestoreExperiment struct { // ID of the associated experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:""` }
func (*RestoreExperiment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreExperiment)
func (*RestoreExperiment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreExperiment) SyncEffectiveFieldsDuringRead(existingState RestoreExperiment)
type RestoreExperimentResponse ¶
type RestoreExperimentResponse struct { }
func (*RestoreExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreExperimentResponse)
func (*RestoreExperimentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreExperimentResponse) SyncEffectiveFieldsDuringRead(existingState RestoreExperimentResponse)
type RestoreRun ¶
func (*RestoreRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreRun)
func (*RestoreRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreRun) SyncEffectiveFieldsDuringRead(existingState RestoreRun)
type RestoreRunResponse ¶
type RestoreRunResponse struct { }
func (*RestoreRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreRunResponse)
func (*RestoreRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreRunResponse) SyncEffectiveFieldsDuringRead(existingState RestoreRunResponse)
type RestoreRuns ¶
type RestoreRuns struct { // The ID of the experiment containing the runs to restore. ExperimentId types.String `tfsdk:"experiment_id" tf:""` // An optional positive integer indicating the maximum number of runs to // restore. The maximum allowed value for max_runs is 10000. MaxRuns types.Int64 `tfsdk:"max_runs" tf:"optional"` // The minimum deletion timestamp in milliseconds since the UNIX epoch for // restoring runs. Only runs deleted no earlier than this timestamp are // restored. MinTimestampMillis types.Int64 `tfsdk:"min_timestamp_millis" tf:""` }
func (*RestoreRuns) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreRuns)
func (*RestoreRuns) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreRuns) SyncEffectiveFieldsDuringRead(existingState RestoreRuns)
type RestoreRunsResponse ¶
type RestoreRunsResponse struct { // The number of runs restored. RunsRestored types.Int64 `tfsdk:"runs_restored" tf:"optional"` }
func (*RestoreRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestoreRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreRunsResponse)
func (*RestoreRunsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestoreRunsResponse) SyncEffectiveFieldsDuringRead(existingState RestoreRunsResponse)
type Run ¶
type Run struct { // Run data. Data []RunData `tfsdk:"data" tf:"optional,object"` // Run metadata. Info []RunInfo `tfsdk:"info" tf:"optional,object"` // Run inputs. Inputs []RunInputs `tfsdk:"inputs" tf:"optional,object"` }
func (*Run) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Run) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type RunData ¶
type RunData struct { // Run metrics. Metrics []Metric `tfsdk:"metrics" tf:"optional"` // Run parameters. Params []Param `tfsdk:"params" tf:"optional"` // Additional metadata key-value pairs. Tags []RunTag `tfsdk:"tags" tf:"optional"` }
func (*RunData) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunData) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type RunInfo ¶
type RunInfo struct { // URI of the directory where artifacts should be uploaded. This can be a // local path (starting with "/"), or a distributed file system (DFS) path, // like `s3://bucket/directory` or `dbfs:/my/directory`. If not set, the // local `./mlruns` directory is chosen. ArtifactUri types.String `tfsdk:"artifact_uri" tf:"optional"` // Unix timestamp of when the run ended in milliseconds. EndTime types.Int64 `tfsdk:"end_time" tf:"optional"` // The experiment ID. ExperimentId types.String `tfsdk:"experiment_id" tf:"optional"` // Current life cycle stage of the experiment : OneOf("active", "deleted") LifecycleStage types.String `tfsdk:"lifecycle_stage" tf:"optional"` // Unique identifier for the run. RunId types.String `tfsdk:"run_id" tf:"optional"` // [Deprecated, use run_id instead] Unique identifier for the run. This // field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"run_uuid" tf:"optional"` // Unix timestamp of when the run started in milliseconds. StartTime types.Int64 `tfsdk:"start_time" tf:"optional"` // Current status of the run. Status types.String `tfsdk:"status" tf:"optional"` // User who initiated the run. This field is deprecated as of MLflow 1.0, // and will be removed in a future MLflow release. Use 'mlflow.user' tag // instead. UserId types.String `tfsdk:"user_id" tf:"optional"` }
func (*RunInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type RunInputs ¶
type RunInputs struct { // Run metrics. DatasetInputs []DatasetInput `tfsdk:"dataset_inputs" tf:"optional"` }
func (*RunInputs) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunInputs) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type RunTag ¶
type RunTag struct { // The tag key. Key types.String `tfsdk:"key" tf:"optional"` // The tag value. Value types.String `tfsdk:"value" tf:"optional"` }
func (*RunTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RunTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type SearchExperiments ¶
type SearchExperiments struct { // String representing a SQL filter condition (e.g. "name ILIKE // 'my-experiment%'") Filter types.String `tfsdk:"filter" tf:"optional"` // Maximum number of experiments desired. Max threshold is 3000. MaxResults types.Int64 `tfsdk:"max_results" tf:"optional"` // List of columns for ordering search results, which can include experiment // name and last updated timestamp with an optional "DESC" or "ASC" // annotation, where "ASC" is the default. Tiebreaks are done by experiment // id DESC. OrderBy []types.String `tfsdk:"order_by" tf:"optional"` // Token indicating the page of experiments to fetch PageToken types.String `tfsdk:"page_token" tf:"optional"` // Qualifier for type of experiments to be returned. If unspecified, return // only active experiments. ViewType types.String `tfsdk:"view_type" tf:"optional"` }
func (*SearchExperiments) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchExperiments) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchExperiments)
func (*SearchExperiments) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchExperiments) SyncEffectiveFieldsDuringRead(existingState SearchExperiments)
type SearchExperimentsResponse ¶
type SearchExperimentsResponse struct { // Experiments that match the search criteria Experiments []Experiment `tfsdk:"experiments" tf:"optional"` // Token that can be used to retrieve the next page of experiments. An empty // token means that no more experiments are available for retrieval. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (*SearchExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchExperimentsResponse)
func (*SearchExperimentsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchExperimentsResponse) SyncEffectiveFieldsDuringRead(existingState SearchExperimentsResponse)
type SearchModelVersionsRequest ¶
type SearchModelVersionsRequest struct { // String filter condition, like "name='my-model-name'". Must be a single // boolean condition, with string values wrapped in single quotes. Filter types.String `tfsdk:"-"` // Maximum number of models desired. Max threshold is 10K. MaxResults types.Int64 `tfsdk:"-"` // List of columns to be ordered by including model name, version, stage // with an optional "DESC" or "ASC" annotation, where "ASC" is the default. // Tiebreaks are done by latest stage transition timestamp, followed by name // ASC, followed by version DESC. OrderBy []types.String `tfsdk:"-"` // Pagination token to go to next page based on previous search query. PageToken types.String `tfsdk:"-"` }
Searches model versions
func (*SearchModelVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchModelVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelVersionsRequest)
func (*SearchModelVersionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchModelVersionsRequest) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsRequest)
type SearchModelVersionsResponse ¶
type SearchModelVersionsResponse struct { // Models that match the search criteria ModelVersions []ModelVersion `tfsdk:"model_versions" tf:"optional"` // Pagination token to request next page of models for the same search // query. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (*SearchModelVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchModelVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelVersionsResponse)
func (*SearchModelVersionsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchModelVersionsResponse) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsResponse)
type SearchModelsRequest ¶
type SearchModelsRequest struct { // String filter condition, like "name LIKE 'my-model-name'". Interpreted in // the backend automatically as "name LIKE '%my-model-name%'". Single // boolean condition, with string values wrapped in single quotes. Filter types.String `tfsdk:"-"` // Maximum number of models desired. Default is 100. Max threshold is 1000. MaxResults types.Int64 `tfsdk:"-"` // List of columns for ordering search results, which can include model name // and last updated timestamp with an optional "DESC" or "ASC" annotation, // where "ASC" is the default. Tiebreaks are done by model name ASC. OrderBy []types.String `tfsdk:"-"` // Pagination token to go to the next page based on a previous search query. PageToken types.String `tfsdk:"-"` }
Search models
func (*SearchModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelsRequest)
func (*SearchModelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchModelsRequest) SyncEffectiveFieldsDuringRead(existingState SearchModelsRequest)
type SearchModelsResponse ¶
type SearchModelsResponse struct { // Pagination token to request the next page of models. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` // Registered Models that match the search criteria. RegisteredModels []Model `tfsdk:"registered_models" tf:"optional"` }
func (*SearchModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelsResponse)
func (*SearchModelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchModelsResponse) SyncEffectiveFieldsDuringRead(existingState SearchModelsResponse)
type SearchRuns ¶
type SearchRuns struct { // List of experiment IDs to search over. ExperimentIds []types.String `tfsdk:"experiment_ids" tf:"optional"` // A filter expression over params, metrics, and tags, that allows returning // a subset of runs. The syntax is a subset of SQL that supports ANDing // together binary operations between a param, metric, or tag and a // constant. // // Example: `metrics.rmse < 1 and params.model_class = 'LogisticRegression'` // // You can select columns with special characters (hyphen, space, period, // etc.) by using double quotes: `metrics."model class" = 'LinearRegression' // and tags."user-name" = 'Tomas'` // // Supported operators are `=`, `!=`, `>`, `>=`, `<`, and `<=`. Filter types.String `tfsdk:"filter" tf:"optional"` // Maximum number of runs desired. Max threshold is 50000 MaxResults types.Int64 `tfsdk:"max_results" tf:"optional"` // List of columns to be ordered by, including attributes, params, metrics, // and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the // default. Example: ["params.input DESC", "metrics.alpha ASC", // "metrics.rmse"] Tiebreaks are done by start_time DESC followed by run_id // for runs with the same start time (and this is the default ordering // criterion if order_by is not provided). OrderBy []types.String `tfsdk:"order_by" tf:"optional"` // Token for the current page of runs. PageToken types.String `tfsdk:"page_token" tf:"optional"` // Whether to display only active, only deleted, or all runs. Defaults to // only active runs. RunViewType types.String `tfsdk:"run_view_type" tf:"optional"` }
func (*SearchRuns) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchRuns)
func (*SearchRuns) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchRuns) SyncEffectiveFieldsDuringRead(existingState SearchRuns)
type SearchRunsResponse ¶
type SearchRunsResponse struct { // Token for the next page of runs. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` // Runs that match the search criteria. Runs []Run `tfsdk:"runs" tf:"optional"` }
func (*SearchRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SearchRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchRunsResponse)
func (*SearchRunsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SearchRunsResponse) SyncEffectiveFieldsDuringRead(existingState SearchRunsResponse)
type SetExperimentTag ¶
type SetExperimentTag struct { // ID of the experiment under which to log the tag. Must be provided. ExperimentId types.String `tfsdk:"experiment_id" tf:""` // Name of the tag. Maximum size depends on storage backend. All storage // backends are guaranteed to support key values up to 250 bytes in size. Key types.String `tfsdk:"key" tf:""` // String value of the tag being logged. Maximum size depends on storage // backend. All storage backends are guaranteed to support key values up to // 5000 bytes in size. Value types.String `tfsdk:"value" tf:""` }
func (*SetExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetExperimentTag)
func (*SetExperimentTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetExperimentTag) SyncEffectiveFieldsDuringRead(existingState SetExperimentTag)
type SetExperimentTagResponse ¶
type SetExperimentTagResponse struct { }
func (*SetExperimentTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetExperimentTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetExperimentTagResponse)
func (*SetExperimentTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetExperimentTagResponse) SyncEffectiveFieldsDuringRead(existingState SetExperimentTagResponse)
type SetModelTagRequest ¶
type SetModelTagRequest struct { // Name of the tag. Maximum size depends on storage backend. If a tag with // this name already exists, its preexisting value will be replaced by the // specified `value`. All storage backends are guaranteed to support key // values up to 250 bytes in size. Key types.String `tfsdk:"key" tf:""` // Unique name of the model. Name types.String `tfsdk:"name" tf:""` // String value of the tag being logged. Maximum size depends on storage // backend. All storage backends are guaranteed to support key values up to // 5000 bytes in size. Value types.String `tfsdk:"value" tf:""` }
func (*SetModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetModelTagRequest)
func (*SetModelTagRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetModelTagRequest) SyncEffectiveFieldsDuringRead(existingState SetModelTagRequest)
type SetModelTagResponse ¶
type SetModelTagResponse struct { }
func (*SetModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetModelTagResponse)
func (*SetModelTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetModelTagResponse) SyncEffectiveFieldsDuringRead(existingState SetModelTagResponse)
type SetModelVersionTagRequest ¶
type SetModelVersionTagRequest struct { // Name of the tag. Maximum size depends on storage backend. If a tag with // this name already exists, its preexisting value will be replaced by the // specified `value`. All storage backends are guaranteed to support key // values up to 250 bytes in size. Key types.String `tfsdk:"key" tf:""` // Unique name of the model. Name types.String `tfsdk:"name" tf:""` // String value of the tag being logged. Maximum size depends on storage // backend. All storage backends are guaranteed to support key values up to // 5000 bytes in size. Value types.String `tfsdk:"value" tf:""` // Model version number. Version types.String `tfsdk:"version" tf:""` }
func (*SetModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetModelVersionTagRequest)
func (*SetModelVersionTagRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetModelVersionTagRequest) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagRequest)
type SetModelVersionTagResponse ¶
type SetModelVersionTagResponse struct { }
func (*SetModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetModelVersionTagResponse)
func (*SetModelVersionTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetModelVersionTagResponse) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagResponse)
type SetTag ¶
type SetTag struct { // Name of the tag. Maximum size depends on storage backend. All storage // backends are guaranteed to support key values up to 250 bytes in size. Key types.String `tfsdk:"key" tf:""` // ID of the run under which to log the tag. Must be provided. RunId types.String `tfsdk:"run_id" tf:"optional"` // [Deprecated, use run_id instead] ID of the run under which to log the // tag. This field will be removed in a future MLflow version. RunUuid types.String `tfsdk:"run_uuid" tf:"optional"` // String value of the tag being logged. Maximum size depends on storage // backend. All storage backends are guaranteed to support key values up to // 5000 bytes in size. Value types.String `tfsdk:"value" tf:""` }
func (*SetTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*SetTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type SetTagResponse ¶
type SetTagResponse struct { }
func (*SetTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SetTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetTagResponse)
func (*SetTagResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SetTagResponse) SyncEffectiveFieldsDuringRead(existingState SetTagResponse)
type TestRegistryWebhook ¶
type TestRegistryWebhook struct { // Body of the response from the webhook URL Body types.String `tfsdk:"body" tf:"optional"` // Status code returned by the webhook URL StatusCode types.Int64 `tfsdk:"status_code" tf:"optional"` }
Test webhook response object.
func (*TestRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TestRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan TestRegistryWebhook)
func (*TestRegistryWebhook) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TestRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhook)
type TestRegistryWebhookRequest ¶
type TestRegistryWebhookRequest struct { // If `event` is specified, the test trigger uses the specified event. If // `event` is not specified, the test trigger uses a randomly chosen event // associated with the webhook. Event types.String `tfsdk:"event" tf:"optional"` // Webhook ID Id types.String `tfsdk:"id" tf:""` }
func (*TestRegistryWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TestRegistryWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TestRegistryWebhookRequest)
func (*TestRegistryWebhookRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TestRegistryWebhookRequest) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookRequest)
type TestRegistryWebhookResponse ¶
type TestRegistryWebhookResponse struct { // Test webhook response object. Webhook []TestRegistryWebhook `tfsdk:"webhook" tf:"optional,object"` }
func (*TestRegistryWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TestRegistryWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan TestRegistryWebhookResponse)
func (*TestRegistryWebhookResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TestRegistryWebhookResponse) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookResponse)
type TransitionModelVersionStageDatabricks ¶
type TransitionModelVersionStageDatabricks struct { // Specifies whether to archive all current model versions in the target // stage. ArchiveExistingVersions types.Bool `tfsdk:"archive_existing_versions" tf:""` // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:"optional"` // Name of the model. Name types.String `tfsdk:"name" tf:""` // Target stage of the transition. Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. Stage types.String `tfsdk:"stage" tf:""` // Version of the model. Version types.String `tfsdk:"version" tf:""` }
func (*TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransitionModelVersionStageDatabricks)
func (*TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuringRead(existingState TransitionModelVersionStageDatabricks)
type TransitionRequest ¶
type TransitionRequest struct { // Array of actions on the activity allowed for the current viewer. AvailableActions []types.String `tfsdk:"available_actions" tf:"optional"` // User-provided comment associated with the transition request. Comment types.String `tfsdk:"comment" tf:"optional"` // Creation time of the object, as a Unix timestamp in milliseconds. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Target stage of the transition (if the activity is stage transition // related). Valid values are: // // * `None`: The initial stage of a model version. // // * `Staging`: Staging or pre-production stage. // // * `Production`: Production stage. // // * `Archived`: Archived stage. ToStage types.String `tfsdk:"to_stage" tf:"optional"` // The username of the user that created the object. UserId types.String `tfsdk:"user_id" tf:"optional"` }
Transition request details.
func (*TransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransitionRequest)
func (*TransitionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TransitionRequest) SyncEffectiveFieldsDuringRead(existingState TransitionRequest)
type TransitionStageResponse ¶
type TransitionStageResponse struct {
ModelVersion []ModelVersionDatabricks `tfsdk:"model_version" tf:"optional,object"`
}
func (*TransitionStageResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TransitionStageResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransitionStageResponse)
func (*TransitionStageResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TransitionStageResponse) SyncEffectiveFieldsDuringRead(existingState TransitionStageResponse)
type UpdateComment ¶
type UpdateComment struct { // User-provided comment on the action. Comment types.String `tfsdk:"comment" tf:""` // Unique identifier of an activity Id types.String `tfsdk:"id" tf:""` }
func (*UpdateComment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateComment) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateComment)
func (*UpdateComment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateComment) SyncEffectiveFieldsDuringRead(existingState UpdateComment)
type UpdateCommentResponse ¶
type UpdateCommentResponse struct { // Comment details. Comment []CommentObject `tfsdk:"comment" tf:"optional,object"` }
func (*UpdateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCommentResponse)
func (*UpdateCommentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateCommentResponse) SyncEffectiveFieldsDuringRead(existingState UpdateCommentResponse)
type UpdateExperiment ¶
type UpdateExperiment struct { // ID of the associated experiment. ExperimentId types.String `tfsdk:"experiment_id" tf:""` // If provided, the experiment's name is changed to the new name. The new // name must be unique. NewName types.String `tfsdk:"new_name" tf:"optional"` }
func (*UpdateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateExperiment)
func (*UpdateExperiment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateExperiment) SyncEffectiveFieldsDuringRead(existingState UpdateExperiment)
type UpdateExperimentResponse ¶
type UpdateExperimentResponse struct { }
func (*UpdateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateExperimentResponse)
func (*UpdateExperimentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateExperimentResponse) SyncEffectiveFieldsDuringRead(existingState UpdateExperimentResponse)
type UpdateModelRequest ¶
type UpdateModelRequest struct { // If provided, updates the description for this `registered_model`. Description types.String `tfsdk:"description" tf:"optional"` // Registered model unique name identifier. Name types.String `tfsdk:"name" tf:""` }
func (*UpdateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelRequest)
func (*UpdateModelRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateModelRequest) SyncEffectiveFieldsDuringRead(existingState UpdateModelRequest)
type UpdateModelResponse ¶
type UpdateModelResponse struct { }
func (*UpdateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelResponse)
func (*UpdateModelResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateModelResponse) SyncEffectiveFieldsDuringRead(existingState UpdateModelResponse)
type UpdateModelVersionRequest ¶
type UpdateModelVersionRequest struct { // If provided, updates the description for this `registered_model`. Description types.String `tfsdk:"description" tf:"optional"` // Name of the registered model Name types.String `tfsdk:"name" tf:""` // Model version number Version types.String `tfsdk:"version" tf:""` }
func (*UpdateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelVersionRequest)
func (*UpdateModelVersionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionRequest)
type UpdateModelVersionResponse ¶
type UpdateModelVersionResponse struct { }
func (*UpdateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelVersionResponse)
func (*UpdateModelVersionResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionResponse)
type UpdateRegistryWebhook ¶
type UpdateRegistryWebhook struct { // User-specified description for the webhook. Description types.String `tfsdk:"description" tf:"optional"` // Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A // new model version was created for the associated model. // // * `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was // changed. // // * `TRANSITION_REQUEST_CREATED`: A user requested a model version’s // stage be transitioned. // // * `COMMENT_CREATED`: A user wrote a comment on a registered model. // // * `REGISTERED_MODEL_CREATED`: A new registered model was created. This // event type can only be specified for a registry-wide webhook, which can // be created by not specifying a model name in the create request. // // * `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. // // * `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was // transitioned to staging. // // * `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was // transitioned to production. // // * `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. // // * `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model // version be transitioned to staging. // // * `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model // version be transitioned to production. // // * `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model // version be archived. Events []types.String `tfsdk:"events" tf:"optional"` HttpUrlSpec []HttpUrlSpec `tfsdk:"http_url_spec" tf:"optional,object"` // Webhook ID Id types.String `tfsdk:"id" tf:""` JobSpec []JobSpec `tfsdk:"job_spec" tf:"optional,object"` // Enable or disable triggering the webhook, or put the webhook into test // mode. The default is `ACTIVE`: * `ACTIVE`: Webhook is triggered when an // associated event happens. // // * `DISABLED`: Webhook is not triggered. // // * `TEST_MODE`: Webhook can be triggered through the test endpoint, but is // not triggered on a real event. Status types.String `tfsdk:"status" tf:"optional"` }
func (*UpdateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRegistryWebhook)
func (*UpdateRegistryWebhook) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState UpdateRegistryWebhook)
type UpdateRun ¶
type UpdateRun struct { // Unix timestamp in milliseconds of when the run ended. EndTime types.Int64 `tfsdk:"end_time" tf:"optional"` // ID of the run to update. Must be provided. RunId types.String `tfsdk:"run_id" tf:"optional"` // [Deprecated, use run_id instead] ID of the run to update.. This field // will be removed in a future MLflow version. RunUuid types.String `tfsdk:"run_uuid" tf:"optional"` // Updated status of the run. Status types.String `tfsdk:"status" tf:"optional"` }
func (*UpdateRun) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*UpdateRun) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
type UpdateRunResponse ¶
type UpdateRunResponse struct { // Updated metadata of the run. RunInfo []RunInfo `tfsdk:"run_info" tf:"optional,object"` }
func (*UpdateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRunResponse)
func (*UpdateRunResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateRunResponse) SyncEffectiveFieldsDuringRead(existingState UpdateRunResponse)
type UpdateWebhookResponse ¶
type UpdateWebhookResponse struct { }
func (*UpdateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWebhookResponse)
func (*UpdateWebhookResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateWebhookResponse) SyncEffectiveFieldsDuringRead(existingState UpdateWebhookResponse)