From 4c9d62deb950f2bfa24230cd12a272ea40602ec6 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 31 Jan 2019 14:16:37 -0800 Subject: [PATCH] Generated from b7d1b926b468d7a71f65473228cd72f53c849d40 (#4598) fixed indentation. --- lib/services/eventHubManagement/LICENSE.txt | 2 +- .../eventHubManagement/lib/models/captureDescription.js | 9 +++++++++ lib/services/eventHubManagement/lib/models/eventhub.js | 2 ++ lib/services/eventHubManagement/lib/models/index.d.ts | 4 ++++ .../eventHubManagement/lib/operations/eventHubs.js | 9 +++++++++ .../eventHubManagement/lib/operations/index.d.ts | 6 ++++++ 6 files changed, 31 insertions(+), 1 deletion(-) diff --git a/lib/services/eventHubManagement/LICENSE.txt b/lib/services/eventHubManagement/LICENSE.txt index 5431ba98b9..8f3d856145 100644 --- a/lib/services/eventHubManagement/LICENSE.txt +++ b/lib/services/eventHubManagement/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/lib/services/eventHubManagement/lib/models/captureDescription.js b/lib/services/eventHubManagement/lib/models/captureDescription.js index 5d10035e56..57878509c1 100644 --- a/lib/services/eventHubManagement/lib/models/captureDescription.js +++ b/lib/services/eventHubManagement/lib/models/captureDescription.js @@ -40,6 +40,8 @@ class CaptureDescription { * {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order + * @property {boolean} [skipEmptyArchives] A value that indicates whether to + * Skip Empty Archives */ constructor() { } @@ -102,6 +104,13 @@ class CaptureDescription { name: 'Composite', className: 'Destination' } + }, + skipEmptyArchives: { + required: false, + serializedName: 'skipEmptyArchives', + type: { + name: 'Boolean' + } } } } diff --git a/lib/services/eventHubManagement/lib/models/eventhub.js b/lib/services/eventHubManagement/lib/models/eventhub.js index 186b210474..c95abc3ddd 100644 --- a/lib/services/eventHubManagement/lib/models/eventhub.js +++ b/lib/services/eventHubManagement/lib/models/eventhub.js @@ -59,6 +59,8 @@ class Eventhub extends models['Resource'] { * {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order + * @property {boolean} [captureDescription.skipEmptyArchives] A value that + * indicates whether to Skip Empty Archives */ constructor() { super(); diff --git a/lib/services/eventHubManagement/lib/models/index.d.ts b/lib/services/eventHubManagement/lib/models/index.d.ts index 7245b75fee..1d321f923f 100644 --- a/lib/services/eventHubManagement/lib/models/index.d.ts +++ b/lib/services/eventHubManagement/lib/models/index.d.ts @@ -220,6 +220,10 @@ export interface CaptureDescription { * Properties of Destination where capture will be stored. (Storage Account, Blob Names) */ destination?: Destination; + /** + * A value that indicates whether to Skip Empty Archives + */ + skipEmptyArchives?: boolean; } /** diff --git a/lib/services/eventHubManagement/lib/operations/eventHubs.js b/lib/services/eventHubManagement/lib/operations/eventHubs.js index e5aff41072..c5f069d1fd 100644 --- a/lib/services/eventHubManagement/lib/operations/eventHubs.js +++ b/lib/services/eventHubManagement/lib/operations/eventHubs.js @@ -286,6 +286,9 @@ function _listByNamespace(resourceGroupName, namespaceName, options, callback) { * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order * + * @param {boolean} [parameters.captureDescription.skipEmptyArchives] A value + * that indicates whether to Skip Empty Archives + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2422,6 +2425,9 @@ class EventHubs { * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order * + * @param {boolean} [parameters.captureDescription.skipEmptyArchives] A value + * that indicates whether to Skip Empty Archives + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2510,6 +2516,9 @@ class EventHubs { * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order * + * @param {boolean} [parameters.captureDescription.skipEmptyArchives] A value + * that indicates whether to Skip Empty Archives + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the diff --git a/lib/services/eventHubManagement/lib/operations/index.d.ts b/lib/services/eventHubManagement/lib/operations/index.d.ts index e96e1e7c59..4f6d656118 100644 --- a/lib/services/eventHubManagement/lib/operations/index.d.ts +++ b/lib/services/eventHubManagement/lib/operations/index.d.ts @@ -2457,6 +2457,9 @@ export interface EventHubs { * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order * + * @param {boolean} [parameters.captureDescription.skipEmptyArchives] A value + * that indicates whether to Skip Empty Archives + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2533,6 +2536,9 @@ export interface EventHubs { * Here all the parameters (Namespace,EventHub .. etc) are mandatory * irrespective of order * + * @param {boolean} [parameters.captureDescription.skipEmptyArchives] A value + * that indicates whether to Skip Empty Archives + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the