Share via


SqlDatabaseSensitivityLabelCollection Class

Definition

A class representing a collection of SqlDatabaseSensitivityLabelResource and their operations. Each SqlDatabaseSensitivityLabelResource in the collection will belong to the same instance of SqlDatabaseColumnResource. To get a SqlDatabaseSensitivityLabelCollection instance call the GetSqlDatabaseSensitivityLabels method from an instance of SqlDatabaseColumnResource.

public class SqlDatabaseSensitivityLabelCollection : Azure.ResourceManager.ArmCollection
type SqlDatabaseSensitivityLabelCollection = class
    inherit ArmCollection
Public Class SqlDatabaseSensitivityLabelCollection
Inherits ArmCollection
Inheritance
SqlDatabaseSensitivityLabelCollection

Constructors

SqlDatabaseSensitivityLabelCollection()

Initializes a new instance of the SqlDatabaseSensitivityLabelCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, SensitivityLabelData, CancellationToken)

Creates or updates the sensitivity label of a given column

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
CreateOrUpdateAsync(WaitUntil, SensitivityLabelData, CancellationToken)

Creates or updates the sensitivity label of a given column

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
Exists(SensitivityLabelSource, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
ExistsAsync(SensitivityLabelSource, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
Get(SensitivityLabelSource, CancellationToken)

Gets the sensitivity label of a given column

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
GetAsync(SensitivityLabelSource, CancellationToken)

Gets the sensitivity label of a given column

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
GetIfExists(SensitivityLabelSource, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
GetIfExistsAsync(SensitivityLabelSource, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SensitivityLabels_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to