@azure/arm-healthcareapis 3.0.1-alpha.20240423.1 → 3.1.0-alpha.20240425.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. package/CHANGELOG.md +14 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1345 -1235
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +10 -3
  8. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/dicomServicesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/dicomServicesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +1 -1
  12. package/dist-esm/samples-dev/dicomServicesUpdateSample.js +3 -3
  13. package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +1 -1
  15. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +23 -11
  16. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
  17. package/dist-esm/samples-dev/fhirServicesDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/fhirServicesGetSample.js +1 -1
  19. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +1 -1
  20. package/dist-esm/samples-dev/fhirServicesUpdateSample.js +3 -3
  21. package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -11
  23. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +1 -1
  26. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +12 -12
  27. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/iotConnectorsGetSample.js +1 -1
  30. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +1 -1
  31. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +4 -4
  32. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  34. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  35. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
  36. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  38. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  39. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
  40. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  41. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +1 -1
  42. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +3 -3
  43. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
  44. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +18 -18
  45. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  47. package/dist-esm/samples-dev/servicesGetSample.js +2 -2
  48. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
  49. package/dist-esm/samples-dev/servicesListSample.js +1 -1
  50. package/dist-esm/samples-dev/servicesUpdateSample.js +3 -3
  51. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
  52. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +4 -4
  53. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +1 -1
  55. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
  56. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +1 -1
  57. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +1 -1
  58. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +1 -1
  59. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +1 -1
  60. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +2 -2
  61. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
  63. package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
  64. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
  65. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
  66. package/dist-esm/samples-dev/workspacesUpdateSample.js +3 -3
  67. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  68. package/dist-esm/src/healthcareApisManagementClient.js +11 -10
  69. package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
  70. package/dist-esm/src/lroImpl.js +1 -1
  71. package/dist-esm/src/models/index.d.ts +42 -0
  72. package/dist-esm/src/models/index.d.ts.map +1 -1
  73. package/dist-esm/src/models/index.js +6 -0
  74. package/dist-esm/src/models/index.js.map +1 -1
  75. package/dist-esm/src/models/mappers.d.ts +3 -0
  76. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  77. package/dist-esm/src/models/mappers.js +833 -733
  78. package/dist-esm/src/models/mappers.js.map +1 -1
  79. package/dist-esm/src/models/parameters.js +75 -75
  80. package/dist-esm/src/models/parameters.js.map +1 -1
  81. package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
  82. package/dist-esm/src/operations/dicomServices.js +51 -51
  83. package/dist-esm/src/operations/dicomServices.js.map +1 -1
  84. package/dist-esm/src/operations/fhirDestinations.js +11 -11
  85. package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
  86. package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
  87. package/dist-esm/src/operations/fhirServices.js +51 -51
  88. package/dist-esm/src/operations/fhirServices.js.map +1 -1
  89. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
  90. package/dist-esm/src/operations/iotConnectorFhirDestination.js +29 -29
  91. package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
  92. package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
  93. package/dist-esm/src/operations/iotConnectors.js +51 -51
  94. package/dist-esm/src/operations/iotConnectors.js.map +1 -1
  95. package/dist-esm/src/operations/operationResults.js +5 -5
  96. package/dist-esm/src/operations/operationResults.js.map +1 -1
  97. package/dist-esm/src/operations/operations.js +9 -9
  98. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  99. package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
  100. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  101. package/dist-esm/src/operations/privateLinkResources.js +10 -10
  102. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  103. package/dist-esm/src/operations/services.d.ts.map +1 -1
  104. package/dist-esm/src/operations/services.js +64 -64
  105. package/dist-esm/src/operations/services.js.map +1 -1
  106. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
  107. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +35 -35
  108. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
  109. package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -1
  110. package/dist-esm/src/operations/workspacePrivateLinkResources.js +11 -11
  111. package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -1
  112. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  113. package/dist-esm/src/operations/workspaces.js +60 -60
  114. package/dist-esm/src/operations/workspaces.js.map +1 -1
  115. package/dist-esm/test/healthcareapis_operations_test.spec.js +1 -1
  116. package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -1
  117. package/package.json +3 -4
  118. package/review/arm-healthcareapis.api.md +30 -0
  119. package/src/healthcareApisManagementClient.ts +22 -22
  120. package/src/lroImpl.ts +3 -3
  121. package/src/models/index.ts +88 -27
  122. package/src/models/mappers.ts +973 -860
  123. package/src/models/parameters.ts +76 -76
  124. package/src/operations/dicomServices.ts +101 -109
  125. package/src/operations/fhirDestinations.ts +25 -26
  126. package/src/operations/fhirServices.ts +101 -109
  127. package/src/operations/iotConnectorFhirDestination.ts +57 -61
  128. package/src/operations/iotConnectors.ts +101 -109
  129. package/src/operations/operationResults.ts +9 -10
  130. package/src/operations/operations.ts +16 -16
  131. package/src/operations/privateEndpointConnections.ts +73 -78
  132. package/src/operations/privateLinkResources.ts +17 -19
  133. package/src/operations/services.ts +122 -132
  134. package/src/operations/workspacePrivateEndpointConnections.ts +73 -78
  135. package/src/operations/workspacePrivateLinkResources.ts +27 -28
  136. package/src/operations/workspaces.ts +116 -125
  137. package/src/operationsInterfaces/dicomServices.ts +9 -9
  138. package/src/operationsInterfaces/fhirDestinations.ts +2 -2
  139. package/src/operationsInterfaces/fhirServices.ts +9 -9
  140. package/src/operationsInterfaces/iotConnectorFhirDestination.ts +6 -6
  141. package/src/operationsInterfaces/iotConnectors.ts +9 -9
  142. package/src/operationsInterfaces/operationResults.ts +2 -2
  143. package/src/operationsInterfaces/operations.ts +1 -1
  144. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  145. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  146. package/src/operationsInterfaces/services.ts +11 -11
  147. package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +7 -7
  148. package/src/operationsInterfaces/workspacePrivateLinkResources.ts +3 -3
  149. package/src/operationsInterfaces/workspaces.ts +10 -10
  150. package/src/pagingHelper.ts +1 -1
  151. package/types/arm-healthcareapis.d.ts +47 -0
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all FHIR destinations for the given IoT Connector
17
17
  *
