Skip to content

Commit fd80cb7

Browse files
Azure CLI BotSDKAuto
andauthored
[AutoRelease] t2-storage-2021-09-14-45016(Do not merge) (Azure#20678)
* CodeGen from PR 15627 in Azure/azure-rest-api-specs [SRP] 2021-06-01 Swagger Api (Azure#15627) * Add June21 Swagger Api version, Updated Readme files * adding abort and hnson migration swagger API * swagger: marking requesttype as required parameter for hns onmigration * Added new PublicNetworkAccess property to swagger spec * Add enableNfsV3RootSquash and enableNfsV3AllSquash to June21 swagger * Add Account Level VLW Swagger changes and example * Update Blob Inventory Api comment to include AccessTierInferred and Tags * Rename HnsOn to hierarchical namespace * [Swagger] [June21] Added defaultToOAuthAuthentication to swagger spec * Update Spell check custom words list. Correct incorrect spellings * Add missing refrences to PublicNetworkAccess Examples * Add required type:object, Add default return type for hns migration apis * Prettier tool update to storage.json * Add update account with immutability policy example * Removed StorageFileDataSmbShareOwner as Server side does not support it * Add AllowProtectedAppendWritesAll feature changes with example * Updated enum values and description for PublicNetworkAccess * Add type:object to ProtectedAppendWritesHistory ; Spellcheck * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent 3eb0af9 commit fd80cb7

File tree

261 files changed

+30036
-1259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+30036
-1259
lines changed

sdk/storage/azure-mgmt-storage/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Release History
22

3+
## 19.0.0 (2021-09-14)
4+
5+
**Features**
6+
7+
- Model BlobContainer has a new parameter enable_nfs_v3_root_squash
8+
- Model BlobContainer has a new parameter enable_nfs_v3_all_squash
9+
- Model UpdateHistoryProperty has a new parameter allow_protected_append_writes
10+
- Model UpdateHistoryProperty has a new parameter allow_protected_append_writes_all
11+
- Model StorageAccountUpdateParameters has a new parameter default_to_o_auth_authentication
12+
- Model StorageAccountUpdateParameters has a new parameter public_network_access
13+
- Model StorageAccountUpdateParameters has a new parameter immutable_storage_with_versioning
14+
- Model ImmutabilityPolicy has a new parameter allow_protected_append_writes_all
15+
- Model StorageAccountCreateParameters has a new parameter default_to_o_auth_authentication
16+
- Model StorageAccountCreateParameters has a new parameter public_network_access
17+
- Model StorageAccountCreateParameters has a new parameter immutable_storage_with_versioning
18+
- Model ListContainerItem has a new parameter enable_nfs_v3_root_squash
19+
- Model ListContainerItem has a new parameter enable_nfs_v3_all_squash
20+
- Model LegalHoldProperties has a new parameter protected_append_writes_history
21+
- Model ImmutabilityPolicyProperties has a new parameter allow_protected_append_writes_all
22+
- Model StorageAccount has a new parameter default_to_o_auth_authentication
23+
- Model StorageAccount has a new parameter public_network_access
24+
- Model StorageAccount has a new parameter immutable_storage_with_versioning
25+
- Model LegalHold has a new parameter allow_protected_append_writes_all
26+
- Added operation StorageAccountsOperations.begin_abort_hierarchical_namespace_migration
27+
- Added operation StorageAccountsOperations.begin_hierarchical_namespace_migration
28+
29+
**Breaking changes**
30+
31+
- Model AccessPolicy has a new signature
32+
333
## 18.0.0 (2021-05-13)
434

535
**Features**

sdk/storage/azure-mgmt-storage/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.3.0",
3-
"use": "@autorest/[email protected]",
4-
"commit": "719b74f77b92eb1ec3814be6c4488bcf6b651733",
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "cfa9e0f3df4553767d7915ec8f471ff7d4931ed1",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"autorest_command": "autorest specification/storage/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
9+
"autorest_command": "autorest specification/storage/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/[email protected] --version=3.4.5",
710
"readme": "specification/storage/resource-manager/readme.md"
811
}

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py

Lines changed: 62 additions & 1 deletion
Large diffs are not rendered by default.

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "18.0.0"
8+
VERSION = "19.0.0"

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py

Lines changed: 62 additions & 1 deletion
Large diffs are not rendered by default.

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77
from .v2018_02_01.models import *
8-
from .v2021_04_01.models import *
8+
from .v2021_06_01.models import *

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "19.0.0"

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4646
async def check_name_availability(
4747
self,
4848
account_name: "_models.StorageAccountCheckNameAvailabilityParameters",
49-
**kwargs
49+
**kwargs: Any
5050
) -> "_models.CheckNameAvailabilityResult":
5151
"""Checks that the storage account name is valid and is not already in use.
5252
@@ -108,7 +108,7 @@ async def _create_initial(
108108
resource_group_name: str,
109109
account_name: str,
110110
parameters: "_models.StorageAccountCreateParameters",
111-
**kwargs
111+
**kwargs: Any
112112
) -> Optional["_models.StorageAccount"]:
113113
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]]
114114
error_map = {
@@ -163,7 +163,7 @@ async def begin_create(
163163
resource_group_name: str,
164164
account_name: str,
165165
parameters: "_models.StorageAccountCreateParameters",
166-
**kwargs
166+
**kwargs: Any
167167
) -> AsyncLROPoller["_models.StorageAccount"]:
168168
"""Asynchronously creates a new storage account with the specified parameters. If an account is
169169
already created and a subsequent create request is issued with different properties, the
@@ -181,8 +181,8 @@ async def begin_create(
181181
:type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters
182182
:keyword callable cls: A custom type or function that will be passed the direct response
183183
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
184-
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
185-
False for no polling, or your own initialized polling object for a personal polling strategy.
184+
:keyword polling: By default, your polling method will be AsyncARMPolling.
185+
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
186186
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
187187
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
188188
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response)
@@ -239,7 +239,7 @@ async def delete(
239239
self,
240240
resource_group_name: str,
241241
account_name: str,
242-
**kwargs
242+
**kwargs: Any
243243
) -> None:
244244
"""Deletes a storage account in Microsoft Azure.
245245
@@ -295,7 +295,7 @@ async def get_properties(
295295
self,
296296
resource_group_name: str,
297297
account_name: str,
298-
**kwargs
298+
**kwargs: Any
299299
) -> "_models.StorageAccount":
300300
"""Returns the properties for the specified storage account including but not limited to name, SKU
301301
name, location, and account status. The ListKeys operation should be used to retrieve storage
@@ -359,7 +359,7 @@ async def update(
359359
resource_group_name: str,
360360
account_name: str,
361361
parameters: "_models.StorageAccountUpdateParameters",
362-
**kwargs
362+
**kwargs: Any
363363
) -> "_models.StorageAccount":
364364
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
365365
storage account. It can also be used to map the account to a custom domain. Only one custom
@@ -432,7 +432,7 @@ async def update(
432432

433433
def list(
434434
self,
435-
**kwargs
435+
**kwargs: Any
436436
) -> AsyncIterable["_models.StorageAccountListResult"]:
437437
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
438438
returned; use the ListKeys operation for this.
@@ -500,7 +500,7 @@ async def get_next(next_link=None):
500500
def list_by_resource_group(
501501
self,
502502
resource_group_name: str,
503-
**kwargs
503+
**kwargs: Any
504504
) -> AsyncIterable["_models.StorageAccountListResult"]:
505505
"""Lists all the storage accounts available under the given resource group. Note that storage keys
506506
are not returned; use the ListKeys operation for this.
@@ -573,7 +573,7 @@ async def list_keys(
573573
self,
574574
resource_group_name: str,
575575
account_name: str,
576-
**kwargs
576+
**kwargs: Any
577577
) -> "_models.StorageAccountKeys":
578578
"""Lists the access keys for the specified storage account.
579579
@@ -635,7 +635,7 @@ async def regenerate_key(
635635
resource_group_name: str,
636636
account_name: str,
637637
regenerate_key: "_models.StorageAccountRegenerateKeyParameters",
638-
**kwargs
638+
**kwargs: Any
639639
) -> "_models.StorageAccountKeys":
640640
"""Regenerates one of the access keys for the specified storage account.
641641

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4343

4444
def list(
4545
self,
46-
**kwargs
46+
**kwargs: Any
4747
) -> AsyncIterable["_models.UsageListResult"]:
4848
"""Lists the current usage count and the limit for the resources under the subscription.
4949

0 commit comments

Comments
 (0)