azure-arm-timeseriesinsights
Version:
TimeSeriesInsightsClient Library with typescript type definitions for node
63 lines (58 loc) • 1.43 kB
JavaScript
/*
* 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.
*/
;
/**
* The structure of the property that a partition key can have. An environment
* can have multiple such properties.
*
*/
class PartitionKeyProperty {
/**
* Create a PartitionKeyProperty.
* @member {string} [name] The name of the property.
* @member {string} [type] The type of the property. Possible values include:
* 'String'
*/
constructor() {
}
/**
* Defines the metadata of PartitionKeyProperty
*
* @returns {object} metadata of PartitionKeyProperty
*
*/
mapper() {
return {
required: false,
serializedName: 'PartitionKeyProperty',
type: {
name: 'Composite',
className: 'PartitionKeyProperty',
modelProperties: {
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
serializedName: 'type',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = PartitionKeyProperty;