Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.sql.getManagedDatabaseSensitivityLabel
Explore with Pulumi AI
Gets the sensitivity label of a given column API Version: 2020-11-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