Skip to content
Merged
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.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure Storage Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
from .version import VERSION
from ._configuration import StorageManagementClientConfiguration


Expand Down Expand Up @@ -51,8 +50,8 @@ class StorageManagementClient(MultiApiClientMixin, SDKClient):
_PROFILE_TAG = "azure.mgmt.storage.StorageManagementClient"
LATEST_PROFILE = ProfileDefinition({
_PROFILE_TAG: {
None: DEFAULT_API_VERSION,
'usage': '2018-02-01',
None: DEFAULT_API_VERSION
}},
_PROFILE_TAG + " latest"
)
Expand Down
8 changes: 0 additions & 8 deletions sdk/storage/azure-mgmt-storage/azure/mgmt/storage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,5 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2015_06_15.models import *
from .v2016_01_01.models import *
from .v2016_12_01.models import *
from .v2017_06_01.models import *
from .v2017_10_01.models import *
from .v2018_02_01.models import *
from .v2018_03_01_preview.models import *
from .v2018_07_01.models import *
from .v2018_11_01.models import *
from .v2019_04_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -488,17 +488,17 @@ class DateAfterCreation(Model):

All required parameters must be populated in order to send to Azure.

:param days_after_creation_greater_than: Required. Integer value
indicating the age in days after creation
:type days_after_creation_greater_than: int
:param days_after_creation_greater_than: Required. Value indicating the
age in days after creation
:type days_after_creation_greater_than: float
"""

_validation = {
'days_after_creation_greater_than': {'required': True, 'minimum': 0},
'days_after_creation_greater_than': {'required': True, 'minimum': 0, 'multiple': 1},
}

_attribute_map = {
'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'int'},
'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'float'},
}

def __init__(self, **kwargs):
Expand All @@ -511,17 +511,17 @@ class DateAfterModification(Model):

All required parameters must be populated in order to send to Azure.

:param days_after_modification_greater_than: Required. Integer value
indicating the age in days after last modification
:type days_after_modification_greater_than: int
:param days_after_modification_greater_than: Required. Value indicating
the age in days after last modification
:type days_after_modification_greater_than: float
"""

_validation = {
'days_after_modification_greater_than': {'required': True, 'minimum': 0},
'days_after_modification_greater_than': {'required': True, 'minimum': 0, 'multiple': 1},
}

_attribute_map = {
'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'int'},
'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'float'},
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,20 +488,20 @@ class DateAfterCreation(Model):

All required parameters must be populated in order to send to Azure.

:param days_after_creation_greater_than: Required. Integer value
indicating the age in days after creation
:type days_after_creation_greater_than: int
:param days_after_creation_greater_than: Required. Value indicating the
age in days after creation
:type days_after_creation_greater_than: float
"""

_validation = {
'days_after_creation_greater_than': {'required': True, 'minimum': 0},
'days_after_creation_greater_than': {'required': True, 'minimum': 0, 'multiple': 1},
}

_attribute_map = {
'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'int'},
'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'float'},
}

def __init__(self, *, days_after_creation_greater_than: int, **kwargs) -> None:
def __init__(self, *, days_after_creation_greater_than: float, **kwargs) -> None:
super(DateAfterCreation, self).__init__(**kwargs)
self.days_after_creation_greater_than = days_after_creation_greater_than

Expand All @@ -511,20 +511,20 @@ class DateAfterModification(Model):

All required parameters must be populated in order to send to Azure.

:param days_after_modification_greater_than: Required. Integer value
indicating the age in days after last modification
:type days_after_modification_greater_than: int
:param days_after_modification_greater_than: Required. Value indicating
the age in days after last modification
:type days_after_modification_greater_than: float
"""

_validation = {
'days_after_modification_greater_than': {'required': True, 'minimum': 0},
'days_after_modification_greater_than': {'required': True, 'minimum': 0, 'multiple': 1},
}

_attribute_map = {
'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'int'},
'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'float'},
}

def __init__(self, *, days_after_modification_greater_than: int, **kwargs) -> None:
def __init__(self, *, days_after_modification_greater_than: float, **kwargs) -> None:
super(DateAfterModification, self).__init__(**kwargs)
self.days_after_modification_greater_than = days_after_modification_greater_than

Expand Down
1 change: 0 additions & 1 deletion sdk/storage/azure-mgmt-storage/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand Down