18
18
  * @summary Lists all FHIR destinations for the given IoT Connector
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_List.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_List.json
20
20
  */
21
21
  function listIoTConnectors() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates a FHIR Service resource with the specified parameters.
17
17
  *
18
18
  * @summary Creates or updates a FHIR Service resource with the specified parameters.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Create.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Create.json
20
20
  */
21
21
  function createOrUpdateAFhirService() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -29,40 +29,52 @@ function createOrUpdateAFhirService() {
29
29
  authenticationConfiguration: {
30
30
  audience: "https://azurehealthcareapis.com",
31
31
  authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
32
- smartProxyEnabled: true
32
+ smartIdentityProviders: [
33
+ {
34
+ applications: [
35
+ {
36
+ allowedDataActions: ["Read"],
37
+ audience: "22222222-2222-2222-2222-222222222222",
38
+ clientId: "22222222-2222-2222-2222-222222222222",
39
+ },
40
+ ],
41
+ authority: "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
42
+ },
43
+ ],
44
+ smartProxyEnabled: true,
33
45
  },
34
46
  corsConfiguration: {
35
47
  allowCredentials: false,
36
48
  headers: ["*"],
37
49
  maxAge: 1440,
38
50
  methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
39
- origins: ["*"]
51
+ origins: ["*"],
40
52
  },
41
53
  encryption: {
42
54
  customerManagedKeyEncryption: {
43
- keyEncryptionKeyUrl: "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"
44
- }
55
+ keyEncryptionKeyUrl: "https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion",
56
+ },
45
57
  },
