Skip to content

Commit 7251126

Browse files
author
SDKAuto
committed
CodeGen from PR 18614 in Azure/azure-rest-api-specs
Merge e292c573083da22018d24ba57cc54551fcb8e115 into 14007e94fb70fa6b401deba1c4b16f9fba71340b
1 parent ecc852e commit 7251126

File tree

14 files changed

+635
-146
lines changed

14 files changed

+635
-146
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": "88f58e3d8b479184d6d508afd321b130569c32bb",
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-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --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-05-01"
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-05-01",
3+
"total_api_version_list": ["2022-05-01"],
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-05-01"
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: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@
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
18+
from ._models_py3 import KeyVaultSecretReferenceSecretInfo
19+
from ._models_py3 import KeyVaultSecretUriSecretInfo
1320
from ._models_py3 import LinkerList
1421
from ._models_py3 import LinkerPatch
1522
from ._models_py3 import LinkerResource
@@ -19,33 +26,46 @@
1926
from ._models_py3 import ProxyResource
2027
from ._models_py3 import Resource
2128
from ._models_py3 import SecretAuthInfo
29+
from ._models_py3 import SecretInfoBase
2230
from ._models_py3 import SecretStore
2331
from ._models_py3 import ServicePrincipalCertificateAuthInfo
2432
from ._models_py3 import ServicePrincipalSecretAuthInfo
2533
from ._models_py3 import SourceConfiguration
2634
from ._models_py3 import SourceConfigurationResult
2735
from ._models_py3 import SystemAssignedIdentityAuthInfo
2836
from ._models_py3 import SystemData
37+
from ._models_py3 import TargetServiceBase
2938
from ._models_py3 import UserAssignedIdentityAuthInfo
3039
from ._models_py3 import VNetSolution
3140
from ._models_py3 import ValidateResult
41+
from ._models_py3 import ValidationResultItem
42+
from ._models_py3 import ValueSecretInfo
3243

3344

3445
from ._microsoft_service_linker_enums import (
3546
ActionType,
3647
AuthType,
3748
ClientType,
3849
CreatedByType,
39-
LinkerStatus,
4050
Origin,
51+
SecretType,
52+
Type,
4153
VNetSolutionType,
54+
ValidationItemResult,
4255
)
4356

4457
__all__ = [
4558
'AuthInfoBase',
59+
'AzureKeyVaultProperties',
60+
'AzureResource',
61+
'AzureResourcePropertiesBase',
62+
'ConfluentBootstrapServer',
63+
'ConfluentSchemaRegistry',
4664
'ErrorAdditionalInfo',
4765
'ErrorDetail',
4866
'ErrorResponse',
67+
'KeyVaultSecretReferenceSecretInfo',
68+
'KeyVaultSecretUriSecretInfo',
4969
'LinkerList',
5070
'LinkerPatch',
5171
'LinkerResource',
@@ -55,21 +75,27 @@
5575
'ProxyResource',
5676
'Resource',
5777
'SecretAuthInfo',
78+
'SecretInfoBase',
5879
'SecretStore',
5980
'ServicePrincipalCertificateAuthInfo',
6081
'ServicePrincipalSecretAuthInfo',
6182
'SourceConfiguration',
6283
'SourceConfigurationResult',
6384
'SystemAssignedIdentityAuthInfo',
6485
'SystemData',
86+
'TargetServiceBase',
6587
'UserAssignedIdentityAuthInfo',
6688
'VNetSolution',
6789
'ValidateResult',
90+
'ValidationResultItem',
91+
'ValueSecretInfo',
6892
'ActionType',
6993
'AuthType',
7094
'ClientType',
7195
'CreatedByType',
72-
'LinkerStatus',
7396
'Origin',
97+
'SecretType',
98+
'Type',
7499
'VNetSolutionType',
100+
'ValidationItemResult',
75101
]

0 commit comments

Comments
 (0)