| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.KeyVault.Models |
| | 11 | | { |
| | 12 | | /// <summary> The parameters used to check the availability of the vault name. </summary> |
| | 13 | | public partial class VaultCheckNameAvailabilityParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of VaultCheckNameAvailabilityParameters. </summary> |
| | 16 | | /// <param name="name"> The vault name. </param> |
| | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception> |
| 0 | 18 | | public VaultCheckNameAvailabilityParameters(string name) |
| | 19 | | { |
| 0 | 20 | | if (name == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(name)); |
| | 23 | | } |
| | 24 | |
|
| 0 | 25 | | Name = name; |
| 0 | 26 | | Type = "Microsoft.KeyVault/vaults"; |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The vault name. </summary> |
| 0 | 30 | | public string Name { get; } |
| | 31 | | /// <summary> The type of resource, Microsoft.KeyVault/vaults. </summary> |
| 0 | 32 | | public string Type { get; } |
| | 33 | | } |
| | 34 | | } |