azure-cli
Version:
Microsoft Azure Cross Platform Command Line tool
66 lines (60 loc) • 1.56 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');
/**
* Describes a reference to Key Vault Secret
*
*/
class KeyVaultSecretReference {
/**
* Create a KeyVaultSecretReference.
* @member {string} secretUrl The URL referencing a secret in a Key Vault.
* @member {object} sourceVault The relative URL of the Key Vault containing
* the secret.
* @member {string} [sourceVault.id] Resource Id
*/
constructor() {
}
/**
* Defines the metadata of KeyVaultSecretReference
*
* @returns {object} metadata of KeyVaultSecretReference
*
*/
mapper() {
return {
required: false,
serializedName: 'KeyVaultSecretReference',
type: {
name: 'Composite',
className: 'KeyVaultSecretReference',
modelProperties: {
secretUrl: {
required: true,
serializedName: 'secretUrl',
type: {
name: 'String'
}
},
sourceVault: {
required: true,
serializedName: 'sourceVault',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
}
};
}
}
module.exports = KeyVaultSecretReference;