Skip to content

Commit 6410661

Browse files
author
SDKAuto
committed
CodeGen from PR 18503 in Azure/azure-rest-api-specs
Merge 6c7c84ebd2cea94559f40a53927562bc9e90a8cb into 028cb20e0e2e6adc55caf531676be97c2e8ba460
1 parent 9db8a2e commit 6410661

33 files changed

+1361
-671
lines changed

sdk/app/azure-mgmt-app/_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": "4ac6be1b22f88bfbb6ca3e294e73538bcac90b49",
7+
"commit": "8b278c5281f440f020cbad8800952d384f422aba",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/app/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/app/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/app/resource-manager/readme.md"
1111
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2022-01-01-preview"
48+
self.api_version = "2022-03-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-app/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/app/azure-mgmt-app/azure/mgmt/app/_container_apps_api_client.py

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from . import models
1717
from ._configuration import ContainerAppsAPIClientConfiguration
18-
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, Operations
18+
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, NamespacesOperations, Operations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -24,32 +24,32 @@
2424
class ContainerAppsAPIClient:
2525
"""ContainerAppsAPIClient.
2626
27+
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
28+
:vartype container_apps_auth_configs:
29+
azure.mgmt.app.operations.ContainerAppsAuthConfigsOperations
2730
:ivar container_apps: ContainerAppsOperations operations
28-
:vartype container_apps: container_apps_api_client.operations.ContainerAppsOperations
31+
:vartype container_apps: azure.mgmt.app.operations.ContainerAppsOperations
2932
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
30-
:vartype container_apps_revisions:
31-
container_apps_api_client.operations.ContainerAppsRevisionsOperations
33+
:vartype container_apps_revisions: azure.mgmt.app.operations.ContainerAppsRevisionsOperations
3234
:ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
3335
:vartype container_apps_revision_replicas:
34-
container_apps_api_client.operations.ContainerAppsRevisionReplicasOperations
36+
azure.mgmt.app.operations.ContainerAppsRevisionReplicasOperations
37+
:ivar dapr_components: DaprComponentsOperations operations
38+
:vartype dapr_components: azure.mgmt.app.operations.DaprComponentsOperations
39+
:ivar operations: Operations operations
40+
:vartype operations: azure.mgmt.app.operations.Operations
3541
:ivar managed_environments: ManagedEnvironmentsOperations operations
36-
:vartype managed_environments:
37-
container_apps_api_client.operations.ManagedEnvironmentsOperations
42+
:vartype managed_environments: azure.mgmt.app.operations.ManagedEnvironmentsOperations
3843
:ivar certificates: CertificatesOperations operations
39-
:vartype certificates: container_apps_api_client.operations.CertificatesOperations
40-
:ivar operations: Operations operations
41-
:vartype operations: container_apps_api_client.operations.Operations
42-
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
43-
:vartype container_apps_source_controls:
44-
container_apps_api_client.operations.ContainerAppsSourceControlsOperations
45-
:ivar dapr_components: DaprComponentsOperations operations
46-
:vartype dapr_components: container_apps_api_client.operations.DaprComponentsOperations
47-
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
48-
:vartype container_apps_auth_configs:
49-
container_apps_api_client.operations.ContainerAppsAuthConfigsOperations
44+
:vartype certificates: azure.mgmt.app.operations.CertificatesOperations
45+
:ivar namespaces: NamespacesOperations operations
46+
:vartype namespaces: azure.mgmt.app.operations.NamespacesOperations
5047
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
5148
:vartype managed_environments_storages:
52-
container_apps_api_client.operations.ManagedEnvironmentsStoragesOperations
49+
azure.mgmt.app.operations.ManagedEnvironmentsStoragesOperations
50+
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
51+
:vartype container_apps_source_controls:
52+
azure.mgmt.app.operations.ContainerAppsSourceControlsOperations
5353
:param credential: Credential needed for the client to connect to Azure.
5454
:type credential: ~azure.core.credentials.TokenCredential
5555
:param subscription_id: The ID of the target subscription.
@@ -74,16 +74,17 @@ def __init__(
7474
self._serialize = Serializer(client_models)
7575
self._deserialize = Deserializer(client_models)
7676
self._serialize.client_side_validation = False
77+
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
7778
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
7879
self.container_apps_revisions = ContainerAppsRevisionsOperations(self._client, self._config, self._serialize, self._deserialize)
7980
self.container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
81+
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
82+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
8083
self.managed_environments = ManagedEnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)
8184
self.certificates = CertificatesOperations(self._client, self._config, self._serialize, self._deserialize)
82-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
83-
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
84-
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
85-
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
85+
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
8686
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(self._client, self._config, self._serialize, self._deserialize)
87+
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
8788

8889

8990
def _send_request(

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2022-01-01-preview",
3-
"total_api_version_list": ["2022-01-01-preview"],
2+
"chosen_version": "2022-03-01",
3+
"total_api_version_list": ["2022-03-01"],
44
"client": {
55
"name": "ContainerAppsAPIClient",
66
"filename": "_container_apps_api_client",
@@ -97,15 +97,16 @@
9797
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
9898
},
9999
"operation_groups": {
100+
"container_apps_auth_configs": "ContainerAppsAuthConfigsOperations",
100101
"container_apps": "ContainerAppsOperations",
101102
"container_apps_revisions": "ContainerAppsRevisionsOperations",
102103
"container_apps_revision_replicas": "ContainerAppsRevisionReplicasOperations",
104+
"dapr_components": "DaprComponentsOperations",
105+
"operations": "Operations",
103106
"managed_environments": "ManagedEnvironmentsOperations",
104107
"certificates": "CertificatesOperations",
105-
"operations": "Operations",
106-
"container_apps_source_controls": "ContainerAppsSourceControlsOperations",
107-
"dapr_components": "DaprComponentsOperations",
108-
"container_apps_auth_configs": "ContainerAppsAuthConfigsOperations",
109-
"managed_environments_storages": "ManagedEnvironmentsStoragesOperations"
108+
"namespaces": "NamespacesOperations",
109+
"managed_environments_storages": "ManagedEnvironmentsStoragesOperations",
110+
"container_apps_source_controls": "ContainerAppsSourceControlsOperations"
110111
}
111112
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2022-01-01-preview"
48+
self.api_version = "2022-03-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-app/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/app/azure-mgmt-app/azure/mgmt/app/aio/_container_apps_api_client.py

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .. import models
1717
from ._configuration import ContainerAppsAPIClientConfiguration
18-
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, Operations
18+
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, NamespacesOperations, Operations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -24,32 +24,33 @@
2424
class ContainerAppsAPIClient:
2525
"""ContainerAppsAPIClient.
2626
27+
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
28+
:vartype container_apps_auth_configs:
29+
azure.mgmt.app.aio.operations.ContainerAppsAuthConfigsOperations
2730
:ivar container_apps: ContainerAppsOperations operations
28-
:vartype container_apps: container_apps_api_client.aio.operations.ContainerAppsOperations
31+
:vartype container_apps: azure.mgmt.app.aio.operations.ContainerAppsOperations
2932
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
3033
:vartype container_apps_revisions:
31-
container_apps_api_client.aio.operations.ContainerAppsRevisionsOperations
34+
azure.mgmt.app.aio.operations.ContainerAppsRevisionsOperations
3235
:ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
3336
:vartype container_apps_revision_replicas:
34-
container_apps_api_client.aio.operations.ContainerAppsRevisionReplicasOperations
37+
azure.mgmt.app.aio.operations.ContainerAppsRevisionReplicasOperations
38+
:ivar dapr_components: DaprComponentsOperations operations
39+
:vartype dapr_components: azure.mgmt.app.aio.operations.DaprComponentsOperations
40+
:ivar operations: Operations operations
41+
:vartype operations: azure.mgmt.app.aio.operations.Operations
3542
:ivar managed_environments: ManagedEnvironmentsOperations operations
36-
:vartype managed_environments:
37-
container_apps_api_client.aio.operations.ManagedEnvironmentsOperations
43+
:vartype managed_environments: azure.mgmt.app.aio.operations.ManagedEnvironmentsOperations
3844
:ivar certificates: CertificatesOperations operations
39-
:vartype certificates: container_apps_api_client.aio.operations.CertificatesOperations
40-
:ivar operations: Operations operations
41-
:vartype operations: container_apps_api_client.aio.operations.Operations
42-
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
43-
:vartype container_apps_source_controls:
44-
container_apps_api_client.aio.operations.ContainerAppsSourceControlsOperations
45-
:ivar dapr_components: DaprComponentsOperations operations
46-
:vartype dapr_components: container_apps_api_client.aio.operations.DaprComponentsOperations
47-
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
48-
:vartype container_apps_auth_configs:
49-
container_apps_api_client.aio.operations.ContainerAppsAuthConfigsOperations
45+
:vartype certificates: azure.mgmt.app.aio.operations.CertificatesOperations
46+
:ivar namespaces: NamespacesOperations operations
47+
:vartype namespaces: azure.mgmt.app.aio.operations.NamespacesOperations
5048
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
5149
:vartype managed_environments_storages:
52-
container_apps_api_client.aio.operations.ManagedEnvironmentsStoragesOperations
50+
azure.mgmt.app.aio.operations.ManagedEnvironmentsStoragesOperations
51+
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
52+
:vartype container_apps_source_controls:
53+
azure.mgmt.app.aio.operations.ContainerAppsSourceControlsOperations
5354
:param credential: Credential needed for the client to connect to Azure.
5455
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
5556
:param subscription_id: The ID of the target subscription.
@@ -74,16 +75,17 @@ def __init__(
7475
self._serialize = Serializer(client_models)
7576
self._deserialize = Deserializer(client_models)
7677
self._serialize.client_side_validation = False
78+
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
7779
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
7880
self.container_apps_revisions = ContainerAppsRevisionsOperations(self._client, self._config, self._serialize, self._deserialize)
7981
self.container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
82+
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
83+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
8084
self.managed_environments = ManagedEnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)
8185
self.certificates = CertificatesOperations(self._client, self._config, self._serialize, self._deserialize)
82-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
83-
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
84-
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
85-
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
86+
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
8687
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(self._client, self._config, self._serialize, self._deserialize)
88+
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
8789

