@azure/arm-healthcareapis 2.2.1-alpha.20231113.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +27 -8
- package/LICENSE +1 -1
- package/dist/index.js +524 -231
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +11 -4
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +28 -9
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +10 -3
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +10 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +65 -8
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +29 -4
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +10 -3
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.d.ts +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +3 -3
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +95 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -10
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +237 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +4 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts +4 -4
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +38 -27
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +0 -1
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts +4 -4
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +38 -27
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +31 -23
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +38 -27
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +4 -4
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +31 -16
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +31 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js +111 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -0
- package/package.json +13 -10
- package/review/arm-healthcareapis.api.md +74 -29
- package/src/healthcareApisManagementClient.ts +3 -3
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +103 -30
- package/src/models/mappers.ts +253 -33
- package/src/models/parameters.ts +4 -1
- package/src/operations/dicomServices.ts +41 -32
- package/src/operations/fhirDestinations.ts +0 -1
- package/src/operations/fhirServices.ts +41 -32
- package/src/operations/iotConnectorFhirDestination.ts +28 -21
- package/src/operations/iotConnectors.ts +41 -32
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -21
- package/src/operations/services.ts +46 -33
- package/src/operations/workspacePrivateEndpointConnections.ts +28 -23
- package/src/operations/workspaces.ts +46 -33
- package/src/operationsInterfaces/dicomServices.ts +6 -6
- package/src/operationsInterfaces/fhirServices.ts +6 -6
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +4 -4
- package/src/operationsInterfaces/iotConnectors.ts +6 -6
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/services.ts +6 -6
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +4 -6
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-healthcareapis.d.ts +110 -37
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
- package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
- package/dist-esm/samples-dev/deleteService.d.ts +0 -2
- package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteService.js +0 -31
- package/dist-esm/samples-dev/deleteService.js.map +0 -1
- package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
- package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
- package/dist-esm/samples-dev/getMetadata.js +0 -31
- package/dist-esm/samples-dev/getMetadata.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.js +0 -31
- package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -45
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/patchService.d.ts +0 -2
- package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchService.js +0 -34
- package/dist-esm/samples-dev/patchService.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
Workspace,
|
13
13
|
WorkspacesListBySubscriptionOptionalParams,
|
@@ -65,8 +65,8 @@ export interface Workspaces {
|
|
65
65
|
workspace: Workspace,
|
66
66
|
options?: WorkspacesCreateOrUpdateOptionalParams
|
67
67
|
): Promise<
|
68
|
-
|
69
|
-
|
68
|
+
SimplePollerLike<
|
69
|
+
OperationState<WorkspacesCreateOrUpdateResponse>,
|
70
70
|
WorkspacesCreateOrUpdateResponse
|
71
71
|
>
|
72
72
|
>;
|
@@ -96,8 +96,8 @@ export interface Workspaces {
|
|
96
96
|
workspacePatchResource: WorkspacePatchResource,
|
97
97
|
options?: WorkspacesUpdateOptionalParams
|
98
98
|
): Promise<
|
99
|
-
|
100
|
-
|
99
|
+
SimplePollerLike<
|
100
|
+
OperationState<WorkspacesUpdateResponse>,
|
101
101
|
WorkspacesUpdateResponse
|
102
102
|
>
|
103
103
|
>;
|
@@ -124,7 +124,7 @@ export interface Workspaces {
|
|
124
124
|
resourceGroupName: string,
|
125
125
|
workspaceName: string,
|
126
126
|
options?: WorkspacesDeleteOptionalParams
|
127
|
-
): Promise<
|
127
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
128
128
|
/**
|
129
129
|
* Deletes a specified workspace.
|
130
130
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
package/src/pagingHelper.ts
CHANGED
@@ -13,11 +13,11 @@ export interface PageInfo {
|
|
13
13
|
const pageMap = new WeakMap<object, PageInfo>();
|
14
14
|
|
15
15
|
/**
|
16
|
-
* Given
|
17
|
-
* continuation token that can be used to begin paging from
|
16
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
17
|
+
* returns a continuation token that can be used to begin paging from
|
18
18
|
* that point later.
|
19
|
-
* @param page
|
20
|
-
* @returns The continuation token that can be passed into byPage().
|
19
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
20
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
21
21
|
*/
|
22
22
|
export function getContinuationToken(page: unknown): string | undefined {
|
23
23
|
if (typeof page !== "object" || page === null) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
2
2
|
import * as coreClient from '@azure/core-client';
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
4
|
-
import {
|
5
|
-
import { PollOperationState } from '@azure/core-lro';
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
6
6
|
|
7
7
|
/**
|
8
8
|
* Defines values for ActionType. \
|
@@ -21,6 +21,20 @@ export declare interface CheckNameAvailabilityParameters {
|
|
21
21
|
type: string;
|
22
22
|
}
|
23
23
|
|
24
|
+
/** The settings for the CORS configuration of the service instance. */
|
25
|
+
export declare interface CorsConfiguration {
|
26
|
+
/** The origins to be allowed via CORS. */
|
27
|
+
origins?: string[];
|
28
|
+
/** The headers to be allowed via CORS. */
|
29
|
+
headers?: string[];
|
30
|
+
/** The methods to be allowed via CORS. */
|
31
|
+
methods?: string[];
|
32
|
+
/** The max age to be allowed via CORS. */
|
33
|
+
maxAge?: number;
|
34
|
+
/** If credentials are allowed via CORS. */
|
35
|
+
allowCredentials?: boolean;
|
36
|
+
}
|
37
|
+
|
24
38
|
/**
|
25
39
|
* Defines values for CreatedByType. \
|
26
40
|
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
@@ -47,6 +61,8 @@ export declare interface DicomService extends TaggedResource, ServiceManagedIden
|
|
47
61
|
readonly provisioningState?: ProvisioningState;
|
48
62
|
/** Dicom Service authentication configuration. */
|
49
63
|
authenticationConfiguration?: DicomServiceAuthenticationConfiguration;
|
64
|
+
/** Dicom Service Cors configuration. */
|
65
|
+
corsConfiguration?: CorsConfiguration;
|
50
66
|
/**
|
51
67
|
* The url of the Dicom Services.
|
52
68
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -59,6 +75,13 @@ export declare interface DicomService extends TaggedResource, ServiceManagedIden
|
|
59
75
|
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
60
76
|
/** Control permission for data plane traffic coming from public networks while private endpoint is enabled. */
|
61
77
|
publicNetworkAccess?: PublicNetworkAccess;
|
78
|
+
/**
|
79
|
+
* DICOM Service event support status.
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
81
|
+
*/
|
82
|
+
readonly eventState?: ServiceEventState;
|
83
|
+
/** The encryption settings of the DICOM service */
|
84
|
+
encryption?: Encryption;
|
62
85
|
}
|
63
86
|
|
64
87
|
/** Authentication configuration information */
|
@@ -112,7 +135,7 @@ export declare interface DicomServices {
|
|
112
135
|
* @param dicomservice The parameters for creating or updating a Dicom Service resource.
|
113
136
|
* @param options The options parameters.
|
114
137
|
*/
|
115
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<
|
138
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, dicomServiceName: string, dicomservice: DicomService, options?: DicomServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesCreateOrUpdateResponse>, DicomServicesCreateOrUpdateResponse>>;
|
116
139
|
/**
|
117
140
|
* Creates or updates a DICOM Service resource with the specified parameters.
|
118
141
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -130,7 +153,7 @@ export declare interface DicomServices {
|
|
130
153
|
* @param dicomservicePatchResource The parameters for updating a Dicom Service.
|
131
154
|
* @param options The options parameters.
|
132
155
|
*/
|
133
|
-
beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<
|
156
|
+
beginUpdate(resourceGroupName: string, dicomServiceName: string, workspaceName: string, dicomservicePatchResource: DicomServicePatchResource, options?: DicomServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DicomServicesUpdateResponse>, DicomServicesUpdateResponse>>;
|
134
157
|
/**
|
135
158
|
* Patch DICOM Service details.
|
136
159
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -147,7 +170,7 @@ export declare interface DicomServices {
|
|
147
170
|
* @param workspaceName The name of workspace resource.
|
148
171
|
* @param options The options parameters.
|
149
172
|
*/
|
150
|
-
beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<
|
173
|
+
beginDelete(resourceGroupName: string, dicomServiceName: string, workspaceName: string, options?: DicomServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
151
174
|
/**
|
152
175
|
* Deletes a DICOM Service.
|
153
176
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -209,6 +232,18 @@ export declare interface DicomServicesUpdateOptionalParams extends coreClient.Op
|
|
209
232
|
/** Contains response data for the update operation. */
|
210
233
|
export declare type DicomServicesUpdateResponse = DicomService;
|
211
234
|
|
235
|
+
/** Settings to encrypt a service */
|
236
|
+
export declare interface Encryption {
|
237
|
+
/** The encryption settings for the customer-managed key */
|
238
|
+
customerManagedKeyEncryption?: EncryptionCustomerManagedKeyEncryption;
|
239
|
+
}
|
240
|
+
|
241
|
+
/** The encryption settings for the customer-managed key */
|
242
|
+
export declare interface EncryptionCustomerManagedKeyEncryption {
|
243
|
+
/** The URL of the key to use for encryption */
|
244
|
+
keyEncryptionKeyUrl?: string;
|
245
|
+
}
|
246
|
+
|
212
247
|
/** Error details. */
|
213
248
|
export declare interface ErrorDetails {
|
214
249
|
/** Error details */
|
@@ -291,8 +326,6 @@ export declare interface FhirService extends TaggedResource, ServiceManagedIdent
|
|
291
326
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
292
327
|
*/
|
293
328
|
readonly provisioningState?: ProvisioningState;
|
294
|
-
/** Fhir Service access policies. */
|
295
|
-
accessPolicies?: FhirServiceAccessPolicyEntry[];
|
296
329
|
/** Fhir Service Azure container registry configuration. */
|
297
330
|
acrConfiguration?: FhirServiceAcrConfiguration;
|
298
331
|
/** Fhir Service authentication configuration. */
|
@@ -315,12 +348,12 @@ export declare interface FhirService extends TaggedResource, ServiceManagedIdent
|
|
315
348
|
readonly eventState?: ServiceEventState;
|
316
349
|
/** Determines tracking of history for resources. */
|
317
350
|
resourceVersionPolicyConfiguration?: ResourceVersionPolicyConfiguration;
|
318
|
-
|
319
|
-
|
320
|
-
/**
|
321
|
-
|
322
|
-
/**
|
323
|
-
|
351
|
+
/** Fhir Service import configuration. */
|
352
|
+
importConfiguration?: FhirServiceImportConfiguration;
|
353
|
+
/** Implementation Guides configuration. */
|
354
|
+
implementationGuidesConfiguration?: ImplementationGuidesConfiguration;
|
355
|
+
/** The encryption settings of the FHIR service */
|
356
|
+
encryption?: Encryption;
|
324
357
|
}
|
325
358
|
|
326
359
|
/** Azure container registry configuration information */
|
@@ -369,6 +402,16 @@ export declare interface FhirServiceExportConfiguration {
|
|
369
402
|
storageAccountName?: string;
|
370
403
|
}
|
371
404
|
|
405
|
+
/** Import operation configuration information */
|
406
|
+
export declare interface FhirServiceImportConfiguration {
|
407
|
+
/** The name of the default integration storage account. */
|
408
|
+
integrationDataStore?: string;
|
409
|
+
/** If the FHIR service is in InitialImportMode. */
|
410
|
+
initialImportMode?: boolean;
|
411
|
+
/** If the import operation is enabled. */
|
412
|
+
enabled?: boolean;
|
413
|
+
}
|
414
|
+
|
372
415
|
/**
|
373
416
|
* Defines values for FhirServiceKind. \
|
374
417
|
* {@link KnownFhirServiceKind} can be used interchangeably with FhirServiceKind,
|
@@ -408,7 +451,7 @@ export declare interface FhirServices {
|
|
408
451
|
* @param fhirservice The parameters for creating or updating a Fhir Service resource.
|
409
452
|
* @param options The options parameters.
|
410
453
|
*/
|
411
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<
|
454
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, fhirServiceName: string, fhirservice: FhirService, options?: FhirServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesCreateOrUpdateResponse>, FhirServicesCreateOrUpdateResponse>>;
|
412
455
|
/**
|
413
456
|
* Creates or updates a FHIR Service resource with the specified parameters.
|
414
457
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -426,7 +469,7 @@ export declare interface FhirServices {
|
|
426
469
|
* @param fhirservicePatchResource The parameters for updating a Fhir Service.
|
427
470
|
* @param options The options parameters.
|
428
471
|
*/
|
429
|
-
beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<
|
472
|
+
beginUpdate(resourceGroupName: string, fhirServiceName: string, workspaceName: string, fhirservicePatchResource: FhirServicePatchResource, options?: FhirServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FhirServicesUpdateResponse>, FhirServicesUpdateResponse>>;
|
430
473
|
/**
|
431
474
|
* Patch FHIR Service details.
|
432
475
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -443,7 +486,7 @@ export declare interface FhirServices {
|
|
443
486
|
* @param workspaceName The name of workspace resource.
|
444
487
|
* @param options The options parameters.
|
445
488
|
*/
|
446
|
-
beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<
|
489
|
+
beginDelete(resourceGroupName: string, fhirServiceName: string, workspaceName: string, options?: FhirServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
447
490
|
/**
|
448
491
|
* Deletes a FHIR Service.
|
449
492
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -506,11 +549,11 @@ export declare interface FhirServicesUpdateOptionalParams extends coreClient.Ope
|
|
506
549
|
export declare type FhirServicesUpdateResponse = FhirService;
|
507
550
|
|
508
551
|
/**
|
509
|
-
* Given
|
510
|
-
* continuation token that can be used to begin paging from
|
552
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
553
|
+
* returns a continuation token that can be used to begin paging from
|
511
554
|
* that point later.
|
512
|
-
* @param page
|
513
|
-
* @returns The continuation token that can be passed into byPage().
|
555
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
556
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
514
557
|
*/
|
515
558
|
export declare function getContinuationToken(page: unknown): string | undefined;
|
516
559
|
|
@@ -521,7 +564,7 @@ export declare class HealthcareApisManagementClient extends coreClient.ServiceCl
|
|
521
564
|
/**
|
522
565
|
* Initializes a new instance of the HealthcareApisManagementClient class.
|
523
566
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
524
|
-
* @param subscriptionId The subscription
|
567
|
+
* @param subscriptionId The ID of the target subscription.
|
525
568
|
* @param options The parameter options
|
526
569
|
*/
|
527
570
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HealthcareApisManagementClientOptionalParams);
|
@@ -552,6 +595,12 @@ export declare interface HealthcareApisManagementClientOptionalParams extends co
|
|
552
595
|
endpoint?: string;
|
553
596
|
}
|
554
597
|
|
598
|
+
/** The settings for Implementation Guides - defining capabilities for national standards, vendor consortiums, clinical societies, etc. */
|
599
|
+
export declare interface ImplementationGuidesConfiguration {
|
600
|
+
/** If US Core Missing Data requirement is enabled. */
|
601
|
+
usCoreMissingData?: boolean;
|
602
|
+
}
|
603
|
+
|
555
604
|
/** IoT Connector definition. */
|
556
605
|
export declare interface IotConnector extends TaggedResource, ServiceManagedIdentity {
|
557
606
|
/**
|
@@ -599,7 +648,7 @@ export declare interface IotConnectorFhirDestination {
|
|
599
648
|
* resource.
|
600
649
|
* @param options The options parameters.
|
601
650
|
*/
|
602
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<
|
651
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, iotFhirDestination: IotFhirDestination, options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>, IotConnectorFhirDestinationCreateOrUpdateResponse>>;
|
603
652
|
/**
|
604
653
|
* Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
605
654
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -619,7 +668,7 @@ export declare interface IotConnectorFhirDestination {
|
|
619
668
|
* @param fhirDestinationName The name of IoT Connector FHIR destination resource.
|
620
669
|
* @param options The options parameters.
|
621
670
|
*/
|
622
|
-
beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<
|
671
|
+
beginDelete(resourceGroupName: string, workspaceName: string, iotConnectorName: string, fhirDestinationName: string, options?: IotConnectorFhirDestinationDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
623
672
|
/**
|
624
673
|
* Deletes an IoT Connector FHIR destination.
|
625
674
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -686,7 +735,7 @@ export declare interface IotConnectors {
|
|
686
735
|
* @param iotConnector The parameters for creating or updating an IoT Connectors resource.
|
687
736
|
* @param options The options parameters.
|
688
737
|
*/
|
689
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<
|
738
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsCreateOrUpdateResponse>, IotConnectorsCreateOrUpdateResponse>>;
|
690
739
|
/**
|
691
740
|
* Creates or updates an IoT Connector resource with the specified parameters.
|
692
741
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -704,7 +753,7 @@ export declare interface IotConnectors {
|
|
704
753
|
* @param iotConnectorPatchResource The parameters for updating an IoT Connector.
|
705
754
|
* @param options The options parameters.
|
706
755
|
*/
|
707
|
-
beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<
|
756
|
+
beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnectorsUpdateResponse>, IotConnectorsUpdateResponse>>;
|
708
757
|
/**
|
709
758
|
* Patch an IoT Connector.
|
710
759
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -721,7 +770,7 @@ export declare interface IotConnectors {
|
|
721
770
|
* @param workspaceName The name of workspace resource.
|
722
771
|
* @param options The options parameters.
|
723
772
|
*/
|
724
|
-
beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<
|
773
|
+
beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
725
774
|
/**
|
726
775
|
* Deletes an IoT Connector.
|
727
776
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1077,10 +1126,20 @@ export declare interface MetricSpecification {
|
|
1077
1126
|
supportedTimeGrainTypes?: string[];
|
1078
1127
|
/** Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. */
|
1079
1128
|
fillGapWithZero?: boolean;
|
1129
|
+
/** Pattern for the filter of the metric. */
|
1130
|
+
metricFilterPattern?: string;
|
1080
1131
|
/** Dimensions of the metric */
|
1081
1132
|
dimensions?: MetricDimension[];
|
1082
|
-
/**
|
1133
|
+
/** Whether the metric is internal. */
|
1134
|
+
isInternal?: boolean;
|
1135
|
+
/** The source MDM account. */
|
1136
|
+
sourceMdmAccount?: string;
|
1137
|
+
/** The source MDM namespace. */
|
1083
1138
|
sourceMdmNamespace?: string;
|
1139
|
+
/** Whether regional MDM account enabled. */
|
1140
|
+
enableRegionalMdmAccount?: boolean;
|
1141
|
+
/** The resource Id dimension name override. */
|
1142
|
+
resourceIdDimensionNameOverride?: string;
|
1084
1143
|
}
|
1085
1144
|
|
1086
1145
|
/** Service REST API operation. */
|
@@ -1308,7 +1367,7 @@ export declare interface PrivateEndpointConnections {
|
|
1308
1367
|
* @param properties The private endpoint connection properties.
|
1309
1368
|
* @param options The options parameters.
|
1310
1369
|
*/
|
1311
|
-
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<
|
1370
|
+
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
1312
1371
|
/**
|
1313
1372
|
* Update the state of the specified private endpoint connection associated with the service.
|
1314
1373
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1327,7 +1386,7 @@ export declare interface PrivateEndpointConnections {
|
|
1327
1386
|
* Azure resource
|
1328
1387
|
* @param options The options parameters.
|
1329
1388
|
*/
|
1330
|
-
beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<
|
1389
|
+
beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
1331
1390
|
/**
|
1332
1391
|
* Deletes a private endpoint connection.
|
1333
1392
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1590,6 +1649,8 @@ export declare interface ServiceCosmosDbConfigurationInfo {
|
|
1590
1649
|
offerThroughput?: number;
|
1591
1650
|
/** The URI of the customer-managed key for the backing database. */
|
1592
1651
|
keyVaultKeyUri?: string;
|
1652
|
+
/** The multi-tenant application id used to enable CMK access for services in a data sovereign region. */
|
1653
|
+
crossTenantCmkApplicationId?: string;
|
1593
1654
|
}
|
1594
1655
|
|
1595
1656
|
/**
|
@@ -1609,6 +1670,16 @@ export declare interface ServiceExportConfigurationInfo {
|
|
1609
1670
|
storageAccountName?: string;
|
1610
1671
|
}
|
1611
1672
|
|
1673
|
+
/** Import operation configuration information */
|
1674
|
+
export declare interface ServiceImportConfigurationInfo {
|
1675
|
+
/** The name of the default integration storage account. */
|
1676
|
+
integrationDataStore?: string;
|
1677
|
+
/** If the FHIR service is in InitialImportMode. */
|
1678
|
+
initialImportMode?: boolean;
|
1679
|
+
/** If the import operation is enabled. */
|
1680
|
+
enabled?: boolean;
|
1681
|
+
}
|
1682
|
+
|
1612
1683
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
1613
1684
|
export declare interface ServiceManagedIdentity {
|
1614
1685
|
/** Setting indicating whether the service has a managed identity associated with it. */
|
@@ -1687,7 +1758,7 @@ export declare interface Services {
|
|
1687
1758
|
* @param serviceDescription The service instance metadata.
|
1688
1759
|
* @param options The options parameters.
|
1689
1760
|
*/
|
1690
|
-
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<
|
1761
|
+
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, serviceDescription: ServicesDescription, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
|
1691
1762
|
/**
|
1692
1763
|
* Create or update the metadata of a service instance.
|
1693
1764
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1703,7 +1774,7 @@ export declare interface Services {
|
|
1703
1774
|
* @param servicePatchDescription The service instance metadata and security metadata.
|
1704
1775
|
* @param options The options parameters.
|
1705
1776
|
*/
|
1706
|
-
beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<
|
1777
|
+
beginUpdate(resourceGroupName: string, resourceName: string, servicePatchDescription: ServicesPatchDescription, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
|
1707
1778
|
/**
|
1708
1779
|
* Update the metadata of a service instance.
|
1709
1780
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1718,7 +1789,7 @@ export declare interface Services {
|
|
1718
1789
|
* @param resourceName The name of the service instance.
|
1719
1790
|
* @param options The options parameters.
|
1720
1791
|
*/
|
1721
|
-
beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<
|
1792
|
+
beginDelete(resourceGroupName: string, resourceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
1722
1793
|
/**
|
1723
1794
|
* Delete a service instance.
|
1724
1795
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1872,6 +1943,8 @@ export declare interface ServicesProperties {
|
|
1872
1943
|
publicNetworkAccess?: PublicNetworkAccess;
|
1873
1944
|
/** The azure container registry settings used for convert data operation of the service instance. */
|
1874
1945
|
acrConfiguration?: ServiceAcrConfigurationInfo;
|
1946
|
+
/** The settings for the import operation of the service instance. */
|
1947
|
+
importConfiguration?: ServiceImportConfigurationInfo;
|
1875
1948
|
}
|
1876
1949
|
|
1877
1950
|
/** The common properties of a service. */
|
@@ -2016,7 +2089,7 @@ export declare interface WorkspacePrivateEndpointConnections {
|
|
2016
2089
|
* @param properties The private endpoint connection properties.
|
2017
2090
|
* @param options The options parameters.
|
2018
2091
|
*/
|
2019
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<
|
2092
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnectionDescription, options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>, WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
2020
2093
|
/**
|
2021
2094
|
* Update the state of the specified private endpoint connection associated with the workspace.
|
2022
2095
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -2035,7 +2108,7 @@ export declare interface WorkspacePrivateEndpointConnections {
|
|
2035
2108
|
* Azure resource
|
2036
2109
|
* @param options The options parameters.
|
2037
2110
|
*/
|
2038
|
-
beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<
|
2111
|
+
beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
2039
2112
|
/**
|
2040
2113
|
* Deletes a private endpoint connection.
|
2041
2114
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -2156,7 +2229,7 @@ export declare interface Workspaces {
|
|
2156
2229
|
* @param workspace The parameters for creating or updating a healthcare workspace.
|
2157
2230
|
* @param options The options parameters.
|
2158
2231
|
*/
|
2159
|
-
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<
|
2232
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
|
2160
2233
|
/**
|
2161
2234
|
* Creates or updates a workspace resource with the specified parameters.
|
2162
2235
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -2172,7 +2245,7 @@ export declare interface Workspaces {
|
|
2172
2245
|
* @param workspacePatchResource The parameters for updating a specified workspace.
|
2173
2246
|
* @param options The options parameters.
|
2174
2247
|
*/
|
2175
|
-
beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<
|
2248
|
+
beginUpdate(resourceGroupName: string, workspaceName: string, workspacePatchResource: WorkspacePatchResource, options?: WorkspacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
|
2176
2249
|
/**
|
2177
2250
|
* Patch workspace details.
|
2178
2251
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -2187,7 +2260,7 @@ export declare interface Workspaces {
|
|
2187
2260
|
* @param workspaceName The name of workspace resource.
|
2188
2261
|
* @param options The options parameters.
|
2189
2262
|
*/
|
2190
|
-
beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<
|
2263
|
+
beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
2191
2264
|
/**
|
2192
2265
|
* Deletes a specified workspace.
|
2193
2266
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"checkNameAvailability.d.ts","sourceRoot":"","sources":["../../samples-dev/checkNameAvailability.ts"],"names":[],"mappings":""}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Check if a service instance name is available.
|
13
|
-
*
|
14
|
-
* @summary Check if a service instance name is available.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/CheckNameAvailabilityPost.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function checkNameAvailability() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const checkNameAvailabilityInputs = {
|
23
|
-
name: "serviceName",
|
24
|
-
type: "Microsoft.HealthcareApis/services"
|
25
|
-
};
|
26
|
-
const credential = new DefaultAzureCredential();
|
27
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
28
|
-
const result = yield client.services.checkNameAvailability(checkNameAvailabilityInputs);
|
29
|
-
console.log(result);
|
30
|
-
});
|
31
|
-
}
|
32
|
-
checkNameAvailability().catch(console.error);
|
33
|
-
//# sourceMappingURL=checkNameAvailability.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"checkNameAvailability.js","sourceRoot":"","sources":["../../samples-dev/checkNameAvailability.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,2BAA2B,GAAoC;YACnE,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,mCAAmC;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CACxD,2BAA2B,CAC5B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createOrUpdateAServiceWithAllParameters.d.ts","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithAllParameters.ts"],"names":[],"mappings":""}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Create or update the metadata of a service instance.
|
13
|
-
*
|
14
|
-
* @summary Create or update the metadata of a service instance.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreate.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function createOrUpdateAServiceWithAllParameters() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
-
const resourceName = "service1";
|
24
|
-
const serviceDescription = {
|
25
|
-
identity: { type: "SystemAssigned" },
|
26
|
-
kind: "fhir-R4",
|
27
|
-
location: "westus2",
|
28
|
-
properties: {
|
29
|
-
accessPolicies: [
|
30
|
-
{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
|
31
|
-
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
|
32
|
-
],
|
33
|
-
authenticationConfiguration: {
|
34
|
-
audience: "https://azurehealthcareapis.com",
|
35
|
-
authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
|
36
|
-
smartProxyEnabled: true
|
37
|
-
},
|
38
|
-
corsConfiguration: {
|
39
|
-
allowCredentials: false,
|
40
|
-
headers: ["*"],
|
41
|
-
maxAge: 1440,
|
42
|
-
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
43
|
-
origins: ["*"]
|
44
|
-
},
|
45
|
-
cosmosDbConfiguration: {
|
46
|
-
keyVaultKeyUri: "https://my-vault.vault.azure.net/keys/my-key",
|
47
|
-
offerThroughput: 1000
|
48
|
-
},
|
49
|
-
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
50
|
-
privateEndpointConnections: [],
|
51
|
-
publicNetworkAccess: "Disabled"
|
52
|
-
},
|
53
|
-
tags: {}
|
54
|
-
};
|
55
|
-
const credential = new DefaultAzureCredential();
|
56
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
57
|
-
const result = yield client.services.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, serviceDescription);
|
58
|
-
console.log(result);
|
59
|
-
});
|
60
|
-
}
|
61
|
-
createOrUpdateAServiceWithAllParameters().catch(console.error);
|
62
|
-
//# sourceMappingURL=createOrUpdateAServiceWithAllParameters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createOrUpdateAServiceWithAllParameters.js","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithAllParameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,kBAAkB,GAAwB;YAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,EAAE,QAAQ,EAAE,sCAAsC,EAAE;oBACpD,EAAE,QAAQ,EAAE,sCAAsC,EAAE;iBACrD;gBACD,2BAA2B,EAAE;oBAC3B,QAAQ,EAAE,iCAAiC;oBAC3C,SAAS,EACP,wEAAwE;oBAC1E,iBAAiB,EAAE,IAAI;iBACxB;gBACD,iBAAiB,EAAE;oBACjB,gBAAgB,EAAE,KAAK;oBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC7D,OAAO,EAAE,CAAC,GAAG,CAAC;iBACf;gBACD,qBAAqB,EAAE;oBACrB,cAAc,EAAE,8CAA8C;oBAC9D,eAAe,EAAE,IAAI;iBACtB;gBACD,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;gBACrE,0BAA0B,EAAE,EAAE;gBAC9B,mBAAmB,EAAE,UAAU;aAChC;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,0BAA0B,CAC7D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createOrUpdateAServiceWithMinimumParameters.d.ts","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithMinimumParameters.ts"],"names":[],"mappings":""}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Create or update the metadata of a service instance.
|
13
|
-
*
|
14
|
-
* @summary Create or update the metadata of a service instance.
|
15
|
-
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-01-11/examples/ServiceCreateMinimum.json
|
16
|
-
*/
|
17
|
-
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function createOrUpdateAServiceWithMinimumParameters() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "subid";
|
22
|
-
const resourceGroupName = "rg1";
|
23
|
-
const resourceName = "service2";
|
24
|
-
const serviceDescription = {
|
25
|
-
kind: "fhir-R4",
|
26
|
-
location: "westus2",
|
27
|
-
properties: {
|
28
|
-
accessPolicies: [{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" }]
|
29
|
-
},
|
30
|
-
tags: {}
|
31
|
-
};
|
32
|
-
const credential = new DefaultAzureCredential();
|
33
|
-
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
34
|
-
const result = yield client.services.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, serviceDescription);
|
35
|
-
console.log(result);
|
36
|
-
});
|
37
|
-
}
|
38
|
-
createOrUpdateAServiceWithMinimumParameters().catch(console.error);
|
39
|
-
//# sourceMappingURL=createOrUpdateAServiceWithMinimumParameters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createOrUpdateAServiceWithMinimumParameters.js","sourceRoot":"","sources":["../../samples-dev/createOrUpdateAServiceWithMinimumParameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,kBAAkB,GAAwB;YAC9C,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,cAAc,EAAE,CAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE,CAAC;aACvE;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,0BAA0B,CAC7D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|