| | 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.Storage.Models |
| | 11 | | { |
| | 12 | | /// <summary> The parameters used to check the availability of the storage account name. </summary> |
| | 13 | | public partial class StorageAccountCheckNameAvailabilityParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of StorageAccountCheckNameAvailabilityParameters. </summary> |
| | 16 | | /// <param name="name"> The storage account name. </param> |
| 12 | 17 | | public StorageAccountCheckNameAvailabilityParameters(string name) |
| | 18 | | { |
| 12 | 19 | | if (name == null) |
| | 20 | | { |
| 0 | 21 | | throw new ArgumentNullException(nameof(name)); |
| | 22 | | } |
| | 23 | |
|
| 12 | 24 | | Name = name; |
| 12 | 25 | | Type = "Microsoft.Storage/storageAccounts"; |
| 12 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of StorageAccountCheckNameAvailabilityParameters. </summary> |
| | 29 | | /// <param name="name"> The storage account name. </param> |
| | 30 | | /// <param name="type"> The type of resource, Microsoft.Storage/storageAccounts. </param> |
| 0 | 31 | | internal StorageAccountCheckNameAvailabilityParameters(string name, string type) |
| | 32 | | { |
| 0 | 33 | | Name = name; |
| 0 | 34 | | Type = type; |
| 0 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> The storage account name. </summary> |
| 12 | 38 | | public string Name { get; } |
| | 39 | | /// <summary> The type of resource, Microsoft.Storage/storageAccounts. </summary> |
| 12 | 40 | | public string Type { get; } |
| | 41 | | } |
| | 42 | | } |