Skip to content
Merged
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
17 changes: 17 additions & 0 deletions src/healthcareapis/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
Release History
===============

0.4.0
++++++

* `az healthcareapis service` Add new argument `--login-servers` to support adding login servers to the service instance.
* `az healthcareapis service` Add new argument `--oci-artifacts` to support specifying open container initiative artifacts.
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-actions-required`
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-description`
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-status`
* `az healthcareapis private-endpoint-connection` Add new argument `--private-link-service-connection-state` to support specifying information about the state of the connection between service consumer and provider.
* Add new subgroups `az healthcareapis workspace` to Manage workspace with healthcareapis.
* Add new subgroups `az healthcareapis workspace dicom-service` to Manage dicom service with healthcareapis.
* Add new subgroups `az healthcareapis workspace fhir-service` to Manage fhir service with healthcareapis.
* Add new subgroups `az healthcareapis workspace iot-connector` to Manage iot connector with healthcareapis.
* Add new subgroups `az healthcareapis workspace iot-connector fhir-destination` to Manage iot connector fhir destination with healthcareapis.
* Add new subgroups `az healthcareapis workspace private-endpoint-connection` to Manage workspace private endpoint connection with healthcareapis.
* Add new subgroups `az healthcareapis workspace private-link-resource` to Manage workspace private link resource with healthcareapis.

0.3.3
++++++

Expand Down
21 changes: 12 additions & 9 deletions src/healthcareapis/azext_healthcareapis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=unused-import

import azext_healthcareapis._help
from azure.cli.core import AzCommandsLoader
from azext_healthcareapis.generated._help import helps # pylint: disable=unused-import
try:
from azext_healthcareapis.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


class HealthcareApisManagementClientCommandsLoader(AzCommandsLoader):
Expand All @@ -33,8 +30,11 @@ def load_command_table(self, args):
try:
from azext_healthcareapis.manual.commands import load_command_table as load_command_table_manual
load_command_table_manual(self, args)
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual.commands'):
pass
else:
raise e
return self.command_table

def load_arguments(self, command):
Expand All @@ -43,8 +43,11 @@ def load_arguments(self, command):
try:
from azext_healthcareapis.manual._params import load_arguments as load_arguments_manual
load_arguments_manual(self, command)
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual._params'):
pass
else:
raise e


COMMAND_LOADER_CLS = HealthcareApisManagementClientCommandsLoader
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from ._healthcare_apis_management_client import HealthcareApisManagementClient
__all__ = ['HealthcareApisManagementClient']

# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import
# pylint: disable=unused-import
from .generated._help import helps # pylint: disable=reimported
try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
from .manual._help import helps # pylint: disable=reimported
except ImportError as e:
if e.name.endswith('manual._help'):
pass
else:
raise e
7 changes: 5 additions & 2 deletions src/healthcareapis/azext_healthcareapis/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
from .generated.action import * # noqa: F403
try:
from .manual.action import * # noqa: F403
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual.action'):
pass
else:
raise e
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"azext.minCliCoreVersion": "2.11.0"
"azext.minCliCoreVersion": "2.15.0"
}
7 changes: 5 additions & 2 deletions src/healthcareapis/azext_healthcareapis/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
from .generated.custom import * # noqa: F403
try:
from .manual.custom import * # noqa: F403
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual.custom'):
pass
else:
raise e
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,35 @@ def cf_private_endpoint_connection(cli_ctx, *_):

def cf_private_link_resource(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).private_link_resources


def cf_workspace(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).workspaces


def cf_dicom_service(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).dicom_services


def cf_iot_connector(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).iot_connectors


def cf_fhir_destination(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).fhir_destinations


def cf_iot_connector_fhir_destination(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).iot_connector_fhir_destination


def cf_fhir_service(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).fhir_services


def cf_workspace_private_endpoint_connection(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).workspace_private_endpoint_connections


def cf_workspace_private_link_resource(cli_ctx, *_):
return cf_healthcareapis_cl(cli_ctx).workspace_private_link_resources
Loading