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

Release azure mgmt netapp #13416

Merged
merged 5 commits into from
Sep 14, 2020
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
50 changes: 50 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Release History

## 0.13.0 (2020-08-31)

**Features**

- Model ActiveDirectory has a new parameter ad_name
- Model ActiveDirectory has a new parameter kdc_ip
- Model ActiveDirectory has a new parameter server_root_ca_certificate
- Model ActiveDirectory has a new parameter status_details
- Model ExportPolicyRule has a new parameter kerberos5i_read_only
- Model ExportPolicyRule has a new parameter kerberos5i_read_write
- Model ExportPolicyRule has a new parameter has_root_access
- Model ExportPolicyRule has a new parameter kerberos5_read_only
- Model ExportPolicyRule has a new parameter kerberos5p_read_only
- Model ExportPolicyRule has a new parameter kerberos5p_read_write
- Model ExportPolicyRule has a new parameter kerberos5_read_write
- Model CapacityPoolPatch has a new parameter qos_type
- Model Volume has a new parameter security_style
- Model Volume has a new parameter backup_id
- Model Volume has a new parameter kerberos_enabled
- Model Volume has a new parameter throughput_mibps
- Model VolumePropertiesDataProtection has a new parameter backup
- Model VolumePatch has a new parameter data_protection
- Model VolumePatch has a new parameter throughput_mibps
- Model CapacityPool has a new parameter total_throughput_mibps
- Model CapacityPool has a new parameter qos_type
- Model CapacityPool has a new parameter utilized_throughput_mibps
- Added operation NetAppResourceOperations.check_quota_availability
- Added operation VolumesOperations.re_initialize_replication
- Added operation VolumesOperations.pool_change
- Added operation group BackupPoliciesOperations
- Added operation group AccountBackupsOperations
- Added operation group SnapshotPoliciesOperations
- Added operation group BackupsOperations
- Added operation group VaultsOperations

**Breaking changes**

- Operation VolumesOperations.break_replication has a new signature
- Model CapacityPoolPatch no longer has parameter service_level
- Model MountTarget no longer has parameter end_ip
- Model MountTarget no longer has parameter netmask
- Model MountTarget no longer has parameter subnet
- Model MountTarget no longer has parameter gateway
- Model MountTarget no longer has parameter start_ip
- Model MountTargetProperties no longer has parameter end_ip
- Model MountTargetProperties no longer has parameter netmask
- Model MountTargetProperties no longer has parameter subnet
- Model MountTargetProperties no longer has parameter gateway
- Model MountTargetProperties no longer has parameter start_ip

## 0.12.0 (2020-07-30)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
from .operations import PoolsOperations
from .operations import VolumesOperations
from .operations import SnapshotsOperations
from .operations import SnapshotPoliciesOperations
from .operations import AccountBackupsOperations
from .operations import BackupsOperations
from .operations import BackupPoliciesOperations
from .operations import VaultsOperations
from . import models


