azure-native.synapse.SqlPoolSensitivityLabel
Explore with Pulumi AI
A sensitivity label.
Uses Azure REST API version 2021-06-01. In version 2.x of the Azure Native provider, it used API version 2021-06-01.
Other available API versions: 2021-04-01-preview, 2021-05-01, 2021-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native synapse [ApiVersion]
. See the version guide for details.
Create SqlPoolSensitivityLabel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlPoolSensitivityLabel(name: string, args: SqlPoolSensitivityLabelArgs, opts?: CustomResourceOptions);
@overload
def SqlPoolSensitivityLabel(resource_name: str,
args: SqlPoolSensitivityLabelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlPoolSensitivityLabel(resource_name: str,
opts: Optional[ResourceOptions] = None,
column_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schema_name: Optional[str] = None,
sql_pool_name: Optional[str] = None,
table_name: Optional[str] = None,
workspace_name: Optional[str] = None,
information_type: Optional[str] = None,
information_type_id: Optional[str] = None,
label_id: Optional[str] = None,
label_name: Optional[str] = None,
rank: Optional[SensitivityLabelRank] = None,
sensitivity_label_source: Optional[str] = None)
func NewSqlPoolSensitivityLabel(ctx *Context, name string, args SqlPoolSensitivityLabelArgs, opts ...ResourceOption) (*SqlPoolSensitivityLabel, error)
public SqlPoolSensitivityLabel(string name, SqlPoolSensitivityLabelArgs args, CustomResourceOptions? opts = null)
public SqlPoolSensitivityLabel(String name, SqlPoolSensitivityLabelArgs args)
public SqlPoolSensitivityLabel(String name, SqlPoolSensitivityLabelArgs args, CustomResourceOptions options)
type: azure-native:synapse:SqlPoolSensitivityLabel
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. SqlPoolSensitivityLabelArgs - 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. SqlPoolSensitivityLabelArgs - 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. SqlPoolSensitivityLabelArgs - 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. SqlPoolSensitivityLabelArgs - 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. SqlPoolSensitivityLabelArgs - 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 sqlPoolSensitivityLabelResource = new AzureNative.Synapse.SqlPoolSensitivityLabel("sqlPoolSensitivityLabelResource", new()
{
ColumnName = "string",
ResourceGroupName = "string",
SchemaName = "string",
SqlPoolName = "string",
TableName = "string",
WorkspaceName = "string",
InformationType = "string",
InformationTypeId = "string",
LabelId = "string",
LabelName = "string",
Rank = AzureNative.Synapse.SensitivityLabelRank.None,
SensitivityLabelSource = "string",
});
example, err := synapse.NewSqlPoolSensitivityLabel(ctx, "sqlPoolSensitivityLabelResource", &synapse.SqlPoolSensitivityLabelArgs{
ColumnName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SchemaName: pulumi.String("string"),
SqlPoolName: pulumi.String("string"),
TableName: pulumi.String("string"),
WorkspaceName: pulumi.String("string"),
InformationType: pulumi.String("string"),
InformationTypeId: pulumi.String("string"),
LabelId: pulumi.String("string"),
LabelName: pulumi.String("string"),
Rank: synapse.SensitivityLabelRankNone,
SensitivityLabelSource: pulumi.String("string"),
})
var sqlPoolSensitivityLabelResource = new SqlPoolSensitivityLabel("sqlPoolSensitivityLabelResource", SqlPoolSensitivityLabelArgs.builder()
.columnName("string")
.resourceGroupName("string")
.schemaName("string")
.sqlPoolName("string")
.tableName("string")
.workspaceName("string")
.informationType("string")
.informationTypeId("string")
.labelId("string")
.labelName("string")
.rank("None")
.sensitivityLabelSource("string")
.build());
sql_pool_sensitivity_label_resource = azure_native.synapse.SqlPoolSensitivityLabel("sqlPoolSensitivityLabelResource",
column_name="string",
resource_group_name="string",
schema_name="string",
sql_pool_name="string",
table_name="string",
workspace_name="string",
information_type="string",
information_type_id="string",
label_id="string",
label_name="string",
rank=azure_native.synapse.SensitivityLabelRank.NONE,
sensitivity_label_source="string")
const sqlPoolSensitivityLabelResource = new azure_native.synapse.SqlPoolSensitivityLabel("sqlPoolSensitivityLabelResource", {
columnName: "string",
resourceGroupName: "string",
schemaName: "string",
sqlPoolName: "string",
tableName: "string",
workspaceName: "string",
informationType: "string",
informationTypeId: "string",
labelId: "string",
labelName: "string",
rank: azure_native.synapse.SensitivityLabelRank.None,
sensitivityLabelSource: "string",
});
type: azure-native:synapse:SqlPoolSensitivityLabel
properties:
columnName: string
informationType: string
informationTypeId: string
labelId: string
labelName: string
rank: None
resourceGroupName: string
schemaName: string
sensitivityLabelSource: string
sqlPoolName: string
tableName: string
workspaceName: string
SqlPoolSensitivityLabel 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 SqlPoolSensitivityLabel resource accepts the following input properties:
- Column
Name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Schema
Name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- Sql
Pool Name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- Table
Name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- Information
Type string - The information type.
- Information
Type stringId - The information type ID.
- Label
Id string - The label ID.
- Label
Name string - The label name.
- Rank
Pulumi.
Azure Native. Synapse. Sensitivity Label Rank - Sensitivity
Label Source Changes to this property will trigger replacement.
- The source of the sensitivity label.
- Column
Name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Schema
Name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- Sql
Pool Name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- Table
Name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- Information
Type string - The information type.
- Information
Type stringId - The information type ID.
- Label
Id string - The label ID.
- Label
Name string - The label name.
- Rank
Sensitivity
Label Rank - Sensitivity
Label Source Changes to this property will trigger replacement.
- The source of the sensitivity label.
- column
Name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- schema
Name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- sql
Pool Name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- table
Name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- information
Type String - The information type.
- information
Type StringId - The information type ID.
- label
Id String - The label ID.
- label
Name String - The label name.
- rank
Sensitivity
Label Rank - sensitivity
Label Source Changes to this property will trigger replacement.
- The source of the sensitivity label.
- column
Name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- schema
Name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- sql
Pool Name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- table
Name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- information
Type string - The information type.
- information
Type stringId - The information type ID.
- label
Id string - The label ID.
- label
Name string - The label name.
- rank
Sensitivity
Label Rank - sensitivity
Label Source Changes to this property will trigger replacement.
- The source of the sensitivity label.
- column_
name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- schema_
name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- sql_
pool_ name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- table_
name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- workspace_
name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- information_
type str - The information type.
- information_
type_ strid - The information type ID.
- label_
id str - The label ID.
- label_
name str - The label name.
- rank
Sensitivity
Label Rank - sensitivity_
label_ source Changes to this property will trigger replacement.
- The source of the sensitivity label.
- column
Name This property is required. Changes to this property will trigger replacement.
- The name of the column.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- schema
Name This property is required. Changes to this property will trigger replacement.
- The name of the schema.
- sql
Pool Name This property is required. Changes to this property will trigger replacement.
- SQL pool name
- table
Name This property is required. Changes to this property will trigger replacement.
- The name of the table.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- information
Type String - The information type.
- information
Type StringId - The information type ID.
- label
Id String - The label ID.
- label
Name String - The label name.
- rank "None" | "Low" | "Medium" | "High" | "Critical"
- sensitivity
Label Source Changes to this property will trigger replacement.
- The source of the sensitivity label.
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlPoolSensitivityLabel resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Disabled bool - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- Managed
By string - managed by
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Disabled bool - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- Managed
By string - managed by
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Disabled Boolean - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- managed
By String - managed by
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Disabled boolean - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- managed
By string - managed by
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
disabled bool - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- managed_
by str - managed by
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Disabled Boolean - Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
- managed
By String - managed by
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SensitivityLabelRank, SensitivityLabelRankArgs
- None
- None
- Low
- Low
- Medium
- Medium
- High
- High
- Critical
- Critical
- Sensitivity
Label Rank None - None
- Sensitivity
Label Rank Low - Low
- Sensitivity
Label Rank Medium - Medium
- Sensitivity
Label Rank High - High
- Sensitivity
Label Rank Critical - Critical
- None
- None
- Low
- Low
- Medium
- Medium
- High
- High
- Critical
- Critical
- None
- None
- Low
- Low
- Medium
- Medium
- High
- High
- Critical
- Critical
- NONE
- None
- LOW
- Low
- MEDIUM
- Medium
- HIGH
- High
- CRITICAL
- Critical
- "None"
- None
- "Low"
- Low
- "Medium"
- Medium
- "High"
- High
- "Critical"
- Critical
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:synapse:SqlPoolSensitivityLabel current /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0