This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 0f95ff79bf5626b76d881a3abb35826bf22e2b05 (#2461)
Add node config to keyvault for Swagger to SDK
- Loading branch information
1 parent
8e520cb
commit 82b0239
Showing
25 changed files
with
4,105 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
lib/services/keyVaultManagement/lib/models/checkNameAvailabilityResult.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* The CheckNameAvailability operation response. | ||
* | ||
*/ | ||
class CheckNameAvailabilityResult { | ||
/** | ||
* Create a CheckNameAvailabilityResult. | ||
* @member {boolean} [nameAvailable] A boolean value that indicates whether | ||
* the name is available for you to use. If true, the name is available. If | ||
* false, the name has already been taken or is invalid and cannot be used. | ||
* @member {string} [reason] The reason that a vault name could not be used. | ||
* The Reason element is only returned if NameAvailable is false. Possible | ||
* values include: 'AccountNameInvalid', 'AlreadyExists' | ||
* @member {string} [message] An error message explaining the Reason value in | ||
* more detail. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of CheckNameAvailabilityResult | ||
* | ||
* @returns {object} metadata of CheckNameAvailabilityResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'CheckNameAvailabilityResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'CheckNameAvailabilityResult', | ||
modelProperties: { | ||
nameAvailable: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'nameAvailable', | ||
type: { | ||
name: 'Boolean' | ||
} | ||
}, | ||
reason: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'reason', | ||
type: { | ||
name: 'Enum', | ||
allowedValues: [ 'AccountNameInvalid', 'AlreadyExists' ] | ||
} | ||
}, | ||
message: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'message', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = CheckNameAvailabilityResult; |
Oops, something went wrong.