46
58
  exportConfiguration: { storageAccountName: "existingStorageAccount" },
47
59
  identity: {
48
60
  type: "UserAssigned",
49
61
  userAssignedIdentities: {
50
- "/subscriptions/subid/resourcegroups/testRG/providers/MicrosoftManagedIdentity/userAssignedIdentities/testMi": {}
51
- }
62
+ "/subscriptions/subid/resourcegroups/testRG/providers/MicrosoftManagedIdentity/userAssignedIdentities/testMi": {},
63
+ },
52
64
  },
53
65
  implementationGuidesConfiguration: { usCoreMissingData: false },
54
66
  importConfiguration: {
55
67
  enabled: false,
56
68
  initialImportMode: false,
57
- integrationDataStore: "existingStorageAccount"
69
+ integrationDataStore: "existingStorageAccount",
58
70
  },
59
71
  kind: "fhir-R4",
60
72
  location: "westus",
61
73
  tags: {
62
74
  additionalProp1: "string",
63
75
  additionalProp2: "string",
64
- additionalProp3: "string"
65
- }
76
+ additionalProp3: "string",
77
+ },
66
78
  };
67
79
  const credential = new DefaultAzureCredential();
68
80
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,WAAW,GAAgB;YAC/B,gBAAgB,EAAE,EAAE,YAAY,EAAE,CAAC,kBAAkB,CAAC,EAAE;YACxD,2BAA2B,EAAE;gBAC3B,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EACP,wEAAwE;gBAC1E,iBAAiB,EAAE,IAAI;aACxB;YACD,iBAAiB,EAAE;gBACjB,gBAAgB,EAAE,KAAK;gBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;gBACd,MAAM,EAAE,IAAI;gBACZ,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;gBAC7D,OAAO,EAAE,CAAC,GAAG,CAAC;aACf;YACD,UAAU,EAAE;gBACV,4BAA4B,EAAE;oBAC5B,mBAAmB,EACjB,sEAAsE;iBACzE;aACF;YACD,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;YACrE,QAAQ,EAAE;gBACR,IAAI,EAAE,cAAc;gBACpB,sBAAsB,EAAE;oBACtB,6GAA6G,EAAE,EAAE;iBAClH;aACF;YACD,iCAAiC,EAAE,EAAE,iBAAiB,EAAE,KAAK,EAAE;YAC/D,mBAAmB,EAAE;gBACnB,OAAO,EAAE,KAAK;gBACd,iBAAiB,EAAE,KAAK;gBACxB,oBAAoB,EAAE,wBAAwB;aAC/C;YACD,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,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,YAAY,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"fhirServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,S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AAO,EAAE,KAAK;gBACd,iBAAiB,EAAE,KAAK;gBACxB,oBAAoB,EAAE,wBAAwB;aAC/C;YACD,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,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,YAAY,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a FHIR Service.
17
17
  *
18
18
  * @summary Deletes a FHIR Service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Delete.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Delete.json
20
20
  */
21
21
  function deleteAFhirService() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the properties of the specified FHIR Service.
17
17
  *
18
18
  * @summary Gets the properties of the specified FHIR Service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Get.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json
20
20
  */
21
21
  function getAFhirService() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all FHIR Services for the given workspace
17
17
  *
18
18
  * @summary Lists all FHIR Services for the given workspace
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_List.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_List.json
20
20
  */
21
21
  function listFhirservices() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Patch FHIR Service details.
17
17
  *
18
18
  * @summary Patch FHIR Service details.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/fhirservices/FhirServices_Patch.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Patch.json
20
20
  */
