Skip to content

Commit 8d17ca3

Browse files
AutorestCIZim Kalinowski
authored and
Zim Kalinowski
committed
[AutoPR healthcareapis/resource-manager] Fixed healthcareapi readme.md (Azure#6652)
* Generated from 06bfc11dfa82fb5c140c82c3496fd59adc6f3b8b just triggereing rebuild * Packaging update of azure-mgmt-healthcareapis * fixed release date
1 parent 5b5ed26 commit 8d17ca3

21 files changed

+2338
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. :changelog:
2+
3+
Release History
4+
===============
5+
6+
0.1.0 (2019-08-03)
7+
++++++++++++++++++
8+
9+
* Initial Release
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
recursive-include tests *.py *.yaml
2+
include *.rst
3+
include azure/__init__.py
4+
include azure/mgmt/__init__.py
5+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Microsoft Azure SDK for Python
2+
==============================
3+
4+
This is the Microsoft Azure MyService Management Client Library.
5+
6+
Azure Resource Manager (ARM) is the next generation of management APIs that
7+
replace the old Azure Service Management (ASM).
8+
9+
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
10+
11+
For the older Azure Service Management (ASM) libraries, see
12+
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
13+
14+
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
15+
16+
17+
Usage
18+
=====
19+
20+
For code examples, see `MyService Management
21+
<https://docs.microsoft.com/python/api/overview/azure/>`__
22+
on docs.microsoft.com.
23+
24+
25+
Provide Feedback
26+
================
27+
28+
If you encounter any bugs or have suggestions, please file an issue in the
29+
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
30+
section of the project.
31+
32+
33+
.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-healthcareapis%2FREADME.png
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
12+
from ._configuration import HealthcareApisManagementClientConfiguration
13+
from ._healthcare_apis_management_client import HealthcareApisManagementClient
14+
__all__ = ['HealthcareApisManagementClient', 'HealthcareApisManagementClientConfiguration']
15+
16+
from .version import VERSION
17+
18+
__version__ = VERSION
19+
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 HealthcareApisManagementClientConfiguration(AzureConfiguration):
17+
"""Configuration for HealthcareApisManagementClient
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 identifier.
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(HealthcareApisManagementClientConfiguration, 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-healthcareapis/{}'.format(VERSION))
45+
self.add_user_agent('Azure-SDK-For-Python')
46+
47+
self.credentials = credentials
48+
self.subscription_id = subscription_id
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
12+
from msrest.service_client import SDKClient
13+
from msrest import Serializer, Deserializer
14+
15+
from ._configuration import HealthcareApisManagementClientConfiguration
16+
from .operations import ServicesOperations
17+
from .operations import Operations
18+
from .operations import OperationResultsOperations
19+
from . import models
20+
21+
22+
class HealthcareApisManagementClient(SDKClient):
23+
"""Azure Healthcare APIs Client
24+
25+
:ivar config: Configuration for client.
26+
:vartype config: HealthcareApisManagementClientConfiguration
27+
28+
:ivar services: Services operations
29+
:vartype services: azure.mgmt.healthcareapis.operations.ServicesOperations
30+
:ivar operations: Operations operations
31+
:vartype operations: azure.mgmt.healthcareapis.operations.Operations
32+
:ivar operation_results: OperationResults operations
33+
:vartype operation_results: azure.mgmt.healthcareapis.operations.OperationResultsOperations
34+
35+
:param credentials: Credentials needed for the client to connect to Azure.
36+
:type credentials: :mod:`A msrestazure Credentials
37+
object<msrestazure.azure_active_directory>`
38+
:param subscription_id: The subscription identifier.
39+
:type subscription_id: str
40+
:param str base_url: Service URL
41+
"""
42+
43+
def __init__(
44+
self, credentials, subscription_id, base_url=None):
45+
46+
self.config = HealthcareApisManagementClientConfiguration(credentials, subscription_id, base_url)
47+
super(HealthcareApisManagementClient, self).__init__(self.config.credentials, self.config)
48+
49+
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
50+
self.api_version = '2018-08-20-preview'
51+
self._serialize = Serializer(client_models)
52+
self._deserialize = Deserializer(client_models)
53+
54+
self.services = ServicesOperations(
55+
self._client, self.config, self._serialize, self._deserialize)
56+
self.operations = Operations(
57+
self._client, self.config, self._serialize, self._deserialize)
58+
self.operation_results = OperationResultsOperations(
59+
self._client, self.config, self._serialize, self._deserialize)
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
12+
try:
13+
from ._models_py3 import CheckNameAvailabilityParameters
14+
from ._models_py3 import ErrorDetails, ErrorDetailsException
15+
from ._models_py3 import ErrorDetailsInternal
16+
from ._models_py3 import Operation
17+
from ._models_py3 import OperationDisplay
18+
from ._models_py3 import OperationResultsDescription
19+
from ._models_py3 import Resource
20+
from ._models_py3 import ServiceAccessPolicyEntry
21+
from ._models_py3 import ServiceAuthenticationConfigurationInfo
22+
from ._models_py3 import ServiceCorsConfigurationInfo
23+
from ._models_py3 import ServiceCosmosDbConfigurationInfo
24+
from ._models_py3 import ServicesDescription
25+
from ._models_py3 import ServicesNameAvailabilityInfo
26+
from ._models_py3 import ServicesPatchDescription
27+
from ._models_py3 import ServicesProperties
28+
except (SyntaxError, ImportError):
29+
from ._models import CheckNameAvailabilityParameters
30+
from ._models import ErrorDetails, ErrorDetailsException
31+
from ._models import ErrorDetailsInternal
32+
from ._models import Operation
33+
from ._models import OperationDisplay
34+
from ._models import OperationResultsDescription
35+
from ._models import Resource
36+
from ._models import ServiceAccessPolicyEntry
37+
from ._models import ServiceAuthenticationConfigurationInfo
38+
from ._models import ServiceCorsConfigurationInfo
39+
from ._models import ServiceCosmosDbConfigurationInfo
40+
from ._models import ServicesDescription
41+
from ._models import ServicesNameAvailabilityInfo
42+
from ._models import ServicesPatchDescription
43+
from ._models import ServicesProperties
44+
from ._paged_models import OperationPaged
45+
from ._paged_models import ServicesDescriptionPaged
46+
from ._healthcare_apis_management_client_enums import (
47+
ProvisioningState,
48+
Kind,
49+
ServiceNameUnavailabilityReason,
50+
OperationResultStatus,
51+
)
52+
53+
__all__ = [
54+
'CheckNameAvailabilityParameters',
55+
'ErrorDetails', 'ErrorDetailsException',
56+
'ErrorDetailsInternal',
57+
'Operation',
58+
'OperationDisplay',
59+
'OperationResultsDescription',
60+
'Resource',
61+
'ServiceAccessPolicyEntry',
62+
'ServiceAuthenticationConfigurationInfo',
63+
'ServiceCorsConfigurationInfo',
64+
'ServiceCosmosDbConfigurationInfo',
65+
'ServicesDescription',
66+
'ServicesNameAvailabilityInfo',
67+
'ServicesPatchDescription',
68+
'ServicesProperties',
69+
'ServicesDescriptionPaged',
70+
'OperationPaged',
71+
'ProvisioningState',
72+
'Kind',
73+
'ServiceNameUnavailabilityReason',
74+
'OperationResultStatus',
75+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
12+
from enum import Enum
13+
14+
15+
class ProvisioningState(str, Enum):
16+
17+
deleting = "Deleting"
18+
succeeded = "Succeeded"
19+
creating = "Creating"
20+
accepted = "Accepted"
21+
verifying = "Verifying"
22+
updating = "Updating"
23+
failed = "Failed"
24+
canceled = "Canceled"
25+
deprovisioned = "Deprovisioned"
26+
27+
28+
class Kind(str, Enum):
29+
30+
fhir = "fhir"
31+
fhir_stu3 = "fhir-Stu3"
32+
fhir_r4 = "fhir-R4"
33+
34+
35+
class ServiceNameUnavailabilityReason(str, Enum):
36+
37+
invalid = "Invalid"
38+
already_exists = "AlreadyExists"
39+
40+
41+
class OperationResultStatus(str, Enum):
42+
43+
canceled = "Canceled"
44+
succeeded = "Succeeded"
45+
failed = "Failed"
46+
requested = "Requested"
47+
running = "Running"

0 commit comments

Comments
 (0)