1. Packages
  2. Databricks Provider
  3. API Docs
  4. DisableLegacyAccessSetting
Databricks v1.68.0 published on Friday, Apr 25, 2025 by Pulumi

databricks.DisableLegacyAccessSetting

Explore with Pulumi AI

databricks logo
Databricks v1.68.0 published on Friday, Apr 25, 2025 by Pulumi

    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 string
    The unique name of the resource.
    args DisableLegacyAccessSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args DisableLegacyAccessSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DisableLegacyAccessSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    example, err := databricks.NewDisableLegacyAccessSetting(ctx, "disableLegacyAccessSettingResource", &databricks.DisableLegacyAccessSettingArgs{
    	DisableLegacyAccess: &databricks.DisableLegacyAccessSettingDisableLegacyAccessArgs{
    		Value: pulumi.Bool(false),
    	},
    	Etag:        pulumi.String("string"),
    	SettingName: pulumi.String("string"),
    })
    
    var disableLegacyAccessSettingResource = new DisableLegacyAccessSetting("disableLegacyAccessSettingResource", DisableLegacyAccessSettingArgs.builder()
        .disableLegacyAccess(DisableLegacyAccessSettingDisableLegacyAccessArgs.builder()
            .value(false)
            .build())
        .etag("string")
        .settingName("string")
        .build());
    
    disable_legacy_access_setting_resource = databricks.DisableLegacyAccessSetting("disableLegacyAccessSettingResource",
        disable_legacy_access={
            "value": False,
        },
        etag="string",
        setting_name="string")
    
    const disableLegacyAccessSettingResource = new databricks.DisableLegacyAccessSetting("disableLegacyAccessSettingResource", {
        disableLegacyAccess: {
            value: false,
        },
        etag: "string",
        settingName: "string",
    });
    
    type: databricks:DisableLegacyAccessSetting
    properties:
        disableLegacyAccess:
            value: false
        etag: string
        settingName: string
    

    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:

    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 bool
    Value bool
    value Boolean
    value boolean
    value bool
    value Boolean

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Databricks v1.68.0 published on Friday, Apr 25, 2025 by Pulumi