Expand All @@ -40,6 +45,16 @@ class AzureNetAppFilesManagementClient(SDKClient):
:vartype volumes: azure.mgmt.netapp.operations.VolumesOperations
:ivar snapshots: Snapshots operations
:vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations
:ivar snapshot_policies: SnapshotPolicies operations
:vartype snapshot_policies: azure.mgmt.netapp.operations.SnapshotPoliciesOperations
:ivar account_backups: AccountBackups operations
:vartype account_backups: azure.mgmt.netapp.operations.AccountBackupsOperations
:ivar backups: Backups operations
:vartype backups: azure.mgmt.netapp.operations.BackupsOperations
:ivar backup_policies: BackupPolicies operations
:vartype backup_policies: azure.mgmt.netapp.operations.BackupPoliciesOperations
:ivar vaults: Vaults operations
:vartype vaults: azure.mgmt.netapp.operations.VaultsOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -58,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-02-01'
self.api_version = '2020-06-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -74,3 +89,13 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.snapshots = SnapshotsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.snapshot_policies = SnapshotPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.account_backups = AccountBackupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backups = BackupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_policies = BackupPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.vaults = VaultsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -12,109 +12,188 @@
try:
from ._models_py3 import ActiveDirectory
from ._models_py3 import AuthorizeRequest
from ._models_py3 import Backup
from ._models_py3 import BackupPatch
from ._models_py3 import BackupPolicy
from ._models_py3 import BackupPolicyDetails
from ._models_py3 import BackupPolicyPatch
from ._models_py3 import BackupsList
from ._models_py3 import BreakReplicationRequest
from ._models_py3 import CapacityPool
from ._models_py3 import CapacityPoolPatch
from ._models_py3 import CheckAvailabilityResponse
from ._models_py3 import DailySchedule
from ._models_py3 import Dimension
from ._models_py3 import ExportPolicyRule
from ._models_py3 import HourlySchedule
from ._models_py3 import MetricSpecification
from ._models_py3 import MonthlySchedule
from ._models_py3 import MountTarget
from ._models_py3 import MountTargetProperties
from ._models_py3 import NetAppAccount
from ._models_py3 import NetAppAccountPatch
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import PoolChangeRequest
from ._models_py3 import QuotaAvailabilityRequest
from ._models_py3 import ReplicationObject
from ._models_py3 import ReplicationStatus
from ._models_py3 import ResourceNameAvailability
from ._models_py3 import ResourceNameAvailabilityRequest
from ._models_py3 import ServiceSpecification
from ._models_py3 import Snapshot
from ._models_py3 import SnapshotPolicy
from ._models_py3 import SnapshotPolicyDetails
from ._models_py3 import SnapshotPolicyPatch
from ._models_py3 import SnapshotPolicyVolumeList
from ._models_py3 import Vault
from ._models_py3 import Volume
from ._models_py3 import VolumeBackupProperties
from ._models_py3 import VolumeBackups
from ._models_py3 import VolumePatch
from ._models_py3 import VolumePatchPropertiesDataProtection
from ._models_py3 import VolumePatchPropertiesExportPolicy
from ._models_py3 import VolumePropertiesDataProtection
from ._models_py3 import VolumePropertiesExportPolicy
from ._models_py3 import VolumeRevert
from ._models_py3 import VolumeSnapshotProperties
from ._models_py3 import WeeklySchedule
except (SyntaxError, ImportError):
from ._models import ActiveDirectory
from ._models import AuthorizeRequest
from ._models import Backup
from ._models import BackupPatch
from ._models import BackupPolicy
from ._models import BackupPolicyDetails
from ._models import BackupPolicyPatch
from ._models import BackupsList
from ._models import BreakReplicationRequest
from ._models import CapacityPool
from ._models import CapacityPoolPatch
from ._models import CheckAvailabilityResponse
from ._models import DailySchedule
from ._models import Dimension
from ._models import ExportPolicyRule
from ._models import HourlySchedule
from ._models import MetricSpecification
from ._models import MonthlySchedule
from ._models import MountTarget
from ._models import MountTargetProperties
from ._models import NetAppAccount
from ._models import NetAppAccountPatch
from ._models import Operation
from ._models import OperationDisplay
from ._models import PoolChangeRequest
from ._models import QuotaAvailabilityRequest
from ._models import ReplicationObject
from ._models import ReplicationStatus
from ._models import ResourceNameAvailability
from ._models import ResourceNameAvailabilityRequest
from ._models import ServiceSpecification
from ._models import Snapshot
from ._models import SnapshotPolicy
from ._models import SnapshotPolicyDetails
from ._models import SnapshotPolicyPatch
from ._models import SnapshotPolicyVolumeList
from ._models import Vault
from ._models import Volume
from ._models import VolumeBackupProperties
from ._models import VolumeBackups
from ._models import VolumePatch
from ._models import VolumePatchPropertiesDataProtection
from ._models import VolumePatchPropertiesExportPolicy
from ._models import VolumePropertiesDataProtection
from ._models import VolumePropertiesExportPolicy
from ._models import VolumeRevert
from ._models import VolumeSnapshotProperties
from ._models import WeeklySchedule
from ._paged_models import BackupPaged
from ._paged_models import BackupPolicyPaged
from ._paged_models import CapacityPoolPaged
from ._paged_models import NetAppAccountPaged
from ._paged_models import OperationPaged
from ._paged_models import SnapshotPaged
from ._paged_models import SnapshotPolicyPaged
from ._paged_models import VaultPaged
from ._paged_models import VolumePaged
from ._azure_net_app_files_management_client_enums import (
InAvailabilityReasonType,
CheckNameResourceTypes,
CheckQuotaNameResourceTypes,
ActiveDirectoryStatus,
ServiceLevel,
QosType,
EndpointType,
ReplicationSchedule,
SecurityStyle,
RelationshipStatus,
MirrorState,
)

