Skip to content
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
11 changes: 7 additions & 4 deletions sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/[email protected]",
"commit": "e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1",
"autorest": "3.4.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "0e9d5b2e16f8984dc5f61395ce1026071a27e502",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/hybridkubernetes/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/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/hybridkubernetes/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/python@5.8.0 --use=@autorest/[email protected] --version=3.4.2",
"readme": "specification/hybridkubernetes/resource-manager/readme.md"
}
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 = "1.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def _create_initial(
resource_group_name: str,
cluster_name: str,
connected_cluster: "_models.ConnectedCluster",
**kwargs
**kwargs: Any
) -> "_models.ConnectedCluster":
cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"]
error_map = {
Expand Down Expand Up @@ -106,7 +106,7 @@ async def begin_create(
resource_group_name: str,
cluster_name: str,
connected_cluster: "_models.ConnectedCluster",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.ConnectedCluster"]:
"""Register a new Kubernetes cluster with Azure Resource Manager.

Expand All @@ -121,8 +121,8 @@ async def begin_create(
:type connected_cluster: ~connected_kubernetes_client.models.ConnectedCluster
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either ConnectedCluster or the result of cls(response)
Expand Down Expand Up @@ -180,7 +180,7 @@ async def update(
resource_group_name: str,
cluster_name: str,
connected_cluster_patch: "_models.ConnectedClusterPatch",
**kwargs
**kwargs: Any
) -> "_models.ConnectedCluster":
"""Updates a connected cluster.

Expand Down Expand Up @@ -248,7 +248,7 @@ async def get(
self,
resource_group_name: str,
cluster_name: str,
**kwargs
**kwargs: Any
) -> "_models.ConnectedCluster":
"""Get the properties of the specified connected cluster.

Expand Down Expand Up @@ -310,7 +310,7 @@ async def _delete_initial(
self,
resource_group_name: str,
cluster_name: str,
**kwargs
**kwargs: Any
) -> None:
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
Expand Down Expand Up @@ -355,7 +355,7 @@ async def begin_delete(
self,
resource_group_name: str,
cluster_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Delete a connected cluster.

Expand All @@ -367,8 +367,8 @@ async def begin_delete(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down Expand Up @@ -420,7 +420,7 @@ def get_long_running_output(pipeline_response):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ConnectedClusterList"]:
"""Lists all connected clusters.

Expand Down Expand Up @@ -492,7 +492,7 @@ async def get_next(next_link=None):

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ConnectedClusterList"]:
"""Lists all connected clusters.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def get(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationList"]:
"""Lists all of the available API operations for Connected Cluster resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@ class ConnectedClusterPatch(msrest.serialization.Model):
:type tags: dict[str, str]
:param properties: Describes the connected cluster resource properties that can be updated
during PATCH operation.
:type properties: str
:type properties: any
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'object'},
}

def __init__(
Expand All @@ -306,7 +306,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):
:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: str
:vartype info: any
"""

_validation = {
Expand All @@ -316,7 +316,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------

import datetime
from typing import Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Union

from azure.core.exceptions import HttpResponseError
import msrest.serialization
Expand Down Expand Up @@ -302,19 +302,19 @@ class ConnectedClusterPatch(msrest.serialization.Model):
:type tags: dict[str, str]
:param properties: Describes the connected cluster resource properties that can be updated
during PATCH operation.
:type properties: str
:type properties: any
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'object'},
}

def __init__(
self,
*,
tags: Optional[Dict[str, str]] = None,
properties: Optional[str] = None,
properties: Optional[Any] = None,
**kwargs
):
super(ConnectedClusterPatch, self).__init__(**kwargs)
Expand All @@ -330,7 +330,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):
:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: str
:vartype info: any
"""

_validation = {
Expand All @@ -340,7 +340,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def begin_create(
:type connected_cluster: ~connected_kubernetes_client.models.ConnectedCluster
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either ConnectedCluster or the result of cls(response)
Expand Down Expand Up @@ -377,8 +377,8 @@ def begin_delete(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either None or the result of cls(response)
Expand Down