Skip to content

Commit 956b03a

Browse files
author
SDKAuto
committed
CodeGen from PR 18222 in Azure/azure-rest-api-specs
Merge d6cb5c6ddc7bb732a0f0f63c9d017fabe5cff1f3 into 2abe647120f14bb145968a5543ead8ed51394498
1 parent 14ff5a8 commit 956b03a

File tree

14 files changed

+460
-139
lines changed

14 files changed

+460
-139
lines changed

sdk/servicelinker/azure-mgmt-servicelinker/_meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "429a7ea873cc1bbd4df133f71427162e15e258b1",
7+
"commit": "1197aec6f7a9ef9a5a61891b3004b213f6f3ee70",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
9+
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/servicelinker/resource-manager/readme.md"
1111
}

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(
3939
raise ValueError("Parameter 'credential' must not be None.")
4040

4141
self.credential = credential
42-
self.api_version = "2021-11-01-preview"
42+
self.api_version = "2022-01-01-preview"
4343
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
4444
kwargs.setdefault('sdk_moniker', 'mgmt-servicelinker/{}'.format(VERSION))
4545
self._configure(**kwargs)

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-11-01-preview",
3-
"total_api_version_list": ["2021-11-01-preview"],
2+
"chosen_version": "2022-01-01-preview",
3+
"total_api_version_list": ["2022-01-01-preview"],
44
"client": {
55
"name": "MicrosoftServiceLinker",
66
"filename": "_microsoft_service_linker",

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/_microsoft_service_linker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class MicrosoftServiceLinker:
2525
"""Microsoft.ServiceLinker provider.
2626
2727
:ivar linker: LinkerOperations operations
28-
:vartype linker: microsoft_service_linker.operations.LinkerOperations
28+
:vartype linker: azure.mgmt.servicelinker.operations.LinkerOperations
2929
:ivar operations: Operations operations
30-
:vartype operations: microsoft_service_linker.operations.Operations
30+
:vartype operations: azure.mgmt.servicelinker.operations.Operations
3131
:param credential: Credential needed for the client to connect to Azure.
3232
:type credential: ~azure.core.credentials.TokenCredential
3333
:param base_url: Service URL. Default value is 'https://management.azure.com'.

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b2"
9+
VERSION = "1.0.0b1"

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/aio/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(
3939
raise ValueError("Parameter 'credential' must not be None.")
4040

4141
self.credential = credential
42-
self.api_version = "2021-11-01-preview"
42+
self.api_version = "2022-01-01-preview"
4343
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
4444
kwargs.setdefault('sdk_moniker', 'mgmt-servicelinker/{}'.format(VERSION))
4545
self._configure(**kwargs)

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/aio/_microsoft_service_linker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class MicrosoftServiceLinker:
2525
"""Microsoft.ServiceLinker provider.
2626
2727
:ivar linker: LinkerOperations operations
28-
:vartype linker: microsoft_service_linker.aio.operations.LinkerOperations
28+
:vartype linker: azure.mgmt.servicelinker.aio.operations.LinkerOperations
2929
:ivar operations: Operations operations
30-
:vartype operations: microsoft_service_linker.aio.operations.Operations
30+
:vartype operations: azure.mgmt.servicelinker.aio.operations.Operations
3131
:param credential: Credential needed for the client to connect to Azure.
3232
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3333
:param base_url: Service URL. Default value is 'https://management.azure.com'.

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/aio/operations/_linker_operations.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class LinkerOperations:
3333
instantiates it for you and attaches it as an attribute.
3434
3535
:ivar models: Alias to model classes used in this operation group.
36-
:type models: ~microsoft_service_linker.models
36+
:type models: ~azure.mgmt.servicelinker.models
3737
:param client: Client for service requests.
3838
:param config: Configuration of service client.
3939
:param serializer: An object model serializer.
@@ -61,7 +61,7 @@ def list(
6161
:type resource_uri: str
6262
:keyword callable cls: A custom type or function that will be passed the direct response
6363
:return: An iterator like instance of either LinkerList or the result of cls(response)
64-
:rtype: ~azure.core.async_paging.AsyncItemPaged[~microsoft_service_linker.models.LinkerList]
64+
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicelinker.models.LinkerList]
6565
:raises: ~azure.core.exceptions.HttpResponseError
6666
"""
6767
cls = kwargs.pop('cls', None) # type: ClsType["_models.LinkerList"]
@@ -132,7 +132,7 @@ async def get(
132132
:type linker_name: str
133133
:keyword callable cls: A custom type or function that will be passed the direct response
134134
:return: LinkerResource, or the result of cls(response)
135-
:rtype: ~microsoft_service_linker.models.LinkerResource
135+
:rtype: ~azure.mgmt.servicelinker.models.LinkerResource
136136
:raises: ~azure.core.exceptions.HttpResponseError
137137
"""
138138
cls = kwargs.pop('cls', None) # type: ClsType["_models.LinkerResource"]
@@ -232,7 +232,7 @@ async def begin_create_or_update(
232232
:param linker_name: The name Linker resource.
233233
:type linker_name: str
234234
:param parameters: Linker details.
235-
:type parameters: ~microsoft_service_linker.models.LinkerResource
235+
:type parameters: ~azure.mgmt.servicelinker.models.LinkerResource
236236
:keyword callable cls: A custom type or function that will be passed the direct response
237237
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
238238
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
@@ -243,7 +243,7 @@ async def begin_create_or_update(
243243
Retry-After header is present.
244244
:return: An instance of AsyncLROPoller that returns either LinkerResource or the result of
245245
cls(response)
246-
:rtype: ~azure.core.polling.AsyncLROPoller[~microsoft_service_linker.models.LinkerResource]
246+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicelinker.models.LinkerResource]
247247
:raises: ~azure.core.exceptions.HttpResponseError
248248
"""
249249
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
@@ -448,7 +448,7 @@ async def begin_update(
448448
:param linker_name: The name Linker resource.
449449
:type linker_name: str
450450
:param parameters: Linker details.
451-
:type parameters: ~microsoft_service_linker.models.LinkerPatch
451+
:type parameters: ~azure.mgmt.servicelinker.models.LinkerPatch
452452
:keyword callable cls: A custom type or function that will be passed the direct response
453453
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
454454
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
@@ -459,7 +459,7 @@ async def begin_update(
459459
Retry-After header is present.
460460
:return: An instance of AsyncLROPoller that returns either LinkerResource or the result of
461461
cls(response)
462-
:rtype: ~azure.core.polling.AsyncLROPoller[~microsoft_service_linker.models.LinkerResource]
462+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicelinker.models.LinkerResource]
463463
:raises: ~azure.core.exceptions.HttpResponseError
464464
"""
465465
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
@@ -568,7 +568,7 @@ async def begin_validate(
568568
Retry-After header is present.
569569
:return: An instance of AsyncLROPoller that returns either ValidateResult or the result of
570570
cls(response)
571-
:rtype: ~azure.core.polling.AsyncLROPoller[~microsoft_service_linker.models.ValidateResult]
571+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.servicelinker.models.ValidateResult]
572572
:raises: ~azure.core.exceptions.HttpResponseError
573573
"""
574574
polling = kwargs.pop('polling', True) # type: Union[bool, azure.core.polling.AsyncPollingMethod]
@@ -626,7 +626,7 @@ async def list_configurations(
626626
:type linker_name: str
627627
:keyword callable cls: A custom type or function that will be passed the direct response
628628
:return: SourceConfigurationResult, or the result of cls(response)
629-
:rtype: ~microsoft_service_linker.models.SourceConfigurationResult
629+
:rtype: ~azure.mgmt.servicelinker.models.SourceConfigurationResult
630630
:raises: ~azure.core.exceptions.HttpResponseError
631631
"""
632632
cls = kwargs.pop('cls', None) # type: ClsType["_models.SourceConfigurationResult"]

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/aio/operations/_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Operations:
3131
instantiates it for you and attaches it as an attribute.
3232
3333
:ivar models: Alias to model classes used in this operation group.
34-
:type models: ~microsoft_service_linker.models
34+
:type models: ~azure.mgmt.servicelinker.models
3535
:param client: Client for service requests.
3636
:param config: Configuration of service client.
3737
:param serializer: An object model serializer.
@@ -56,7 +56,7 @@ def list(
5656
:keyword callable cls: A custom type or function that will be passed the direct response
5757
:return: An iterator like instance of either OperationListResult or the result of cls(response)
5858
:rtype:
59-
~azure.core.async_paging.AsyncItemPaged[~microsoft_service_linker.models.OperationListResult]
59+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.servicelinker.models.OperationListResult]
6060
:raises: ~azure.core.exceptions.HttpResponseError
6161
"""
6262
cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"]

sdk/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker/models/__init__.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
# --------------------------------------------------------------------------
88

99
from ._models_py3 import AuthInfoBase
10+
from ._models_py3 import AzureKeyVaultProperties
11+
from ._models_py3 import AzureResource
12+
from ._models_py3 import AzureResourcePropertiesBase
13+
from ._models_py3 import ConfluentBootstrapServer
14+
from ._models_py3 import ConfluentSchemaRegistry
1015
from ._models_py3 import ErrorAdditionalInfo
1116
from ._models_py3 import ErrorDetail
1217
from ._models_py3 import ErrorResponse
@@ -26,23 +31,31 @@
2631
from ._models_py3 import SourceConfigurationResult
2732
from ._models_py3 import SystemAssignedIdentityAuthInfo
2833
from ._models_py3 import SystemData
34+
from ._models_py3 import TargetServiceBase
2935
from ._models_py3 import UserAssignedIdentityAuthInfo
3036
from ._models_py3 import VNetSolution
3137
from ._models_py3 import ValidateResult
38+
from ._models_py3 import ValidationResultItem
3239

3340

3441
from ._microsoft_service_linker_enums import (
3542
ActionType,
3643
AuthType,
3744
ClientType,
3845
CreatedByType,
39-
LinkerStatus,
4046
Origin,
47+
Type,
4148
VNetSolutionType,
49+
ValidationItemResult,
4250
)
4351

4452
__all__ = [
4553
'AuthInfoBase',
54+
'AzureKeyVaultProperties',
55+
'AzureResource',
56+
'AzureResourcePropertiesBase',
57+
'ConfluentBootstrapServer',
58+
'ConfluentSchemaRegistry',
4659
'ErrorAdditionalInfo',
4760
'ErrorDetail',
4861
'ErrorResponse',
@@ -62,14 +75,17 @@
6275
'SourceConfigurationResult',
6376
'SystemAssignedIdentityAuthInfo',
6477
'SystemData',
78+
'TargetServiceBase',
6579
'UserAssignedIdentityAuthInfo',
6680
'VNetSolution',
6781
'ValidateResult',
82+
'ValidationResultItem',
6883
'ActionType',
6984
'AuthType',
7085
'ClientType',
7186
'CreatedByType',
72-
'LinkerStatus',
7387
'Origin',
88+
'Type',
7489
'VNetSolutionType',
90+
'ValidationItemResult',
7591
]

0 commit comments

Comments
 (0)