@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,626 @@
|
|
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
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { IotConnectors } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
13
|
+
import * as Parameters from "../models/parameters";
|
14
|
+
import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
16
|
+
import { LroImpl } from "../lroImpl";
|
17
|
+
import {
|
18
|
+
IotConnector,
|
19
|
+
IotConnectorsListByWorkspaceNextOptionalParams,
|
20
|
+
IotConnectorsListByWorkspaceOptionalParams,
|
21
|
+
IotConnectorsListByWorkspaceResponse,
|
22
|
+
IotConnectorsGetOptionalParams,
|
23
|
+
IotConnectorsGetResponse,
|
24
|
+
IotConnectorsCreateOrUpdateOptionalParams,
|
25
|
+
IotConnectorsCreateOrUpdateResponse,
|
26
|
+
IotConnectorPatchResource,
|
27
|
+
IotConnectorsUpdateOptionalParams,
|
28
|
+
IotConnectorsUpdateResponse,
|
29
|
+
IotConnectorsDeleteOptionalParams,
|
30
|
+
IotConnectorsListByWorkspaceNextResponse
|
31
|
+
} from "../models";
|
32
|
+
|
33
|
+
/// <reference lib="esnext.asynciterable" />
|
34
|
+
/** Class containing IotConnectors operations. */
|
35
|
+
export class IotConnectorsImpl implements IotConnectors {
|
36
|
+
private readonly client: HealthcareApisManagementClient;
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Initialize a new instance of the class IotConnectors class.
|
40
|
+
* @param client Reference to the service client
|
41
|
+
*/
|
42
|
+
constructor(client: HealthcareApisManagementClient) {
|
43
|
+
this.client = client;
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Lists all IoT Connectors for the given workspace
|
48
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
49
|
+
* @param workspaceName The name of workspace resource.
|
50
|
+
* @param options The options parameters.
|
51
|
+
*/
|
52
|
+
public listByWorkspace(
|
53
|
+
resourceGroupName: string,
|
54
|
+
workspaceName: string,
|
55
|
+
options?: IotConnectorsListByWorkspaceOptionalParams
|
56
|
+
): PagedAsyncIterableIterator<IotConnector> {
|
57
|
+
const iter = this.listByWorkspacePagingAll(
|
58
|
+
resourceGroupName,
|
59
|
+
workspaceName,
|
60
|
+
options
|
61
|
+
);
|
62
|
+
return {
|
63
|
+
next() {
|
64
|
+
return iter.next();
|
65
|
+
},
|
66
|
+
[Symbol.asyncIterator]() {
|
67
|
+
return this;
|
68
|
+
},
|
69
|
+
byPage: () => {
|
70
|
+
return this.listByWorkspacePagingPage(
|
71
|
+
resourceGroupName,
|
72
|
+
workspaceName,
|
73
|
+
options
|
74
|
+
);
|
75
|
+
}
|
76
|
+
};
|
77
|
+
}
|
78
|
+
|
79
|
+
private async *listByWorkspacePagingPage(
|
80
|
+
resourceGroupName: string,
|
81
|
+
workspaceName: string,
|
82
|
+
options?: IotConnectorsListByWorkspaceOptionalParams
|
83
|
+
): AsyncIterableIterator<IotConnector[]> {
|
84
|
+
let result = await this._listByWorkspace(
|
85
|
+
resourceGroupName,
|
86
|
+
workspaceName,
|
87
|
+
options
|
88
|
+
);
|
89
|
+
yield result.value || [];
|
90
|
+
let continuationToken = result.nextLink;
|
91
|
+
while (continuationToken) {
|
92
|
+
result = await this._listByWorkspaceNext(
|
93
|
+
resourceGroupName,
|
94
|
+
workspaceName,
|
95
|
+
continuationToken,
|
96
|
+
options
|
97
|
+
);
|
98
|
+
continuationToken = result.nextLink;
|
99
|
+
yield result.value || [];
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
private async *listByWorkspacePagingAll(
|
104
|
+
resourceGroupName: string,
|
105
|
+
workspaceName: string,
|
106
|
+
options?: IotConnectorsListByWorkspaceOptionalParams
|
107
|
+
): AsyncIterableIterator<IotConnector> {
|
108
|
+
for await (const page of this.listByWorkspacePagingPage(
|
109
|
+
resourceGroupName,
|
110
|
+
workspaceName,
|
111
|
+
options
|
112
|
+
)) {
|
113
|
+
yield* page;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
/**
|
118
|
+
* Lists all IoT Connectors for the given workspace
|
119
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
120
|
+
* @param workspaceName The name of workspace resource.
|
121
|
+
* @param options The options parameters.
|
122
|
+
*/
|
123
|
+
private _listByWorkspace(
|
124
|
+
resourceGroupName: string,
|
125
|
+
workspaceName: string,
|
126
|
+
options?: IotConnectorsListByWorkspaceOptionalParams
|
127
|
+
): Promise<IotConnectorsListByWorkspaceResponse> {
|
128
|
+
return this.client.sendOperationRequest(
|
129
|
+
{ resourceGroupName, workspaceName, options },
|
130
|
+
listByWorkspaceOperationSpec
|
131
|
+
);
|
132
|
+
}
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Gets the properties of the specified IoT Connector.
|
136
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
137
|
+
* @param workspaceName The name of workspace resource.
|
138
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
139
|
+
* @param options The options parameters.
|
140
|
+
*/
|
141
|
+
get(
|
142
|
+
resourceGroupName: string,
|
143
|
+
workspaceName: string,
|
144
|
+
iotConnectorName: string,
|
145
|
+
options?: IotConnectorsGetOptionalParams
|
146
|
+
): Promise<IotConnectorsGetResponse> {
|
147
|
+
return this.client.sendOperationRequest(
|
148
|
+
{ resourceGroupName, workspaceName, iotConnectorName, options },
|
149
|
+
getOperationSpec
|
150
|
+
);
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Creates or updates an IoT Connector resource with the specified parameters.
|
155
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
156
|
+
* @param workspaceName The name of workspace resource.
|
157
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
158
|
+
* @param iotConnector The parameters for creating or updating an IoT Connectors resource.
|
159
|
+
* @param options The options parameters.
|
160
|
+
*/
|
161
|
+
async beginCreateOrUpdate(
|
162
|
+
resourceGroupName: string,
|
163
|
+
workspaceName: string,
|
164
|
+
iotConnectorName: string,
|
165
|
+
iotConnector: IotConnector,
|
166
|
+
options?: IotConnectorsCreateOrUpdateOptionalParams
|
167
|
+
): Promise<
|
168
|
+
PollerLike<
|
169
|
+
PollOperationState<IotConnectorsCreateOrUpdateResponse>,
|
170
|
+
IotConnectorsCreateOrUpdateResponse
|
171
|
+
>
|
172
|
+
> {
|
173
|
+
const directSendOperation = async (
|
174
|
+
args: coreClient.OperationArguments,
|
175
|
+
spec: coreClient.OperationSpec
|
176
|
+
): Promise<IotConnectorsCreateOrUpdateResponse> => {
|
177
|
+
return this.client.sendOperationRequest(args, spec);
|
178
|
+
};
|
179
|
+
const sendOperation = async (
|
180
|
+
args: coreClient.OperationArguments,
|
181
|
+
spec: coreClient.OperationSpec
|
182
|
+
) => {
|
183
|
+
let currentRawResponse:
|
184
|
+
| coreClient.FullOperationResponse
|
185
|
+
| undefined = undefined;
|
186
|
+
const providedCallback = args.options?.onResponse;
|
187
|
+
const callback: coreClient.RawResponseCallback = (
|
188
|
+
rawResponse: coreClient.FullOperationResponse,
|
189
|
+
flatResponse: unknown
|
190
|
+
) => {
|
191
|
+
currentRawResponse = rawResponse;
|
192
|
+
providedCallback?.(rawResponse, flatResponse);
|
193
|
+
};
|
194
|
+
const updatedArgs = {
|
195
|
+
...args,
|
196
|
+
options: {
|
197
|
+
...args.options,
|
198
|
+
onResponse: callback
|
199
|
+
}
|
200
|
+
};
|
201
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
202
|
+
return {
|
203
|
+
flatResponse,
|
204
|
+
rawResponse: {
|
205
|
+
statusCode: currentRawResponse!.status,
|
206
|
+
body: currentRawResponse!.parsedBody,
|
207
|
+
headers: currentRawResponse!.headers.toJSON()
|
208
|
+
}
|
209
|
+
};
|
210
|
+
};
|
211
|
+
|
212
|
+
const lro = new LroImpl(
|
213
|
+
sendOperation,
|
214
|
+
{
|
215
|
+
resourceGroupName,
|
216
|
+
workspaceName,
|
217
|
+
iotConnectorName,
|
218
|
+
iotConnector,
|
219
|
+
options
|
220
|
+
},
|
221
|
+
createOrUpdateOperationSpec
|
222
|
+
);
|
223
|
+
const poller = new LroEngine(lro, {
|
224
|
+
resumeFrom: options?.resumeFrom,
|
225
|
+
intervalInMs: options?.updateIntervalInMs
|
226
|
+
});
|
227
|
+
await poller.poll();
|
228
|
+
return poller;
|
229
|
+
}
|
230
|
+
|
231
|
+
/**
|
232
|
+
* Creates or updates an IoT Connector resource with the specified parameters.
|
233
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
234
|
+
* @param workspaceName The name of workspace resource.
|
235
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
236
|
+
* @param iotConnector The parameters for creating or updating an IoT Connectors resource.
|
237
|
+
* @param options The options parameters.
|
238
|
+
*/
|
239
|
+
async beginCreateOrUpdateAndWait(
|
240
|
+
resourceGroupName: string,
|
241
|
+
workspaceName: string,
|
242
|
+
iotConnectorName: string,
|
243
|
+
iotConnector: IotConnector,
|
244
|
+
options?: IotConnectorsCreateOrUpdateOptionalParams
|
245
|
+
): Promise<IotConnectorsCreateOrUpdateResponse> {
|
246
|
+
const poller = await this.beginCreateOrUpdate(
|
247
|
+
resourceGroupName,
|
248
|
+
workspaceName,
|
249
|
+
iotConnectorName,
|
250
|
+
iotConnector,
|
251
|
+
options
|
252
|
+
);
|
253
|
+
return poller.pollUntilDone();
|
254
|
+
}
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Patch an IoT Connector.
|
258
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
259
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
260
|
+
* @param workspaceName The name of workspace resource.
|
261
|
+
* @param iotConnectorPatchResource The parameters for updating an IoT Connector.
|
262
|
+
* @param options The options parameters.
|
263
|
+
*/
|
264
|
+
async beginUpdate(
|
265
|
+
resourceGroupName: string,
|
266
|
+
iotConnectorName: string,
|
267
|
+
workspaceName: string,
|
268
|
+
iotConnectorPatchResource: IotConnectorPatchResource,
|
269
|
+
options?: IotConnectorsUpdateOptionalParams
|
270
|
+
): Promise<
|
271
|
+
PollerLike<
|
272
|
+
PollOperationState<IotConnectorsUpdateResponse>,
|
273
|
+
IotConnectorsUpdateResponse
|
274
|
+
>
|
275
|
+
> {
|
276
|
+
const directSendOperation = async (
|
277
|
+
args: coreClient.OperationArguments,
|
278
|
+
spec: coreClient.OperationSpec
|
279
|
+
): Promise<IotConnectorsUpdateResponse> => {
|
280
|
+
return this.client.sendOperationRequest(args, spec);
|
281
|
+
};
|
282
|
+
const sendOperation = async (
|
283
|
+
args: coreClient.OperationArguments,
|
284
|
+
spec: coreClient.OperationSpec
|
285
|
+
) => {
|
286
|
+
let currentRawResponse:
|
287
|
+
| coreClient.FullOperationResponse
|
288
|
+
| undefined = undefined;
|
289
|
+
const providedCallback = args.options?.onResponse;
|
290
|
+
const callback: coreClient.RawResponseCallback = (
|
291
|
+
rawResponse: coreClient.FullOperationResponse,
|
292
|
+
flatResponse: unknown
|
293
|
+
) => {
|
294
|
+
currentRawResponse = rawResponse;
|
295
|
+
providedCallback?.(rawResponse, flatResponse);
|
296
|
+
};
|
297
|
+
const updatedArgs = {
|
298
|
+
...args,
|
299
|
+
options: {
|
300
|
+
...args.options,
|
301
|
+
onResponse: callback
|
302
|
+
}
|
303
|
+
};
|
304
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
305
|
+
return {
|
306
|
+
flatResponse,
|
307
|
+
rawResponse: {
|
308
|
+
statusCode: currentRawResponse!.status,
|
309
|
+
body: currentRawResponse!.parsedBody,
|
310
|
+
headers: currentRawResponse!.headers.toJSON()
|
311
|
+
}
|
312
|
+
};
|
313
|
+
};
|
314
|
+
|
315
|
+
const lro = new LroImpl(
|
316
|
+
sendOperation,
|
317
|
+
{
|
318
|
+
resourceGroupName,
|
319
|
+
iotConnectorName,
|
320
|
+
workspaceName,
|
321
|
+
iotConnectorPatchResource,
|
322
|
+
options
|
323
|
+
},
|
324
|
+
updateOperationSpec
|
325
|
+
);
|
326
|
+
const poller = new LroEngine(lro, {
|
327
|
+
resumeFrom: options?.resumeFrom,
|
328
|
+
intervalInMs: options?.updateIntervalInMs
|
329
|
+
});
|
330
|
+
await poller.poll();
|
331
|
+
return poller;
|
332
|
+
}
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Patch an IoT Connector.
|
336
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
337
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
338
|
+
* @param workspaceName The name of workspace resource.
|
339
|
+
* @param iotConnectorPatchResource The parameters for updating an IoT Connector.
|
340
|
+
* @param options The options parameters.
|
341
|
+
*/
|
342
|
+
async beginUpdateAndWait(
|
343
|
+
resourceGroupName: string,
|
344
|
+
iotConnectorName: string,
|
345
|
+
workspaceName: string,
|
346
|
+
iotConnectorPatchResource: IotConnectorPatchResource,
|
347
|
+
options?: IotConnectorsUpdateOptionalParams
|
348
|
+
): Promise<IotConnectorsUpdateResponse> {
|
349
|
+
const poller = await this.beginUpdate(
|
350
|
+
resourceGroupName,
|
351
|
+
iotConnectorName,
|
352
|
+
workspaceName,
|
353
|
+
iotConnectorPatchResource,
|
354
|
+
options
|
355
|
+
);
|
356
|
+
return poller.pollUntilDone();
|
357
|
+
}
|
358
|
+
|
359
|
+
/**
|
360
|
+
* Deletes an IoT Connector.
|
361
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
362
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
363
|
+
* @param workspaceName The name of workspace resource.
|
364
|
+
* @param options The options parameters.
|
365
|
+
*/
|
366
|
+
async beginDelete(
|
367
|
+
resourceGroupName: string,
|
368
|
+
iotConnectorName: string,
|
369
|
+
workspaceName: string,
|
370
|
+
options?: IotConnectorsDeleteOptionalParams
|
371
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
372
|
+
const directSendOperation = async (
|
373
|
+
args: coreClient.OperationArguments,
|
374
|
+
spec: coreClient.OperationSpec
|
375
|
+
): Promise<void> => {
|
376
|
+
return this.client.sendOperationRequest(args, spec);
|
377
|
+
};
|
378
|
+
const sendOperation = async (
|
379
|
+
args: coreClient.OperationArguments,
|
380
|
+
spec: coreClient.OperationSpec
|
381
|
+
) => {
|
382
|
+
let currentRawResponse:
|
383
|
+
| coreClient.FullOperationResponse
|
384
|
+
| undefined = undefined;
|
385
|
+
const providedCallback = args.options?.onResponse;
|
386
|
+
const callback: coreClient.RawResponseCallback = (
|
387
|
+
rawResponse: coreClient.FullOperationResponse,
|
388
|
+
flatResponse: unknown
|
389
|
+
) => {
|
390
|
+
currentRawResponse = rawResponse;
|
391
|
+
providedCallback?.(rawResponse, flatResponse);
|
392
|
+
};
|
393
|
+
const updatedArgs = {
|
394
|
+
...args,
|
395
|
+
options: {
|
396
|
+
...args.options,
|
397
|
+
onResponse: callback
|
398
|
+
}
|
399
|
+
};
|
400
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
401
|
+
return {
|
402
|
+
flatResponse,
|
403
|
+
rawResponse: {
|
404
|
+
statusCode: currentRawResponse!.status,
|
405
|
+
body: currentRawResponse!.parsedBody,
|
406
|
+
headers: currentRawResponse!.headers.toJSON()
|
407
|
+
}
|
408
|
+
};
|
409
|
+
};
|
410
|
+
|
411
|
+
const lro = new LroImpl(
|
412
|
+
sendOperation,
|
413
|
+
{ resourceGroupName, iotConnectorName, workspaceName, options },
|
414
|
+
deleteOperationSpec
|
415
|
+
);
|
416
|
+
const poller = new LroEngine(lro, {
|
417
|
+
resumeFrom: options?.resumeFrom,
|
418
|
+
intervalInMs: options?.updateIntervalInMs
|
419
|
+
});
|
420
|
+
await poller.poll();
|
421
|
+
return poller;
|
422
|
+
}
|
423
|
+
|
424
|
+
/**
|
425
|
+
* Deletes an IoT Connector.
|
426
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
427
|
+
* @param iotConnectorName The name of IoT Connector resource.
|
428
|
+
* @param workspaceName The name of workspace resource.
|
429
|
+
* @param options The options parameters.
|
430
|
+
*/
|
431
|
+
async beginDeleteAndWait(
|
432
|
+
resourceGroupName: string,
|
433
|
+
iotConnectorName: string,
|
434
|
+
workspaceName: string,
|
435
|
+
options?: IotConnectorsDeleteOptionalParams
|
436
|
+
): Promise<void> {
|
437
|
+
const poller = await this.beginDelete(
|
438
|
+
resourceGroupName,
|
439
|
+
iotConnectorName,
|
440
|
+
workspaceName,
|
441
|
+
options
|
442
|
+
);
|
443
|
+
return poller.pollUntilDone();
|
444
|
+
}
|
445
|
+
|
446
|
+
/**
|
447
|
+
* ListByWorkspaceNext
|
448
|
+
* @param resourceGroupName The name of the resource group that contains the service instance.
|
449
|
+
* @param workspaceName The name of workspace resource.
|
450
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
451
|
+
* @param options The options parameters.
|
452
|
+
*/
|
453
|
+
private _listByWorkspaceNext(
|
454
|
+
resourceGroupName: string,
|
455
|
+
workspaceName: string,
|
456
|
+
nextLink: string,
|
457
|
+
options?: IotConnectorsListByWorkspaceNextOptionalParams
|
458
|
+
): Promise<IotConnectorsListByWorkspaceNextResponse> {
|
459
|
+
return this.client.sendOperationRequest(
|
460
|
+
{ resourceGroupName, workspaceName, nextLink, options },
|
461
|
+
listByWorkspaceNextOperationSpec
|
462
|
+
);
|
463
|
+
}
|
464
|
+
}
|
465
|
+
// Operation Specifications
|
466
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
467
|
+
|
468
|
+
const listByWorkspaceOperationSpec: coreClient.OperationSpec = {
|
469
|
+
path:
|
470
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors",
|
471
|
+
httpMethod: "GET",
|
472
|
+
responses: {
|
473
|
+
200: {
|
474
|
+
bodyMapper: Mappers.IotConnectorCollection
|
475
|
+
},
|
476
|
+
default: {
|
477
|
+
bodyMapper: Mappers.ErrorDetails
|
478
|
+
}
|
479
|
+
},
|
480
|
+
queryParameters: [Parameters.apiVersion],
|
481
|
+
urlParameters: [
|
482
|
+
Parameters.$host,
|
483
|
+
Parameters.subscriptionId,
|
484
|
+
Parameters.resourceGroupName,
|
485
|
+
Parameters.workspaceName
|
486
|
+
],
|
487
|
+
headerParameters: [Parameters.accept],
|
488
|
+
serializer
|
489
|
+
};
|
490
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
491
|
+
path:
|
492
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}",
|
493
|
+
httpMethod: "GET",
|
494
|
+
responses: {
|
495
|
+
200: {
|
496
|
+
bodyMapper: Mappers.IotConnector
|
497
|
+
},
|
498
|
+
default: {
|
499
|
+
bodyMapper: Mappers.ErrorDetails
|
500
|
+
}
|
501
|
+
},
|
502
|
+
queryParameters: [Parameters.apiVersion],
|
503
|
+
urlParameters: [
|
504
|
+
Parameters.$host,
|
505
|
+
Parameters.subscriptionId,
|
506
|
+
Parameters.resourceGroupName,
|
507
|
+
Parameters.workspaceName,
|
508
|
+
Parameters.iotConnectorName
|
509
|
+
],
|
510
|
+
headerParameters: [Parameters.accept],
|
511
|
+
serializer
|
512
|
+
};
|
513
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
514
|
+
path:
|
515
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}",
|
516
|
+
httpMethod: "PUT",
|
517
|
+
responses: {
|
518
|
+
200: {
|
519
|
+
bodyMapper: Mappers.IotConnector
|
520
|
+
},
|
521
|
+
201: {
|
522
|
+
bodyMapper: Mappers.IotConnector
|
523
|
+
},
|
524
|
+
202: {
|
525
|
+
bodyMapper: Mappers.IotConnector
|
526
|
+
},
|
527
|
+
204: {
|
528
|
+
bodyMapper: Mappers.IotConnector
|
529
|
+
},
|
530
|
+
default: {
|
531
|
+
bodyMapper: Mappers.ErrorDetails
|
532
|
+
}
|
533
|
+
},
|
534
|
+
requestBody: Parameters.iotConnector,
|
535
|
+
queryParameters: [Parameters.apiVersion],
|
536
|
+
urlParameters: [
|
537
|
+
Parameters.$host,
|
538
|
+
Parameters.subscriptionId,
|
539
|
+
Parameters.resourceGroupName,
|
540
|
+
Parameters.workspaceName,
|
541
|
+
Parameters.iotConnectorName
|
542
|
+
],
|
543
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
544
|
+
mediaType: "json",
|
545
|
+
serializer
|
546
|
+
};
|
547
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
548
|
+
path:
|
549
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}",
|
550
|
+
httpMethod: "PATCH",
|
551
|
+
responses: {
|
552
|
+
200: {
|
553
|
+
bodyMapper: Mappers.IotConnector
|
554
|
+
},
|
555
|
+
201: {
|
556
|
+
bodyMapper: Mappers.IotConnector
|
557
|
+
},
|
558
|
+
202: {
|
559
|
+
bodyMapper: Mappers.IotConnector
|
560
|
+
},
|
561
|
+
204: {
|
562
|
+
bodyMapper: Mappers.IotConnector
|
563
|
+
},
|
564
|
+
default: {
|
565
|
+
bodyMapper: Mappers.ErrorDetails
|
566
|
+
}
|
567
|
+
},
|
568
|
+
requestBody: Parameters.iotConnectorPatchResource,
|
569
|
+
queryParameters: [Parameters.apiVersion],
|
570
|
+
urlParameters: [
|
571
|
+
Parameters.$host,
|
572
|
+
Parameters.subscriptionId,
|
573
|
+
Parameters.resourceGroupName,
|
574
|
+
Parameters.workspaceName,
|
575
|
+
Parameters.iotConnectorName
|
576
|
+
],
|
577
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
578
|
+
mediaType: "json",
|
579
|
+
serializer
|
580
|
+
};
|
581
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
582
|
+
path:
|
583
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}",
|
584
|
+
httpMethod: "DELETE",
|
585
|
+
responses: {
|
586
|
+
200: {},
|
587
|
+
201: {},
|
588
|
+
202: {},
|
589
|
+
204: {},
|
590
|
+
default: {
|
591
|
+
bodyMapper: Mappers.ErrorModel
|
592
|
+
}
|
593
|
+
},
|
594
|
+
queryParameters: [Parameters.apiVersion],
|
595
|
+
urlParameters: [
|
596
|
+
Parameters.$host,
|
597
|
+
Parameters.subscriptionId,
|
598
|
+
Parameters.resourceGroupName,
|
599
|
+
Parameters.workspaceName,
|
600
|
+
Parameters.iotConnectorName
|
601
|
+
],
|
602
|
+
headerParameters: [Parameters.accept],
|
603
|
+
serializer
|
604
|
+
};
|
605
|
+
const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {
|
606
|
+
path: "{nextLink}",
|
607
|
+
httpMethod: "GET",
|
608
|
+
responses: {
|
609
|
+
200: {
|
610
|
+
bodyMapper: Mappers.IotConnectorCollection
|
611
|
+
},
|
612
|
+
default: {
|
613
|
+
bodyMapper: Mappers.ErrorDetails
|
614
|
+
}
|
615
|
+
},
|
616
|
+
queryParameters: [Parameters.apiVersion],
|
617
|
+
urlParameters: [
|
618
|
+
Parameters.$host,
|
619
|
+
Parameters.subscriptionId,
|
620
|
+
Parameters.resourceGroupName,
|
621
|
+
Parameters.nextLink,
|
622
|
+
Parameters.workspaceName
|
623
|
+
],
|
624
|
+
headerParameters: [Parameters.accept],
|
625
|
+
serializer
|
626
|
+
};
|
@@ -13,7 +13,7 @@ import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
14
14
|
import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
|
15
15
|
import {
|
16
|
-
|
16
|
+
OperationDetail,
|
17
17
|
OperationsListNextOptionalParams,
|
18
18
|
OperationsListOptionalParams,
|
19
19
|
OperationsListResponse,
|
@@ -34,12 +34,12 @@ export class OperationsImpl implements Operations {
|
|
34
34
|
}
|
35
35
|
|
36
36
|
/**
|
37
|
-
* Lists all of the available
|
37
|
+
* Lists all of the available operations supported by Microsoft Healthcare resource provider.
|
38
38
|
* @param options The options parameters.
|
39
39
|
*/
|
40
40
|
public list(
|
41
41
|
options?: OperationsListOptionalParams
|
42
|
-
): PagedAsyncIterableIterator<
|
42
|
+
): PagedAsyncIterableIterator<OperationDetail> {
|
43
43
|
const iter = this.listPagingAll(options);
|
44
44
|
return {
|
45
45
|
next() {
|
@@ -56,7 +56,7 @@ export class OperationsImpl implements Operations {
|
|
56
56
|
|
57
57
|
private async *listPagingPage(
|
58
58
|
options?: OperationsListOptionalParams
|
59
|
-
): AsyncIterableIterator<
|
59
|
+
): AsyncIterableIterator<OperationDetail[]> {
|
60
60
|
let result = await this._list(options);
|
61
61
|
yield result.value || [];
|
62
62
|
let continuationToken = result.nextLink;
|
@@ -69,14 +69,14 @@ export class OperationsImpl implements Operations {
|
|
69
69
|
|
70
70
|
private async *listPagingAll(
|
71
71
|
options?: OperationsListOptionalParams
|
72
|
-
): AsyncIterableIterator<
|
72
|
+
): AsyncIterableIterator<OperationDetail> {
|
73
73
|
for await (const page of this.listPagingPage(options)) {
|
74
74
|
yield* page;
|
75
75
|
}
|
76
76
|
}
|
77
77
|
|
78
78
|
/**
|
79
|
-
* Lists all of the available
|
79
|
+
* Lists all of the available operations supported by Microsoft Healthcare resource provider.
|
80
80
|
* @param options The options parameters.
|
81
81
|
*/
|
82
82
|
private _list(
|
@@ -108,7 +108,7 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
108
108
|
httpMethod: "GET",
|
109
109
|
responses: {
|
110
110
|
200: {
|
111
|
-
bodyMapper: Mappers.
|
111
|
+
bodyMapper: Mappers.ListOperations
|
112
112
|
},
|
113
113
|
default: {
|
114
114
|
bodyMapper: Mappers.ErrorDetails
|
@@ -124,7 +124,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
124
124
|
httpMethod: "GET",
|
125
125
|
responses: {
|
126
126
|
200: {
|
127
|
-
bodyMapper: Mappers.
|
127
|
+
bodyMapper: Mappers.ListOperations
|
128
128
|
},
|
129
129
|
default: {
|
130
130
|
bodyMapper: Mappers.ErrorDetails
|