__all__ = [
'ActiveDirectory',
'AuthorizeRequest',
'Backup',
'BackupPatch',
'BackupPolicy',
'BackupPolicyDetails',
'BackupPolicyPatch',
'BackupsList',
'BreakReplicationRequest',
'CapacityPool',
'CapacityPoolPatch',
'CheckAvailabilityResponse',
'DailySchedule',
'Dimension',
'ExportPolicyRule',
'HourlySchedule',
'MetricSpecification',
'MonthlySchedule',
'MountTarget',
'MountTargetProperties',
'NetAppAccount',
'NetAppAccountPatch',
'Operation',
'OperationDisplay',
'PoolChangeRequest',
'QuotaAvailabilityRequest',
'ReplicationObject',
'ReplicationStatus',
'ResourceNameAvailability',
'ResourceNameAvailabilityRequest',
'ServiceSpecification',
'Snapshot',
'SnapshotPolicy',
'SnapshotPolicyDetails',
'SnapshotPolicyPatch',
'SnapshotPolicyVolumeList',
'Vault',
'Volume',
'VolumeBackupProperties',
'VolumeBackups',
'VolumePatch',
'VolumePatchPropertiesDataProtection',
'VolumePatchPropertiesExportPolicy',
'VolumePropertiesDataProtection',
'VolumePropertiesExportPolicy',
'VolumeRevert',
'VolumeSnapshotProperties',
'WeeklySchedule',
'OperationPaged',
'NetAppAccountPaged',
'CapacityPoolPaged',
'VolumePaged',
'SnapshotPaged',
'SnapshotPolicyPaged',
'BackupPaged',
'BackupPolicyPaged',
'VaultPaged',
'InAvailabilityReasonType',
'CheckNameResourceTypes',
'CheckQuotaNameResourceTypes',
'ActiveDirectoryStatus',
'ServiceLevel',
'QosType',
'EndpointType',
'ReplicationSchedule',
'SecurityStyle',
'RelationshipStatus',
'MirrorState',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,36 @@ class CheckNameResourceTypes(str, Enum):
microsoft_net_appnet_app_accountscapacity_poolsvolumessnapshots = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"


class CheckQuotaNameResourceTypes(str, Enum):

microsoft_net_appnet_app_accounts = "Microsoft.NetApp/netAppAccounts"
microsoft_net_appnet_app_accountscapacity_pools = "Microsoft.NetApp/netAppAccounts/capacityPools"
microsoft_net_appnet_app_accountscapacity_poolsvolumes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
microsoft_net_appnet_app_accountscapacity_poolsvolumessnapshots = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"


class ActiveDirectoryStatus(str, Enum):

created = "Created" #: Active Directory created but not in use
in_use = "InUse" #: Active Directory in use by SMB Volume
deleted = "Deleted" #: Active Directory Deleted
error = "Error" #: Error with the Active Directory
updating = "Updating" #: Active Directory Updating


class ServiceLevel(str, Enum):

standard = "Standard" #: Standard service level
premium = "Premium" #: Premium service level
ultra = "Ultra" #: Ultra service level


class QosType(str, Enum):

auto = "Auto" #: qos type Auto
manual = "Manual" #: qos type Manual


class EndpointType(str, Enum):

src = "src"
Expand All @@ -48,6 +71,12 @@ class ReplicationSchedule(str, Enum):
monthly = "monthly"


class SecurityStyle(str, Enum):

ntfs = "ntfs"
unix = "unix"


class RelationshipStatus(str, Enum):

idle = "Idle"
Expand Down
Loading