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

[AutoRelease] t2-netapp-2024-02-29-57016(can only be merged by SDK owner) #34527

Merged
merged 2 commits into from
Mar 21, 2024
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
6 changes: 6 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 12.0.0 (2024-03-18)

### Breaking Changes

- Model VolumeGroupMetaData no longer has parameter deployment_spec_id

## 12.0.0b1 (2023-12-22)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure NetApp Files Management Client Library.
This package has been tested with Python 3.7+.
This package has been tested with Python 3.8+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.7+ is required to use this package.
- Python 3.8+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "639ecfad68419328658bd4cfe7094af4ce472be2",
"commit": "4f093ebabe4525a5d10ca57e5804523a27dce7bf",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/netapp/azure-mgmt-netapp",
"Tag": "python/netapp/azure-mgmt-netapp_e1611990d7"
"Tag": "python/netapp/azure-mgmt-netapp_133f48a4c5"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class NetAppManagementClientConfiguration(Configuration): # pylint: disable=too
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(NetAppManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-05-01-preview")
api_version: str = kwargs.pop("api_version", "2023-07-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@
from ._configuration import NetAppManagementClientConfiguration
from ._serialization import Deserializer, Serializer
from .operations import (
AccountBackupsOperations,
AccountsOperations,
BackupPoliciesOperations,
BackupVaultsOperations,
BackupsOperations,
BackupsUnderAccountOperations,
BackupsUnderBackupVaultOperations,
BackupsUnderVolumeOperations,
NetAppResourceOperations,
NetAppResourceQuotaLimitsOperations,
NetAppResourceRegionInfosOperations,
Operations,
PoolsOperations,
SnapshotPoliciesOperations,
Expand All @@ -52,9 +46,6 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:ivar net_app_resource_quota_limits: NetAppResourceQuotaLimitsOperations operations
:vartype net_app_resource_quota_limits:
azure.mgmt.netapp.operations.NetAppResourceQuotaLimitsOperations
:ivar net_app_resource_region_infos: NetAppResourceRegionInfosOperations operations
:vartype net_app_resource_region_infos:
azure.mgmt.netapp.operations.NetAppResourceRegionInfosOperations
:ivar accounts: AccountsOperations operations
:vartype accounts: azure.mgmt.netapp.operations.AccountsOperations
:ivar pools: PoolsOperations operations
Expand All @@ -67,8 +58,6 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:vartype snapshot_policies: azure.mgmt.netapp.operations.SnapshotPoliciesOperations
:ivar backups: BackupsOperations operations
:vartype backups: azure.mgmt.netapp.operations.BackupsOperations
:ivar account_backups: AccountBackupsOperations operations
:vartype account_backups: azure.mgmt.netapp.operations.AccountBackupsOperations
:ivar backup_policies: BackupPoliciesOperations operations
:vartype backup_policies: azure.mgmt.netapp.operations.BackupPoliciesOperations
:ivar volume_quota_rules: VolumeQuotaRulesOperations operations
Expand All @@ -77,23 +66,14 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:vartype volume_groups: azure.mgmt.netapp.operations.VolumeGroupsOperations
:ivar subvolumes: SubvolumesOperations operations
:vartype subvolumes: azure.mgmt.netapp.operations.SubvolumesOperations
:ivar backup_vaults: BackupVaultsOperations operations
:vartype backup_vaults: azure.mgmt.netapp.operations.BackupVaultsOperations
:ivar backups_under_backup_vault: BackupsUnderBackupVaultOperations operations
:vartype backups_under_backup_vault:
azure.mgmt.netapp.operations.BackupsUnderBackupVaultOperations
:ivar backups_under_volume: BackupsUnderVolumeOperations operations
:vartype backups_under_volume: azure.mgmt.netapp.operations.BackupsUnderVolumeOperations
:ivar backups_under_account: BackupsUnderAccountOperations operations
:vartype backups_under_account: azure.mgmt.netapp.operations.BackupsUnderAccountOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand All @@ -120,9 +100,6 @@ def __init__(
self.net_app_resource_quota_limits = NetAppResourceQuotaLimitsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.net_app_resource_region_infos = NetAppResourceRegionInfosOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.accounts = AccountsOperations(self._client, self._config, self._serialize, self._deserialize)
self.pools = PoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.volumes = VolumesOperations(self._client, self._config, self._serialize, self._deserialize)
Expand All @@ -131,23 +108,12 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.backups = BackupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.account_backups = AccountBackupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.backup_policies = BackupPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
self.volume_quota_rules = VolumeQuotaRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.volume_groups = VolumeGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.subvolumes = SubvolumesOperations(self._client, self._config, self._serialize, self._deserialize)
self.backup_vaults = BackupVaultsOperations(self._client, self._config, self._serialize, self._deserialize)
self.backups_under_backup_vault = BackupsUnderBackupVaultOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.backups_under_volume = BackupsUnderVolumeOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.backups_under_account = BackupsUnderAccountOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "12.0.0b1"
VERSION = "12.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class NetAppManagementClientConfiguration(Configuration): # pylint: disable=too
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(NetAppManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-05-01-preview")
api_version: str = kwargs.pop("api_version", "2023-07-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@
from .._serialization import Deserializer, Serializer
from ._configuration import NetAppManagementClientConfiguration
from .operations import (
AccountBackupsOperations,
AccountsOperations,
BackupPoliciesOperations,
BackupVaultsOperations,
BackupsOperations,
BackupsUnderAccountOperations,
BackupsUnderBackupVaultOperations,
BackupsUnderVolumeOperations,
NetAppResourceOperations,
NetAppResourceQuotaLimitsOperations,
NetAppResourceRegionInfosOperations,
Operations,
PoolsOperations,
SnapshotPoliciesOperations,
Expand All @@ -52,9 +46,6 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:ivar net_app_resource_quota_limits: NetAppResourceQuotaLimitsOperations operations
:vartype net_app_resource_quota_limits:
azure.mgmt.netapp.aio.operations.NetAppResourceQuotaLimitsOperations
:ivar net_app_resource_region_infos: NetAppResourceRegionInfosOperations operations
:vartype net_app_resource_region_infos:
azure.mgmt.netapp.aio.operations.NetAppResourceRegionInfosOperations
:ivar accounts: AccountsOperations operations
:vartype accounts: azure.mgmt.netapp.aio.operations.AccountsOperations
:ivar pools: PoolsOperations operations
Expand All @@ -67,8 +58,6 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:vartype snapshot_policies: azure.mgmt.netapp.aio.operations.SnapshotPoliciesOperations
:ivar backups: BackupsOperations operations
:vartype backups: azure.mgmt.netapp.aio.operations.BackupsOperations
:ivar account_backups: AccountBackupsOperations operations
:vartype account_backups: azure.mgmt.netapp.aio.operations.AccountBackupsOperations
:ivar backup_policies: BackupPoliciesOperations operations
:vartype backup_policies: azure.mgmt.netapp.aio.operations.BackupPoliciesOperations
:ivar volume_quota_rules: VolumeQuotaRulesOperations operations
Expand All @@ -77,23 +66,14 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:vartype volume_groups: azure.mgmt.netapp.aio.operations.VolumeGroupsOperations
:ivar subvolumes: SubvolumesOperations operations
:vartype subvolumes: azure.mgmt.netapp.aio.operations.SubvolumesOperations
:ivar backup_vaults: BackupVaultsOperations operations
:vartype backup_vaults: azure.mgmt.netapp.aio.operations.BackupVaultsOperations
:ivar backups_under_backup_vault: BackupsUnderBackupVaultOperations operations
:vartype backups_under_backup_vault:
azure.mgmt.netapp.aio.operations.BackupsUnderBackupVaultOperations
:ivar backups_under_volume: BackupsUnderVolumeOperations operations
:vartype backups_under_volume: azure.mgmt.netapp.aio.operations.BackupsUnderVolumeOperations
:ivar backups_under_account: BackupsUnderAccountOperations operations
:vartype backups_under_account: azure.mgmt.netapp.aio.operations.BackupsUnderAccountOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-05-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand All @@ -120,9 +100,6 @@ def __init__(
self.net_app_resource_quota_limits = NetAppResourceQuotaLimitsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.net_app_resource_region_infos = NetAppResourceRegionInfosOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.accounts = AccountsOperations(self._client, self._config, self._serialize, self._deserialize)
self.pools = PoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.volumes = VolumesOperations(self._client, self._config, self._serialize, self._deserialize)
Expand All @@ -131,23 +108,12 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.backups = BackupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.account_backups = AccountBackupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.backup_policies = BackupPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
self.volume_quota_rules = VolumeQuotaRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.volume_groups = VolumeGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.subvolumes = SubvolumesOperations(self._client, self._config, self._serialize, self._deserialize)
self.backup_vaults = BackupVaultsOperations(self._client, self._config, self._serialize, self._deserialize)
self.backups_under_backup_vault = BackupsUnderBackupVaultOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.backups_under_volume = BackupsUnderVolumeOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.backups_under_account = BackupsUnderAccountOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,16 @@
from ._operations import Operations
from ._net_app_resource_operations import NetAppResourceOperations
from ._net_app_resource_quota_limits_operations import NetAppResourceQuotaLimitsOperations
from ._net_app_resource_region_infos_operations import NetAppResourceRegionInfosOperations
from ._accounts_operations import AccountsOperations
from ._pools_operations import PoolsOperations
from ._volumes_operations import VolumesOperations
from ._snapshots_operations import SnapshotsOperations
from ._snapshot_policies_operations import SnapshotPoliciesOperations
from ._backups_operations import BackupsOperations
from ._account_backups_operations import AccountBackupsOperations
from ._backup_policies_operations import BackupPoliciesOperations
from ._volume_quota_rules_operations import VolumeQuotaRulesOperations
from ._volume_groups_operations import VolumeGroupsOperations
from ._subvolumes_operations import SubvolumesOperations
from ._backup_vaults_operations import BackupVaultsOperations
from ._backups_under_backup_vault_operations import BackupsUnderBackupVaultOperations
from ._backups_under_volume_operations import BackupsUnderVolumeOperations
from ._backups_under_account_operations import BackupsUnderAccountOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand All @@ -34,22 +28,16 @@
"Operations",
"NetAppResourceOperations",
"NetAppResourceQuotaLimitsOperations",
"NetAppResourceRegionInfosOperations",
"AccountsOperations",
"PoolsOperations",
"VolumesOperations",
"SnapshotsOperations",
"SnapshotPoliciesOperations",
"BackupsOperations",
"AccountBackupsOperations",
"BackupPoliciesOperations",
"VolumeQuotaRulesOperations",
"VolumeGroupsOperations",
"SubvolumesOperations",
"BackupVaultsOperations",
"BackupsUnderBackupVaultOperations",
"BackupsUnderVolumeOperations",
"BackupsUnderAccountOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading
Loading