diff --git a/sdk/storage/azure-mgmt-storage/README.md b/sdk/storage/azure-mgmt-storage/README.md index 3d5a224cdf03..155fe4c66572 100644 --- a/sdk/storage/azure-mgmt-storage/README.md +++ b/sdk/storage/azure-mgmt-storage/README.md @@ -24,7 +24,7 @@ pip install azure-identity ### Authentication -By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables. +By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables. - `AZURE_CLIENT_ID` for Azure client ID. - `AZURE_TENANT_ID` for Azure tenant ID. diff --git a/sdk/storage/azure-mgmt-storage/_meta.json b/sdk/storage/azure-mgmt-storage/_meta.json index 599b7bfa491d..e9ce00c47fe3 100644 --- a/sdk/storage/azure-mgmt-storage/_meta.json +++ b/sdk/storage/azure-mgmt-storage/_meta.json @@ -1,12 +1,12 @@ { - "commit": "2d73bd7fb1c68a8b6829fac1760bd0fc84ca5554", + "commit": "2209f7197ae3ba8020dadc0f1bedb6aab55da5d6", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest": "3.10.2", "use": [ "@autorest/python@6.27.4", "@autorest/modelerfour@4.27.0" ], - "autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", + "autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", "readme": "specification/storage/resource-manager/readme.md", "package-2023-01": "2023-07-20 11:56:40 -0700 3e6b4ddca225530c27273d0f816466a905c0151b Microsoft.Storage/stable/2023-01-01/table.json", "package-2022-09": "2022-11-13 19:43:16 -0800 da0cfefaa0e6c237e1e3819f1cb2e11d7606878d Microsoft.Storage/stable/2022-09-01/table.json", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py index 0553bdf8b56d..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "22.1.1" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py index 0553bdf8b56d..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "22.1.1" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py index 0553bdf8b56d..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "22.1.1" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/_version.py index 0553bdf8b56d..e5754a47ce68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "22.1.1" +VERSION = "1.0.0b1" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_accounts_operations.py index a51f5cfba65d..b3cf14783367 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_accounts_operations.py @@ -1399,7 +1399,7 @@ async def begin_failover( primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- - https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance. + https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance. :param resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. Required. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignment_instances_report_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignment_instances_report_operations.py index bb1fe0ab48c8..381965e56f2a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignment_instances_report_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignment_instances_report_operations.py @@ -84,7 +84,7 @@ def list( :type maxpagesize: int :param filter: Optional. When specified, it can be used to query using reporting properties. See `Constructing Filter Strings - `_ + `_ for details. Default value is None. :type filter: str :return: An iterator like instance of either StorageTaskReportInstance or the result of diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignments_instances_report_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignments_instances_report_operations.py index 5c1f50376cbb..fb933684d0db 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignments_instances_report_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/aio/operations/_storage_task_assignments_instances_report_operations.py @@ -79,7 +79,7 @@ def list( :type maxpagesize: int :param filter: Optional. When specified, it can be used to query using reporting properties. See `Constructing Filter Strings - `_ + `_ for details. Default value is None. :type filter: str :return: An iterator like instance of either StorageTaskReportInstance or the result of diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_models_py3.py index e8734f4b3bb6..4beca20fa8eb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_models_py3.py @@ -5098,7 +5098,7 @@ class ManagementPolicy(Resource): :ivar last_modified_time: Returns the date and time the ManagementPolicies was last modified. :vartype last_modified_time: ~datetime.datetime :ivar policy: The Storage Account ManagementPolicy, in JSON format. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. + https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. :vartype policy: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySchema """ @@ -5120,7 +5120,7 @@ class ManagementPolicy(Resource): def __init__(self, *, policy: Optional["_models.ManagementPolicySchema"] = None, **kwargs: Any) -> None: """ :keyword policy: The Storage Account ManagementPolicy, in JSON format. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. + https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. :paramtype policy: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySchema """ super().__init__(**kwargs) @@ -5379,13 +5379,12 @@ def __init__( class ManagementPolicySchema(_serialization.Model): """The Storage Account ManagementPolicies Rules. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. + https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. All required parameters must be populated in order to send to server. :ivar rules: The Storage Account ManagementPolicies Rules. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - Required. + https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. Required. :vartype rules: list[~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyRule] """ @@ -5400,8 +5399,7 @@ class ManagementPolicySchema(_serialization.Model): def __init__(self, *, rules: List["_models.ManagementPolicyRule"], **kwargs: Any) -> None: """ :keyword rules: The Storage Account ManagementPolicies Rules. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - Required. + https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. Required. :paramtype rules: list[~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyRule] """ super().__init__(**kwargs) @@ -7598,8 +7596,8 @@ class StorageAccount(TrackedResource): :vartype extended_location: ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocation :ivar provisioning_state: Gets the status of the storage account at the time the operation was called. Known values are: "Creating", "ResolvingDNS", "Succeeded", - "ValidateSubscriptionQuotaBegin", "ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and - "Failed". + "ValidateSubscriptionQuotaBegin", "ValidateSubscriptionQuotaEnd", "Accepted", "Deleting", + "Canceled", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState :ivar primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob @@ -9127,7 +9125,7 @@ class StorageTaskAssignmentProperties(_serialization.Model): :vartype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentReport :ivar provisioning_state: Represents the provisioning state of the storage task assignment. Known values are: "Creating", "ResolvingDNS", "Succeeded", "ValidateSubscriptionQuotaBegin", - "ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and "Failed". + "ValidateSubscriptionQuotaEnd", "Accepted", "Deleting", "Canceled", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState :ivar run_status: Run status of storage task assignment. :vartype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties @@ -9319,7 +9317,7 @@ class StorageTaskAssignmentUpdateProperties(_serialization.Model): :vartype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateReport :ivar provisioning_state: Represents the provisioning state of the storage task assignment. Known values are: "Creating", "ResolvingDNS", "Succeeded", "ValidateSubscriptionQuotaBegin", - "ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and "Failed". + "ValidateSubscriptionQuotaEnd", "Accepted", "Deleting", "Canceled", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState :ivar run_status: Run status of storage task assignment. :vartype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties @@ -9446,32 +9444,32 @@ class StorageTaskReportProperties(_serialization.Model): :ivar start_time: Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype start_time: str :ivar finish_time: End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype finish_time: str :ivar objects_targeted_count: Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype objects_targeted_count: str :ivar objects_operated_on_count: Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype objects_operated_on_count: str :ivar object_failed_count: Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype object_failed_count: str :ivar objects_succeeded_count: Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in - https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. # pylint: disable=line-too-long + https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators. :vartype objects_succeeded_count: str :ivar run_status_error: Well known Azure Storage error code that represents the error encountered during execution of the run instance. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_storage_management_client_enums.py index b5e4ec197e70..1fe60ccd97ff 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/models/_storage_management_client_enums.py @@ -498,6 +498,7 @@ class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): SUCCEEDED = "Succeeded" VALIDATE_SUBSCRIPTION_QUOTA_BEGIN = "ValidateSubscriptionQuotaBegin" VALIDATE_SUBSCRIPTION_QUOTA_END = "ValidateSubscriptionQuotaEnd" + ACCEPTED = "Accepted" DELETING = "Deleting" CANCELED = "Canceled" FAILED = "Failed" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_accounts_operations.py index 689c8bf92afd..384f5829c918 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_accounts_operations.py @@ -2000,7 +2000,7 @@ def begin_failover( primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- - https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance. + https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance. :param resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. Required. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignment_instances_report_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignment_instances_report_operations.py index ea20ab88f98e..086ff4a70816 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignment_instances_report_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignment_instances_report_operations.py @@ -141,7 +141,7 @@ def list( :type maxpagesize: int :param filter: Optional. When specified, it can be used to query using reporting properties. See `Constructing Filter Strings - `_ + `_ for details. Default value is None. :type filter: str :return: An iterator like instance of either StorageTaskReportInstance or the result of diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignments_instances_report_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignments_instances_report_operations.py index 4b48c25b9a04..704c24e533f3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignments_instances_report_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2024_01_01/operations/_storage_task_assignments_instances_report_operations.py @@ -127,7 +127,7 @@ def list( :type maxpagesize: int :param filter: Optional. When specified, it can be used to query using reporting properties. See `Constructing Filter Strings - `_ + `_ for details. Default value is None. :type filter: str :return: An iterator like instance of either StorageTaskReportInstance or the result of