This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.sql.getManagedDatabaseSensitivityLabel
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets the sensitivity label of a given column Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.
Using getManagedDatabaseSensitivityLabel
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 getManagedDatabaseSensitivityLabel(args: GetManagedDatabaseSensitivityLabelArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseSensitivityLabelResult>
function getManagedDatabaseSensitivityLabelOutput(args: GetManagedDatabaseSensitivityLabelOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseSensitivityLabelResult>
def get_managed_database_sensitivity_label(column_name: Optional[str] = None,
database_name: Optional[str] = None,
managed_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schema_name: Optional[str] = None,
sensitivity_label_source: Optional[str] = None,
table_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseSensitivityLabelResult
def get_managed_database_sensitivity_label_output(column_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
managed_instance_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,
table_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseSensitivityLabelResult]
func LookupManagedDatabaseSensitivityLabel(ctx *Context, args *LookupManagedDatabaseSensitivityLabelArgs, opts ...InvokeOption) (*LookupManagedDatabaseSensitivityLabelResult, error)
func LookupManagedDatabaseSensitivityLabelOutput(ctx *Context, args *LookupManagedDatabaseSensitivityLabelOutputArgs, opts ...InvokeOption) LookupManagedDatabaseSensitivityLabelResultOutput
> Note: This function is named LookupManagedDatabaseSensitivityLabel
in the Go SDK.
public static class GetManagedDatabaseSensitivityLabel
{
public static Task<GetManagedDatabaseSensitivityLabelResult> InvokeAsync(GetManagedDatabaseSensitivityLabelArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseSensitivityLabelResult> Invoke(GetManagedDatabaseSensitivityLabelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseSensitivityLabelResult> getManagedDatabaseSensitivityLabel(GetManagedDatabaseSensitivityLabelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getManagedDatabaseSensitivityLabel
arguments:
# arguments dictionary
The following arguments are supported:
- Column
Name string - The name of the column.
- Database
Name string - The name of the database.
- Managed
Instance stringName - The name of the managed instance.
- 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.
- Table
Name string - The name of the table.
- Column
Name string - The name of the column.
- Database
Name string - The name of the database.
- Managed
Instance stringName - The name of the managed instance.
- 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.
- Table
Name string - The name of the table.
- column
Name String - The name of the column.
- database
Name String - The name of the database.
- managed
Instance StringName - The name of the managed instance.
- 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.
- table
Name String - The name of the table.
- column
Name string - The name of the column.
- database
Name string - The name of the database.
- managed
Instance stringName - The name of the managed instance.
- 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.
- table
Name string - The name of the table.
- column_
name str - The name of the column.
- database_
name str - The name of the database.
- managed_
instance_ strname - The name of the managed instance.
- 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.
- table_
name str - The name of the table.
- column
Name String - The name of the column.
- database
Name String - The name of the database.
- managed
Instance StringName - The name of the managed instance.
- 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.
- table
Name String - The name of the table.
getManagedDatabaseSensitivityLabel 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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi