From 8e7e8b894b365bd602cea2d292956a6e325612d5 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 21 Mar 2018 23:49:25 +0000 Subject: [PATCH] Generated from cb47714a72869d9271ef4a750f5997d4d070aaf2 removed 'enableSubscriptionPartitioning' depricated property --- lib/services/serviceBusManagement2/lib/models/index.d.ts | 3 +++ lib/services/serviceBusManagement2/lib/models/sBQueue.js | 9 +++++++++ .../serviceBusManagement2/lib/operations/index.d.ts | 6 ++++++ .../serviceBusManagement2/lib/operations/queues.js | 9 +++++++++ .../lib/serviceBusManagementClient.d.ts | 5 +++-- .../lib/serviceBusManagementClient.js | 3 +++ 6 files changed, 33 insertions(+), 2 deletions(-) diff --git a/lib/services/serviceBusManagement2/lib/models/index.d.ts b/lib/services/serviceBusManagement2/lib/models/index.d.ts index 1d48378c47..bd4a350c24 100644 --- a/lib/services/serviceBusManagement2/lib/models/index.d.ts +++ b/lib/services/serviceBusManagement2/lib/models/index.d.ts @@ -282,6 +282,8 @@ export interface MessageCountDetails { * messaging entity. Possible values include: 'Active', 'Disabled', * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' + * @member {boolean} [enableBatchedOperations] Value that indicates whether + * server-side batched operations are enabled. * @member {moment.duration} [autoDeleteOnIdle] ISO 8061 timeSpan idle interval * after which the queue is automatically deleted. The minimum duration is 5 * minutes. @@ -310,6 +312,7 @@ export interface SBQueue extends Resource { duplicateDetectionHistoryTimeWindow?: moment.Duration; maxDeliveryCount?: number; status?: string; + enableBatchedOperations?: boolean; autoDeleteOnIdle?: moment.Duration; enablePartitioning?: boolean; enableExpress?: boolean; diff --git a/lib/services/serviceBusManagement2/lib/models/sBQueue.js b/lib/services/serviceBusManagement2/lib/models/sBQueue.js index 949c88011c..0d903b1054 100644 --- a/lib/services/serviceBusManagement2/lib/models/sBQueue.js +++ b/lib/services/serviceBusManagement2/lib/models/sBQueue.js @@ -66,6 +66,8 @@ class SBQueue extends models['Resource'] { * a messaging entity. Possible values include: 'Active', 'Disabled', * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' + * @member {boolean} [enableBatchedOperations] Value that indicates whether + * server-side batched operations are enabled. * @member {moment.duration} [autoDeleteOnIdle] ISO 8061 timeSpan idle * interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. @@ -233,6 +235,13 @@ class SBQueue extends models['Resource'] { allowedValues: [ 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown' ] } }, + enableBatchedOperations: { + required: false, + serializedName: 'properties.enableBatchedOperations', + type: { + name: 'Boolean' + } + }, autoDeleteOnIdle: { required: false, serializedName: 'properties.autoDeleteOnIdle', diff --git a/lib/services/serviceBusManagement2/lib/operations/index.d.ts b/lib/services/serviceBusManagement2/lib/operations/index.d.ts index 9623012898..07243cf803 100644 --- a/lib/services/serviceBusManagement2/lib/operations/index.d.ts +++ b/lib/services/serviceBusManagement2/lib/operations/index.d.ts @@ -2323,6 +2323,9 @@ export interface Queues { * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' * + * @param {boolean} [parameters.enableBatchedOperations] Value that indicates + * whether server-side batched operations are enabled. + * * @param {moment.duration} [parameters.autoDeleteOnIdle] ISO 8061 timeSpan * idle interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. @@ -2402,6 +2405,9 @@ export interface Queues { * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' * + * @param {boolean} [parameters.enableBatchedOperations] Value that indicates + * whether server-side batched operations are enabled. + * * @param {moment.duration} [parameters.autoDeleteOnIdle] ISO 8061 timeSpan * idle interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. diff --git a/lib/services/serviceBusManagement2/lib/operations/queues.js b/lib/services/serviceBusManagement2/lib/operations/queues.js index 2e37fa30b6..1578d3f68b 100644 --- a/lib/services/serviceBusManagement2/lib/operations/queues.js +++ b/lib/services/serviceBusManagement2/lib/operations/queues.js @@ -231,6 +231,9 @@ function _listByNamespace(resourceGroupName, namespaceName, options, callback) { * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' * + * @param {boolean} [parameters.enableBatchedOperations] Value that indicates + * whether server-side batched operations are enabled. + * * @param {moment.duration} [parameters.autoDeleteOnIdle] ISO 8061 timeSpan * idle interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. @@ -2374,6 +2377,9 @@ class Queues { * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' * + * @param {boolean} [parameters.enableBatchedOperations] Value that indicates + * whether server-side batched operations are enabled. + * * @param {moment.duration} [parameters.autoDeleteOnIdle] ISO 8061 timeSpan * idle interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. @@ -2465,6 +2471,9 @@ class Queues { * 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', * 'Renaming', 'Unknown' * + * @param {boolean} [parameters.enableBatchedOperations] Value that indicates + * whether server-side batched operations are enabled. + * * @param {moment.duration} [parameters.autoDeleteOnIdle] ISO 8061 timeSpan * idle interval after which the queue is automatically deleted. The minimum * duration is 5 minutes. diff --git a/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.d.ts b/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.d.ts index f02428ba8d..2cec427818 100644 --- a/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.d.ts +++ b/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.d.ts @@ -10,9 +10,10 @@ import { ServiceClientCredentials } from 'ms-rest'; import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure'; +import * as models from "./models"; import * as operations from "./operations"; -declare class ServiceBusManagementClient extends AzureServiceClient { +export default class ServiceBusManagementClient extends AzureServiceClient { /** * Initializes a new instance of the ServiceBusManagementClient class. * @constructor @@ -67,4 +68,4 @@ declare class ServiceBusManagementClient extends AzureServiceClient { eventHubs: operations.EventHubs; } -export = ServiceBusManagementClient; +export { ServiceBusManagementClient, models as ServiceBusManagementModels }; diff --git a/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.js b/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.js index fdd395a243..e4d0ec81f4 100644 --- a/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.js +++ b/lib/services/serviceBusManagement2/lib/serviceBusManagementClient.js @@ -89,3 +89,6 @@ class ServiceBusManagementClient extends ServiceClient { } module.exports = ServiceBusManagementClient; +module.exports['default'] = ServiceBusManagementClient; +module.exports.ServiceBusManagementClient = ServiceBusManagementClient; +module.exports.ServiceBusManagementModels = models;