21
21
  function updateAFhirService() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -25,7 +25,7 @@ function updateAFhirService() {
25
25
  const fhirServiceName = "fhirservice1";
26
26
  const workspaceName = "workspace1";
27
27
  const fhirservicePatchResource = {
28
- tags: { tagKey: "tagValue" }
28
+ tags: { tagKey: "tagValue" },
29
29
  };
30
30
  const credential = new DefaultAzureCredential();
31
31
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,wBAAwB,GAA6B;YACzD,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,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,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"fhirServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,wBAAwB,GAA6B;YACzD,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,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,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
17
17
  *
18
18
  * @summary Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json
20
20
  */
21
21
  function createOrUpdateAnIotConnectorFhirDestination() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,8 +35,8 @@ function createOrUpdateAnIotConnectorFhirDestination() {
35
35
  {
36
36
  code: "8867-4",
37
37
  display: "Heart rate",
38
- system: "http://loinc.org"
39
- }
38
+ system: "http://loinc.org",
39
+ },
40
40
  ],
41
41
  periodInterval: 60,
42
42
  typeName: "heartrate",
@@ -44,18 +44,18 @@ function createOrUpdateAnIotConnectorFhirDestination() {
44
44
  defaultPeriod: 5000,
45
45
  unit: "count/min",
46
46
  valueName: "hr",
47
- valueType: "SampledData"
48
- }
47
+ valueType: "SampledData",
48
+ },
49
49
  },
50
- templateType: "CodeValueFhir"
51
- }
50
+ templateType: "CodeValueFhir",
51
+ },
52
52
  ],
53
- templateType: "CollectionFhirTemplate"
54
- }
53
+ templateType: "CollectionFhirTemplate",
54
+ },
55
55
  },
56
56
  fhirServiceResourceId: "subscriptions/11111111-2222-3333-4444-555566667777/resourceGroups/myrg/providers/Microsoft.HealthcareApis/workspaces/myworkspace/fhirservices/myfhirservice",
57
57
  location: "westus",
58
- resourceIdentityResolutionType: "Create"
58
+ resourceIdentityResolutionType: "Create",
59
59
  };
60
60
  const credential = new DefaultAzureCredential();
61
61
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,kBAAkB,GAAuB;YAC7C,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,KAAK,EAAE;oCACL;wCACE,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,YAAY;wCACrB,MAAM,EAAE,kBAAkB;qCAC3B;iCACF;gCACD,cAAc,EAAE,EAAE;gCAClB,QAAQ,EAAE,WAAW;gCACrB,KAAK,EAAE;oCACL,aAAa,EAAE,IAAI;oCACnB,IAAI,EAAE,WAAW;oCACjB,SAAS,EAAE,IAAI;oCACf,SAAS,EAAE,aAAa;iCACzB;6BACF;4BACD,YAAY,EAAE,eAAe;yBAC9B;qBACF;oBACD,YAAY,EAAE,wBAAwB;iBACvC;aACF;YACD,qBAAqB,EACnB,6JAA6J;YAC/J,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,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,2BAA2B,CAAC,0BAA0B,CAChF,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,kBAAkB,GAAuB;YAC7C,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,KAAK,EAAE;oCACL;wCACE,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,YAAY;wCACrB,MAAM,EAAE,kBAAkB;qCAC3B;iCACF;gCACD,cAAc,EAAE,EAAE;gCAClB,QAAQ,EAAE,WAAW;gCACrB,KAAK,EAAE;oCACL,aAAa,EAAE,IAAI;oCACnB,IAAI,EAAE,WAAW;oCACjB,SAAS,EAAE,IAAI;oCACf,SAAS,EAAE,aAAa;iCACzB;6BACF;4BACD,YAAY,EAAE,eAAe;yBAC9B;qBACF;oBACD,YAAY,EAAE,wBAAwB;iBACvC;aACF;YACD,qBAAqB,EACnB,6JAA6J;YAC/J,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,CACnB,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an IoT Connector FHIR destination.
17
17
  *
18
18
  * @summary Deletes an IoT Connector FHIR destination.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
20
20
  */
