azure-native.sql.getSensitivityLabel
Explore with Pulumi AI
Gets the sensitivity label of a given column API Version: 2020-11-01-preview.
Using getSensitivityLabel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSensitivityLabel(args: GetSensitivityLabelArgs, opts?: InvokeOptions): Promise<GetSensitivityLabelResult>
function getSensitivityLabelOutput(args: GetSensitivityLabelOutputArgs, opts?: InvokeOptions): Output<GetSensitivityLabelResult>
def get_sensitivity_label(column_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schema_name: Optional[str] = None,
sensitivity_label_source: Optional[str] = None,
server_name: Optional[str] = None,
table_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitivityLabelResult
def get_sensitivity_label_output(column_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
schema_name: Optional[pulumi.Input[str]] = None,
sensitivity_label_source: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
table_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensitivityLabelResult]
func LookupSensitivityLabel(ctx *Context, args *LookupSensitivityLabelArgs, opts ...InvokeOption) (*LookupSensitivityLabelResult, error)
func LookupSensitivityLabelOutput(ctx *Context, args *LookupSensitivityLabelOutputArgs, opts ...InvokeOption) LookupSensitivityLabelResultOutput
> Note: This function is named LookupSensitivityLabel
in the Go SDK.
public static class GetSensitivityLabel
{
public static Task<GetSensitivityLabelResult> InvokeAsync(GetSensitivityLabelArgs args, InvokeOptions? opts = null)
public static Output<GetSensitivityLabelResult> Invoke(GetSensitivityLabelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensitivityLabelResult> getSensitivityLabel(GetSensitivityLabelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getSensitivityLabel
arguments:
# arguments dictionary
The following arguments are supported:
- Column
Name string The name of the column.
- Database
Name string The name of the database.
- Resource
Group stringName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Schema
Name string The name of the schema.
- Sensitivity
Label stringSource The source of the sensitivity label.
- Server
Name string The name of the server.
- Table
Name string The name of the table.
- Column
Name string The name of the column.
- Database
Name string The name of the database.
- Resource
Group stringName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Schema
Name string The name of the schema.
- Sensitivity
Label stringSource The source of the sensitivity label.
- Server
Name string The name of the server.
- Table
Name string The name of the table.
- column
Name String The name of the column.
- database
Name String The name of the database.
- resource
Group StringName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- schema
Name String The name of the schema.
- sensitivity
Label StringSource The source of the sensitivity label.
- server
Name String The name of the server.
- table
Name String The name of the table.
- column
Name string The name of the column.
- database
Name string The name of the database.
- resource
Group stringName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- schema
Name string The name of the schema.
- sensitivity
Label stringSource The source of the sensitivity label.
- server
Name string The name of the server.
- table
Name string The name of the table.
- column_
name str The name of the column.
- database_
name str The name of the database.
- resource_
group_ strname The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- schema_
name str The name of the schema.
- sensitivity_
label_ strsource The source of the sensitivity label.
- server_
name str The name of the server.
- table_
name str The name of the table.
- column
Name String The name of the column.
- database
Name String The name of the database.
- resource
Group StringName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- schema
Name String The name of the schema.
- sensitivity
Label StringSource The source of the sensitivity label.
- server
Name String The name of the server.
- table
Name String The name of the table.
getSensitivityLabel Result
The following output properties are available:
- Column
Name string The column name.
- Id string
Resource ID.
- 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 Resource that manages the sensitivity label.
- Name string
Resource name.
- Schema
Name string The schema name.
- Table
Name string The table name.
- Type string
Resource type.
- 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 string
- Column
Name string The column name.
- Id string
Resource ID.
- 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 Resource that manages the sensitivity label.
- Name string
Resource name.
- Schema
Name string The schema name.
- Table
Name string The table name.
- Type string
Resource type.
- 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 string
- column
Name String The column name.
- id String
Resource ID.
- 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 Resource that manages the sensitivity label.
- name String
Resource name.
- schema
Name String The schema name.
- table
Name String The table name.
- type String
Resource type.
- 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 String
- column
Name string The column name.
- id string
Resource ID.
- 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 Resource that manages the sensitivity label.
- name string
Resource name.
- schema
Name string The schema name.
- table
Name string The table name.
- type string
Resource type.
- 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 string
- column_
name str The column name.
- id str
Resource ID.
- 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 Resource that manages the sensitivity label.
- name str
Resource name.
- schema_
name str The schema name.
- table_
name str The table name.
- type str
Resource type.
- 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 str
- column
Name String The column name.
- id String
Resource ID.
- 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 Resource that manages the sensitivity label.
- name String
Resource name.
- schema
Name String The schema name.
- table
Name String The table name.
- type String
Resource type.
- 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 String
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0