SensitivityLabel Class
A sensitivity label.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
SensitivityLabel(*, label_name: str | None = None, label_id: str | None = None, information_type: str | None = None, information_type_id: str | None = None, rank: str | SensitivityLabelRank | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
label_name
Required
|
The label name. |
|
label_id
Required
|
The label ID. |
|
information_type
Required
|
The information type. |
|
information_type_id
Required
|
The information type ID. |
|
rank
Required
|
Possible values include: "None", "Low", "Medium", "High", "Critical". |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
label_name
|
Default value: None
|
|
label_id
|
Default value: None
|
|
information_type
|
Default value: None
|
|
information_type_id
|
Default value: None
|
|
rank
|
Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
managed_by
|
Resource that manages the sensitivity label. |
|
schema_name
|
The schema name. |
|
table_name
|
The table name. |
|
column_name
|
The column name. |
|
is_disabled
|
Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not. |