| | 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 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Storage.Models |
| | 12 | | { |
| | 13 | | /// <summary> The parameters used when creating a storage account. </summary> |
| | 14 | | public partial class StorageAccountCreateParameters |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of StorageAccountCreateParameters. </summary> |
| | 17 | | /// <param name="sku"> Required. Gets or sets the SKU name. </param> |
| | 18 | | /// <param name="kind"> Required. Indicates the type of storage account. </param> |
| | 19 | | /// <param name="location"> Required. Gets or sets the location of the resource. This will be one of the support |
| 280 | 20 | | public StorageAccountCreateParameters(Sku sku, Kind kind, string location) |
| | 21 | | { |
| 280 | 22 | | if (sku == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(sku)); |
| | 25 | | } |
| 280 | 26 | | if (location == null) |
| | 27 | | { |
| 0 | 28 | | throw new ArgumentNullException(nameof(location)); |
| | 29 | | } |
| | 30 | |
|
| 280 | 31 | | Sku = sku; |
| 280 | 32 | | Kind = kind; |
| 280 | 33 | | Location = location; |
| 280 | 34 | | } |
| | 35 | |
|
| | 36 | | /// <summary> Initializes a new instance of StorageAccountCreateParameters. </summary> |
| | 37 | | /// <param name="sku"> Required. Gets or sets the SKU name. </param> |
| | 38 | | /// <param name="kind"> Required. Indicates the type of storage account. </param> |
| | 39 | | /// <param name="location"> Required. Gets or sets the location of the resource. This will be one of the support |
| | 40 | | /// <param name="tags"> Gets or sets a list of key value pairs that describe the resource. These tags can be use |
| | 41 | | /// <param name="identity"> The identity of the resource. </param> |
| | 42 | | /// <param name="customDomain"> User domain assigned to the storage account. Name is the CNAME source. Only one |
| | 43 | | /// <param name="encryption"> Not applicable. Azure Storage encryption is enabled for all storage accounts and c |
| | 44 | | /// <param name="networkRuleSet"> Network rule set. </param> |
| | 45 | | /// <param name="accessTier"> Required for storage accounts where kind = BlobStorage. The access tier used for b |
| | 46 | | /// <param name="azureFilesIdentityBasedAuthentication"> Provides the identity based authentication settings for |
| | 47 | | /// <param name="enableHttpsTrafficOnly"> Allows https traffic only to storage service if sets to true. The defa |
| | 48 | | /// <param name="isHnsEnabled"> Account HierarchicalNamespace enabled if sets to true. </param> |
| | 49 | | /// <param name="largeFileSharesState"> Allow large file shares if sets to Enabled. It cannot be disabled once i |
| | 50 | | /// <param name="routingPreference"> Maintains information about the network routing choice opted by the user fo |
| 0 | 51 | | internal StorageAccountCreateParameters(Sku sku, Kind kind, string location, IDictionary<string, string> tags, I |
| | 52 | | { |
| 0 | 53 | | Sku = sku; |
| 0 | 54 | | Kind = kind; |
| 0 | 55 | | Location = location; |
| 0 | 56 | | Tags = tags; |
| 0 | 57 | | Identity = identity; |
| 0 | 58 | | CustomDomain = customDomain; |
| 0 | 59 | | Encryption = encryption; |
| 0 | 60 | | NetworkRuleSet = networkRuleSet; |
| 0 | 61 | | AccessTier = accessTier; |
| 0 | 62 | | AzureFilesIdentityBasedAuthentication = azureFilesIdentityBasedAuthentication; |
| 0 | 63 | | EnableHttpsTrafficOnly = enableHttpsTrafficOnly; |
| 0 | 64 | | IsHnsEnabled = isHnsEnabled; |
| 0 | 65 | | LargeFileSharesState = largeFileSharesState; |
| 0 | 66 | | RoutingPreference = routingPreference; |
| 0 | 67 | | } |
| | 68 | |
|
| | 69 | | /// <summary> Required. Gets or sets the SKU name. </summary> |
| 588 | 70 | | public Sku Sku { get; } |
| | 71 | | /// <summary> Required. Indicates the type of storage account. </summary> |
| 588 | 72 | | public Kind Kind { get; } |
| | 73 | | /// <summary> Required. Gets or sets the location of the resource. This will be one of the supported and registe |
| 588 | 74 | | public string Location { get; } |
| | 75 | | /// <summary> Gets or sets a list of key value pairs that describe the resource. These tags can be used for view |
| 1336 | 76 | | public IDictionary<string, string> Tags { get; set; } |
| | 77 | | /// <summary> The identity of the resource. </summary> |
| 0 | 78 | | public Identity Identity { get; set; } |
| | 79 | | /// <summary> User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is s |
| 596 | 80 | | public CustomDomain CustomDomain { get; set; } |
| | 81 | | /// <summary> Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disable |
| 636 | 82 | | public Encryption Encryption { get; set; } |
| | 83 | | /// <summary> Network rule set. </summary> |
| 600 | 84 | | public NetworkRuleSet NetworkRuleSet { get; set; } |
| | 85 | | /// <summary> Required for storage accounts where kind = BlobStorage. The access tier used for billing. </summar |
| 660 | 86 | | public AccessTier? AccessTier { get; set; } |
| | 87 | | /// <summary> Provides the identity based authentication settings for Azure Files. </summary> |
| 0 | 88 | | public AzureFilesIdentityBasedAuthentication AzureFilesIdentityBasedAuthentication { get; set; } |
| | 89 | | /// <summary> Allows https traffic only to storage service if sets to true. The default value is true since API |
| 624 | 90 | | public bool? EnableHttpsTrafficOnly { get; set; } |
| | 91 | | /// <summary> Account HierarchicalNamespace enabled if sets to true. </summary> |
| 600 | 92 | | public bool? IsHnsEnabled { get; set; } |
| | 93 | | /// <summary> Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. </summary> |
| 648 | 94 | | public LargeFileSharesState? LargeFileSharesState { get; set; } |
| | 95 | | /// <summary> Maintains information about the network routing choice opted by the user for data transfer. </summ |
| 0 | 96 | | public RoutingPreference RoutingPreference { get; set; } |
| | 97 | | } |
| | 98 | | } |