1. Packages
  2. Databricks Provider
  3. API Docs
  4. ComplianceSecurityProfileWorkspaceSetting
Databricks v1.63.0 published on Thursday, Mar 13, 2025 by Pulumi

databricks.ComplianceSecurityProfileWorkspaceSetting

Explore with Pulumi AI

Create ComplianceSecurityProfileWorkspaceSetting Resource

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

Constructor syntax

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

@overload
def ComplianceSecurityProfileWorkspaceSetting(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              compliance_security_profile_workspace: Optional[ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs] = None,
                                              etag: Optional[str] = None,
                                              setting_name: Optional[str] = None)
func NewComplianceSecurityProfileWorkspaceSetting(ctx *Context, name string, args ComplianceSecurityProfileWorkspaceSettingArgs, opts ...ResourceOption) (*ComplianceSecurityProfileWorkspaceSetting, error)
public ComplianceSecurityProfileWorkspaceSetting(string name, ComplianceSecurityProfileWorkspaceSettingArgs args, CustomResourceOptions? opts = null)
public ComplianceSecurityProfileWorkspaceSetting(String name, ComplianceSecurityProfileWorkspaceSettingArgs args)
public ComplianceSecurityProfileWorkspaceSetting(String name, ComplianceSecurityProfileWorkspaceSettingArgs args, CustomResourceOptions options)
type: databricks:ComplianceSecurityProfileWorkspaceSetting
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. ComplianceSecurityProfileWorkspaceSettingArgs
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. ComplianceSecurityProfileWorkspaceSettingArgs
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. ComplianceSecurityProfileWorkspaceSettingArgs
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. ComplianceSecurityProfileWorkspaceSettingArgs
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. ComplianceSecurityProfileWorkspaceSettingArgs
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 complianceSecurityProfileWorkspaceSettingResource = new Databricks.ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource", new()
{
    ComplianceSecurityProfileWorkspace = new Databricks.Inputs.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs
    {
        ComplianceStandards = new[]
        {
            "string",
        },
        IsEnabled = false,
    },
    Etag = "string",
    SettingName = "string",
});
Copy
example, err := databricks.NewComplianceSecurityProfileWorkspaceSetting(ctx, "complianceSecurityProfileWorkspaceSettingResource", &databricks.ComplianceSecurityProfileWorkspaceSettingArgs{
	ComplianceSecurityProfileWorkspace: &databricks.ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{
		ComplianceStandards: pulumi.StringArray{
			pulumi.String("string"),
		},
		IsEnabled: pulumi.Bool(false),
	},
	Etag:        pulumi.String("string"),
	SettingName: pulumi.String("string"),
})
Copy
var complianceSecurityProfileWorkspaceSettingResource = new ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource", ComplianceSecurityProfileWorkspaceSettingArgs.builder()
    .complianceSecurityProfileWorkspace(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.builder()
        .complianceStandards("string")
        .isEnabled(false)
        .build())
    .etag("string")
    .settingName("string")
    .build());
Copy
compliance_security_profile_workspace_setting_resource = databricks.ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource",
    compliance_security_profile_workspace={
        "compliance_standards": ["string"],
        "is_enabled": False,
    },
    etag="string",
    setting_name="string")
Copy
const complianceSecurityProfileWorkspaceSettingResource = new databricks.ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource", {
    complianceSecurityProfileWorkspace: {
        complianceStandards: ["string"],
        isEnabled: false,
    },
    etag: "string",
    settingName: "string",
});
Copy
type: databricks:ComplianceSecurityProfileWorkspaceSetting
properties:
    complianceSecurityProfileWorkspace:
        complianceStandards:
            - string
        isEnabled: false
    etag: string
    settingName: string
Copy

ComplianceSecurityProfileWorkspaceSetting 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 ComplianceSecurityProfileWorkspaceSetting resource accepts the following input properties:

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

Outputs

All input properties are implicitly available as output properties. Additionally, the ComplianceSecurityProfileWorkspaceSetting 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 ComplianceSecurityProfileWorkspaceSetting Resource

Get an existing ComplianceSecurityProfileWorkspaceSetting 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?: ComplianceSecurityProfileWorkspaceSettingState, opts?: CustomResourceOptions): ComplianceSecurityProfileWorkspaceSetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compliance_security_profile_workspace: Optional[ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs] = None,
        etag: Optional[str] = None,
        setting_name: Optional[str] = None) -> ComplianceSecurityProfileWorkspaceSetting
func GetComplianceSecurityProfileWorkspaceSetting(ctx *Context, name string, id IDInput, state *ComplianceSecurityProfileWorkspaceSettingState, opts ...ResourceOption) (*ComplianceSecurityProfileWorkspaceSetting, error)
public static ComplianceSecurityProfileWorkspaceSetting Get(string name, Input<string> id, ComplianceSecurityProfileWorkspaceSettingState? state, CustomResourceOptions? opts = null)
public static ComplianceSecurityProfileWorkspaceSetting get(String name, Output<String> id, ComplianceSecurityProfileWorkspaceSettingState state, CustomResourceOptions options)
resources:  _:    type: databricks:ComplianceSecurityProfileWorkspaceSetting    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

ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace
, ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs

ComplianceStandards This property is required. List<string>
IsEnabled This property is required. bool
ComplianceStandards This property is required. []string
IsEnabled This property is required. bool
complianceStandards This property is required. List<String>
isEnabled This property is required. Boolean
complianceStandards This property is required. string[]
isEnabled This property is required. boolean
compliance_standards This property is required. Sequence[str]
is_enabled This property is required. bool
complianceStandards This property is required. List<String>
isEnabled 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.