Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/storage/azure-mgmt-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/azure-mgmt-storage/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"commit": "2d73bd7fb1c68a8b6829fac1760bd0fc84ca5554",
"commit": "2209f7197ae3ba8020dadc0f1bedb6aab55da5d6",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"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/[email protected] --use=@autorest/[email protected] --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/[email protected] --use=@autorest/[email protected] --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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
<https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
for details. Default value is None.
:type filter: str
:return: An iterator like instance of either StorageTaskReportInstance or the result of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
<https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
for details. Default value is None.
:type filter: str
:return: An iterator like instance of either StorageTaskReportInstance or the result of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand All @@ -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)
Expand Down Expand Up @@ -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]
"""

Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
<https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
for details. Default value is None.
:type filter: str
:return: An iterator like instance of either StorageTaskReportInstance or the result of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
<https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings>`_
for details. Default value is None.
:type filter: str
:return: An iterator like instance of either StorageTaskReportInstance or the result of
Expand Down