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-2021-11-30-98773(Do not merge) #21923

Closed
wants to merge 3 commits into from
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
20 changes: 20 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 6.0.0 (2021-11-30)

**Features**

- Model ActiveDirectory has a new parameter encrypt_dc_connections
- Model Volume has a new parameter volume_spec_name
- Model Volume has a new parameter capacity_pool_resource_id
- Model Volume has a new parameter placement_rules
- Model Volume has a new parameter volume_group_name
- Model Volume has a new parameter proximity_placement_group
- Model Volume has a new parameter t2_network
- Added operation group VolumeGroupsOperations

**Breaking changes**

- Model BackupPolicyDetails no longer has parameter name_properties_name
- Model BackupPolicy no longer has parameter name_properties_name
- Model SubscriptionQuotaItem no longer has parameter name_properties_name
- Model BackupPolicyPatch no longer has parameter name_properties_name

## 5.1.0 (2021-09-22)

**Features**
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
Expand Up @@ -4,7 +4,7 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "6b95b0f0fa71e18a350cf0ba152591a29a94bdc0",
"commit": "31efd7108fe0fcccb69d6b3d4054c648565e767b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/netapp/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-06-01",
"total_api_version_list": ["2021-06-01"],
"chosen_version": "2021-08-01",
"total_api_version_list": ["2021-08-01"],
"client": {
"name": "NetAppManagementClient",
"filename": "_net_app_management_client",
Expand Down Expand Up @@ -109,6 +109,7 @@
"backups": "BackupsOperations",
"account_backups": "AccountBackupsOperations",
"backup_policies": "BackupPoliciesOperations",
"vaults": "VaultsOperations"
"vaults": "VaultsOperations",
"volume_groups": "VolumeGroupsOperations"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from .operations import AccountBackupsOperations
from .operations import BackupPoliciesOperations
from .operations import VaultsOperations
from .operations import VolumeGroupsOperations
from . import models


Expand Down Expand Up @@ -61,6 +62,8 @@ class NetAppManagementClient(object):
:vartype backup_policies: azure.mgmt.netapp.operations.BackupPoliciesOperations
:ivar vaults: VaultsOperations operations
:vartype vaults: azure.mgmt.netapp.operations.VaultsOperations
:ivar volume_groups: VolumeGroupsOperations operations
:vartype volume_groups: azure.mgmt.netapp.operations.VolumeGroupsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -111,6 +114,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.vaults = VaultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.volume_groups = VolumeGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, http_request, **kwargs):
# type: (HttpRequest, Any) -> HttpResponse
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 = "5.1.0"
VERSION = "6.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from .operations import AccountBackupsOperations
from .operations import BackupPoliciesOperations
from .operations import VaultsOperations
from .operations import VolumeGroupsOperations
from .. import models


Expand Down Expand Up @@ -59,6 +60,8 @@ class NetAppManagementClient(object):
:vartype backup_policies: azure.mgmt.netapp.aio.operations.BackupPoliciesOperations
:ivar vaults: VaultsOperations operations
:vartype vaults: azure.mgmt.netapp.aio.operations.VaultsOperations
:ivar volume_groups: VolumeGroupsOperations operations
:vartype volume_groups: azure.mgmt.netapp.aio.operations.VolumeGroupsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Expand Down Expand Up @@ -108,6 +111,8 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.vaults = VaultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.volume_groups = VolumeGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)

async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> 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 @@ -18,6 +18,7 @@
from ._account_backups_operations import AccountBackupsOperations
from ._backup_policies_operations import BackupPoliciesOperations
from ._vaults_operations import VaultsOperations
from ._volume_groups_operations import VolumeGroupsOperations

__all__ = [
'Operations',
Expand All @@ -32,4 +33,5 @@
'AccountBackupsOperations',
'BackupPoliciesOperations',
'VaultsOperations',
'VolumeGroupsOperations',
]
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -146,7 +146,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -195,7 +195,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def list_by_subscription(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -132,7 +132,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -207,7 +207,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -255,7 +255,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -384,7 +384,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down Expand Up @@ -493,7 +493,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -146,7 +146,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -334,7 +334,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -470,7 +470,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def get_status(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -141,7 +141,7 @@ async def get_volume_restore_status(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -209,7 +209,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -296,7 +296,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -350,7 +350,7 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -502,7 +502,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -655,7 +655,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def check_name_availability(
error_map.update(kwargs.pop('error_map', {}))

_body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group)
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -142,7 +142,7 @@ async def check_file_path_availability(
error_map.update(kwargs.pop('error_map', {}))

_body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id)
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -214,7 +214,7 @@ async def check_quota_availability(
error_map.update(kwargs.pop('error_map', {}))

_body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group)
api_version = "2021-06-01"
api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -137,7 +137,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-08-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Loading