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",
});
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:
- Compliance
Security Profile Workspace This property is required. ComplianceSecurity Profile Workspace Setting Compliance Security Profile Workspace - Etag string
- Setting
Name string
- Compliance
Security Profile Workspace This property is required. ComplianceSecurity Profile Workspace Setting Compliance Security Profile Workspace Args - Etag string
- Setting
Name string
- compliance
Security Profile Workspace This property is required. ComplianceSecurity Profile Workspace Setting Compliance Security Profile Workspace - etag String
- setting
Name String
- compliance
Security Profile Workspace This property is required. ComplianceSecurity Profile Workspace Setting Compliance Security Profile Workspace - etag string
- setting
Name string
- compliance_
security_ profile_ workspace This property is required. ComplianceSecurity Profile Workspace Setting Compliance Security Profile Workspace Args - etag str
- setting_
name str
- compliance
Security Profile Workspace This property is required. Property Map - etag String
- setting
Name 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
- Compliance
Standards This property is required. List<string> - Is
Enabled This property is required. bool
- Compliance
Standards This property is required. []string - Is
Enabled This property is required. bool
- compliance
Standards This property is required. List<String> - is
Enabled This property is required. Boolean
- compliance
Standards This property is required. string[] - is
Enabled This property is required. boolean
- compliance_
standards This property is required. Sequence[str] - is_
enabled This property is required. bool
- compliance
Standards This property is required. List<String> - is
Enabled 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.