1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getManagedDatabaseSensitivityLabel
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

azure-native logo
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:

    ColumnName string
    The name of the column.
    DatabaseName string
    The name of the database.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SchemaName string
    The name of the schema.
    SensitivityLabelSource string
    The source of the sensitivity label.
    TableName string
    The name of the table.
    ColumnName string
    The name of the column.
    DatabaseName string
    The name of the database.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SchemaName string
    The name of the schema.
    SensitivityLabelSource string
    The source of the sensitivity label.
    TableName string
    The name of the table.
    columnName String
    The name of the column.
    databaseName String
    The name of the database.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    schemaName String
    The name of the schema.
    sensitivityLabelSource String
    The source of the sensitivity label.
    tableName String
    The name of the table.
    columnName string
    The name of the column.
    databaseName string
    The name of the database.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    schemaName string
    The name of the schema.
    sensitivityLabelSource string
    The source of the sensitivity label.
    tableName string
    The name of the table.
    column_name str
    The name of the column.
    database_name str
    The name of the database.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name str
    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_source str
    The source of the sensitivity label.
    table_name str
    The name of the table.
    columnName String
    The name of the column.
    databaseName String
    The name of the database.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    schemaName String
    The name of the schema.
    sensitivityLabelSource String
    The source of the sensitivity label.
    tableName String
    The name of the table.

    getManagedDatabaseSensitivityLabel Result

    The following output properties are available:

    ColumnName string
    The column name.
    Id string
    Resource ID.
    IsDisabled bool
    Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
    ManagedBy string
    Resource that manages the sensitivity label.
    Name string
    Resource name.
    SchemaName string
    The schema name.
    TableName string
    The table name.
    Type string
    Resource type.
    InformationType string
    The information type.
    InformationTypeId string
    The information type ID.
    LabelId string
    The label ID.
    LabelName string
    The label name.
    Rank string
    ColumnName string
    The column name.
    Id string
    Resource ID.
    IsDisabled bool
    Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
    ManagedBy string
    Resource that manages the sensitivity label.
    Name string
    Resource name.
    SchemaName string
    The schema name.
    TableName string
    The table name.
    Type string
    Resource type.
    InformationType string
    The information type.
    InformationTypeId string
    The information type ID.
    LabelId string
    The label ID.
    LabelName string
    The label name.
    Rank string
    columnName String
    The column name.
    id String
    Resource ID.
    isDisabled Boolean
    Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
    managedBy String
    Resource that manages the sensitivity label.
    name String
    Resource name.
    schemaName String
    The schema name.
    tableName String
    The table name.
    type String
    Resource type.
    informationType String
    The information type.
    informationTypeId String
    The information type ID.
    labelId String
    The label ID.
    labelName String
    The label name.
    rank String
    columnName string
    The column name.
    id string
    Resource ID.
    isDisabled boolean
    Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
    managedBy string
    Resource that manages the sensitivity label.
    name string
    Resource name.
    schemaName string
    The schema name.
    tableName string
    The table name.
    type string
    Resource type.
    informationType string
    The information type.
    informationTypeId string
    The information type ID.
    labelId string
    The label ID.
    labelName 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_id str
    The information type ID.
    label_id str
    The label ID.
    label_name str
    The label name.
    rank str
    columnName String
    The column name.
    id String
    Resource ID.
    isDisabled Boolean
    Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
    managedBy String
    Resource that manages the sensitivity label.
    name String
    Resource name.
    schemaName String
    The schema name.
    tableName String
    The table name.
    type String
    Resource type.
    informationType String
    The information type.
    informationTypeId String
    The information type ID.
    labelId String
    The label ID.
    labelName String
    The label name.
    rank String

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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