Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-app] Adding Microsoft.App stable version 2022-03-01 #9725

Closed
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
4 changes: 2 additions & 2 deletions sdk/app/azure-mgmt-app/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "4ac6be1b22f88bfbb6ca3e294e73538bcac90b49",
"commit": "d52585ac7ad2e3bd1699e6bf558120f4a6afa6ce",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"autorest_command": "autorest specification/app/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",
"readme": "specification/app/resource-manager/readme.md"
}
2 changes: 1 addition & 1 deletion sdk/app/azure-mgmt-app/azure/mgmt/app/_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2022-01-01-preview"
self.api_version = "2022-03-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-app/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
47 changes: 24 additions & 23 deletions sdk/app/azure-mgmt-app/azure/mgmt/app/_container_apps_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from . import models
from ._configuration import ContainerAppsAPIClientConfiguration
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, Operations
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, NamespacesOperations, Operations

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
Expand All @@ -24,32 +24,32 @@
class ContainerAppsAPIClient:
"""ContainerAppsAPIClient.

:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
azure.mgmt.app.operations.ContainerAppsAuthConfigsOperations
:ivar container_apps: ContainerAppsOperations operations
:vartype container_apps: container_apps_api_client.operations.ContainerAppsOperations
:vartype container_apps: azure.mgmt.app.operations.ContainerAppsOperations
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
:vartype container_apps_revisions:
container_apps_api_client.operations.ContainerAppsRevisionsOperations
:vartype container_apps_revisions: azure.mgmt.app.operations.ContainerAppsRevisionsOperations
:ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
:vartype container_apps_revision_replicas:
container_apps_api_client.operations.ContainerAppsRevisionReplicasOperations
azure.mgmt.app.operations.ContainerAppsRevisionReplicasOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: azure.mgmt.app.operations.DaprComponentsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.app.operations.Operations
:ivar managed_environments: ManagedEnvironmentsOperations operations
:vartype managed_environments:
container_apps_api_client.operations.ManagedEnvironmentsOperations
:vartype managed_environments: azure.mgmt.app.operations.ManagedEnvironmentsOperations
:ivar certificates: CertificatesOperations operations
:vartype certificates: container_apps_api_client.operations.CertificatesOperations
:ivar operations: Operations operations
:vartype operations: container_apps_api_client.operations.Operations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
container_apps_api_client.operations.ContainerAppsSourceControlsOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: container_apps_api_client.operations.DaprComponentsOperations
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
container_apps_api_client.operations.ContainerAppsAuthConfigsOperations
:vartype certificates: azure.mgmt.app.operations.CertificatesOperations
:ivar namespaces: NamespacesOperations operations
:vartype namespaces: azure.mgmt.app.operations.NamespacesOperations
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
:vartype managed_environments_storages:
container_apps_api_client.operations.ManagedEnvironmentsStoragesOperations
azure.mgmt.app.operations.ManagedEnvironmentsStoragesOperations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
azure.mgmt.app.operations.ContainerAppsSourceControlsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription.
Expand All @@ -74,16 +74,17 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_revisions = ContainerAppsRevisionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments = ManagedEnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.certificates = CertificatesOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)


def _send_request(
Expand Down
15 changes: 8 additions & 7 deletions sdk/app/azure-mgmt-app/azure/mgmt/app/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2022-01-01-preview",
"total_api_version_list": ["2022-01-01-preview"],
"chosen_version": "2022-03-01",
"total_api_version_list": ["2022-03-01"],
"client": {
"name": "ContainerAppsAPIClient",
"filename": "_container_apps_api_client",
Expand Down Expand Up @@ -97,15 +97,16 @@
"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\"]}}}"
},
"operation_groups": {
"container_apps_auth_configs": "ContainerAppsAuthConfigsOperations",
"container_apps": "ContainerAppsOperations",
"container_apps_revisions": "ContainerAppsRevisionsOperations",
"container_apps_revision_replicas": "ContainerAppsRevisionReplicasOperations",
"dapr_components": "DaprComponentsOperations",
"operations": "Operations",
"managed_environments": "ManagedEnvironmentsOperations",
"certificates": "CertificatesOperations",
"operations": "Operations",
"container_apps_source_controls": "ContainerAppsSourceControlsOperations",
"dapr_components": "DaprComponentsOperations",
"container_apps_auth_configs": "ContainerAppsAuthConfigsOperations",
"managed_environments_storages": "ManagedEnvironmentsStoragesOperations"
"namespaces": "NamespacesOperations",
"managed_environments_storages": "ManagedEnvironmentsStoragesOperations",
"container_apps_source_controls": "ContainerAppsSourceControlsOperations"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2022-01-01-preview"
self.api_version = "2022-03-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-app/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from .. import models
from ._configuration import ContainerAppsAPIClientConfiguration
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, Operations
from .operations import CertificatesOperations, ContainerAppsAuthConfigsOperations, ContainerAppsOperations, ContainerAppsRevisionReplicasOperations, ContainerAppsRevisionsOperations, ContainerAppsSourceControlsOperations, DaprComponentsOperations, ManagedEnvironmentsOperations, ManagedEnvironmentsStoragesOperations, NamespacesOperations, Operations

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
Expand All @@ -24,32 +24,33 @@
class ContainerAppsAPIClient:
"""ContainerAppsAPIClient.

:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
azure.mgmt.app.aio.operations.ContainerAppsAuthConfigsOperations
:ivar container_apps: ContainerAppsOperations operations
:vartype container_apps: container_apps_api_client.aio.operations.ContainerAppsOperations
:vartype container_apps: azure.mgmt.app.aio.operations.ContainerAppsOperations
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
:vartype container_apps_revisions:
container_apps_api_client.aio.operations.ContainerAppsRevisionsOperations
azure.mgmt.app.aio.operations.ContainerAppsRevisionsOperations
:ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
:vartype container_apps_revision_replicas:
container_apps_api_client.aio.operations.ContainerAppsRevisionReplicasOperations
azure.mgmt.app.aio.operations.ContainerAppsRevisionReplicasOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: azure.mgmt.app.aio.operations.DaprComponentsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.app.aio.operations.Operations
:ivar managed_environments: ManagedEnvironmentsOperations operations
:vartype managed_environments:
container_apps_api_client.aio.operations.ManagedEnvironmentsOperations
:vartype managed_environments: azure.mgmt.app.aio.operations.ManagedEnvironmentsOperations
:ivar certificates: CertificatesOperations operations
:vartype certificates: container_apps_api_client.aio.operations.CertificatesOperations
:ivar operations: Operations operations
:vartype operations: container_apps_api_client.aio.operations.Operations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
container_apps_api_client.aio.operations.ContainerAppsSourceControlsOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: container_apps_api_client.aio.operations.DaprComponentsOperations
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
container_apps_api_client.aio.operations.ContainerAppsAuthConfigsOperations
:vartype certificates: azure.mgmt.app.aio.operations.CertificatesOperations
:ivar namespaces: NamespacesOperations operations
:vartype namespaces: azure.mgmt.app.aio.operations.NamespacesOperations
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
:vartype managed_environments_storages:
container_apps_api_client.aio.operations.ManagedEnvironmentsStoragesOperations
azure.mgmt.app.aio.operations.ManagedEnvironmentsStoragesOperations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
azure.mgmt.app.aio.operations.ContainerAppsSourceControlsOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription.
Expand All @@ -74,16 +75,17 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_revisions = ContainerAppsRevisionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments = ManagedEnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.certificates = CertificatesOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(self._client, self._config, self._serialize, self._deserialize)
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(self._client, self._config, self._serialize, self._deserialize)


def _send_request(
Expand Down
18 changes: 10 additions & 8 deletions sdk/app/azure-mgmt-app/azure/mgmt/app/aio/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,28 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._container_apps_auth_configs_operations import ContainerAppsAuthConfigsOperations
from ._container_apps_operations import ContainerAppsOperations
from ._container_apps_revisions_operations import ContainerAppsRevisionsOperations
from ._container_apps_revision_replicas_operations import ContainerAppsRevisionReplicasOperations
from ._dapr_components_operations import DaprComponentsOperations
from ._operations import Operations
from ._managed_environments_operations import ManagedEnvironmentsOperations
from ._certificates_operations import CertificatesOperations
from ._operations import Operations
from ._container_apps_source_controls_operations import ContainerAppsSourceControlsOperations
from ._dapr_components_operations import DaprComponentsOperations
from ._container_apps_auth_configs_operations import ContainerAppsAuthConfigsOperations
from ._namespaces_operations import NamespacesOperations
from ._managed_environments_storages_operations import ManagedEnvironmentsStoragesOperations
from ._container_apps_source_controls_operations import ContainerAppsSourceControlsOperations

__all__ = [
'ContainerAppsAuthConfigsOperations',
'ContainerAppsOperations',
'ContainerAppsRevisionsOperations',
'ContainerAppsRevisionReplicasOperations',
'DaprComponentsOperations',
'Operations',
'ManagedEnvironmentsOperations',
'CertificatesOperations',
'Operations',
'ContainerAppsSourceControlsOperations',
'DaprComponentsOperations',
'ContainerAppsAuthConfigsOperations',
'NamespacesOperations',
'ManagedEnvironmentsStoragesOperations',
'ContainerAppsSourceControlsOperations',
]
Loading