-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters.yml
460 lines (388 loc) · 16.7 KB
/
azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
### YamlMime:PythonClass
uid: azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters
name: StorageAccountCreateParameters
fullName: azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters
module: azure.mgmt.storage.v2022_05_01.models
inheritances:
- azure.mgmt.storage._serialization.Model
summary: 'The parameters used when creating a storage account.
All required parameters must be populated in order to send to server.'
constructor:
syntax: 'StorageAccountCreateParameters(*, sku: _models.Sku, kind: str | _models.Kind,
location: str, extended_location: _models.ExtendedLocation | None = None, tags:
Dict[str, str] | None = None, identity: _models.Identity | None = None, allowed_copy_scope:
str | _models.AllowedCopyScope | None = None, public_network_access: str | _models.PublicNetworkAccess
| None = None, sas_policy: _models.SasPolicy | None = None, key_policy: _models.KeyPolicy
| None = None, custom_domain: _models.CustomDomain | None = None, encryption:
_models.Encryption | None = None, network_rule_set: _models.NetworkRuleSet | None
= None, access_tier: str | _models.AccessTier | None = None, azure_files_identity_based_authentication:
_models.AzureFilesIdentityBasedAuthentication | None = None, enable_https_traffic_only:
bool | None = None, is_sftp_enabled: bool | None = None, is_local_user_enabled:
bool | None = None, is_hns_enabled: bool | None = None, large_file_shares_state:
str | _models.LargeFileSharesState | None = None, routing_preference: _models.RoutingPreference
| None = None, allow_blob_public_access: bool | None = None, minimum_tls_version:
str | _models.MinimumTlsVersion | None = None, allow_shared_key_access: bool |
None = None, enable_nfs_v3: bool | None = None, allow_cross_tenant_replication:
bool | None = None, default_to_o_auth_authentication: bool | None = None, immutable_storage_with_versioning:
_models.ImmutableStorageAccount | None = None, dns_endpoint_type: str | _models.DnsEndpointType
| None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: sku
description: Required. Gets or sets the SKU name. Required.
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Sku>
- name: kind
description: 'Required. Indicates the type of storage account. Required. Known
values are:
"Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.Kind>
- name: location
description: 'Required. Gets or sets the location of the resource. This will be
one of the
supported and registered Azure Geo Regions (e.g. West US, East US, Southeast
Asia, etc.). The
geo region of a resource cannot be changed once it is created, but if an identical
geo region
is specified on update, the request will succeed. Required.'
types:
- <xref:str>
- name: extended_location
description: 'Optional. Set the extended location of the resource. If not set,
the storage account will be created in Azure main region. Otherwise it will
be created in the
specified extended location.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.ExtendedLocation>
- name: tags
description: 'Gets or sets a list of key value pairs that describe the resource.
These tags
can be used for viewing and grouping this resource (across resource groups).
A maximum of 15
tags can be provided for a resource. Each tag must have a key with a length
no greater than 128
characters and a value with a length no greater than 256 characters.'
types:
- <xref:dict>[<xref:str>, <xref:str>]
- name: identity
description: The identity of the resource.
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Identity>
- name: allowed_copy_scope
description: 'Restrict copy to and from Storage Accounts within an AAD tenant
or
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.AllowedCopyScope>
- name: public_network_access
description: 'Allow or disallow public network access to Storage Account.
Value is optional but if passed in, must be ''Enabled'' or ''Disabled''. Known
values are:
"Enabled" and "Disabled".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.PublicNetworkAccess>
- name: sas_policy
description: SasPolicy assigned to the storage account.
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.SasPolicy>
- name: key_policy
description: KeyPolicy assigned to the storage account.
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.KeyPolicy>
- name: custom_domain
description: 'User domain assigned to the storage account. Name is the CNAME source.
Only one custom domain is supported per storage account at this time. To clear
the existing
custom domain, use an empty string for the custom domain name property.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.CustomDomain>
- name: encryption
description: 'Encryption settings to be used for server-side encryption for the
storage
account.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Encryption>
- name: network_rule_set
description: Network rule set.
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.NetworkRuleSet>
- name: access_tier
description: 'Required for storage accounts where kind = BlobStorage. The access
tier
is used for billing. The ''Premium'' access tier is the default value for premium
block blobs
storage account type and it cannot be changed for the premium block blobs storage
account type.
Known values are: "Hot", "Cool", and "Premium".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.AccessTier>
- name: azure_files_identity_based_authentication
description: 'Provides the identity based authentication
settings for Azure Files.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.AzureFilesIdentityBasedAuthentication>
- name: enable_https_traffic_only
description: 'Allows https traffic only to storage service if sets to
true. The default value is true since API version 2019-04-01.'
types:
- <xref:bool>
- name: is_sftp_enabled
description: Enables Secure File Transfer Protocol, if set to true.
types:
- <xref:bool>
- name: is_local_user_enabled
description: Enables local users feature, if set to true.
types:
- <xref:bool>
- name: is_hns_enabled
description: Account HierarchicalNamespace enabled if sets to true.
types:
- <xref:bool>
- name: large_file_shares_state
description: 'Allow large file shares if sets to Enabled. It cannot be
disabled once it is enabled. Known values are: "Disabled" and "Enabled".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.LargeFileSharesState>
- name: routing_preference
description: 'Maintains information about the network routing choice opted by
the user for data transfer.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.RoutingPreference>
- name: allow_blob_public_access
description: 'Allow or disallow public access to all blobs or containers
in the storage account. The default interpretation is true for this property.'
types:
- <xref:bool>
- name: minimum_tls_version
description: 'Set the minimum TLS version to be permitted on requests to
storage. The default interpretation is TLS 1.0 for this property. Known values
are: "TLS1_0",
"TLS1_1", and "TLS1_2".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.MinimumTlsVersion>
- name: allow_shared_key_access
description: 'Indicates whether the storage account permits requests to be
authorized with the account access key via Shared Key. If false, then all requests,
including
shared access signatures, must be authorized with Azure Active Directory (Azure
AD). The
default value is null, which is equivalent to true.'
types:
- <xref:bool>
- name: enable_nfs_v3
description: NFS 3.0 protocol support enabled if set to true.
types:
- <xref:bool>
- name: allow_cross_tenant_replication
description: 'Allow or disallow cross AAD tenant object replication.
The default interpretation is true for this property.'
types:
- <xref:bool>
- name: default_to_o_auth_authentication
description: 'A boolean flag which indicates whether the default
authentication is OAuth or not. The default interpretation is false for this
property.'
types:
- <xref:bool>
- name: immutable_storage_with_versioning
description: 'The property is immutable and can only be set to
true at the account creation time. When set to true, it enables object level
immutability for
all the new containers in the account by default.'
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.ImmutableStorageAccount>
- name: dns_endpoint_type
description: 'Allows you to specify the type of endpoint. Set this to
AzureDNSZone to create a large number of accounts in a single subscription,
which creates
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric
DNS Zone
identifier. Known values are: "Standard" and "AzureDnsZone".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.DnsEndpointType>
variables:
- description: Required. Gets or sets the SKU name. Required.
name: sku
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Sku>
- description: 'Required. Indicates the type of storage account. Required. Known values
are:
"Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".'
name: kind
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.Kind>
- description: 'Required. Gets or sets the location of the resource. This will be
one of the
supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia,
etc.). The
geo region of a resource cannot be changed once it is created, but if an identical
geo region
is specified on update, the request will succeed. Required.'
name: location
types:
- <xref:str>
- description: 'Optional. Set the extended location of the resource. If not set, the
storage account will be created in Azure main region. Otherwise it will be created
in the
specified extended location.'
name: extended_location
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.ExtendedLocation>
- description: 'Gets or sets a list of key value pairs that describe the resource.
These tags can
be used for viewing and grouping this resource (across resource groups). A maximum
of 15 tags
can be provided for a resource. Each tag must have a key with a length no greater
than 128
characters and a value with a length no greater than 256 characters.'
name: tags
types:
- <xref:dict>[<xref:str>, <xref:str>]
- description: The identity of the resource.
name: identity
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Identity>
- description: 'Restrict copy to and from Storage Accounts within an AAD tenant or
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".'
name: allowed_copy_scope
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.AllowedCopyScope>
- description: 'Allow or disallow public network access to Storage Account. Value
is optional but if passed in, must be ''Enabled'' or ''Disabled''. Known values
are: "Enabled" and
"Disabled".'
name: public_network_access
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.PublicNetworkAccess>
- description: SasPolicy assigned to the storage account.
name: sas_policy
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.SasPolicy>
- description: KeyPolicy assigned to the storage account.
name: key_policy
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.KeyPolicy>
- description: 'User domain assigned to the storage account. Name is the CNAME source.
Only one custom domain is supported per storage account at this time. To clear
the existing
custom domain, use an empty string for the custom domain name property.'
name: custom_domain
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.CustomDomain>
- description: 'Encryption settings to be used for server-side encryption for the
storage
account.'
name: encryption
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.Encryption>
- description: Network rule set.
name: network_rule_set
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.NetworkRuleSet>
- description: 'Required for storage accounts where kind = BlobStorage. The access
tier is
used for billing. The ''Premium'' access tier is the default value for premium
block blobs
storage account type and it cannot be changed for the premium block blobs storage
account type.
Known values are: "Hot", "Cool", and "Premium".'
name: access_tier
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.AccessTier>
- description: 'Provides the identity based authentication
settings for Azure Files.'
name: azure_files_identity_based_authentication
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.AzureFilesIdentityBasedAuthentication>
- description: 'Allows https traffic only to storage service if sets to true.
The default value is true since API version 2019-04-01.'
name: enable_https_traffic_only
types:
- <xref:bool>
- description: Enables Secure File Transfer Protocol, if set to true.
name: is_sftp_enabled
types:
- <xref:bool>
- description: Enables local users feature, if set to true.
name: is_local_user_enabled
types:
- <xref:bool>
- description: Account HierarchicalNamespace enabled if sets to true.
name: is_hns_enabled
types:
- <xref:bool>
- description: 'Allow large file shares if sets to Enabled. It cannot be
disabled once it is enabled. Known values are: "Disabled" and "Enabled".'
name: large_file_shares_state
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.LargeFileSharesState>
- description: 'Maintains information about the network routing choice opted by the
user for data transfer.'
name: routing_preference
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.RoutingPreference>
- description: 'Allow or disallow public access to all blobs or containers in
the storage account. The default interpretation is true for this property.'
name: allow_blob_public_access
types:
- <xref:bool>
- description: 'Set the minimum TLS version to be permitted on requests to storage.
The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0",
"TLS1_1",
and "TLS1_2".'
name: minimum_tls_version
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.MinimumTlsVersion>
- description: 'Indicates whether the storage account permits requests to be
authorized with the account access key via Shared Key. If false, then all requests,
including
shared access signatures, must be authorized with Azure Active Directory (Azure
AD). The
default value is null, which is equivalent to true.'
name: allow_shared_key_access
types:
- <xref:bool>
- description: NFS 3.0 protocol support enabled if set to true.
name: enable_nfs_v3
types:
- <xref:bool>
- description: 'Allow or disallow cross AAD tenant object replication.
The default interpretation is true for this property.'
name: allow_cross_tenant_replication
types:
- <xref:bool>
- description: 'A boolean flag which indicates whether the default
authentication is OAuth or not. The default interpretation is false for this property.'
name: default_to_o_auth_authentication
types:
- <xref:bool>
- description: 'The property is immutable and can only be set to true
at the account creation time. When set to true, it enables object level immutability
for all
the new containers in the account by default.'
name: immutable_storage_with_versioning
types:
- <xref:azure.mgmt.storage.v2022_05_01.models.ImmutableStorageAccount>
- description: 'Allows you to specify the type of endpoint. Set this to AzureDNSZone
to create a large number of accounts in a single subscription, which creates accounts
in an
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.
Known values
are: "Standard" and "AzureDnsZone".'
name: dns_endpoint_type
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2022_05_01.models.DnsEndpointType>