Documentation ¶
Index ¶
- func AllSettingsResources() map[string]common.Resource
- func Create(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error
- func Delete(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error
- func Read(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error
- func ResourceNotificationDestination() common.Resource
- func Update(ctx context.Context, d *schema.ResourceData, w *databricks.WorkspaceClient) error
- type NDStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllSettingsResources ¶ added in v1.36.0
Instructions for adding a new setting:
- Create a new file named resource_<SETTING_NAME>.go in this directory.
- 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.
- 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
Types ¶
type NDStruct ¶ added in v1.50.0
type NDStruct struct {
settings.NotificationDestination
}
func (NDStruct) CustomizeSchema ¶ added in v1.50.0
func (NDStruct) CustomizeSchema(s *common.CustomizableSchema) *common.CustomizableSchema
Source Files ¶
Click to show internal directories.
Click to hide internal directories.