settings

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllSettingsResources added in v1.36.0

func AllSettingsResources() map[string]common.Resource

Instructions for adding a new setting:

  1. Create a new file named resource_<SETTING_NAME>.go in this directory.
  2. In that file, create an instance of either the workspaceSettingDefinition or accountSettingDefinition interface for your setting. If the setting name is user-settable, it will be provided in the third argument to the updateFunc method. If not, you must set the SettingName field appropriately. You must also set AllowMissing: true and the field mask to the field to update.
  3. Add a new entry to the AllSettingsResources map below. The final resource name will be "databricks_<SETTING_NAME>_setting".

func Create added in v1.50.0

func Create(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error

func Delete added in v1.50.0

func Delete(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error

func Read added in v1.50.0

func Read(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error

func ResourceNotificationDestination added in v1.50.0

func ResourceNotificationDestination() common.Resource

func Update added in v1.50.0

func Update(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error

Types

type NDStruct added in v1.50.0

type NDStruct struct {
	settings.NotificationDestination
}

func (NDStruct) CustomizeSchema added in v1.50.0

Jump to

Keyboard shortcuts

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