UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

109 lines (103 loc) 2.95 kB
/* * 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. */ 'use strict'; const models = require('./index'); /** * Configuration for export to Blob Storage with customer provided connection * string * * @extends models['ExportBlobConfiguration'] */ class ExportConfigurationBlobStorageConnectionString extends models['ExportBlobConfiguration'] { /** * Create a ExportConfigurationBlobStorageConnectionString. * @property {string} connectionString Connection string for blob storage * account */ constructor() { super(); } /** * Defines the metadata of ExportConfigurationBlobStorageConnectionString * * @returns {object} metadata of ExportConfigurationBlobStorageConnectionString * */ mapper() { return { required: false, serializedName: 'blob_storage_connection_string', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'ExportConfiguration', className: 'ExportConfigurationBlobStorageConnectionString', modelProperties: { exportEntities: { required: false, serializedName: 'export_entities', type: { name: 'Sequence', element: { required: false, serializedName: 'ExportEntityElementType', type: { name: 'Enum', allowedValues: [ 'crashes', 'errors', 'attachments' ] } } } }, resourceName: { required: false, serializedName: 'resource_name', type: { name: 'String' } }, resourceGroup: { required: false, serializedName: 'resource_group', type: { name: 'String' } }, type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, blobPathFormatKind: { required: false, serializedName: 'blob_path_format_kind', type: { name: 'Enum', allowedValues: [ 'WithoutAppId', 'WithAppId' ] } }, connectionString: { required: true, serializedName: 'connection_string', type: { name: 'String' } } } } }; } } module.exports = ExportConfigurationBlobStorageConnectionString;