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 string
- The unique name of the resource.
- args ComplianceSecurityProfileWorkspaceSettingArgs
- 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 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 string
- The unique name of the resource.
- args ComplianceSecurityProfileWorkspaceSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComplianceSecurityProfileWorkspaceSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var complianceSecurityProfileWorkspaceSettingResource = new ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource", ComplianceSecurityProfileWorkspaceSettingArgs.builder()
.complianceSecurityProfileWorkspace(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs.builder()
.complianceStandards("string")
.isEnabled(false)
.build())
.etag("string")
.settingName("string")
.build());
compliance_security_profile_workspace_setting_resource = databricks.ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource",
compliance_security_profile_workspace={
"compliance_standards": ["string"],
"is_enabled": False,
},
etag="string",
setting_name="string")
const complianceSecurityProfileWorkspaceSettingResource = new databricks.ComplianceSecurityProfileWorkspaceSetting("complianceSecurityProfileWorkspaceSettingResource", {
complianceSecurityProfileWorkspace: {
complianceStandards: ["string"],
isEnabled: false,
},
etag: "string",
settingName: "string",
});
type: databricks:ComplianceSecurityProfileWorkspaceSetting
properties:
complianceSecurityProfileWorkspace:
complianceStandards:
- string
isEnabled: false
etag: string
settingName: string
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:
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)
Resource lookup is not supported in YAML
- 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
ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace, ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs
- Compliance
Standards List<string> - Is
Enabled bool
- Compliance
Standards []string - Is
Enabled bool
- compliance
Standards List<String> - is
Enabled Boolean
- compliance
Standards string[] - is
Enabled boolean
- compliance_
standards Sequence[str] - is_
enabled bool
- compliance
Standards List<String> - is
Enabled Boolean
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.