21
21
  function deleteAnIoTConnectorDestination() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the properties of the specified Iot Connector FHIR destination.
17
17
  *
18
18
  * @summary Gets the properties of the specified Iot Connector FHIR destination.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json
20
20
  */
21
21
  function getAnIoTConnectorDestination() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates an IoT Connector resource with the specified parameters.
17
17
  *
18
18
  * @summary Creates or updates an IoT Connector resource with the specified parameters.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Create.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Create.json
20
20
  */
21
21
  function createAnIoTConnector() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -38,28 +38,28 @@ function createAnIoTConnector() {
38
38
  {
39
39
  required: "true",
40
40
  valueExpression: "$.heartrate",
41
- valueName: "hr"
42
- }
43
- ]
41
+ valueName: "hr",
42
+ },
43
+ ],
44
44
  },
45
- templateType: "JsonPathContent"
46
- }
45
+ templateType: "JsonPathContent",
46
+ },
47
47
  ],
48
- templateType: "CollectionContent"
49
- }
48
+ templateType: "CollectionContent",
49
+ },
50
50
  },
51
51
  identity: { type: "SystemAssigned" },
52
52
  ingestionEndpointConfiguration: {
53
53
  consumerGroup: "ConsumerGroupA",
54
54
  eventHubName: "MyEventHubName",
55
- fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net"
55
+ fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net",
56
56
  },
57
57
  location: "westus",
58
58
  tags: {
59
59
  additionalProp1: "string",
60
60
  additionalProp2: "string",
61
- additionalProp3: "string"
62
- }
61
+ additionalProp3: "string",
62
+ },
63
63
  };
64
64
  const credential = new DefaultAzureCredential();
65
65
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ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C,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"iotConnectorsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,YAAY,GAAiB;YACjC,aAAa,EAAE;gBACb,OAAO,EAAE;oBACP,QAAQ,EAAE;wBACR;4BACE,QAAQ,EAAE;gCACR,kBAAkB,EAAE,YAAY;gCAChC,mBAAmB,EAAE,uBAAuB;gCAC5C,mBAAmB,EAAE,oBAAoB;gCACzC,QAAQ,EAAE,WAAW;gCACrB,MAAM,EAAE;oCACN;wCACE,QAAQ,EAAE,MAAM;wCAChB,eAAe,EAAE,aAAa;wCAC9B,SAAS,EAAE,IAAI;qCAChB;iCACF;6BACF;4BACD,YAAY,EAAE,iBAAiB;yBAChC;qBACF;oBACD,YAAY,EAAE,mBAAmB;iBAClC;aACF;YACD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,8BAA8B,EAAE;gBAC9B,aAAa,EAAE,gBAAgB;gBAC/B,YAAY,EAAE,gBAAgB;gBAC9B,+BAA+B,EAAE,oCAAoC;aACtE;YACD,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE;gBACJ,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;gBACzB,eAAe,EAAE,QAAQ;aAC1B;SACF,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,aAAa,CAAC,0BAA0B,CAClE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an IoT Connector.
17
17
  *
18
18
  * @summary Deletes an IoT Connector.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Delete.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Delete.json
20
20
  */
21
21
  function deleteAnIoTConnector() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the properties of the specified IoT Connector.
17
17
  *
18
18
  * @summary Gets the properties of the specified IoT Connector.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Get.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json
20
20
  */
21
21
  function getAnIoTConnector() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all IoT Connectors for the given workspace
17
17
  *
18
18
  * @summary Lists all IoT Connectors for the given workspace
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_List.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_List.json
20
20
  */
21
21
  function listIotconnectors() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Patch an IoT Connector.
17
17
  *
18
18
  * @summary Patch an IoT Connector.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/iotconnectors/iotconnector_Patch.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Patch.json
20
20
  */