8890

8991
def _send_request(

sdk/app/azure-mgmt-app/azure/mgmt/app/aio/operations/__init__.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,28 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9+
from ._container_apps_auth_configs_operations import ContainerAppsAuthConfigsOperations
910
from ._container_apps_operations import ContainerAppsOperations
1011
from ._container_apps_revisions_operations import ContainerAppsRevisionsOperations
1112
from ._container_apps_revision_replicas_operations import ContainerAppsRevisionReplicasOperations
13+
from ._dapr_components_operations import DaprComponentsOperations
14+
from ._operations import Operations
1215
from ._managed_environments_operations import ManagedEnvironmentsOperations
1316
from ._certificates_operations import CertificatesOperations
14-
from ._operations import Operations
15-
from ._container_apps_source_controls_operations import ContainerAppsSourceControlsOperations
16-
from ._dapr_components_operations import DaprComponentsOperations
17-
from ._container_apps_auth_configs_operations import ContainerAppsAuthConfigsOperations
17+
from ._namespaces_operations import NamespacesOperations
1818
from ._managed_environments_storages_operations import ManagedEnvironmentsStoragesOperations
19+
from ._container_apps_source_controls_operations import ContainerAppsSourceControlsOperations
1920

2021
__all__ = [
22+
'ContainerAppsAuthConfigsOperations',
2123
'ContainerAppsOperations',
2224
'ContainerAppsRevisionsOperations',
2325
'ContainerAppsRevisionReplicasOperations',
26+
'DaprComponentsOperations',
27+
'Operations',
2428
'ManagedEnvironmentsOperations',
2529
'CertificatesOperations',
26-
'Operations',
27-
'ContainerAppsSourceControlsOperations',
28-
'DaprComponentsOperations',
29-
'ContainerAppsAuthConfigsOperations',
30+
'NamespacesOperations',
3031
'ManagedEnvironmentsStoragesOperations',
32+
'ContainerAppsSourceControlsOperations',
3133
]

0 commit comments

Comments
 (0)