Skip to content

Commit

Permalink
T1 Netapp 2021-02-25 (#16926)
Browse files Browse the repository at this point in the history
* test,version,CHANGELOG

* skip unavailable testcases

* Tests updated and new recordings

* fix imports

Co-authored-by: hodd <hodd@netapp.com>
  • Loading branch information
00Kai0 and hildurhodd authored Feb 26, 2021
1 parent ec812f0 commit ddcecaf
Show file tree
Hide file tree
Showing 49 changed files with 28,341 additions and 25,435 deletions.
12 changes: 12 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 0.16.0 (2021-02-25)

**Features**

- Model BackupPatch has a new parameter failure_reason
- Model NetAppAccount has a new parameter encryption
- Model NetAppAccount has a new parameter system_data
- Model Backup has a new parameter failure_reason
- Model Volume has a new parameter encryption_key_source
- Model NetAppAccountPatch has a new parameter encryption
- Model ActiveDirectory has a new parameter ldap_over_tls

## 0.15.0 (2021-01-05)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


class AzureNetAppFilesManagementClient(SDKClient):
"""Microsoft NetApp Azure Resource Provider specification
"""Microsoft NetApp Files Azure Resource Provider specification
:ivar config: Configuration for client.
:vartype config: AzureNetAppFilesManagementClientConfiguration
Expand Down 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

0 comments on commit ddcecaf

Please sign in to comment.