@azure/arm-healthcareapis 2.0.0 → 2.1.1-alpha.20220330.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +161 -0
- package/README.md +11 -0
- package/dist/index.js +4828 -844
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +33 -0
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dicomServicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dicomServicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dicomServicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dicomServicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dicomServicesGetSample.js +32 -0
- package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +45 -0
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/dicomServicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dicomServicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +46 -0
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +60 -0
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirServicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirServicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirServicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirServicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirServicesGetSample.js +32 -0
- package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +45 -0
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/fhirServicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fhirServicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +65 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +33 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +33 -0
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +69 -0
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +32 -0
- package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +45 -0
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +40 -0
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationResultsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationResultsGetSample.js +31 -0
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +31 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +33 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +88 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesGetSample.js +31 -0
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSample.js +43 -0
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUpdateSample.js +34 -0
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +45 -0
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +45 -0
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +32 -0
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.js +31 -0
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js +34 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -0
- package/dist-esm/src/healthcareApisManagementClient.d.ts +11 -3
- package/dist-esm/src/healthcareApisManagementClient.d.ts.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +15 -6
- package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +821 -57
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +43 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +45 -4
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1241 -110
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +17 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +126 -16
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts +99 -0
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -0
- package/dist-esm/src/operations/dicomServices.js +435 -0
- package/dist-esm/src/operations/dicomServices.js.map +1 -0
- package/dist-esm/src/operations/fhirDestinations.d.ts +41 -0
- package/dist-esm/src/operations/fhirDestinations.d.ts.map +1 -0
- package/dist-esm/src/operations/fhirDestinations.js +142 -0
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -0
- package/dist-esm/src/operations/fhirServices.d.ts +99 -0
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -0
- package/dist-esm/src/operations/fhirServices.js +435 -0
- package/dist-esm/src/operations/fhirServices.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +10 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +10 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +63 -0
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -0
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +251 -0
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -0
- package/dist-esm/src/operations/iotConnectors.d.ts +99 -0
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/iotConnectors.js +435 -0
- package/dist-esm/src/operations/iotConnectors.js.map +1 -0
- package/dist-esm/src/operations/operationResults.js +0 -3
- package/dist-esm/src/operations/operationResults.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +4 -4
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +9 -3
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +78 -0
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +318 -0
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts +38 -0
- package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/workspacePrivateLinkResources.js +131 -0
- package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +107 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +506 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dicomServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/dicomServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fhirDestinations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/fhirDestinations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fhirDestinations.js +9 -0
- package/dist-esm/src/operationsInterfaces/fhirDestinations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fhirServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/fhirServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +10 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspacePrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/package.json +24 -12
- package/review/arm-healthcareapis.api.md +731 -9
- package/rollup.config.js +6 -72
- package/src/healthcareApisManagementClient.ts +52 -13
- package/src/models/index.ts +968 -67
- package/src/models/mappers.ts +1374 -134
- package/src/models/parameters.ts +151 -16
- package/src/operations/dicomServices.ts +626 -0
- package/src/operations/fhirDestinations.ts +204 -0
- package/src/operations/fhirServices.ts +626 -0
- package/src/operations/index.ts +10 -2
- package/src/operations/iotConnectorFhirDestination.ts +360 -0
- package/src/operations/iotConnectors.ts +626 -0
- package/src/operations/operationResults.ts +0 -3
- package/src/operations/operations.ts +8 -8
- package/src/operations/privateEndpointConnections.ts +6 -2
- package/src/operations/services.ts +9 -3
- package/src/operations/workspacePrivateEndpointConnections.ts +450 -0
- package/src/operations/workspacePrivateLinkResources.ts +180 -0
- package/src/operations/workspaces.ts +680 -0
- package/src/operationsInterfaces/dicomServices.ts +147 -0
- package/src/operationsInterfaces/fhirDestinations.ts +31 -0
- package/src/operationsInterfaces/fhirServices.ts +147 -0
- package/src/operationsInterfaces/index.ts +10 -2
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +107 -0
- package/src/operationsInterfaces/iotConnectors.ts +147 -0
- package/src/operationsInterfaces/operations.ts +3 -3
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +116 -0
- package/src/operationsInterfaces/workspacePrivateLinkResources.ts +44 -0
- package/src/operationsInterfaces/workspaces.ts +139 -0
- package/tsconfig.json +18 -5
- package/types/arm-healthcareapis.d.ts +1346 -30
@@ -0,0 +1,60 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Creates or updates a FHIR Service resource with the specified parameters.
|
15
|
+
*
|
16
|
+
* @summary Creates or updates a FHIR Service resource with the specified parameters.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Create.json
|
18
|
+
*/
|
19
|
+
function createOrUpdateAFhirService() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const fhirServiceName = "fhirservice1";
|
25
|
+
const fhirservice = {
|
26
|
+
accessPolicies: [
|
27
|
+
{ objectId: "c487e7d1-3210-41a3-8ccc-e9372b78da47" },
|
28
|
+
{ objectId: "5b307da8-43d4-492b-8b66-b0294ade872f" }
|
29
|
+
],
|
30
|
+
acrConfiguration: { loginServers: ["test1.azurecr.io"] },
|
31
|
+
authenticationConfiguration: {
|
32
|
+
audience: "https://azurehealthcareapis.com",
|
33
|
+
authority: "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
|
34
|
+
smartProxyEnabled: true
|
35
|
+
},
|
36
|
+
corsConfiguration: {
|
37
|
+
allowCredentials: false,
|
38
|
+
headers: ["*"],
|
39
|
+
maxAge: 1440,
|
40
|
+
methods: ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
|
41
|
+
origins: ["*"]
|
42
|
+
},
|
43
|
+
exportConfiguration: { storageAccountName: "existingStorageAccount" },
|
44
|
+
identity: { type: "SystemAssigned" },
|
45
|
+
kind: "fhir-R4",
|
46
|
+
location: "westus",
|
47
|
+
tags: {
|
48
|
+
additionalProp1: "string",
|
49
|
+
additionalProp2: "string",
|
50
|
+
additionalProp3: "string"
|
51
|
+
}
|
52
|
+
};
|
53
|
+
const credential = new DefaultAzureCredential();
|
54
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
55
|
+
const result = yield client.fhirServices.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, fhirServiceName, fhirservice);
|
56
|
+
console.log(result);
|
57
|
+
});
|
58
|
+
}
|
59
|
+
createOrUpdateAFhirService().catch(console.error);
|
60
|
+
//# sourceMappingURL=fhirServicesCreateOrUpdateSample.js.map
|
@@ -0,0 +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;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,WAAW,GAAgB;YAC/B,cAAc,EAAE;gBACd,EAAE,QAAQ,EAAE,sCAAsC,EAAE;gBACpD,EAAE,QAAQ,EAAE,sCAAsC,EAAE;aACrD;YACD,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,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,wBAAwB,EAAE;YACrE,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,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,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Deletes a FHIR Service.
|
15
|
+
*
|
16
|
+
* @summary Deletes a FHIR Service.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Delete.json
|
18
|
+
*/
|
19
|
+
function deleteAFhirService() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const fhirServiceName = "fhirservice1";
|
24
|
+
const workspaceName = "workspace1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
+
const result = yield client.fhirServices.beginDeleteAndWait(resourceGroupName, fhirServiceName, workspaceName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
deleteAFhirService().catch(console.error);
|
32
|
+
//# sourceMappingURL=fhirServicesDeleteSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,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,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets the properties of the specified FHIR Service.
|
15
|
+
*
|
16
|
+
* @summary Gets the properties of the specified FHIR Service.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Get.json
|
18
|
+
*/
|
19
|
+
function getAFhirService() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const fhirServiceName = "fhirservices1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
+
const result = yield client.fhirServices.get(resourceGroupName, workspaceName, fhirServiceName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
getAFhirService().catch(console.error);
|
32
|
+
//# sourceMappingURL=fhirServicesGetSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,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,GAAG,CAC1C,iBAAiB,EACjB,aAAa,EACb,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesListByWorkspaceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Lists all FHIR Services for the given workspace
|
15
|
+
*
|
16
|
+
* @summary Lists all FHIR Services for the given workspace
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_List.json
|
18
|
+
*/
|
19
|
+
function listFhirservices() {
|
20
|
+
var e_1, _a;
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
22
|
+
const subscriptionId = "subid";
|
23
|
+
const resourceGroupName = "testRG";
|
24
|
+
const workspaceName = "workspace1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
+
const resArray = new Array();
|
28
|
+
try {
|
29
|
+
for (var _b = __asyncValues(client.fhirServices.listByWorkspace(resourceGroupName, workspaceName)), _c; _c = yield _b.next(), !_c.done;) {
|
30
|
+
let item = _c.value;
|
31
|
+
resArray.push(item);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
|
+
finally {
|
36
|
+
try {
|
37
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
38
|
+
}
|
39
|
+
finally { if (e_1) throw e_1.error; }
|
40
|
+
}
|
41
|
+
console.log(resArray);
|
42
|
+
});
|
43
|
+
}
|
44
|
+
listFhirservices().catch(console.error);
|
45
|
+
//# sourceMappingURL=fhirServicesListByWorkspaceSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/fhirServicesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gBAAgB;;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,eAAe,CACxD,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fhirServicesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fhirServicesUpdateSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Patch FHIR Service details.
|
15
|
+
*
|
16
|
+
* @summary Patch FHIR Service details.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Patch.json
|
18
|
+
*/
|
19
|
+
function updateAFhirService() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const fhirServiceName = "fhirservice1";
|
24
|
+
const workspaceName = "workspace1";
|
25
|
+
const fhirservicePatchResource = {
|
26
|
+
tags: { tagKey: "tagValue" }
|
27
|
+
};
|
28
|
+
const credential = new DefaultAzureCredential();
|
29
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
30
|
+
const result = yield client.fhirServices.beginUpdateAndWait(resourceGroupName, fhirServiceName, workspaceName, fhirservicePatchResource);
|
31
|
+
console.log(result);
|
32
|
+
});
|
33
|
+
}
|
34
|
+
updateAFhirService().catch(console.error);
|
35
|
+
//# sourceMappingURL=fhirServicesUpdateSample.js.map
|
@@ -0,0 +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;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,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,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
15
|
+
*
|
16
|
+
* @summary Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json
|
18
|
+
*/
|
19
|
+
function createOrUpdateAnIotConnectorFhirDestination() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const iotConnectorName = "blue";
|
25
|
+
const fhirDestinationName = "dest1";
|
26
|
+
const iotFhirDestination = {
|
27
|
+
fhirMapping: {
|
28
|
+
content: {
|
29
|
+
template: [
|
30
|
+
{
|
31
|
+
template: {
|
32
|
+
codes: [
|
33
|
+
{
|
34
|
+
code: "8867-4",
|
35
|
+
display: "Heart rate",
|
36
|
+
system: "http://loinc.org"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
periodInterval: 60,
|
40
|
+
typeName: "heartrate",
|
41
|
+
value: {
|
42
|
+
defaultPeriod: 5000,
|
43
|
+
unit: "count/min",
|
44
|
+
valueName: "hr",
|
45
|
+
valueType: "SampledData"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
templateType: "CodeValueFhir"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
templateType: "CollectionFhirTemplate"
|
52
|
+
}
|
53
|
+
},
|
54
|
+
fhirServiceResourceId: "subscriptions/11111111-2222-3333-4444-555566667777/resourceGroups/myrg/providers/Microsoft.HealthcareApis/workspaces/myworkspace/fhirservices/myfhirservice",
|
55
|
+
location: "westus",
|
56
|
+
resourceIdentityResolutionType: "Create"
|
57
|
+
};
|
58
|
+
const credential = new DefaultAzureCredential();
|
59
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
60
|
+
const result = yield client.iotConnectorFhirDestination.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName, iotFhirDestination);
|
61
|
+
console.log(result);
|
62
|
+
});
|
63
|
+
}
|
64
|
+
createOrUpdateAnIotConnectorFhirDestination().catch(console.error);
|
65
|
+
//# sourceMappingURL=iotConnectorFhirDestinationCreateOrUpdateSample.js.map
|
@@ -0,0 +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;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,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,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Deletes an IoT Connector FHIR destination.
|
15
|
+
*
|
16
|
+
* @summary Deletes an IoT Connector FHIR destination.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json
|
18
|
+
*/
|
19
|
+
function deleteAnIoTConnectorDestination() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const iotConnectorName = "blue";
|
25
|
+
const fhirDestinationName = "dest1";
|
26
|
+
const credential = new DefaultAzureCredential();
|
27
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
28
|
+
const result = yield client.iotConnectorFhirDestination.beginDeleteAndWait(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName);
|
29
|
+
console.log(result);
|
30
|
+
});
|
31
|
+
}
|
32
|
+
deleteAnIoTConnectorDestination().catch(console.error);
|
33
|
+
//# sourceMappingURL=iotConnectorFhirDestinationDeleteSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,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,kBAAkB,CACxE,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets the properties of the specified Iot Connector FHIR destination.
|
15
|
+
*
|
16
|
+
* @summary Gets the properties of the specified Iot Connector FHIR destination.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json
|
18
|
+
*/
|
19
|
+
function getAnIoTConnectorDestination() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const iotConnectorName = "blue";
|
25
|
+
const fhirDestinationName = "dest1";
|
26
|
+
const credential = new DefaultAzureCredential();
|
27
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
28
|
+
const result = yield client.iotConnectorFhirDestination.get(resourceGroupName, workspaceName, iotConnectorName, fhirDestinationName);
|
29
|
+
console.log(result);
|
30
|
+
});
|
31
|
+
}
|
32
|
+
getAnIoTConnectorDestination().catch(console.error);
|
33
|
+
//# sourceMappingURL=iotConnectorFhirDestinationGetSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorFhirDestinationGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorFhirDestinationGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,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,GAAG,CACzD,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Creates or updates an IoT Connector resource with the specified parameters.
|
15
|
+
*
|
16
|
+
* @summary Creates or updates an IoT Connector resource with the specified parameters.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Create.json
|
18
|
+
*/
|
19
|
+
function createAnIoTConnector() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const iotConnectorName = "blue";
|
25
|
+
const iotConnector = {
|
26
|
+
deviceMapping: {
|
27
|
+
content: {
|
28
|
+
template: [
|
29
|
+
{
|
30
|
+
template: {
|
31
|
+
deviceIdExpression: "$.deviceid",
|
32
|
+
timestampExpression: "$.measurementdatetime",
|
33
|
+
typeMatchExpression: "$..[?(@heartrate)]",
|
34
|
+
typeName: "heartrate",
|
35
|
+
values: [
|
36
|
+
{
|
37
|
+
required: "true",
|
38
|
+
valueExpression: "$.heartrate",
|
39
|
+
valueName: "hr"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
},
|
43
|
+
templateType: "JsonPathContent"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
templateType: "CollectionContent"
|
47
|
+
}
|
48
|
+
},
|
49
|
+
identity: { type: "SystemAssigned" },
|
50
|
+
ingestionEndpointConfiguration: {
|
51
|
+
consumerGroup: "ConsumerGroupA",
|
52
|
+
eventHubName: "MyEventHubName",
|
53
|
+
fullyQualifiedEventHubNamespace: "myeventhub.servicesbus.windows.net"
|
54
|
+
},
|
55
|
+
location: "westus",
|
56
|
+
tags: {
|
57
|
+
additionalProp1: "string",
|
58
|
+
additionalProp2: "string",
|
59
|
+
additionalProp3: "string"
|
60
|
+
}
|
61
|
+
};
|
62
|
+
const credential = new DefaultAzureCredential();
|
63
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
64
|
+
const result = yield client.iotConnectors.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, iotConnectorName, iotConnector);
|
65
|
+
console.log(result);
|
66
|
+
});
|
67
|
+
}
|
68
|
+
createAnIoTConnector().catch(console.error);
|
69
|
+
//# sourceMappingURL=iotConnectorsCreateOrUpdateSample.js.map
|
@@ -0,0 +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;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,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,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Deletes an IoT Connector.
|
15
|
+
*
|
16
|
+
* @summary Deletes an IoT Connector.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Delete.json
|
18
|
+
*/
|
19
|
+
function deleteAnIoTConnector() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const iotConnectorName = "blue";
|
24
|
+
const workspaceName = "workspace1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
+
const result = yield client.iotConnectors.beginDeleteAndWait(resourceGroupName, iotConnectorName, workspaceName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
deleteAnIoTConnector().catch(console.error);
|
32
|
+
//# sourceMappingURL=iotConnectorsDeleteSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,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,kBAAkB,CAC1D,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsGetSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets the properties of the specified IoT Connector.
|
15
|
+
*
|
16
|
+
* @summary Gets the properties of the specified IoT Connector.
|
17
|
+
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Get.json
|
18
|
+
*/
|
19
|
+
function getAnIoTConnector() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "testRG";
|
23
|
+
const workspaceName = "workspace1";
|
24
|
+
const iotConnectorName = "blue";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
|
+
const result = yield client.iotConnectors.get(resourceGroupName, workspaceName, iotConnectorName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
getAnIoTConnector().catch(console.error);
|
32
|
+
//# sourceMappingURL=iotConnectorsGetSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsGetSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,MAAM,CAAC;QAChC,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,GAAG,CAC3C,iBAAiB,EACjB,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iotConnectorsListByWorkspaceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/iotConnectorsListByWorkspaceSample.ts"],"names":[],"mappings":""}
|