Skip to content

Commit

Permalink
[AutoRelease] t1-redis-2021-07-16-76144 (Azure#19844)
Browse files Browse the repository at this point in the history
* CodeGen from PR 15117 in Azure/azure-rest-api-specs
Cjf release0708 (Azure#15117)

* add tag into readme.go.md

* add tag to readme.go.md to release gosdk

* version,CHANGELOG

* test

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
  • Loading branch information
Azure CLI Bot and SDKAuto authored Jul 21, 2021
1 parent a1f5c68 commit b61898c
Show file tree
Hide file tree
Showing 19 changed files with 1,762 additions and 2,581 deletions.
27 changes: 27 additions & 0 deletions sdk/redis/azure-mgmt-redis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release History

## 7.0.0 (2021-07-16)

**Features**

- Model RedisFirewallRuleCreateParameters has a new parameter name
- Model RedisFirewallRuleCreateParameters has a new parameter id
- Model RedisFirewallRuleCreateParameters has a new parameter type
- Model RedisResource has a new parameter private_endpoint_connections
- Model RedisResource has a new parameter replicas_per_primary
- Model RedisResource has a new parameter public_network_access
- Model RedisUpdateParameters has a new parameter redis_version
- Model RedisUpdateParameters has a new parameter replicas_per_primary
- Model RedisUpdateParameters has a new parameter public_network_access
- Model RedisCreateParameters has a new parameter redis_version
- Model RedisCreateParameters has a new parameter replicas_per_primary
- Model RedisCreateParameters has a new parameter public_network_access
- Model RedisInstanceDetails has a new parameter is_primary
- Added operation RedisOperations.list_by_subscription
- Added operation FirewallRulesOperations.list
- Added operation group PrivateLinkResourcesOperations
- Added operation group PrivateEndpointConnectionsOperations

**Breaking changes**

- Removed operation RedisOperations.list
- Removed operation FirewallRulesOperations.list_by_redis_resource

## 7.0.0rc2 (2020-09-01)

**Features**
Expand Down
1 change: 1 addition & 0 deletions sdk/redis/azure-mgmt-redis/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/redis/azure-mgmt-redis/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "55558c4b2a1ee05064b1ce6733edf72a0345cfb8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/redis/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/redis/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
from .operations import FirewallRulesOperations
from .operations import PatchSchedulesOperations
from .operations import LinkedServerOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from . import models


Expand All @@ -37,6 +39,10 @@ class RedisManagementClient(SDKClient):
:vartype patch_schedules: azure.mgmt.redis.operations.PatchSchedulesOperations
:ivar linked_server: LinkedServer operations
:vartype linked_server: azure.mgmt.redis.operations.LinkedServerOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.redis.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.redis.operations.PrivateLinkResourcesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -55,7 +61,7 @@ def __init__(
super(RedisManagementClient, 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 = '2019-07-01'
self.api_version = '2020-12-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -69,3 +75,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.linked_server = LinkedServerOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
39 changes: 36 additions & 3 deletions sdk/redis/azure-mgmt-redis/azure/mgmt/redis/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AzureEntityResource
from ._models_py3 import CheckNameAvailabilityParameters
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ExportRDBParameters
from ._models_py3 import ImportRDBParameters
from ._models_py3 import NotificationListResponse
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import RedisAccessKeys
from ._models_py3 import RedisCreateParameters
Expand All @@ -37,12 +44,19 @@
from ._models_py3 import TrackedResource
from ._models_py3 import UpgradeNotification
except (SyntaxError, ImportError):
from ._models import AzureEntityResource
from ._models import CheckNameAvailabilityParameters
from ._models import ErrorAdditionalInfo
from ._models import ErrorDetail
from ._models import ErrorResponse, ErrorResponseException
from ._models import ExportRDBParameters
from ._models import ImportRDBParameters
from ._models import NotificationListResponse
from ._models import Operation
from ._models import OperationDisplay
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import RedisAccessKeys
from ._models import RedisCreateParameters
Expand All @@ -64,28 +78,41 @@
from ._models import TrackedResource
from ._models import UpgradeNotification
from ._paged_models import OperationPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import RedisFirewallRulePaged
from ._paged_models import RedisLinkedServerWithPropertiesPaged
from ._paged_models import RedisPatchSchedulePaged
from ._paged_models import RedisResourcePaged
from ._paged_models import UpgradeNotificationPaged
from ._redis_management_client_enums import (
SkuName,
SkuFamily,
TlsVersion,
PublicNetworkAccess,
ProvisioningState,
PrivateEndpointServiceConnectionStatus,
PrivateEndpointConnectionProvisioningState,
RedisKeyType,
RebootType,
DayOfWeek,
ReplicationRole,
)

__all__ = [
'AzureEntityResource',
'CheckNameAvailabilityParameters',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'ExportRDBParameters',
'ImportRDBParameters',
'NotificationListResponse',
'Operation',
'OperationDisplay',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateLinkResource',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'RedisAccessKeys',
'RedisCreateParameters',
Expand All @@ -107,14 +134,20 @@
'TrackedResource',
'UpgradeNotification',
'OperationPaged',
'UpgradeNotificationPaged',
'RedisResourcePaged',
'RedisFirewallRulePaged',
'RedisPatchSchedulePaged',
'RedisLinkedServerWithPropertiesPaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'SkuName',
'SkuFamily',
'TlsVersion',
'PublicNetworkAccess',
'ProvisioningState',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'RedisKeyType',
'RebootType',
'DayOfWeek',
Expand Down
Loading

0 comments on commit b61898c

Please sign in to comment.