Skip to content

Commit

Permalink
CodeGen from PR 13061 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge aaf12be72ceec9f965b46c86657bdd6848eaca5e into 281b9df
  • Loading branch information
SDKAuto committed Mar 3, 2021
1 parent 19efd8c commit 599fcce
Show file tree
Hide file tree
Showing 18 changed files with 363 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from .operations import VolumesOperations
from .operations import SnapshotsOperations
from .operations import SnapshotPoliciesOperations
from .operations import VolumeBackupStatusOperations
from .operations import AccountBackupsOperations
from .operations import BackupsOperations
from .operations import BackupPoliciesOperations
Expand Down Expand Up @@ -47,6 +48,8 @@ class AzureNetAppFilesManagementClient(SDKClient):
:vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations
:ivar snapshot_policies: SnapshotPolicies operations
:vartype snapshot_policies: azure.mgmt.netapp.operations.SnapshotPoliciesOperations
:ivar volume_backup_status: VolumeBackupStatus operations
:vartype volume_backup_status: azure.mgmt.netapp.operations.VolumeBackupStatusOperations
:ivar account_backups: AccountBackups operations
:vartype account_backups: azure.mgmt.netapp.operations.AccountBackupsOperations
:ivar backups: Backups operations
Expand All @@ -73,7 +76,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-11-01'
self.api_version = '2020-12-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -91,6 +94,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.snapshot_policies = SnapshotPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.volume_backup_status = VolumeBackupStatusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.account_backups = AccountBackupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backups = BackupsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from ._models_py3 import BackupPolicyDetails
from ._models_py3 import BackupPolicyPatch
from ._models_py3 import BackupsList
from ._models_py3 import BackupStatus
from ._models_py3 import BreakReplicationRequest
from ._models_py3 import CapacityPool
from ._models_py3 import CapacityPoolPatch
Expand All @@ -39,6 +40,7 @@
from ._models_py3 import QuotaAvailabilityRequest
from ._models_py3 import ReplicationObject
from ._models_py3 import ReplicationStatus
from ._models_py3 import ResourceIdentity
from ._models_py3 import ResourceNameAvailabilityRequest
from ._models_py3 import ServiceSpecification
from ._models_py3 import Snapshot
Expand Down Expand Up @@ -69,6 +71,7 @@
from ._models import BackupPolicyDetails
from ._models import BackupPolicyPatch
from ._models import BackupsList
from ._models import BackupStatus
from ._models import BreakReplicationRequest
from ._models import CapacityPool
from ._models import CapacityPoolPatch
Expand All @@ -89,6 +92,7 @@
from ._models import QuotaAvailabilityRequest
from ._models import ReplicationObject
from ._models import ReplicationStatus
from ._models import ResourceIdentity
from ._models import ResourceNameAvailabilityRequest
from ._models import ServiceSpecification
from ._models import Snapshot
Expand Down Expand Up @@ -123,7 +127,6 @@
CheckNameResourceTypes,
CheckQuotaNameResourceTypes,
ActiveDirectoryStatus,
KeySource,
CreatedByType,
ServiceLevel,
QosType,
Expand All @@ -144,6 +147,7 @@
'BackupPolicyDetails',
'BackupPolicyPatch',
'BackupsList',
'BackupStatus',
'BreakReplicationRequest',
'CapacityPool',
'CapacityPoolPatch',
Expand All @@ -164,6 +168,7 @@
'QuotaAvailabilityRequest',
'ReplicationObject',
'ReplicationStatus',
'ResourceIdentity',
'ResourceNameAvailabilityRequest',
'ServiceSpecification',
'Snapshot',
Expand Down Expand Up @@ -197,7 +202,6 @@
'CheckNameResourceTypes',
'CheckQuotaNameResourceTypes',
'ActiveDirectoryStatus',
'KeySource',
'CreatedByType',
'ServiceLevel',
'QosType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ 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"
Expand Down
Loading

0 comments on commit 599fcce

Please sign in to comment.