UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

108 lines (102 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 linked subscription. * * @extends models['ExportBlobConfiguration'] */ class ExportConfigurationBlobStorageLinkedSubscription extends models['ExportBlobConfiguration'] { /** * Create a ExportConfigurationBlobStorageLinkedSubscription. * @property {string} subscriptionId Id of customer subscription linked in * App Center */ constructor() { super(); } /** * Defines the metadata of ExportConfigurationBlobStorageLinkedSubscription * * @returns {object} metadata of ExportConfigurationBlobStorageLinkedSubscription * */ mapper() { return { required: false, serializedName: 'blob_storage_linked_subscription', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'ExportConfiguration', className: 'ExportConfigurationBlobStorageLinkedSubscription', 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' ] } }, subscriptionId: { required: true, serializedName: 'subscription_id', type: { name: 'String' } } } } }; } } module.exports = ExportConfigurationBlobStorageLinkedSubscription;