21
21
  function patchAnIoTConnector() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -29,8 +29,8 @@ function patchAnIoTConnector() {
29
29
  tags: {
30
30
  additionalProp1: "string",
31
31
  additionalProp2: "string",
32
- additionalProp3: "string"
33
- }
32
+ additionalProp3: "string",
33
+ },
34
34
  };
35
35
  const credential = new DefaultAzureCredential();
36
36
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"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AK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the operation result for a long running operation.
17
17
  *
18
18
  * @summary Get the operation result for a long running operation.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/OperationResultsGet.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/OperationResultsGet.json
20
20
  */
21
21
  function getOperationResult() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all of the available operations supported by Microsoft Healthcare resource provider.
17
17
  *
18
18
  * @summary Lists all of the available operations supported by Microsoft Healthcare resource provider.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/OperationsList.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/OperationsList.json
20
20
  */
21
21
  function listOperations() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update the state of the specified private endpoint connection associated with the service.
17
17
  *
18
18
  * @summary Update the state of the specified private endpoint connection associated with the service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json
20
20
  */
21
21
  function privateEndpointConnectionCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -27,8 +27,8 @@ function privateEndpointConnectionCreateOrUpdate() {
27
27
  const properties = {
28
28
  privateLinkServiceConnectionState: {
29
29
  description: "Auto-Approved",
30
- status: "Approved"
31
- }
30
+ status: "Approved",
31
+ },
32
32
  };
33
33
  const credential = new DefaultAzureCredential();
34
34
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,UAAU;aACnB;SACF,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,0BAA0B,CAAC,0BAA0B,CAC/E,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,QAAQ,CAAC;QAC3D,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,6BAA6B,GAAG,cAAc,CAAC;QACrD,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,UAAU;aACnB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAChE,iBAAiB,EACjB,YAAY,EACZ,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a private endpoint connection.
17
17
  *
18
18
  * @summary Deletes a private endpoint connection.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDeletePrivateEndpointConnection.json
20
20
  */
21
21
  function privateEndpointConnectionsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the specified private endpoint connection associated with the service.
17
17
  *
18
18
  * @summary Gets the specified private endpoint connection associated with the service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceGetPrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json
20
20
  */
21
21
  function privateEndpointConnectionGetConnection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all private endpoint connections for a service.
17
17
  *
18
18
  * @summary Lists all private endpoint connections for a service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/ServiceListPrivateEndpointConnections.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListPrivateEndpointConnections.json
20
20
  */
21
21
  function privateEndpointConnectionList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a private link resource that need to be created for a service.
17
17
  *
18
18
  * @summary Gets a private link resource that need to be created for a service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/PrivateLinkResourceGet.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json
20
20
  */
21
21
  function privateLinkResourcesGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the private link resources that need to be created for a service.
17
17
  *
18
18
  * @summary Gets the private link resources that need to be created for a service.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/legacy/PrivateLinkResourcesListByService.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourcesListByService.json
20
20
  */
21
21
  function privateLinkResourcesListGroupIds() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
11
+ import { HealthcareApisManagementClient, } from "@azure/arm-healthcareapis";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,14 +16,14 @@ dotenv.config();
16
16
  * This sample demonstrates how to Check if a service instance name is available.
17
17
  *
18
18
  * @summary Check if a service instance name is available.
19
- * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-11-01/examples/CheckNameAvailabilityPost.json
19
+ * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/CheckNameAvailabilityPost.json
20
20
  */
21
21
  function checkNameAvailability() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HEALTHCAREAPIS_SUBSCRIPTION_ID"] || "subid";
24
24
  const checkNameAvailabilityInputs = {
25
25
  name: "serviceName",
26
- type: "Microsoft.HealthcareApis/services"
26
+ type: "Microsoft.HealthcareApis/services",
27
27
  };
28
28
  const credential = new DefaultAzureCredential();
29
29
  const client = new HealthcareApisManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"servicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/servicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,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,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"servicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/servicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,OAAO,CAAC;QAC3D,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,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}