Skip to content

Commit 0a48a76

Browse files
author
SDK Automation
committed
Generated from 58d4e9800c40a04eddf23380db322a816ae93b2c
1 parent d0d46ed commit 0a48a76

File tree

309 files changed

+17341
-15645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+17341
-15645
lines changed

sdk/logic/azure-mgmt-logic/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
recursive-include tests *.py *.yaml
12
include *.md
23
include azure/__init__.py
34
include azure/mgmt/__init__.py
Lines changed: 11 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Logic Apps Management Client Library.
4+
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
46

5-
Azure Resource Manager (ARM) is the next generation of management APIs
6-
that replace the old Azure Service Management (ASM).
77

8-
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
8+
# Usage
99

10-
For the older Azure Service Management (ASM) libraries, see
11-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
12-
library.
13-
14-
For a more complete set of Azure libraries, see the
15-
[azure sdk python release](https://aka.ms/azsdk/python/all).
16-
17-
## Compatibility
18-
19-
**IMPORTANT**: If you have an earlier version of the azure package
20-
(version < 1.0), you should uninstall it before installing this
21-
package.
22-
23-
You can check the version using pip:
24-
25-
``` shell
26-
pip freeze
27-
```
28-
29-
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
30-
31-
``` shell
32-
pip uninstall azure
33-
```
34-
35-
## Usage
36-
37-
For code examples, see [Logic Apps
38-
Management](https://docs.microsoft.com/python/api/overview/azure/logic-apps)
10+
For code examples, see [Logic Apps Management](https://docs.microsoft.com/python/api/overview/azure/logic-apps)
3911
on docs.microsoft.com.
4012

41-
## Provide Feedback
4213

43-
If you encounter any bugs or have suggestions, please file an issue in
44-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
14+
# Provide Feedback
15+
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
4518
section of the project.
4619

47-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-logic%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-logic%2FREADME.png)

sdk/logic/azure-mgmt-logic/azure/mgmt/logic/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from .logic_management_client import LogicManagementClient
13-
from .version import VERSION
12+
from ._configuration import LogicManagementClientConfiguration
13+
from ._logic_management_client import LogicManagementClient
14+
__all__ = ['LogicManagementClient', 'LogicManagementClientConfiguration']
1415

15-
__all__ = ['LogicManagementClient']
16+
from .version import VERSION
1617

1718
__version__ = VERSION
1819

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
from msrestazure import AzureConfiguration
12+
13+
from .version import VERSION
14+
15+
16+
class LogicManagementClientConfiguration(AzureConfiguration):
17+
"""Configuration for LogicManagementClient
18+
Note that all parameters used to create this instance are saved as instance
19+
attributes.
20+
21+
:param credentials: Credentials needed for the client to connect to Azure.
22+
:type credentials: :mod:`A msrestazure Credentials
23+
object<msrestazure.azure_active_directory>`
24+
:param subscription_id: The subscription id.
25+
:type subscription_id: str
26+
:param str base_url: Service URL
27+
"""
28+
29+
def __init__(
30+
self, credentials, subscription_id, base_url=None):
31+
32+
if credentials is None:
33+
raise ValueError("Parameter 'credentials' must not be None.")
34+
if subscription_id is None:
35+
raise ValueError("Parameter 'subscription_id' must not be None.")
36+
if not base_url:
37+
base_url = 'https://management.azure.com'
38+
39+
super(LogicManagementClientConfiguration, self).__init__(base_url)
40+
41+
# Starting Autorest.Python 4.0.64, make connection pool activated by default
42+
self.keep_alive = True
43+
44+
self.add_user_agent('azure-mgmt-logic/{}'.format(VERSION))
45+
self.add_user_agent('Azure-SDK-For-Python')
46+
47+
self.credentials = credentials
48+
self.subscription_id = subscription_id

sdk/logic/azure-mgmt-logic/azure/mgmt/logic/logic_management_client.py renamed to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_logic_management_client.py

Lines changed: 50 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -11,63 +11,36 @@
1111

1212
from msrest.service_client import SDKClient
1313
from msrest import Serializer, Deserializer
14-
from msrestazure import AzureConfiguration
15-
from .version import VERSION
16-
from .operations.workflows_operations import WorkflowsOperations
17-
from .operations.workflow_versions_operations import WorkflowVersionsOperations
18-
from .operations.workflow_triggers_operations import WorkflowTriggersOperations
19-
from .operations.workflow_version_triggers_operations import WorkflowVersionTriggersOperations
20-
from .operations.workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations
21-
from .operations.workflow_runs_operations import WorkflowRunsOperations
22-
from .operations.workflow_run_actions_operations import WorkflowRunActionsOperations
23-
from .operations.workflow_run_action_repetitions_operations import WorkflowRunActionRepetitionsOperations
24-
from .operations.workflow_run_action_repetitions_request_histories_operations import WorkflowRunActionRepetitionsRequestHistoriesOperations
25-
from .operations.workflow_run_action_request_histories_operations import WorkflowRunActionRequestHistoriesOperations
26-
from .operations.workflow_run_action_scope_repetitions_operations import WorkflowRunActionScopeRepetitionsOperations
27-
from .operations.workflow_run_operations import WorkflowRunOperations
28-
from .operations.integration_accounts_operations import IntegrationAccountsOperations
29-
from .operations.integration_account_assemblies_operations import IntegrationAccountAssembliesOperations
30-
from .operations.integration_account_batch_configurations_operations import IntegrationAccountBatchConfigurationsOperations
31-
from .operations.integration_account_schemas_operations import IntegrationAccountSchemasOperations
32-
from .operations.integration_account_maps_operations import IntegrationAccountMapsOperations
33-
from .operations.integration_account_partners_operations import IntegrationAccountPartnersOperations
34-
from .operations.integration_account_agreements_operations import IntegrationAccountAgreementsOperations
35-
from .operations.integration_account_certificates_operations import IntegrationAccountCertificatesOperations
36-
from .operations.integration_account_sessions_operations import IntegrationAccountSessionsOperations
37-
from .operations.operations import Operations
38-
from . import models
39-
40-
41-
class LogicManagementClientConfiguration(AzureConfiguration):
42-
"""Configuration for LogicManagementClient
43-
Note that all parameters used to create this instance are saved as instance
44-
attributes.
45-
46-
:param credentials: Credentials needed for the client to connect to Azure.
47-
:type credentials: :mod:`A msrestazure Credentials
48-
object<msrestazure.azure_active_directory>`
49-
:param subscription_id: The subscription id.
50-
:type subscription_id: str
51-
:param str base_url: Service URL
52-
"""
5314

54-
def __init__(
55-
self, credentials, subscription_id, base_url=None):
56-
57-
if credentials is None:
58-
raise ValueError("Parameter 'credentials' must not be None.")
59-
if subscription_id is None:
60-
raise ValueError("Parameter 'subscription_id' must not be None.")
61-
if not base_url:
62-
base_url = 'https://management.azure.com'
63-
64-
super(LogicManagementClientConfiguration, self).__init__(base_url)
65-
66-
self.add_user_agent('azure-mgmt-logic/{}'.format(VERSION))
67-
self.add_user_agent('Azure-SDK-For-Python')
68-
69-
self.credentials = credentials
70-
self.subscription_id = subscription_id
15+
from ._configuration import LogicManagementClientConfiguration
16+
from .operations import WorkflowsOperations
17+
from .operations import WorkflowVersionsOperations
18+
from .operations import WorkflowTriggersOperations
19+
from .operations import WorkflowVersionTriggersOperations
20+
from .operations import WorkflowTriggerHistoriesOperations
21+
from .operations import WorkflowRunsOperations
22+
from .operations import WorkflowRunActionsOperations
23+
from .operations import WorkflowRunActionRepetitionsOperations
24+
from .operations import WorkflowRunActionRepetitionsRequestHistoriesOperations
25+
from .operations import WorkflowRunActionRequestHistoriesOperations
26+
from .operations import WorkflowRunActionScopeRepetitionsOperations
27+
from .operations import WorkflowRunOperations
28+
from .operations import IntegrationAccountsOperations
29+
from .operations import IntegrationAccountAssembliesOperations
30+
from .operations import IntegrationAccountBatchConfigurationsOperations
31+
from .operations import IntegrationAccountSchemasOperations
32+
from .operations import IntegrationAccountMapsOperations
33+
from .operations import IntegrationAccountPartnersOperations
34+
from .operations import IntegrationAccountAgreementsOperations
35+
from .operations import IntegrationAccountCertificatesOperations
36+
from .operations import IntegrationAccountSessionsOperations
37+
from .operations import IntegrationServiceEnvironmentsOperations
38+
from .operations import IntegrationServiceEnvironmentSkusOperations
39+
from .operations import IntegrationServiceEnvironmentNetworkHealthOperations
40+
from .operations import IntegrationServiceEnvironmentManagedApisOperations
41+
from .operations import IntegrationServiceEnvironmentManagedApiOperations
42+
from .operations import Operations
43+
from . import models
7144

7245

7346
class LogicManagementClient(SDKClient):
@@ -118,6 +91,16 @@ class LogicManagementClient(SDKClient):
11891
:vartype integration_account_certificates: azure.mgmt.logic.operations.IntegrationAccountCertificatesOperations
11992
:ivar integration_account_sessions: IntegrationAccountSessions operations
12093
:vartype integration_account_sessions: azure.mgmt.logic.operations.IntegrationAccountSessionsOperations
94+
:ivar integration_service_environments: IntegrationServiceEnvironments operations
95+
:vartype integration_service_environments: azure.mgmt.logic.operations.IntegrationServiceEnvironmentsOperations
96+
:ivar integration_service_environment_skus: IntegrationServiceEnvironmentSkus operations
97+
:vartype integration_service_environment_skus: azure.mgmt.logic.operations.IntegrationServiceEnvironmentSkusOperations
98+
:ivar integration_service_environment_network_health: IntegrationServiceEnvironmentNetworkHealth operations
99+
:vartype integration_service_environment_network_health: azure.mgmt.logic.operations.IntegrationServiceEnvironmentNetworkHealthOperations
100+
:ivar integration_service_environment_managed_apis: IntegrationServiceEnvironmentManagedApis operations
101+
:vartype integration_service_environment_managed_apis: azure.mgmt.logic.operations.IntegrationServiceEnvironmentManagedApisOperations
102+
:ivar integration_service_environment_managed_api_operations: IntegrationServiceEnvironmentManagedApiOperations operations
103+
:vartype integration_service_environment_managed_api_operations: azure.mgmt.logic.operations.IntegrationServiceEnvironmentManagedApiOperations
121104
:ivar operations: Operations operations
122105
:vartype operations: azure.mgmt.logic.operations.Operations
123106
@@ -136,7 +119,7 @@ def __init__(
136119
super(LogicManagementClient, self).__init__(self.config.credentials, self.config)
137120

138121
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
139-
self.api_version = '2018-07-01-preview'
122+
self.api_version = '2019-05-01'
140123
self._serialize = Serializer(client_models)
141124
self._deserialize = Deserializer(client_models)
142125

@@ -182,5 +165,15 @@ def __init__(
182165
self._client, self.config, self._serialize, self._deserialize)
183166
self.integration_account_sessions = IntegrationAccountSessionsOperations(
184167
self._client, self.config, self._serialize, self._deserialize)
168+
self.integration_service_environments = IntegrationServiceEnvironmentsOperations(
169+
self._client, self.config, self._serialize, self._deserialize)
170+
self.integration_service_environment_skus = IntegrationServiceEnvironmentSkusOperations(
171+
self._client, self.config, self._serialize, self._deserialize)
172+
self.integration_service_environment_network_health = IntegrationServiceEnvironmentNetworkHealthOperations(
173+
self._client, self.config, self._serialize, self._deserialize)
174+
self.integration_service_environment_managed_apis = IntegrationServiceEnvironmentManagedApisOperations(
175+
self._client, self.config, self._serialize, self._deserialize)
176+
self.integration_service_environment_managed_api_operations = IntegrationServiceEnvironmentManagedApiOperations(
177+
self._client, self.config, self._serialize, self._deserialize)
185178
self.operations = Operations(
186179
self._client, self.config, self._serialize, self._deserialize)

0 commit comments

Comments
 (0)