azure-cli
Version:
Microsoft Azure Cross Platform Command Line tool
64 lines (58 loc) • 1.38 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.
*/
;
const models = require('./index');
/**
* The Update Resource model definition.
*
* @extends models['BaseResource']
*/
class UpdateResource extends models['BaseResource'] {
/**
* Create a UpdateResource.
* @member {object} [tags] Resource tags
*/
constructor() {
super();
}
/**
* Defines the metadata of UpdateResource
*
* @returns {object} metadata of UpdateResource
*
*/
mapper() {
return {
required: false,
serializedName: 'UpdateResource',
type: {
name: 'Composite',
className: 'UpdateResource',
modelProperties: {
tags: {
required: false,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}
module.exports = UpdateResource;