Skip to content
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
30 changes: 11 additions & 19 deletions sdk/healthcareapis/azure-mgmt-healthcareapis/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

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

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

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure sdk python release](https://aka.ms/azsdk/python/all).

## Usage
# Provide Feedback

For code examples, see [MyService
Management](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-healthcareapis%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-healthcareapis%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
from .operations import ServicesOperations
from .operations import Operations
from .operations import OperationResultsOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from . import models


Expand All @@ -31,6 +33,10 @@ class HealthcareApisManagementClient(SDKClient):
:vartype operations: azure.mgmt.healthcareapis.operations.Operations
:ivar operation_results: OperationResults operations
:vartype operation_results: azure.mgmt.healthcareapis.operations.OperationResultsOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.healthcareapis.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.healthcareapis.operations.PrivateLinkResourcesOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -47,7 +53,7 @@ def __init__(
super(HealthcareApisManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-08-20-preview'
self.api_version = '2020-03-30'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -57,3 +63,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.operation_results = OperationResultsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,66 +10,109 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AzureEntityResource
from ._models_py3 import CheckNameAvailabilityParameters
from ._models_py3 import ErrorDetails, ErrorDetailsException
from ._models_py3 import ErrorDetailsInternal
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationResultsDescription
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceListResult
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import ServiceAccessPolicyEntry
from ._models_py3 import ServiceAuthenticationConfigurationInfo
from ._models_py3 import ServiceCorsConfigurationInfo
from ._models_py3 import ServiceCosmosDbConfigurationInfo
from ._models_py3 import ServiceExportConfigurationInfo
from ._models_py3 import ServicesDescription
from ._models_py3 import ServicesNameAvailabilityInfo
from ._models_py3 import ServicesPatchDescription
from ._models_py3 import ServicesProperties
from ._models_py3 import ServicesResource
from ._models_py3 import ServicesResourceIdentity
from ._models_py3 import TrackedResource
except (SyntaxError, ImportError):
from ._models import AzureEntityResource
from ._models import CheckNameAvailabilityParameters
from ._models import ErrorDetails, ErrorDetailsException
from ._models import ErrorDetailsInternal
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationResultsDescription
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import Resource
from ._models import ServiceAccessPolicyEntry
from ._models import ServiceAuthenticationConfigurationInfo
from ._models import ServiceCorsConfigurationInfo
from ._models import ServiceCosmosDbConfigurationInfo
from ._models import ServiceExportConfigurationInfo
from ._models import ServicesDescription
from ._models import ServicesNameAvailabilityInfo
from ._models import ServicesPatchDescription
from ._models import ServicesProperties
from ._models import ServicesResource
from ._models import ServicesResourceIdentity
from ._models import TrackedResource
from ._paged_models import OperationPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import ServicesDescriptionPaged
from ._healthcare_apis_management_client_enums import (
ProvisioningState,
PrivateEndpointServiceConnectionStatus,
PrivateEndpointConnectionProvisioningState,
PublicNetworkAccess,
Kind,
ManagedServiceIdentityType,
ServiceNameUnavailabilityReason,
OperationResultStatus,
)

__all__ = [
'AzureEntityResource',
'CheckNameAvailabilityParameters',
'ErrorDetails', 'ErrorDetailsException',
'ErrorDetailsInternal',
'Operation',
'OperationDisplay',
'OperationResultsDescription',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateLinkResource',
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'Resource',
'ServiceAccessPolicyEntry',
'ServiceAuthenticationConfigurationInfo',
'ServiceCorsConfigurationInfo',
'ServiceCosmosDbConfigurationInfo',
'ServiceExportConfigurationInfo',
'ServicesDescription',
'ServicesNameAvailabilityInfo',
'ServicesPatchDescription',
'ServicesProperties',
'ServicesResource',
'ServicesResourceIdentity',
'TrackedResource',
'ServicesDescriptionPaged',
'OperationPaged',
'PrivateEndpointConnectionPaged',
'ProvisioningState',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'PublicNetworkAccess',
'Kind',
'ManagedServiceIdentityType',
'ServiceNameUnavailabilityReason',
'OperationResultStatus',
]
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,40 @@ class ProvisioningState(str, Enum):
deprovisioned = "Deprovisioned"


class PrivateEndpointServiceConnectionStatus(str, Enum):

pending = "Pending"
approved = "Approved"
rejected = "Rejected"


class PrivateEndpointConnectionProvisioningState(str, Enum):

succeeded = "Succeeded"
creating = "Creating"
deleting = "Deleting"
failed = "Failed"


class PublicNetworkAccess(str, Enum):

enabled = "Enabled"
disabled = "Disabled"


class Kind(str, Enum):

fhir = "fhir"
fhir_stu3 = "fhir-Stu3"
fhir_r4 = "fhir-R4"


class ManagedServiceIdentityType(str, Enum):

system_assigned = "SystemAssigned"
none = "None"


class ServiceNameUnavailabilityReason(str, Enum):

invalid = "Invalid"
Expand Down
Loading