Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

[AutoPR] sql/resource-manager #3293

Merged
5 commits merged into from
Aug 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from 05549665a5f0b09fc5e7058ffec2c09d91bf3ab0 (#3327)
managed instance data classification REST API for version 2018-06-01-preview
  • Loading branch information
AutorestCI authored Aug 16, 2018
commit e927ed7854f983f5bd35bc8ed3292e23709e4d87
140 changes: 140 additions & 0 deletions lib/services/sqlManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
@@ -25096,6 +25096,88 @@ export interface SensitivityLabels {
listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: { filter? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.SensitivityLabelListResult>): void;


/**
* Gets the sensitivity labels of a given database
*
* @param {string} 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 {string} serverName The name of the server.
*
* @param {string} databaseName The name of the database.
*
* @param {string} sensitivityLabelSource Optional source of the sensitivity
* label. Valid values are current or recommeneded. In not specified both
* returned. Possible values include: 'current', 'recommended'
*
* @param {object} [options] Optional Parameters.
*
* @param {string} [options.filter] An OData filter expression that filters
* elements in the collection.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<SensitivityLabelListResult>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
listByDatabaseWithSourceWithHttpOperationResponse(resourceGroupName: string, serverName: string, databaseName: string, sensitivityLabelSource: string, options?: { filter? : string, customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.SensitivityLabelListResult>>;

/**
* Gets the sensitivity labels of a given database
*
* @param {string} 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 {string} serverName The name of the server.
*
* @param {string} databaseName The name of the database.
*
* @param {string} sensitivityLabelSource Optional source of the sensitivity
* label. Valid values are current or recommeneded. In not specified both
* returned. Possible values include: 'current', 'recommended'
*
* @param {object} [options] Optional Parameters.
*
* @param {string} [options.filter] An OData filter expression that filters
* elements in the collection.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {SensitivityLabelListResult} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {SensitivityLabelListResult} [result] - The deserialized result object if an error did not occur.
* See {@link SensitivityLabelListResult} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
listByDatabaseWithSource(resourceGroupName: string, serverName: string, databaseName: string, sensitivityLabelSource: string, options?: { filter? : string, customHeaders? : { [headerName: string]: string; } }): Promise<models.SensitivityLabelListResult>;
listByDatabaseWithSource(resourceGroupName: string, serverName: string, databaseName: string, sensitivityLabelSource: string, callback: ServiceCallback<models.SensitivityLabelListResult>): void;
listByDatabaseWithSource(resourceGroupName: string, serverName: string, databaseName: string, sensitivityLabelSource: string, options: { filter? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.SensitivityLabelListResult>): void;


/**
* Gets the sensitivity label of a given column
*
@@ -25406,6 +25488,64 @@ export interface SensitivityLabels {
listByDatabaseNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.SensitivityLabelListResult>;
listByDatabaseNext(nextPageLink: string, callback: ServiceCallback<models.SensitivityLabelListResult>): void;
listByDatabaseNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.SensitivityLabelListResult>): void;


/**
* Gets the sensitivity labels of a given database
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<SensitivityLabelListResult>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
listByDatabaseWithSourceNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.SensitivityLabelListResult>>;

/**
* Gets the sensitivity labels of a given database
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {SensitivityLabelListResult} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {SensitivityLabelListResult} [result] - The deserialized result object if an error did not occur.
* See {@link SensitivityLabelListResult} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
listByDatabaseWithSourceNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.SensitivityLabelListResult>;
listByDatabaseWithSourceNext(nextPageLink: string, callback: ServiceCallback<models.SensitivityLabelListResult>): void;
listByDatabaseWithSourceNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.SensitivityLabelListResult>): void;
}

/**
Loading