1. Packages
  2. Databricks Provider
  3. API Docs
  4. DisableLegacyAccessSetting
Databricks v1.67.0 published on Thursday, Apr 17, 2025 by Pulumi

databricks.DisableLegacyAccessSetting

Explore with Pulumi AI

Create DisableLegacyAccessSetting Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DisableLegacyAccessSetting(name: string, args: DisableLegacyAccessSettingArgs, opts?: CustomResourceOptions);
@overload
def DisableLegacyAccessSetting(resource_name: str,
                               args: DisableLegacyAccessSettingArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def DisableLegacyAccessSetting(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               disable_legacy_access: Optional[DisableLegacyAccessSettingDisableLegacyAccessArgs] = None,
                               etag: Optional[str] = None,
                               setting_name: Optional[str] = None)
func NewDisableLegacyAccessSetting(ctx *Context, name string, args DisableLegacyAccessSettingArgs, opts ...ResourceOption) (*DisableLegacyAccessSetting, error)
public DisableLegacyAccessSetting(string name, DisableLegacyAccessSettingArgs args, CustomResourceOptions? opts = null)
public DisableLegacyAccessSetting(String name, DisableLegacyAccessSettingArgs args)
public DisableLegacyAccessSetting(String name, DisableLegacyAccessSettingArgs args, CustomResourceOptions options)
type: databricks:DisableLegacyAccessSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DisableLegacyAccessSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DisableLegacyAccessSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DisableLegacyAccessSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DisableLegacyAccessSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DisableLegacyAccessSettingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var disableLegacyAccessSettingResource = new Databricks.DisableLegacyAccessSetting("disableLegacyAccessSettingResource", new()
{
    DisableLegacyAccess = new Databricks.Inputs.DisableLegacyAccessSettingDisableLegacyAccessArgs
    {
        Value = false,
    },
    Etag = "string",
    SettingName = "string",
});
Copy
example, err := databricks.NewDisableLegacyAccessSetting(ctx, "disableLegacyAccessSettingResource", &databricks.DisableLegacyAccessSettingArgs{
	DisableLegacyAccess: &databricks.DisableLegacyAccessSettingDisableLegacyAccessArgs{
		Value: pulumi.Bool(false),
	},
	Etag:        pulumi.String("string"),
	SettingName: pulumi.String("string"),
})
Copy
var disableLegacyAccessSettingResource = new DisableLegacyAccessSetting("disableLegacyAccessSettingResource", DisableLegacyAccessSettingArgs.builder()
    .disableLegacyAccess(DisableLegacyAccessSettingDisableLegacyAccessArgs.builder()
        .value(false)
        .build())
    .etag("string")
    .settingName("string")
    .build());
Copy
disable_legacy_access_setting_resource = databricks.DisableLegacyAccessSetting("disableLegacyAccessSettingResource",
    disable_legacy_access={
        "value": False,
    },
    etag="string",
    setting_name="string")
Copy
const disableLegacyAccessSettingResource = new databricks.DisableLegacyAccessSetting("disableLegacyAccessSettingResource", {
    disableLegacyAccess: {
        value: false,
    },
    etag: "string",
    settingName: "string",
});
Copy
type: databricks:DisableLegacyAccessSetting
properties:
    disableLegacyAccess:
        value: false
    etag: string
    settingName: string
Copy

DisableLegacyAccessSetting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DisableLegacyAccessSetting resource accepts the following input properties:

disableLegacyAccess This property is required. Property Map
etag String
settingName String

Outputs

All input properties are implicitly available as output properties. Additionally, the DisableLegacyAccessSetting resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DisableLegacyAccessSetting Resource

Get an existing DisableLegacyAccessSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DisableLegacyAccessSettingState, opts?: CustomResourceOptions): DisableLegacyAccessSetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disable_legacy_access: Optional[DisableLegacyAccessSettingDisableLegacyAccessArgs] = None,
        etag: Optional[str] = None,
        setting_name: Optional[str] = None) -> DisableLegacyAccessSetting
func GetDisableLegacyAccessSetting(ctx *Context, name string, id IDInput, state *DisableLegacyAccessSettingState, opts ...ResourceOption) (*DisableLegacyAccessSetting, error)
public static DisableLegacyAccessSetting Get(string name, Input<string> id, DisableLegacyAccessSettingState? state, CustomResourceOptions? opts = null)
public static DisableLegacyAccessSetting get(String name, Output<String> id, DisableLegacyAccessSettingState state, CustomResourceOptions options)
resources:  _:    type: databricks:DisableLegacyAccessSetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

Supporting Types

DisableLegacyAccessSettingDisableLegacyAccess
, DisableLegacyAccessSettingDisableLegacyAccessArgs

Value This property is required. bool
Value This property is required. bool
value This property is required. Boolean
value This property is required. boolean
value This property is required. bool
value This property is required. Boolean

Package Details

Repository
databricks pulumi/pulumi-databricks
License
Apache-2.0
Notes
This Pulumi package is based on the databricks Terraform Provider.