forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.NET SDK Resource Provider:'SqlManagement'
REST Spec PR 'Azure/azure-rest-api-specs#5517' REST Spec PR Author 't-robalt' REST Spec PR Last commit
- Loading branch information
Showing
25 changed files
with
8,471 additions
and
2 deletions.
There are no files selected for viewing
261 changes: 261 additions & 0 deletions
261
...DKs/SqlManagement/Management.Sql/Generated/IManagedDatabaseSensitivityLabelsOperations.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,261 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.Sql | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Microsoft.Rest.Azure.OData; | ||
using Models; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
/// <summary> | ||
/// ManagedDatabaseSensitivityLabelsOperations operations. | ||
/// </summary> | ||
public partial interface IManagedDatabaseSensitivityLabelsOperations | ||
{ | ||
/// <summary> | ||
/// Gets the sensitivity label of a given column | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group that contains the resource. You can | ||
/// obtain this value from the Azure Resource Manager API or the | ||
/// portal. | ||
/// </param> | ||
/// <param name='managedInstanceName'> | ||
/// The name of the managed instance. | ||
/// </param> | ||
/// <param name='databaseName'> | ||
/// The name of the database. | ||
/// </param> | ||
/// <param name='schemaName'> | ||
/// The name of the schema. | ||
/// </param> | ||
/// <param name='tableName'> | ||
/// The name of the table. | ||
/// </param> | ||
/// <param name='columnName'> | ||
/// The name of the column. | ||
/// </param> | ||
/// <param name='sensitivityLabelSource'> | ||
/// The source of the sensitivity label. Possible values include: | ||
/// 'current', 'recommended' | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<SensitivityLabel>> GetWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, string schemaName, string tableName, string columnName, SensitivityLabelSource sensitivityLabelSource, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Creates or updates the sensitivity label of a given column | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group that contains the resource. You can | ||
/// obtain this value from the Azure Resource Manager API or the | ||
/// portal. | ||
/// </param> | ||
/// <param name='managedInstanceName'> | ||
/// The name of the managed instance. | ||
/// </param> | ||
/// <param name='databaseName'> | ||
/// The name of the database. | ||
/// </param> | ||
/// <param name='schemaName'> | ||
/// The name of the schema. | ||
/// </param> | ||
/// <param name='tableName'> | ||
/// The name of the table. | ||
/// </param> | ||
/// <param name='columnName'> | ||
/// The name of the column. | ||
/// </param> | ||
/// <param name='parameters'> | ||
/// The column sensitivity label resource. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<SensitivityLabel>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, string schemaName, string tableName, string columnName, SensitivityLabel parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Deletes the sensitivity label of a given column | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group that contains the resource. You can | ||
/// obtain this value from the Azure Resource Manager API or the | ||
/// portal. | ||
/// </param> | ||
/// <param name='managedInstanceName'> | ||
/// The name of the managed instance. | ||
/// </param> | ||
/// <param name='databaseName'> | ||
/// The name of the database. | ||
/// </param> | ||
/// <param name='schemaName'> | ||
/// The name of the schema. | ||
/// </param> | ||
/// <param name='tableName'> | ||
/// The name of the table. | ||
/// </param> | ||
/// <param name='columnName'> | ||
/// The name of the column. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, string schemaName, string tableName, string columnName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the sensitivity labels of a given database | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group that contains the resource. You can | ||
/// obtain this value from the Azure Resource Manager API or the | ||
/// portal. | ||
/// </param> | ||
/// <param name='managedInstanceName'> | ||
/// The name of the managed instance. | ||
/// </param> | ||
/// <param name='databaseName'> | ||
/// The name of the database. | ||
/// </param> | ||
/// <param name='odataQuery'> | ||
/// OData parameters to apply to the operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<IPage<SensitivityLabel>>> ListCurrentByDatabaseWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, ODataQuery<SensitivityLabel> odataQuery = default(ODataQuery<SensitivityLabel>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the sensitivity labels of a given database | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group that contains the resource. You can | ||
/// obtain this value from the Azure Resource Manager API or the | ||
/// portal. | ||
/// </param> | ||
/// <param name='managedInstanceName'> | ||
/// The name of the managed instance. | ||
/// </param> | ||
/// <param name='databaseName'> | ||
/// The name of the database. | ||
/// </param> | ||
/// <param name='odataQuery'> | ||
/// OData parameters to apply to the operation. | ||
/// </param> | ||
/// <param name='skipToken'> | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<IPage<SensitivityLabel>>> ListRecommendedByDatabaseWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, ODataQuery<SensitivityLabel> odataQuery = default(ODataQuery<SensitivityLabel>), string skipToken = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the sensitivity labels of a given database | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<IPage<SensitivityLabel>>> ListCurrentByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the sensitivity labels of a given database | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<IPage<SensitivityLabel>>> ListRecommendedByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
Oops, something went wrong.