Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-netapp] ANF-8872 Fix examples for integers #3760

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2020-09-01'
self.api_version = '2020-11-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
10 changes: 10 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AccountEncryption
from ._models_py3 import ActiveDirectory
from ._models_py3 import AuthorizeRequest
from ._models_py3 import Backup
Expand Down Expand Up @@ -45,6 +46,7 @@
from ._models_py3 import SnapshotPolicyDetails
from ._models_py3 import SnapshotPolicyPatch
from ._models_py3 import SnapshotPolicyVolumeList
from ._models_py3 import SystemData
from ._models_py3 import Vault
from ._models_py3 import Volume
from ._models_py3 import VolumeBackupProperties
Expand All @@ -58,6 +60,7 @@
from ._models_py3 import VolumeSnapshotProperties
from ._models_py3 import WeeklySchedule
except (SyntaxError, ImportError):
from ._models import AccountEncryption
from ._models import ActiveDirectory
from ._models import AuthorizeRequest
from ._models import Backup
Expand Down Expand Up @@ -93,6 +96,7 @@
from ._models import SnapshotPolicyDetails
from ._models import SnapshotPolicyPatch
from ._models import SnapshotPolicyVolumeList
from ._models import SystemData
from ._models import Vault
from ._models import Volume
from ._models import VolumeBackupProperties
Expand All @@ -119,6 +123,8 @@
CheckNameResourceTypes,
CheckQuotaNameResourceTypes,
ActiveDirectoryStatus,
KeySource,
CreatedByType,
ServiceLevel,
QosType,
EndpointType,
Expand All @@ -129,6 +135,7 @@
)

__all__ = [
'AccountEncryption',
'ActiveDirectory',
'AuthorizeRequest',
'Backup',
Expand Down Expand Up @@ -164,6 +171,7 @@
'SnapshotPolicyDetails',
'SnapshotPolicyPatch',
'SnapshotPolicyVolumeList',
'SystemData',
'Vault',
'Volume',
'VolumeBackupProperties',
Expand All @@ -189,6 +197,8 @@
'CheckNameResourceTypes',
'CheckQuotaNameResourceTypes',
'ActiveDirectoryStatus',
'KeySource',
'CreatedByType',
'ServiceLevel',
'QosType',
'EndpointType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,19 @@ class ActiveDirectoryStatus(str, Enum):
updating = "Updating" #: Active Directory Updating


class KeySource(str, Enum):

microsoft_net_app = "Microsoft.NetApp" #: The service manages the keys.


class CreatedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"


class ServiceLevel(str, Enum):

standard = "Standard" #: Standard service level
Expand Down
Loading