From 9d60981ac2de1f978b703a79e8a76fd8e7645bca Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 8 May 2020 10:49:41 +0800 Subject: [PATCH] [storage-or-policy] rename the extension (#1662) * rename the extension * change codeowner --- .github/CODEOWNERS | 2 +- .../HISTORY.rst | 6 +++- .../README.md | 36 ++++++++----------- .../__init__.py | 0 .../azext_storage_or_preview}/__init__.py | 2 +- .../_client_factory.py | 0 .../azext_storage_or_preview}/_help.py | 0 .../azext_storage_or_preview}/_params.py | 0 .../azext_storage_or_preview}/_validators.py | 0 .../azext_metadata.json | 0 .../azext_storage_or_preview}/commands.py | 4 +-- .../operations/__init__.py | 0 .../operations/account.py | 0 .../azext_storage_or_preview}/profiles.py | 2 +- .../tests/__init__.py | 0 .../tests/latest/__init__.py | 0 .../recordings/test_storage_account_ors.yaml | 0 .../test_storage_account_ors_scenario.py | 0 .../tests/storage_test_util.py | 0 .../vendored_sdks/__init__.py | 0 .../azure_mgmt_storage/__init__.py | 0 .../azure_mgmt_storage/_configuration.py | 0 .../_storage_management_client.py | 0 .../azure_mgmt_storage/models.py | 0 .../v2019_06_01/__init__.py | 0 .../v2019_06_01/_configuration.py | 0 .../v2019_06_01/_storage_management_client.py | 0 .../v2019_06_01/models/__init__.py | 0 .../v2019_06_01/models/_models.py | 0 .../v2019_06_01/models/_models_py3.py | 0 .../v2019_06_01/models/_paged_models.py | 0 .../_storage_management_client_enums.py | 0 .../v2019_06_01/operations/__init__.py | 0 .../operations/_blob_containers_operations.py | 0 .../operations/_blob_services_operations.py | 0 .../_encryption_scopes_operations.py | 0 .../operations/_file_services_operations.py | 0 .../operations/_file_shares_operations.py | 0 .../_management_policies_operations.py | 0 ..._object_replication_policies_operations.py | 0 .../v2019_06_01/operations/_operations.py | 0 ...private_endpoint_connections_operations.py | 0 .../_private_link_resources_operations.py | 0 .../operations/_skus_operations.py | 0 .../_storage_accounts_operations.py | 0 .../operations/_usages_operations.py | 0 .../azure_mgmt_storage/v2019_06_01/version.py | 0 .../azure_mgmt_storage/version.py | 0 .../setup.cfg | 0 .../setup.py | 6 ++-- 50 files changed, 28 insertions(+), 30 deletions(-) rename src/{storage-ors-preview => storage-or-preview}/HISTORY.rst (74%) rename src/{storage-ors-preview => storage-or-preview}/README.md (81%) rename src/{storage-ors-preview => storage-or-preview}/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/__init__.py (98%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/_client_factory.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/_help.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/_params.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/_validators.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/azext_metadata.json (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/commands.py (91%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/operations/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/operations/account.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/profiles.py (81%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/tests/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/tests/latest/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/tests/latest/recordings/test_storage_account_ors.yaml (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/tests/latest/test_storage_account_ors_scenario.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/tests/storage_test_util.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/_configuration.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/_storage_management_client.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/models.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/_configuration.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/_storage_management_client.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models_py3.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_paged_models.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_storage_management_client_enums.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/__init__.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_containers_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_services_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_encryption_scopes_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_services_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_shares_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_management_policies_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_object_replication_policies_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_endpoint_connections_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_link_resources_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_skus_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_storage_accounts_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_usages_operations.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/v2019_06_01/version.py (100%) rename src/{storage-ors-preview/azext_storage_ors_preview => storage-or-preview/azext_storage_or_preview}/vendored_sdks/azure_mgmt_storage/version.py (100%) rename src/{storage-ors-preview => storage-or-preview}/setup.cfg (100%) rename src/{storage-ors-preview => storage-or-preview}/setup.py (94%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5eb244ef227..09173350abc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -96,7 +96,7 @@ /src/blueprint/ @fengzhou-msft -/src/storage-ors-preview/ @Juliehzl +/src/storage-or-preview/ @Juliehzl /src/logic/ @bquantump diff --git a/src/storage-ors-preview/HISTORY.rst b/src/storage-or-preview/HISTORY.rst similarity index 74% rename from src/storage-ors-preview/HISTORY.rst rename to src/storage-or-preview/HISTORY.rst index 5274faef144..ccd7553f641 100644 --- a/src/storage-ors-preview/HISTORY.rst +++ b/src/storage-or-preview/HISTORY.rst @@ -14,4 +14,8 @@ Release History 0.3.0 ++++++ * Rename `az storage account ors-policy` to `az storage account or-policy`. -* Default to `--account-name` for `--destination-account` when creating policy in destination account. \ No newline at end of file +* Default to `--account-name` for `--destination-account` when creating policy in destination account. + +0.4.0 +++++++ +* Rename the extension to `storage-or-policy`. \ No newline at end of file diff --git a/src/storage-ors-preview/README.md b/src/storage-or-preview/README.md similarity index 81% rename from src/storage-ors-preview/README.md rename to src/storage-or-preview/README.md index 35fca9272d8..db9a1b37441 100644 --- a/src/storage-ors-preview/README.md +++ b/src/storage-or-preview/README.md @@ -1,17 +1,11 @@ -# Azure CLI storage-ors-preview Extension # -This is an extension for storage-ors-preview features. +# Azure CLI storage-or-preview Extension # +This is an extension for storage-or-preview features. ### How to use ### Install this extension using the below CLI command after release: ``` -az extension add -n storage-ors-preview +az extension add -n storage-or-preview ``` -Currently you can install use source wheel: -``` -az extension add -s https://storageextension.blob.core.windows.net/cliextension/storage_ors_preview-0.3.0-py2.py3-none-any.whl -``` - -For release history, please refer to https://github.com/Juliehzl/azure-cli-extensions/blob/ors/src/storage-ors-preview/HISTORY.rst. ### Prepare 1. Prepare general purpose v2 storage account @@ -70,7 +64,7 @@ az storage account or-policy create \ --prefix-match blobA blobB ``` -3. Create Object Replication Service Policy to source storage account through policy associated with destination storage account. +3. Create Object Replication Policy to source storage account through policy associated with destination storage account. ``` az storage account or-policy show -g groupName -n destAccountName --policy-id "3496e652-4cea-4581-b2f7-c86b3971ba92" | az storage account or-policy create -g ResourceGroupName -n srcAccountName -p "@-" ``` @@ -81,14 +75,14 @@ To save the policyId/ruleId in PowerShell Scripts, you can use: `$ruleId = (az storage account or-policy create --account-name accountName --resource-group groupName --properties @{path}) --query rules.ruleId)` -##### List ORS Policies on storage account +##### List OR Policies on storage account ``` az storage account or-policy list \ --account-name accountName \ --resource-group groupName ``` -##### Show ORS Policy on storage account +##### Show OR Policy on storage account ``` az storage account or-policy show \ --policy-id $policyId \ @@ -96,8 +90,8 @@ az storage account or-policy show \ --resource-group groupName ``` -##### Update ORS Policy on storage account -Change source storage account name of existing ORS policy. +##### Update OR Policy on storage account +Change source storage account name of existing OR policy. ``` az storage account or-policy update \ --policy-id $policyId \ @@ -106,14 +100,14 @@ az storage account or-policy update \ -s newSourceAccount ``` -Update existing ORS policy through json file. +Update existing OR policy through json file. ``` az storage account or-policy update \ --policy @policy.json \ --account-name destAccountName \ --resource-group groupName \ ``` -##### Add rule to existing ORS Policy +##### Add rule to existing OR Policy ``` az storage account or-policy rule add \ --policy-id $policyId \ @@ -125,7 +119,7 @@ az storage account or-policy rule add \ --min-creation-time '2020-02-19T16:05:00Z' ``` -##### List rules for ORS Policy +##### List rules for OR Policy ``` az storage account or-policy rule list \ --policy-id $policyId \ @@ -133,7 +127,7 @@ az storage account or-policy rule list \ --resource-group groupName ``` -##### Show properties of specific rule in ORS Policy +##### Show properties of specific rule in OR Policy ``` az storage account or-policy rule show \ --rule-id $ruleId \ @@ -142,7 +136,7 @@ az storage account or-policy rule show \ --resource-group groupName ``` -##### Update properties for specific ORS Policy Rule +##### Update properties for specific OR Policy Rule Change prefix match filter properties. ``` az storage account or-policy rule update \ @@ -162,7 +156,7 @@ az storage account or-policy rule update \ --resource-group groupName \ --min-creation-time '2020-02-19T16:05:00Z' ``` -##### Remove the specified rule in existing ORS Policy +##### Remove the specified rule in existing OR Policy ``` az storage account or-policy rule remove \ --rule-id $ruleId \ @@ -171,7 +165,7 @@ az storage account or-policy rule remove \ --resource-group groupName ``` -##### Delete the specified ORS Policy for storage account +##### Delete the specified OR Policy for storage account ``` az storage account or-policy delete \ --policy-id $policyId \ diff --git a/src/storage-ors-preview/__init__.py b/src/storage-or-preview/__init__.py similarity index 100% rename from src/storage-ors-preview/__init__.py rename to src/storage-or-preview/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/__init__.py b/src/storage-or-preview/azext_storage_or_preview/__init__.py similarity index 98% rename from src/storage-ors-preview/azext_storage_ors_preview/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/__init__.py index 4172ef0ba5a..e3bafc20138 100644 --- a/src/storage-ors-preview/azext_storage_ors_preview/__init__.py +++ b/src/storage-or-preview/azext_storage_or_preview/__init__.py @@ -16,7 +16,7 @@ def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType register_resource_type('latest', CUSTOM_MGMT_STORAGE_ORS, '2019-06-01') - storage_custom = CliCommandType(operations_tmpl='azext_storage_ors_preview.custom#{}') + storage_custom = CliCommandType(operations_tmpl='azext_storage_or_preview.custom#{}') super(StorageCommandsLoader, self).__init__(cli_ctx=cli_ctx, resource_type=CUSTOM_MGMT_STORAGE_ORS, diff --git a/src/storage-ors-preview/azext_storage_ors_preview/_client_factory.py b/src/storage-or-preview/azext_storage_or_preview/_client_factory.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/_client_factory.py rename to src/storage-or-preview/azext_storage_or_preview/_client_factory.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/_help.py b/src/storage-or-preview/azext_storage_or_preview/_help.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/_help.py rename to src/storage-or-preview/azext_storage_or_preview/_help.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/_params.py b/src/storage-or-preview/azext_storage_or_preview/_params.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/_params.py rename to src/storage-or-preview/azext_storage_or_preview/_params.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/_validators.py b/src/storage-or-preview/azext_storage_or_preview/_validators.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/_validators.py rename to src/storage-or-preview/azext_storage_or_preview/_validators.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/azext_metadata.json b/src/storage-or-preview/azext_storage_or_preview/azext_metadata.json similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/azext_metadata.json rename to src/storage-or-preview/azext_storage_or_preview/azext_metadata.json diff --git a/src/storage-ors-preview/azext_storage_ors_preview/commands.py b/src/storage-or-preview/azext_storage_or_preview/commands.py similarity index 91% rename from src/storage-ors-preview/azext_storage_ors_preview/commands.py rename to src/storage-or-preview/azext_storage_or_preview/commands.py index ab0fd1514b7..97e74a70be4 100644 --- a/src/storage-ors-preview/azext_storage_ors_preview/commands.py +++ b/src/storage-or-preview/azext_storage_or_preview/commands.py @@ -13,14 +13,14 @@ def load_command_table(self, _): or_policy_sdk = CliCommandType( - operations_tmpl='azext_storage_ors_preview.vendored_sdks.azure_mgmt_storage.operations' + operations_tmpl='azext_storage_or_preview.vendored_sdks.azure_mgmt_storage.operations' '#ObjectReplicationPoliciesOperations.{}', client_factory=cf_or_policy, resource_type=CUSTOM_MGMT_STORAGE_ORS ) or_policy_custom_type = CliCommandType( - operations_tmpl='azext_storage_ors_preview.operations.account#{}', + operations_tmpl='azext_storage_or_preview.operations.account#{}', client_factory=cf_or_policy) with self.command_group('storage account or-policy', or_policy_sdk, is_preview=True, diff --git a/src/storage-ors-preview/azext_storage_ors_preview/operations/__init__.py b/src/storage-or-preview/azext_storage_or_preview/operations/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/operations/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/operations/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/operations/account.py b/src/storage-or-preview/azext_storage_or_preview/operations/account.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/operations/account.py rename to src/storage-or-preview/azext_storage_or_preview/operations/account.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/profiles.py b/src/storage-or-preview/azext_storage_or_preview/profiles.py similarity index 81% rename from src/storage-ors-preview/azext_storage_ors_preview/profiles.py rename to src/storage-or-preview/azext_storage_or_preview/profiles.py index 84524dcb826..4d027a29e6e 100644 --- a/src/storage-ors-preview/azext_storage_ors_preview/profiles.py +++ b/src/storage-or-preview/azext_storage_or_preview/profiles.py @@ -5,5 +5,5 @@ from azure.cli.core.profiles import CustomResourceType -CUSTOM_MGMT_STORAGE_ORS = CustomResourceType('azext_storage_ors_preview.vendored_sdks.azure_mgmt_storage', +CUSTOM_MGMT_STORAGE_ORS = CustomResourceType('azext_storage_or_preview.vendored_sdks.azure_mgmt_storage', 'StorageManagementClient') diff --git a/src/storage-ors-preview/azext_storage_ors_preview/tests/__init__.py b/src/storage-or-preview/azext_storage_or_preview/tests/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/tests/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/tests/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/tests/latest/__init__.py b/src/storage-or-preview/azext_storage_or_preview/tests/latest/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/tests/latest/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/tests/latest/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/tests/latest/recordings/test_storage_account_ors.yaml b/src/storage-or-preview/azext_storage_or_preview/tests/latest/recordings/test_storage_account_ors.yaml similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/tests/latest/recordings/test_storage_account_ors.yaml rename to src/storage-or-preview/azext_storage_or_preview/tests/latest/recordings/test_storage_account_ors.yaml diff --git a/src/storage-ors-preview/azext_storage_ors_preview/tests/latest/test_storage_account_ors_scenario.py b/src/storage-or-preview/azext_storage_or_preview/tests/latest/test_storage_account_ors_scenario.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/tests/latest/test_storage_account_ors_scenario.py rename to src/storage-or-preview/azext_storage_or_preview/tests/latest/test_storage_account_ors_scenario.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/tests/storage_test_util.py b/src/storage-or-preview/azext_storage_or_preview/tests/storage_test_util.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/tests/storage_test_util.py rename to src/storage-or-preview/azext_storage_or_preview/tests/storage_test_util.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/__init__.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/__init__.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/_configuration.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/_configuration.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/_configuration.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/_configuration.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/models.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/models.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/models.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/models.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/__init__.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_configuration.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_configuration.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_configuration.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_configuration.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_storage_management_client.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_storage_management_client.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_storage_management_client.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/_storage_management_client.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/__init__.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models_py3.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models_py3.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models_py3.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_models_py3.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_paged_models.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_paged_models.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_paged_models.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_paged_models.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_storage_management_client_enums.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_storage_management_client_enums.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_storage_management_client_enums.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/models/_storage_management_client_enums.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/__init__.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/__init__.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/__init__.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/__init__.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_containers_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_containers_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_containers_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_containers_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_services_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_services_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_services_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_blob_services_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_encryption_scopes_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_encryption_scopes_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_encryption_scopes_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_encryption_scopes_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_services_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_services_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_services_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_services_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_shares_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_shares_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_shares_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_file_shares_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_management_policies_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_management_policies_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_management_policies_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_management_policies_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_object_replication_policies_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_object_replication_policies_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_object_replication_policies_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_object_replication_policies_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_endpoint_connections_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_endpoint_connections_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_endpoint_connections_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_endpoint_connections_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_link_resources_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_link_resources_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_link_resources_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_private_link_resources_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_skus_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_skus_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_skus_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_skus_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_storage_accounts_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_storage_accounts_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_storage_accounts_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_storage_accounts_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_usages_operations.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_usages_operations.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_usages_operations.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/operations/_usages_operations.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/version.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/version.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/version.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/v2019_06_01/version.py diff --git a/src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/version.py b/src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/version.py similarity index 100% rename from src/storage-ors-preview/azext_storage_ors_preview/vendored_sdks/azure_mgmt_storage/version.py rename to src/storage-or-preview/azext_storage_or_preview/vendored_sdks/azure_mgmt_storage/version.py diff --git a/src/storage-ors-preview/setup.cfg b/src/storage-or-preview/setup.cfg similarity index 100% rename from src/storage-ors-preview/setup.cfg rename to src/storage-or-preview/setup.cfg diff --git a/src/storage-ors-preview/setup.py b/src/storage-or-preview/setup.py similarity index 94% rename from src/storage-ors-preview/setup.py rename to src/storage-or-preview/setup.py index db2acd967aa..74f0c078c37 100644 --- a/src/storage-ors-preview/setup.py +++ b/src/storage-or-preview/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.3.1' +VERSION = '0.4.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers @@ -43,7 +43,7 @@ HISTORY = f.read() setup( - name='storage-ors-preview', + name='storage-or-preview', version=VERSION, description='Microsoft Azure Command-Line Tools Storage-ors-preview Extension', # TODO: Update author and email, if applicable @@ -56,5 +56,5 @@ classifiers=CLASSIFIERS, packages=find_packages(), install_requires=DEPENDENCIES, - package_data={'azext_storage_ors_preview': ['azext_metadata.json']}, + package_data={'azext_storage_or_preview': ['azext_metadata.json']}, )