diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py index 539704061eb5..42ee95225b61 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py @@ -373,10 +373,6 @@ class BlobServiceProperties(Resource): :type automatic_snapshot_policy_enabled: bool :param change_feed: The blob service properties for change feed events. :type change_feed: ~azure.mgmt.storage.v2019_06_01.models.ChangeFeed - :param container_delete_retention_policy: The blob service properties for - container soft delete. - :type container_delete_retention_policy: - ~azure.mgmt.storage.v2019_06_01.models.DeleteRetentionPolicy """ _validation = { @@ -394,7 +390,6 @@ class BlobServiceProperties(Resource): 'delete_retention_policy': {'key': 'properties.deleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, 'automatic_snapshot_policy_enabled': {'key': 'properties.automaticSnapshotPolicyEnabled', 'type': 'bool'}, 'change_feed': {'key': 'properties.changeFeed', 'type': 'ChangeFeed'}, - 'container_delete_retention_policy': {'key': 'properties.containerDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, } def __init__(self, **kwargs): @@ -404,7 +399,6 @@ def __init__(self, **kwargs): self.delete_retention_policy = kwargs.get('delete_retention_policy', None) self.automatic_snapshot_policy_enabled = kwargs.get('automatic_snapshot_policy_enabled', None) self.change_feed = kwargs.get('change_feed', None) - self.container_delete_retention_policy = kwargs.get('container_delete_retention_policy', None) class ChangeFeed(Model): @@ -664,12 +658,11 @@ def __init__(self, **kwargs): class DeleteRetentionPolicy(Model): - """The blob service properties for soft delete. + """The service properties for soft delete. - :param enabled: Indicates whether DeleteRetentionPolicy is enabled for the - Blob service. + :param enabled: Indicates whether DeleteRetentionPolicy is enabled. :type enabled: bool - :param days: Indicates the number of days that the deleted blob should be + :param days: Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365. :type days: int diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py index 901d77f55eb5..f0534e1cf8c8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py @@ -373,10 +373,6 @@ class BlobServiceProperties(Resource): :type automatic_snapshot_policy_enabled: bool :param change_feed: The blob service properties for change feed events. :type change_feed: ~azure.mgmt.storage.v2019_06_01.models.ChangeFeed - :param container_delete_retention_policy: The blob service properties for - container soft delete. - :type container_delete_retention_policy: - ~azure.mgmt.storage.v2019_06_01.models.DeleteRetentionPolicy """ _validation = { @@ -394,17 +390,15 @@ class BlobServiceProperties(Resource): 'delete_retention_policy': {'key': 'properties.deleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, 'automatic_snapshot_policy_enabled': {'key': 'properties.automaticSnapshotPolicyEnabled', 'type': 'bool'}, 'change_feed': {'key': 'properties.changeFeed', 'type': 'ChangeFeed'}, - 'container_delete_retention_policy': {'key': 'properties.containerDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, } - def __init__(self, *, cors=None, default_service_version: str=None, delete_retention_policy=None, automatic_snapshot_policy_enabled: bool=None, change_feed=None, container_delete_retention_policy=None, **kwargs) -> None: + def __init__(self, *, cors=None, default_service_version: str=None, delete_retention_policy=None, automatic_snapshot_policy_enabled: bool=None, change_feed=None, **kwargs) -> None: super(BlobServiceProperties, self).__init__(**kwargs) self.cors = cors self.default_service_version = default_service_version self.delete_retention_policy = delete_retention_policy self.automatic_snapshot_policy_enabled = automatic_snapshot_policy_enabled self.change_feed = change_feed - self.container_delete_retention_policy = container_delete_retention_policy class ChangeFeed(Model): @@ -664,12 +658,11 @@ def __init__(self, *, days_after_modification_greater_than: float, **kwargs) -> class DeleteRetentionPolicy(Model): - """The blob service properties for soft delete. + """The service properties for soft delete. - :param enabled: Indicates whether DeleteRetentionPolicy is enabled for the - Blob service. + :param enabled: Indicates whether DeleteRetentionPolicy is enabled. :type enabled: bool - :param days: Indicates the number of days that the deleted blob should be + :param days: Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365. :type days: int