@azure/arm-healthcareapis 2.2.1-alpha.20231113.1 → 3.0.0-alpha.20231221.2
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 +12 -9
- 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
package/dist/index.js
CHANGED
@@ -36,11 +36,11 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRest
|
|
36
36
|
*/
|
37
37
|
const pageMap = new WeakMap();
|
38
38
|
/**
|
39
|
-
* Given
|
40
|
-
* continuation token that can be used to begin paging from
|
39
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
40
|
+
* returns a continuation token that can be used to begin paging from
|
41
41
|
* that point later.
|
42
|
-
* @param page
|
43
|
-
* @returns The continuation token that can be passed into byPage().
|
42
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
43
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
44
44
|
*/
|
45
45
|
function getContinuationToken(page) {
|
46
46
|
var _a;
|
@@ -146,6 +146,16 @@ exports.KnownManagedServiceIdentityType = void 0;
|
|
146
146
|
/** None */
|
147
147
|
KnownManagedServiceIdentityType["None"] = "None";
|
148
148
|
})(exports.KnownManagedServiceIdentityType || (exports.KnownManagedServiceIdentityType = {}));
|
149
|
+
/** Known values of {@link ServiceEventState} that the service accepts. */
|
150
|
+
exports.KnownServiceEventState = void 0;
|
151
|
+
(function (KnownServiceEventState) {
|
152
|
+
/** Disabled */
|
153
|
+
KnownServiceEventState["Disabled"] = "Disabled";
|
154
|
+
/** Enabled */
|
155
|
+
KnownServiceEventState["Enabled"] = "Enabled";
|
156
|
+
/** Updating */
|
157
|
+
KnownServiceEventState["Updating"] = "Updating";
|
158
|
+
})(exports.KnownServiceEventState || (exports.KnownServiceEventState = {}));
|
149
159
|
/** Known values of {@link ServiceManagedIdentityType} that the service accepts. */
|
150
160
|
exports.KnownServiceManagedIdentityType = void 0;
|
151
161
|
(function (KnownServiceManagedIdentityType) {
|
@@ -174,16 +184,6 @@ exports.KnownFhirServiceKind = void 0;
|
|
174
184
|
/** FhirR4 */
|
175
185
|
KnownFhirServiceKind["FhirR4"] = "fhir-R4";
|
176
186
|
})(exports.KnownFhirServiceKind || (exports.KnownFhirServiceKind = {}));
|
177
|
-
/** Known values of {@link ServiceEventState} that the service accepts. */
|
178
|
-
exports.KnownServiceEventState = void 0;
|
179
|
-
(function (KnownServiceEventState) {
|
180
|
-
/** Disabled */
|
181
|
-
KnownServiceEventState["Disabled"] = "Disabled";
|
182
|
-
/** Enabled */
|
183
|
-
KnownServiceEventState["Enabled"] = "Enabled";
|
184
|
-
/** Updating */
|
185
|
-
KnownServiceEventState["Updating"] = "Updating";
|
186
|
-
})(exports.KnownServiceEventState || (exports.KnownServiceEventState = {}));
|
187
187
|
/** Known values of {@link FhirResourceVersionPolicy} that the service accepts. */
|
188
188
|
exports.KnownFhirResourceVersionPolicy = void 0;
|
189
189
|
(function (KnownFhirResourceVersionPolicy) {
|
@@ -298,6 +298,13 @@ const ServicesProperties = {
|
|
298
298
|
name: "Composite",
|
299
299
|
className: "ServiceAcrConfigurationInfo"
|
300
300
|
}
|
301
|
+
},
|
302
|
+
importConfiguration: {
|
303
|
+
serializedName: "importConfiguration",
|
304
|
+
type: {
|
305
|
+
name: "Composite",
|
306
|
+
className: "ServiceImportConfigurationInfo"
|
307
|
+
}
|
301
308
|
}
|
302
309
|
}
|
303
310
|
}
|
@@ -339,6 +346,15 @@ const ServiceCosmosDbConfigurationInfo = {
|
|
339
346
|
type: {
|
340
347
|
name: "String"
|
341
348
|
}
|
349
|
+
},
|
350
|
+
crossTenantCmkApplicationId: {
|
351
|
+
constraints: {
|
352
|
+
Pattern: new RegExp("^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$")
|
353
|
+
},
|
354
|
+
serializedName: "crossTenantCmkApplicationId",
|
355
|
+
type: {
|
356
|
+
name: "String"
|
357
|
+
}
|
342
358
|
}
|
343
359
|
}
|
344
360
|
}
|
@@ -570,6 +586,32 @@ const ServiceOciArtifactEntry = {
|
|
570
586
|
}
|
571
587
|
}
|
572
588
|
};
|
589
|
+
const ServiceImportConfigurationInfo = {
|
590
|
+
type: {
|
591
|
+
name: "Composite",
|
592
|
+
className: "ServiceImportConfigurationInfo",
|
593
|
+
modelProperties: {
|
594
|
+
integrationDataStore: {
|
595
|
+
serializedName: "integrationDataStore",
|
596
|
+
type: {
|
597
|
+
name: "String"
|
598
|
+
}
|
599
|
+
},
|
600
|
+
initialImportMode: {
|
601
|
+
serializedName: "initialImportMode",
|
602
|
+
type: {
|
603
|
+
name: "Boolean"
|
604
|
+
}
|
605
|
+
},
|
606
|
+
enabled: {
|
607
|
+
serializedName: "enabled",
|
608
|
+
type: {
|
609
|
+
name: "Boolean"
|
610
|
+
}
|
611
|
+
}
|
612
|
+
}
|
613
|
+
}
|
614
|
+
};
|
573
615
|
const SystemData = {
|
574
616
|
type: {
|
575
617
|
name: "Composite",
|
@@ -1072,6 +1114,95 @@ const DicomServiceAuthenticationConfiguration = {
|
|
1072
1114
|
}
|
1073
1115
|
}
|
1074
1116
|
};
|
1117
|
+
const CorsConfiguration = {
|
1118
|
+
type: {
|
1119
|
+
name: "Composite",
|
1120
|
+
className: "CorsConfiguration",
|
1121
|
+
modelProperties: {
|
1122
|
+
origins: {
|
1123
|
+
serializedName: "origins",
|
1124
|
+
type: {
|
1125
|
+
name: "Sequence",
|
1126
|
+
element: {
|
1127
|
+
constraints: {
|
1128
|
+
Pattern: new RegExp("^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$")
|
1129
|
+
},
|
1130
|
+
type: {
|
1131
|
+
name: "String"
|
1132
|
+
}
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
},
|
1136
|
+
headers: {
|
1137
|
+
serializedName: "headers",
|
1138
|
+
type: {
|
1139
|
+
name: "Sequence",
|
1140
|
+
element: {
|
1141
|
+
type: {
|
1142
|
+
name: "String"
|
1143
|
+
}
|
1144
|
+
}
|
1145
|
+
}
|
1146
|
+
},
|
1147
|
+
methods: {
|
1148
|
+
serializedName: "methods",
|
1149
|
+
type: {
|
1150
|
+
name: "Sequence",
|
1151
|
+
element: {
|
1152
|
+
type: {
|
1153
|
+
name: "String"
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
}
|
1157
|
+
},
|
1158
|
+
maxAge: {
|
1159
|
+
constraints: {
|
1160
|
+
InclusiveMaximum: 99999,
|
1161
|
+
InclusiveMinimum: 0
|
1162
|
+
},
|
1163
|
+
serializedName: "maxAge",
|
1164
|
+
type: {
|
1165
|
+
name: "Number"
|
1166
|
+
}
|
1167
|
+
},
|
1168
|
+
allowCredentials: {
|
1169
|
+
serializedName: "allowCredentials",
|
1170
|
+
type: {
|
1171
|
+
name: "Boolean"
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
}
|
1175
|
+
}
|
1176
|
+
};
|
1177
|
+
const Encryption = {
|
1178
|
+
type: {
|
1179
|
+
name: "Composite",
|
1180
|
+
className: "Encryption",
|
1181
|
+
modelProperties: {
|
1182
|
+
customerManagedKeyEncryption: {
|
1183
|
+
serializedName: "customerManagedKeyEncryption",
|
1184
|
+
type: {
|
1185
|
+
name: "Composite",
|
1186
|
+
className: "EncryptionCustomerManagedKeyEncryption"
|
1187
|
+
}
|
1188
|
+
}
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
};
|
1192
|
+
const EncryptionCustomerManagedKeyEncryption = {
|
1193
|
+
type: {
|
1194
|
+
name: "Composite",
|
1195
|
+
className: "EncryptionCustomerManagedKeyEncryption",
|
1196
|
+
modelProperties: {
|
1197
|
+
keyEncryptionKeyUrl: {
|
1198
|
+
serializedName: "keyEncryptionKeyUrl",
|
1199
|
+
type: {
|
1200
|
+
name: "String"
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
}
|
1204
|
+
}
|
1205
|
+
};
|
1075
1206
|
const ServiceManagedIdentity = {
|
1076
1207
|
type: {
|
1077
1208
|
name: "Composite",
|
@@ -1281,24 +1412,6 @@ const FhirServiceCollection = {
|
|
1281
1412
|
}
|
1282
1413
|
}
|
1283
1414
|
};
|
1284
|
-
const FhirServiceAccessPolicyEntry = {
|
1285
|
-
type: {
|
1286
|
-
name: "Composite",
|
1287
|
-
className: "FhirServiceAccessPolicyEntry",
|
1288
|
-
modelProperties: {
|
1289
|
-
objectId: {
|
1290
|
-
constraints: {
|
1291
|
-
Pattern: new RegExp("^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$")
|
1292
|
-
},
|
1293
|
-
serializedName: "objectId",
|
1294
|
-
required: true,
|
1295
|
-
type: {
|
1296
|
-
name: "String"
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
}
|
1300
|
-
}
|
1301
|
-
};
|
1302
1415
|
const FhirServiceAcrConfiguration = {
|
1303
1416
|
type: {
|
1304
1417
|
name: "Composite",
|
@@ -1451,6 +1564,46 @@ const ResourceVersionPolicyConfiguration = {
|
|
1451
1564
|
}
|
1452
1565
|
}
|
1453
1566
|
};
|
1567
|
+
const FhirServiceImportConfiguration = {
|
1568
|
+
type: {
|
1569
|
+
name: "Composite",
|
1570
|
+
className: "FhirServiceImportConfiguration",
|
1571
|
+
modelProperties: {
|
1572
|
+
integrationDataStore: {
|
1573
|
+
serializedName: "integrationDataStore",
|
1574
|
+
type: {
|
1575
|
+
name: "String"
|
1576
|
+
}
|
1577
|
+
},
|
1578
|
+
initialImportMode: {
|
1579
|
+
serializedName: "initialImportMode",
|
1580
|
+
type: {
|
1581
|
+
name: "Boolean"
|
1582
|
+
}
|
1583
|
+
},
|
1584
|
+
enabled: {
|
1585
|
+
serializedName: "enabled",
|
1586
|
+
type: {
|
1587
|
+
name: "Boolean"
|
1588
|
+
}
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
}
|
1592
|
+
};
|
1593
|
+
const ImplementationGuidesConfiguration = {
|
1594
|
+
type: {
|
1595
|
+
name: "Composite",
|
1596
|
+
className: "ImplementationGuidesConfiguration",
|
1597
|
+
modelProperties: {
|
1598
|
+
usCoreMissingData: {
|
1599
|
+
serializedName: "usCoreMissingData",
|
1600
|
+
type: {
|
1601
|
+
name: "Boolean"
|
1602
|
+
}
|
1603
|
+
}
|
1604
|
+
}
|
1605
|
+
}
|
1606
|
+
};
|
1454
1607
|
const ListOperations = {
|
1455
1608
|
type: {
|
1456
1609
|
name: "Composite",
|
@@ -1706,6 +1859,12 @@ const MetricSpecification = {
|
|
1706
1859
|
name: "Boolean"
|
1707
1860
|
}
|
1708
1861
|
},
|
1862
|
+
metricFilterPattern: {
|
1863
|
+
serializedName: "metricFilterPattern",
|
1864
|
+
type: {
|
1865
|
+
name: "String"
|
1866
|
+
}
|
1867
|
+
},
|
1709
1868
|
dimensions: {
|
1710
1869
|
serializedName: "dimensions",
|
1711
1870
|
type: {
|
@@ -1718,11 +1877,35 @@ const MetricSpecification = {
|
|
1718
1877
|
}
|
1719
1878
|
}
|
1720
1879
|
},
|
1880
|
+
isInternal: {
|
1881
|
+
serializedName: "isInternal",
|
1882
|
+
type: {
|
1883
|
+
name: "Boolean"
|
1884
|
+
}
|
1885
|
+
},
|
1886
|
+
sourceMdmAccount: {
|
1887
|
+
serializedName: "sourceMdmAccount",
|
1888
|
+
type: {
|
1889
|
+
name: "String"
|
1890
|
+
}
|
1891
|
+
},
|
1721
1892
|
sourceMdmNamespace: {
|
1722
1893
|
serializedName: "sourceMdmNamespace",
|
1723
1894
|
type: {
|
1724
1895
|
name: "String"
|
1725
1896
|
}
|
1897
|
+
},
|
1898
|
+
enableRegionalMdmAccount: {
|
1899
|
+
serializedName: "enableRegionalMdmAccount",
|
1900
|
+
type: {
|
1901
|
+
name: "Boolean"
|
1902
|
+
}
|
1903
|
+
},
|
1904
|
+
resourceIdDimensionNameOverride: {
|
1905
|
+
serializedName: "resourceIdDimensionNameOverride",
|
1906
|
+
type: {
|
1907
|
+
name: "String"
|
1908
|
+
}
|
1726
1909
|
}
|
1727
1910
|
}
|
1728
1911
|
}
|
@@ -1970,6 +2153,12 @@ const DicomService = {
|
|
1970
2153
|
name: "Composite",
|
1971
2154
|
className: "DicomServiceAuthenticationConfiguration"
|
1972
2155
|
}
|
2156
|
+
}, corsConfiguration: {
|
2157
|
+
serializedName: "properties.corsConfiguration",
|
2158
|
+
type: {
|
2159
|
+
name: "Composite",
|
2160
|
+
className: "CorsConfiguration"
|
2161
|
+
}
|
1973
2162
|
}, serviceUrl: {
|
1974
2163
|
serializedName: "properties.serviceUrl",
|
1975
2164
|
readOnly: true,
|
@@ -1993,6 +2182,18 @@ const DicomService = {
|
|
1993
2182
|
type: {
|
1994
2183
|
name: "String"
|
1995
2184
|
}
|
2185
|
+
}, eventState: {
|
2186
|
+
serializedName: "properties.eventState",
|
2187
|
+
readOnly: true,
|
2188
|
+
type: {
|
2189
|
+
name: "String"
|
2190
|
+
}
|
2191
|
+
}, encryption: {
|
2192
|
+
serializedName: "properties.encryption",
|
2193
|
+
type: {
|
2194
|
+
name: "Composite",
|
2195
|
+
className: "Encryption"
|
2196
|
+
}
|
1996
2197
|
} })
|
1997
2198
|
}
|
1998
2199
|
};
|
@@ -2048,17 +2249,6 @@ const FhirService = {
|
|
2048
2249
|
type: {
|
2049
2250
|
name: "String"
|
2050
2251
|
}
|
2051
|
-
}, accessPolicies: {
|
2052
|
-
serializedName: "properties.accessPolicies",
|
2053
|
-
type: {
|
2054
|
-
name: "Sequence",
|
2055
|
-
element: {
|
2056
|
-
type: {
|
2057
|
-
name: "Composite",
|
2058
|
-
className: "FhirServiceAccessPolicyEntry"
|
2059
|
-
}
|
2060
|
-
}
|
2061
|
-
}
|
2062
2252
|
}, acrConfiguration: {
|
2063
2253
|
serializedName: "properties.acrConfiguration",
|
2064
2254
|
type: {
|
@@ -2112,6 +2302,24 @@ const FhirService = {
|
|
2112
2302
|
name: "Composite",
|
2113
2303
|
className: "ResourceVersionPolicyConfiguration"
|
2114
2304
|
}
|
2305
|
+
}, importConfiguration: {
|
2306
|
+
serializedName: "properties.importConfiguration",
|
2307
|
+
type: {
|
2308
|
+
name: "Composite",
|
2309
|
+
className: "FhirServiceImportConfiguration"
|
2310
|
+
}
|
2311
|
+
}, implementationGuidesConfiguration: {
|
2312
|
+
serializedName: "properties.implementationGuidesConfiguration",
|
2313
|
+
type: {
|
2314
|
+
name: "Composite",
|
2315
|
+
className: "ImplementationGuidesConfiguration"
|
2316
|
+
}
|
2317
|
+
}, encryption: {
|
2318
|
+
serializedName: "properties.encryption",
|
2319
|
+
type: {
|
2320
|
+
name: "Composite",
|
2321
|
+
className: "Encryption"
|
2322
|
+
}
|
2115
2323
|
} })
|
2116
2324
|
}
|
2117
2325
|
};
|
@@ -2226,21 +2434,25 @@ const IotFhirDestination = {
|
|
2226
2434
|
var Mappers = /*#__PURE__*/Object.freeze({
|
2227
2435
|
__proto__: null,
|
2228
2436
|
CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
|
2437
|
+
CorsConfiguration: CorsConfiguration,
|
2229
2438
|
DicomService: DicomService,
|
2230
2439
|
DicomServiceAuthenticationConfiguration: DicomServiceAuthenticationConfiguration,
|
2231
2440
|
DicomServiceCollection: DicomServiceCollection,
|
2232
2441
|
DicomServicePatchResource: DicomServicePatchResource,
|
2442
|
+
Encryption: Encryption,
|
2443
|
+
EncryptionCustomerManagedKeyEncryption: EncryptionCustomerManagedKeyEncryption,
|
2233
2444
|
ErrorDetails: ErrorDetails,
|
2234
2445
|
ErrorDetailsInternal: ErrorDetailsInternal,
|
2235
2446
|
ErrorModel: ErrorModel,
|
2236
2447
|
FhirService: FhirService,
|
2237
|
-
FhirServiceAccessPolicyEntry: FhirServiceAccessPolicyEntry,
|
2238
2448
|
FhirServiceAcrConfiguration: FhirServiceAcrConfiguration,
|
2239
2449
|
FhirServiceAuthenticationConfiguration: FhirServiceAuthenticationConfiguration,
|
2240
2450
|
FhirServiceCollection: FhirServiceCollection,
|
2241
2451
|
FhirServiceCorsConfiguration: FhirServiceCorsConfiguration,
|
2242
2452
|
FhirServiceExportConfiguration: FhirServiceExportConfiguration,
|
2453
|
+
FhirServiceImportConfiguration: FhirServiceImportConfiguration,
|
2243
2454
|
FhirServicePatchResource: FhirServicePatchResource,
|
2455
|
+
ImplementationGuidesConfiguration: ImplementationGuidesConfiguration,
|
2244
2456
|
IotConnector: IotConnector,
|
2245
2457
|
IotConnectorCollection: IotConnectorCollection,
|
2246
2458
|
IotConnectorPatchResource: IotConnectorPatchResource,
|
@@ -2278,6 +2490,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
2278
2490
|
ServiceCorsConfigurationInfo: ServiceCorsConfigurationInfo,
|
2279
2491
|
ServiceCosmosDbConfigurationInfo: ServiceCosmosDbConfigurationInfo,
|
2280
2492
|
ServiceExportConfigurationInfo: ServiceExportConfigurationInfo,
|
2493
|
+
ServiceImportConfigurationInfo: ServiceImportConfigurationInfo,
|
2281
2494
|
ServiceManagedIdentity: ServiceManagedIdentity,
|
2282
2495
|
ServiceManagedIdentityIdentity: ServiceManagedIdentityIdentity,
|
2283
2496
|
ServiceOciArtifactEntry: ServiceOciArtifactEntry,
|
@@ -2330,7 +2543,7 @@ const $host = {
|
|
2330
2543
|
const apiVersion = {
|
2331
2544
|
parameterPath: "apiVersion",
|
2332
2545
|
mapper: {
|
2333
|
-
defaultValue: "
|
2546
|
+
defaultValue: "2023-11-01",
|
2334
2547
|
isConstant: true,
|
2335
2548
|
serializedName: "api-version",
|
2336
2549
|
type: {
|
@@ -2341,6 +2554,9 @@ const apiVersion = {
|
|
2341
2554
|
const subscriptionId = {
|
2342
2555
|
parameterPath: "subscriptionId",
|
2343
2556
|
mapper: {
|
2557
|
+
constraints: {
|
2558
|
+
MinLength: 1
|
2559
|
+
},
|
2344
2560
|
serializedName: "subscriptionId",
|
2345
2561
|
required: true,
|
2346
2562
|
type: {
|
@@ -2573,25 +2789,17 @@ const operationResultId = {
|
|
2573
2789
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2574
2790
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2575
2791
|
*/
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
|
2582
|
-
|
2583
|
-
|
2584
|
-
|
2585
|
-
|
2586
|
-
|
2587
|
-
});
|
2588
|
-
}
|
2589
|
-
sendPollRequest(path) {
|
2590
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
2591
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
2592
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
2593
|
-
});
|
2594
|
-
}
|
2792
|
+
function createLroSpec(inputs) {
|
2793
|
+
const { args, spec, sendOperationFn } = inputs;
|
2794
|
+
return {
|
2795
|
+
requestMethod: spec.httpMethod,
|
2796
|
+
requestPath: spec.path,
|
2797
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
2798
|
+
sendPollRequest: (path, options) => {
|
2799
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
2800
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
2801
|
+
}
|
2802
|
+
};
|
2595
2803
|
}
|
2596
2804
|
|
2597
2805
|
/*
|
@@ -2755,7 +2963,7 @@ class ServicesImpl {
|
|
2755
2963
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2756
2964
|
return this.client.sendOperationRequest(args, spec);
|
2757
2965
|
});
|
2758
|
-
const
|
2966
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2759
2967
|
var _a;
|
2760
2968
|
let currentRawResponse = undefined;
|
2761
2969
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -2774,9 +2982,13 @@ class ServicesImpl {
|
|
2774
2982
|
}
|
2775
2983
|
};
|
2776
2984
|
});
|
2777
|
-
const lro =
|
2778
|
-
|
2779
|
-
|
2985
|
+
const lro = createLroSpec({
|
2986
|
+
sendOperationFn,
|
2987
|
+
args: { resourceGroupName, resourceName, serviceDescription, options },
|
2988
|
+
spec: createOrUpdateOperationSpec$7
|
2989
|
+
});
|
2990
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
2991
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
2780
2992
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
2781
2993
|
});
|
2782
2994
|
yield poller.poll();
|
@@ -2808,7 +3020,7 @@ class ServicesImpl {
|
|
2808
3020
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2809
3021
|
return this.client.sendOperationRequest(args, spec);
|
2810
3022
|
});
|
2811
|
-
const
|
3023
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2812
3024
|
var _a;
|
2813
3025
|
let currentRawResponse = undefined;
|
2814
3026
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -2827,9 +3039,18 @@ class ServicesImpl {
|
|
2827
3039
|
}
|
2828
3040
|
};
|
2829
3041
|
});
|
2830
|
-
const lro =
|
2831
|
-
|
2832
|
-
|
3042
|
+
const lro = createLroSpec({
|
3043
|
+
sendOperationFn,
|
3044
|
+
args: {
|
3045
|
+
resourceGroupName,
|
3046
|
+
resourceName,
|
3047
|
+
servicePatchDescription,
|
3048
|
+
options
|
3049
|
+
},
|
3050
|
+
spec: updateOperationSpec$4
|
3051
|
+
});
|
3052
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
3053
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
2833
3054
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
2834
3055
|
});
|
2835
3056
|
yield poller.poll();
|
@@ -2860,7 +3081,7 @@ class ServicesImpl {
|
|
2860
3081
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2861
3082
|
return this.client.sendOperationRequest(args, spec);
|
2862
3083
|
});
|
2863
|
-
const
|
3084
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
2864
3085
|
var _a;
|
2865
3086
|
let currentRawResponse = undefined;
|
2866
3087
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -2879,9 +3100,13 @@ class ServicesImpl {
|
|
2879
3100
|
}
|
2880
3101
|
};
|
2881
3102
|
});
|
2882
|
-
const lro =
|
2883
|
-
|
2884
|
-
|
3103
|
+
const lro = createLroSpec({
|
3104
|
+
sendOperationFn,
|
3105
|
+
args: { resourceGroupName, resourceName, options },
|
3106
|
+
spec: deleteOperationSpec$7
|
3107
|
+
});
|
3108
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
3109
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
2885
3110
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
2886
3111
|
});
|
2887
3112
|
yield poller.poll();
|
@@ -3116,7 +3341,6 @@ const listNextOperationSpec$1 = {
|
|
3116
3341
|
bodyMapper: ErrorDetails
|
3117
3342
|
}
|
3118
3343
|
},
|
3119
|
-
queryParameters: [apiVersion],
|
3120
3344
|
urlParameters: [
|
3121
3345
|
$host,
|
3122
3346
|
subscriptionId,
|
@@ -3136,7 +3360,6 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
3136
3360
|
bodyMapper: ErrorDetails
|
3137
3361
|
}
|
3138
3362
|
},
|
3139
|
-
queryParameters: [apiVersion],
|
3140
3363
|
urlParameters: [
|
3141
3364
|
$host,
|
3142
3365
|
subscriptionId,
|
@@ -3253,7 +3476,7 @@ class PrivateEndpointConnectionsImpl {
|
|
3253
3476
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3254
3477
|
return this.client.sendOperationRequest(args, spec);
|
3255
3478
|
});
|
3256
|
-
const
|
3479
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3257
3480
|
var _a;
|
3258
3481
|
let currentRawResponse = undefined;
|
3259
3482
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -3272,15 +3495,19 @@ class PrivateEndpointConnectionsImpl {
|
|
3272
3495
|
}
|
3273
3496
|
};
|
3274
3497
|
});
|
3275
|
-
const lro =
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3282
|
-
|
3283
|
-
|
3498
|
+
const lro = createLroSpec({
|
3499
|
+
sendOperationFn,
|
3500
|
+
args: {
|
3501
|
+
resourceGroupName,
|
3502
|
+
resourceName,
|
3503
|
+
privateEndpointConnectionName,
|
3504
|
+
properties,
|
3505
|
+
options
|
3506
|
+
},
|
3507
|
+
spec: createOrUpdateOperationSpec$6
|
3508
|
+
});
|
3509
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
3510
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
3284
3511
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
3285
3512
|
});
|
3286
3513
|
yield poller.poll();
|
@@ -3315,7 +3542,7 @@ class PrivateEndpointConnectionsImpl {
|
|
3315
3542
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3316
3543
|
return this.client.sendOperationRequest(args, spec);
|
3317
3544
|
});
|
3318
|
-
const
|
3545
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3319
3546
|
var _a;
|
3320
3547
|
let currentRawResponse = undefined;
|
3321
3548
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -3334,14 +3561,18 @@ class PrivateEndpointConnectionsImpl {
|
|
3334
3561
|
}
|
3335
3562
|
};
|
3336
3563
|
});
|
3337
|
-
const lro =
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3564
|
+
const lro = createLroSpec({
|
3565
|
+
sendOperationFn,
|
3566
|
+
args: {
|
3567
|
+
resourceGroupName,
|
3568
|
+
resourceName,
|
3569
|
+
privateEndpointConnectionName,
|
3570
|
+
options
|
3571
|
+
},
|
3572
|
+
spec: deleteOperationSpec$6
|
3573
|
+
});
|
3574
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
3575
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
3345
3576
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
3346
3577
|
});
|
3347
3578
|
yield poller.poll();
|
@@ -3723,7 +3954,7 @@ class WorkspacesImpl {
|
|
3723
3954
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3724
3955
|
return this.client.sendOperationRequest(args, spec);
|
3725
3956
|
});
|
3726
|
-
const
|
3957
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3727
3958
|
var _a;
|
3728
3959
|
let currentRawResponse = undefined;
|
3729
3960
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -3742,9 +3973,13 @@ class WorkspacesImpl {
|
|
3742
3973
|
}
|
3743
3974
|
};
|
3744
3975
|
});
|
3745
|
-
const lro =
|
3746
|
-
|
3747
|
-
|
3976
|
+
const lro = createLroSpec({
|
3977
|
+
sendOperationFn,
|
3978
|
+
args: { resourceGroupName, workspaceName, workspace, options },
|
3979
|
+
spec: createOrUpdateOperationSpec$5
|
3980
|
+
});
|
3981
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
3982
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
3748
3983
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
3749
3984
|
});
|
3750
3985
|
yield poller.poll();
|
@@ -3776,7 +4011,7 @@ class WorkspacesImpl {
|
|
3776
4011
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3777
4012
|
return this.client.sendOperationRequest(args, spec);
|
3778
4013
|
});
|
3779
|
-
const
|
4014
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3780
4015
|
var _a;
|
3781
4016
|
let currentRawResponse = undefined;
|
3782
4017
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -3795,9 +4030,18 @@ class WorkspacesImpl {
|
|
3795
4030
|
}
|
3796
4031
|
};
|
3797
4032
|
});
|
3798
|
-
const lro =
|
3799
|
-
|
3800
|
-
|
4033
|
+
const lro = createLroSpec({
|
4034
|
+
sendOperationFn,
|
4035
|
+
args: {
|
4036
|
+
resourceGroupName,
|
4037
|
+
workspaceName,
|
4038
|
+
workspacePatchResource,
|
4039
|
+
options
|
4040
|
+
},
|
4041
|
+
spec: updateOperationSpec$3
|
4042
|
+
});
|
4043
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4044
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
3801
4045
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
3802
4046
|
});
|
3803
4047
|
yield poller.poll();
|
@@ -3828,7 +4072,7 @@ class WorkspacesImpl {
|
|
3828
4072
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3829
4073
|
return this.client.sendOperationRequest(args, spec);
|
3830
4074
|
});
|
3831
|
-
const
|
4075
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
3832
4076
|
var _a;
|
3833
4077
|
let currentRawResponse = undefined;
|
3834
4078
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -3847,9 +4091,13 @@ class WorkspacesImpl {
|
|
3847
4091
|
}
|
3848
4092
|
};
|
3849
4093
|
});
|
3850
|
-
const lro =
|
3851
|
-
|
3852
|
-
|
4094
|
+
const lro = createLroSpec({
|
4095
|
+
sendOperationFn,
|
4096
|
+
args: { resourceGroupName, workspaceName, options },
|
4097
|
+
spec: deleteOperationSpec$5
|
4098
|
+
});
|
4099
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4100
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
3853
4101
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
3854
4102
|
});
|
3855
4103
|
yield poller.poll();
|
@@ -4042,7 +4290,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
4042
4290
|
bodyMapper: ErrorDetails
|
4043
4291
|
}
|
4044
4292
|
},
|
4045
|
-
queryParameters: [apiVersion],
|
4046
4293
|
urlParameters: [
|
4047
4294
|
$host,
|
4048
4295
|
subscriptionId,
|
@@ -4062,7 +4309,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
4062
4309
|
bodyMapper: ErrorDetails
|
4063
4310
|
}
|
4064
4311
|
},
|
4065
|
-
queryParameters: [apiVersion],
|
4066
4312
|
urlParameters: [
|
4067
4313
|
$host,
|
4068
4314
|
subscriptionId,
|
@@ -4185,7 +4431,7 @@ class DicomServicesImpl {
|
|
4185
4431
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4186
4432
|
return this.client.sendOperationRequest(args, spec);
|
4187
4433
|
});
|
4188
|
-
const
|
4434
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4189
4435
|
var _a;
|
4190
4436
|
let currentRawResponse = undefined;
|
4191
4437
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4204,15 +4450,19 @@ class DicomServicesImpl {
|
|
4204
4450
|
}
|
4205
4451
|
};
|
4206
4452
|
});
|
4207
|
-
const lro =
|
4208
|
-
|
4209
|
-
|
4210
|
-
|
4211
|
-
|
4212
|
-
|
4213
|
-
|
4214
|
-
|
4215
|
-
|
4453
|
+
const lro = createLroSpec({
|
4454
|
+
sendOperationFn,
|
4455
|
+
args: {
|
4456
|
+
resourceGroupName,
|
4457
|
+
workspaceName,
|
4458
|
+
dicomServiceName,
|
4459
|
+
dicomservice,
|
4460
|
+
options
|
4461
|
+
},
|
4462
|
+
spec: createOrUpdateOperationSpec$4
|
4463
|
+
});
|
4464
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4465
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4216
4466
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4217
4467
|
});
|
4218
4468
|
yield poller.poll();
|
@@ -4246,7 +4496,7 @@ class DicomServicesImpl {
|
|
4246
4496
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4247
4497
|
return this.client.sendOperationRequest(args, spec);
|
4248
4498
|
});
|
4249
|
-
const
|
4499
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4250
4500
|
var _a;
|
4251
4501
|
let currentRawResponse = undefined;
|
4252
4502
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4265,15 +4515,19 @@ class DicomServicesImpl {
|
|
4265
4515
|
}
|
4266
4516
|
};
|
4267
4517
|
});
|
4268
|
-
const lro =
|
4269
|
-
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
|
4276
|
-
|
4518
|
+
const lro = createLroSpec({
|
4519
|
+
sendOperationFn,
|
4520
|
+
args: {
|
4521
|
+
resourceGroupName,
|
4522
|
+
dicomServiceName,
|
4523
|
+
workspaceName,
|
4524
|
+
dicomservicePatchResource,
|
4525
|
+
options
|
4526
|
+
},
|
4527
|
+
spec: updateOperationSpec$2
|
4528
|
+
});
|
4529
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4530
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4277
4531
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4278
4532
|
});
|
4279
4533
|
yield poller.poll();
|
@@ -4306,7 +4560,7 @@ class DicomServicesImpl {
|
|
4306
4560
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4307
4561
|
return this.client.sendOperationRequest(args, spec);
|
4308
4562
|
});
|
4309
|
-
const
|
4563
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4310
4564
|
var _a;
|
4311
4565
|
let currentRawResponse = undefined;
|
4312
4566
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4325,9 +4579,13 @@ class DicomServicesImpl {
|
|
4325
4579
|
}
|
4326
4580
|
};
|
4327
4581
|
});
|
4328
|
-
const lro =
|
4329
|
-
|
4330
|
-
|
4582
|
+
const lro = createLroSpec({
|
4583
|
+
sendOperationFn,
|
4584
|
+
args: { resourceGroupName, dicomServiceName, workspaceName, options },
|
4585
|
+
spec: deleteOperationSpec$4
|
4586
|
+
});
|
4587
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4588
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4331
4589
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4332
4590
|
});
|
4333
4591
|
yield poller.poll();
|
@@ -4503,7 +4761,6 @@ const listByWorkspaceNextOperationSpec$2 = {
|
|
4503
4761
|
bodyMapper: ErrorDetails
|
4504
4762
|
}
|
4505
4763
|
},
|
4506
|
-
queryParameters: [apiVersion],
|
4507
4764
|
urlParameters: [
|
4508
4765
|
$host,
|
4509
4766
|
subscriptionId,
|
@@ -4627,7 +4884,7 @@ class IotConnectorsImpl {
|
|
4627
4884
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4628
4885
|
return this.client.sendOperationRequest(args, spec);
|
4629
4886
|
});
|
4630
|
-
const
|
4887
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4631
4888
|
var _a;
|
4632
4889
|
let currentRawResponse = undefined;
|
4633
4890
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4646,15 +4903,19 @@ class IotConnectorsImpl {
|
|
4646
4903
|
}
|
4647
4904
|
};
|
4648
4905
|
});
|
4649
|
-
const lro =
|
4650
|
-
|
4651
|
-
|
4652
|
-
|
4653
|
-
|
4654
|
-
|
4655
|
-
|
4656
|
-
|
4657
|
-
|
4906
|
+
const lro = createLroSpec({
|
4907
|
+
sendOperationFn,
|
4908
|
+
args: {
|
4909
|
+
resourceGroupName,
|
4910
|
+
workspaceName,
|
4911
|
+
iotConnectorName,
|
4912
|
+
iotConnector,
|
4913
|
+
options
|
4914
|
+
},
|
4915
|
+
spec: createOrUpdateOperationSpec$3
|
4916
|
+
});
|
4917
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4918
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4658
4919
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4659
4920
|
});
|
4660
4921
|
yield poller.poll();
|
@@ -4688,7 +4949,7 @@ class IotConnectorsImpl {
|
|
4688
4949
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4689
4950
|
return this.client.sendOperationRequest(args, spec);
|
4690
4951
|
});
|
4691
|
-
const
|
4952
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4692
4953
|
var _a;
|
4693
4954
|
let currentRawResponse = undefined;
|
4694
4955
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4707,15 +4968,19 @@ class IotConnectorsImpl {
|
|
4707
4968
|
}
|
4708
4969
|
};
|
4709
4970
|
});
|
4710
|
-
const lro =
|
4711
|
-
|
4712
|
-
|
4713
|
-
|
4714
|
-
|
4715
|
-
|
4716
|
-
|
4717
|
-
|
4718
|
-
|
4971
|
+
const lro = createLroSpec({
|
4972
|
+
sendOperationFn,
|
4973
|
+
args: {
|
4974
|
+
resourceGroupName,
|
4975
|
+
iotConnectorName,
|
4976
|
+
workspaceName,
|
4977
|
+
iotConnectorPatchResource,
|
4978
|
+
options
|
4979
|
+
},
|
4980
|
+
spec: updateOperationSpec$1
|
4981
|
+
});
|
4982
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
4983
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4719
4984
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4720
4985
|
});
|
4721
4986
|
yield poller.poll();
|
@@ -4748,7 +5013,7 @@ class IotConnectorsImpl {
|
|
4748
5013
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4749
5014
|
return this.client.sendOperationRequest(args, spec);
|
4750
5015
|
});
|
4751
|
-
const
|
5016
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
4752
5017
|
var _a;
|
4753
5018
|
let currentRawResponse = undefined;
|
4754
5019
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -4767,9 +5032,13 @@ class IotConnectorsImpl {
|
|
4767
5032
|
}
|
4768
5033
|
};
|
4769
5034
|
});
|
4770
|
-
const lro =
|
4771
|
-
|
4772
|
-
|
5035
|
+
const lro = createLroSpec({
|
5036
|
+
sendOperationFn,
|
5037
|
+
args: { resourceGroupName, iotConnectorName, workspaceName, options },
|
5038
|
+
spec: deleteOperationSpec$3
|
5039
|
+
});
|
5040
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5041
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
4773
5042
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
4774
5043
|
});
|
4775
5044
|
yield poller.poll();
|
@@ -4945,7 +5214,6 @@ const listByWorkspaceNextOperationSpec$1 = {
|
|
4945
5214
|
bodyMapper: ErrorDetails
|
4946
5215
|
}
|
4947
5216
|
},
|
4948
|
-
queryParameters: [apiVersion],
|
4949
5217
|
urlParameters: [
|
4950
5218
|
$host,
|
4951
5219
|
subscriptionId,
|
@@ -5095,7 +5363,6 @@ const listByIotConnectorNextOperationSpec = {
|
|
5095
5363
|
bodyMapper: ErrorDetails
|
5096
5364
|
}
|
5097
5365
|
},
|
5098
|
-
queryParameters: [apiVersion],
|
5099
5366
|
urlParameters: [
|
5100
5367
|
$host,
|
5101
5368
|
subscriptionId,
|
@@ -5156,7 +5423,7 @@ class IotConnectorFhirDestinationImpl {
|
|
5156
5423
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5157
5424
|
return this.client.sendOperationRequest(args, spec);
|
5158
5425
|
});
|
5159
|
-
const
|
5426
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5160
5427
|
var _a;
|
5161
5428
|
let currentRawResponse = undefined;
|
5162
5429
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5175,16 +5442,20 @@ class IotConnectorFhirDestinationImpl {
|
|
5175
5442
|
}
|
5176
5443
|
};
|
5177
5444
|
});
|
5178
|
-
const lro =
|
5179
|
-
|
5180
|
-
|
5181
|
-
|
5182
|
-
|
5183
|
-
|
5184
|
-
|
5185
|
-
|
5186
|
-
|
5187
|
-
|
5445
|
+
const lro = createLroSpec({
|
5446
|
+
sendOperationFn,
|
5447
|
+
args: {
|
5448
|
+
resourceGroupName,
|
5449
|
+
workspaceName,
|
5450
|
+
iotConnectorName,
|
5451
|
+
fhirDestinationName,
|
5452
|
+
iotFhirDestination,
|
5453
|
+
options
|
5454
|
+
},
|
5455
|
+
spec: createOrUpdateOperationSpec$2
|
5456
|
+
});
|
5457
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5458
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5188
5459
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5189
5460
|
});
|
5190
5461
|
yield poller.poll();
|
@@ -5220,7 +5491,7 @@ class IotConnectorFhirDestinationImpl {
|
|
5220
5491
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5221
5492
|
return this.client.sendOperationRequest(args, spec);
|
5222
5493
|
});
|
5223
|
-
const
|
5494
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5224
5495
|
var _a;
|
5225
5496
|
let currentRawResponse = undefined;
|
5226
5497
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5239,15 +5510,19 @@ class IotConnectorFhirDestinationImpl {
|
|
5239
5510
|
}
|
5240
5511
|
};
|
5241
5512
|
});
|
5242
|
-
const lro =
|
5243
|
-
|
5244
|
-
|
5245
|
-
|
5246
|
-
|
5247
|
-
|
5248
|
-
|
5249
|
-
|
5250
|
-
|
5513
|
+
const lro = createLroSpec({
|
5514
|
+
sendOperationFn,
|
5515
|
+
args: {
|
5516
|
+
resourceGroupName,
|
5517
|
+
workspaceName,
|
5518
|
+
iotConnectorName,
|
5519
|
+
fhirDestinationName,
|
5520
|
+
options
|
5521
|
+
},
|
5522
|
+
spec: deleteOperationSpec$2
|
5523
|
+
});
|
5524
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5525
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5251
5526
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5252
5527
|
});
|
5253
5528
|
yield poller.poll();
|
@@ -5465,7 +5740,7 @@ class FhirServicesImpl {
|
|
5465
5740
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5466
5741
|
return this.client.sendOperationRequest(args, spec);
|
5467
5742
|
});
|
5468
|
-
const
|
5743
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5469
5744
|
var _a;
|
5470
5745
|
let currentRawResponse = undefined;
|
5471
5746
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5484,15 +5759,19 @@ class FhirServicesImpl {
|
|
5484
5759
|
}
|
5485
5760
|
};
|
5486
5761
|
});
|
5487
|
-
const lro =
|
5488
|
-
|
5489
|
-
|
5490
|
-
|
5491
|
-
|
5492
|
-
|
5493
|
-
|
5494
|
-
|
5495
|
-
|
5762
|
+
const lro = createLroSpec({
|
5763
|
+
sendOperationFn,
|
5764
|
+
args: {
|
5765
|
+
resourceGroupName,
|
5766
|
+
workspaceName,
|
5767
|
+
fhirServiceName,
|
5768
|
+
fhirservice,
|
5769
|
+
options
|
5770
|
+
},
|
5771
|
+
spec: createOrUpdateOperationSpec$1
|
5772
|
+
});
|
5773
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5774
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5496
5775
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5497
5776
|
});
|
5498
5777
|
yield poller.poll();
|
@@ -5526,7 +5805,7 @@ class FhirServicesImpl {
|
|
5526
5805
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5527
5806
|
return this.client.sendOperationRequest(args, spec);
|
5528
5807
|
});
|
5529
|
-
const
|
5808
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5530
5809
|
var _a;
|
5531
5810
|
let currentRawResponse = undefined;
|
5532
5811
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5545,15 +5824,19 @@ class FhirServicesImpl {
|
|
5545
5824
|
}
|
5546
5825
|
};
|
5547
5826
|
});
|
5548
|
-
const lro =
|
5549
|
-
|
5550
|
-
|
5551
|
-
|
5552
|
-
|
5553
|
-
|
5554
|
-
|
5555
|
-
|
5556
|
-
|
5827
|
+
const lro = createLroSpec({
|
5828
|
+
sendOperationFn,
|
5829
|
+
args: {
|
5830
|
+
resourceGroupName,
|
5831
|
+
fhirServiceName,
|
5832
|
+
workspaceName,
|
5833
|
+
fhirservicePatchResource,
|
5834
|
+
options
|
5835
|
+
},
|
5836
|
+
spec: updateOperationSpec
|
5837
|
+
});
|
5838
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5839
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5557
5840
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5558
5841
|
});
|
5559
5842
|
yield poller.poll();
|
@@ -5586,7 +5869,7 @@ class FhirServicesImpl {
|
|
5586
5869
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5587
5870
|
return this.client.sendOperationRequest(args, spec);
|
5588
5871
|
});
|
5589
|
-
const
|
5872
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5590
5873
|
var _a;
|
5591
5874
|
let currentRawResponse = undefined;
|
5592
5875
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5605,9 +5888,13 @@ class FhirServicesImpl {
|
|
5605
5888
|
}
|
5606
5889
|
};
|
5607
5890
|
});
|
5608
|
-
const lro =
|
5609
|
-
|
5610
|
-
|
5891
|
+
const lro = createLroSpec({
|
5892
|
+
sendOperationFn,
|
5893
|
+
args: { resourceGroupName, fhirServiceName, workspaceName, options },
|
5894
|
+
spec: deleteOperationSpec$1
|
5895
|
+
});
|
5896
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
5897
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5611
5898
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5612
5899
|
});
|
5613
5900
|
yield poller.poll();
|
@@ -5783,7 +6070,6 @@ const listByWorkspaceNextOperationSpec = {
|
|
5783
6070
|
bodyMapper: ErrorDetails
|
5784
6071
|
}
|
5785
6072
|
},
|
5786
|
-
queryParameters: [apiVersion],
|
5787
6073
|
urlParameters: [
|
5788
6074
|
$host,
|
5789
6075
|
subscriptionId,
|
@@ -5901,7 +6187,7 @@ class WorkspacePrivateEndpointConnectionsImpl {
|
|
5901
6187
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5902
6188
|
return this.client.sendOperationRequest(args, spec);
|
5903
6189
|
});
|
5904
|
-
const
|
6190
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5905
6191
|
var _a;
|
5906
6192
|
let currentRawResponse = undefined;
|
5907
6193
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5920,15 +6206,19 @@ class WorkspacePrivateEndpointConnectionsImpl {
|
|
5920
6206
|
}
|
5921
6207
|
};
|
5922
6208
|
});
|
5923
|
-
const lro =
|
5924
|
-
|
5925
|
-
|
5926
|
-
|
5927
|
-
|
5928
|
-
|
5929
|
-
|
5930
|
-
|
5931
|
-
|
6209
|
+
const lro = createLroSpec({
|
6210
|
+
sendOperationFn,
|
6211
|
+
args: {
|
6212
|
+
resourceGroupName,
|
6213
|
+
workspaceName,
|
6214
|
+
privateEndpointConnectionName,
|
6215
|
+
properties,
|
6216
|
+
options
|
6217
|
+
},
|
6218
|
+
spec: createOrUpdateOperationSpec
|
6219
|
+
});
|
6220
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
6221
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5932
6222
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5933
6223
|
});
|
5934
6224
|
yield poller.poll();
|
@@ -5963,7 +6253,7 @@ class WorkspacePrivateEndpointConnectionsImpl {
|
|
5963
6253
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5964
6254
|
return this.client.sendOperationRequest(args, spec);
|
5965
6255
|
});
|
5966
|
-
const
|
6256
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
5967
6257
|
var _a;
|
5968
6258
|
let currentRawResponse = undefined;
|
5969
6259
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -5982,14 +6272,18 @@ class WorkspacePrivateEndpointConnectionsImpl {
|
|
5982
6272
|
}
|
5983
6273
|
};
|
5984
6274
|
});
|
5985
|
-
const lro =
|
5986
|
-
|
5987
|
-
|
5988
|
-
|
5989
|
-
|
5990
|
-
|
5991
|
-
|
5992
|
-
|
6275
|
+
const lro = createLroSpec({
|
6276
|
+
sendOperationFn,
|
6277
|
+
args: {
|
6278
|
+
resourceGroupName,
|
6279
|
+
workspaceName,
|
6280
|
+
privateEndpointConnectionName,
|
6281
|
+
options
|
6282
|
+
},
|
6283
|
+
spec: deleteOperationSpec
|
6284
|
+
});
|
6285
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
6286
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
5993
6287
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
5994
6288
|
});
|
5995
6289
|
yield poller.poll();
|
@@ -6369,7 +6663,6 @@ const listNextOperationSpec = {
|
|
6369
6663
|
bodyMapper: ErrorDetails
|
6370
6664
|
}
|
6371
6665
|
},
|
6372
|
-
queryParameters: [apiVersion],
|
6373
6666
|
urlParameters: [$host, nextLink],
|
6374
6667
|
headerParameters: [accept],
|
6375
6668
|
serializer: serializer$1
|
@@ -6436,7 +6729,7 @@ class HealthcareApisManagementClient extends coreClient__namespace.ServiceClient
|
|
6436
6729
|
/**
|
6437
6730
|
* Initializes a new instance of the HealthcareApisManagementClient class.
|
6438
6731
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
6439
|
-
* @param subscriptionId The subscription
|
6732
|
+
* @param subscriptionId The ID of the target subscription.
|
6440
6733
|
* @param options The parameter options
|
6441
6734
|
*/
|
6442
6735
|
constructor(credentials, subscriptionId, options) {
|
@@ -6455,7 +6748,7 @@ class HealthcareApisManagementClient extends coreClient__namespace.ServiceClient
|
|
6455
6748
|
requestContentType: "application/json; charset=utf-8",
|
6456
6749
|
credential: credentials
|
6457
6750
|
};
|
6458
|
-
const packageDetails = `azsdk-js-arm-healthcareapis/
|
6751
|
+
const packageDetails = `azsdk-js-arm-healthcareapis/3.0.0`;
|
6459
6752
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
6460
6753
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
6461
6754
|
: `${packageDetails}`;
|
@@ -6488,7 +6781,7 @@ class HealthcareApisManagementClient extends coreClient__namespace.ServiceClient
|
|
6488
6781
|
this.subscriptionId = subscriptionId;
|
6489
6782
|
// Assigning values to Constant parameters
|
6490
6783
|
this.$host = options.$host || "https://management.azure.com";
|
6491
|
-
this.apiVersion = options.apiVersion || "
|
6784
|
+
this.apiVersion = options.apiVersion || "2023-11-01";
|
6492
6785
|
this.services = new ServicesImpl(this);
|
6493
6786
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
6494
6787
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|