@azure/arm-healthcareapis 2.2.1-alpha.20231113.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +27 -8
- package/LICENSE +1 -1
- package/dist/index.js +524 -231
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +11 -4
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +28 -9
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +11 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +10 -3
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +10 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +65 -8
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +29 -4
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +10 -3
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +11 -4
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.d.ts +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +3 -3
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +95 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -10
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +237 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +4 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts +4 -4
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +38 -27
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +0 -1
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts +4 -4
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +38 -27
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +31 -23
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +38 -27
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +4 -4
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +31 -16
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +29 -21
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +31 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js +111 -0
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -0
- package/package.json +13 -10
- package/review/arm-healthcareapis.api.md +74 -29
- package/src/healthcareApisManagementClient.ts +3 -3
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +103 -30
- package/src/models/mappers.ts +253 -33
- package/src/models/parameters.ts +4 -1
- package/src/operations/dicomServices.ts +41 -32
- package/src/operations/fhirDestinations.ts +0 -1
- package/src/operations/fhirServices.ts +41 -32
- package/src/operations/iotConnectorFhirDestination.ts +28 -21
- package/src/operations/iotConnectors.ts +41 -32
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -21
- package/src/operations/services.ts +46 -33
- package/src/operations/workspacePrivateEndpointConnections.ts +28 -23
- package/src/operations/workspaces.ts +46 -33
- package/src/operationsInterfaces/dicomServices.ts +6 -6
- package/src/operationsInterfaces/fhirServices.ts +6 -6
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +4 -4
- package/src/operationsInterfaces/iotConnectors.ts +6 -6
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/services.ts +6 -6
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +4 -6
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-healthcareapis.d.ts +110 -37
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/checkNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailability.js +0 -33
- package/dist-esm/samples-dev/checkNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js +0 -62
- package/dist-esm/samples-dev/createOrUpdateAServiceWithAllParameters.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js +0 -39
- package/dist-esm/samples-dev/createOrUpdateAServiceWithMinimumParameters.js.map +0 -1
- package/dist-esm/samples-dev/deleteService.d.ts +0 -2
- package/dist-esm/samples-dev/deleteService.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteService.js +0 -31
- package/dist-esm/samples-dev/deleteService.js.map +0 -1
- package/dist-esm/samples-dev/getMetadata.d.ts +0 -2
- package/dist-esm/samples-dev/getMetadata.d.ts.map +0 -1
- package/dist-esm/samples-dev/getMetadata.js +0 -31
- package/dist-esm/samples-dev/getMetadata.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResult.js +0 -31
- package/dist-esm/samples-dev/getOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +0 -46
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listAllServicesInSubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +0 -45
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -45
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/patchService.d.ts +0 -2
- package/dist-esm/samples-dev/patchService.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchService.js +0 -34
- package/dist-esm/samples-dev/patchService.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionCreateOrUpdate.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionGetConnection.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionList.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +0 -32
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js +0 -31
- package/dist-esm/samples-dev/privateLinkResourcesListGroupIds.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
14
14
|
import * as Parameters from "../models/parameters";
|
15
15
|
import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
|
16
|
-
import {
|
17
|
-
|
16
|
+
import {
|
17
|
+
SimplePollerLike,
|
18
|
+
OperationState,
|
19
|
+
createHttpPoller
|
20
|
+
} from "@azure/core-lro";
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
18
22
|
import {
|
19
23
|
ServicesDescription,
|
20
24
|
ServicesListNextOptionalParams,
|
@@ -204,8 +208,8 @@ export class ServicesImpl implements Services {
|
|
204
208
|
serviceDescription: ServicesDescription,
|
205
209
|
options?: ServicesCreateOrUpdateOptionalParams
|
206
210
|
): Promise<
|
207
|
-
|
208
|
-
|
211
|
+
SimplePollerLike<
|
212
|
+
OperationState<ServicesCreateOrUpdateResponse>,
|
209
213
|
ServicesCreateOrUpdateResponse
|
210
214
|
>
|
211
215
|
> {
|
@@ -215,7 +219,7 @@ export class ServicesImpl implements Services {
|
|
215
219
|
): Promise<ServicesCreateOrUpdateResponse> => {
|
216
220
|
return this.client.sendOperationRequest(args, spec);
|
217
221
|
};
|
218
|
-
const
|
222
|
+
const sendOperationFn = async (
|
219
223
|
args: coreClient.OperationArguments,
|
220
224
|
spec: coreClient.OperationSpec
|
221
225
|
) => {
|
@@ -248,13 +252,16 @@ export class ServicesImpl implements Services {
|
|
248
252
|
};
|
249
253
|
};
|
250
254
|
|
251
|
-
const lro =
|
252
|
-
|
253
|
-
{ resourceGroupName, resourceName, serviceDescription, options },
|
254
|
-
createOrUpdateOperationSpec
|
255
|
-
);
|
256
|
-
const poller =
|
257
|
-
|
255
|
+
const lro = createLroSpec({
|
256
|
+
sendOperationFn,
|
257
|
+
args: { resourceGroupName, resourceName, serviceDescription, options },
|
258
|
+
spec: createOrUpdateOperationSpec
|
259
|
+
});
|
260
|
+
const poller = await createHttpPoller<
|
261
|
+
ServicesCreateOrUpdateResponse,
|
262
|
+
OperationState<ServicesCreateOrUpdateResponse>
|
263
|
+
>(lro, {
|
264
|
+
restoreFrom: options?.resumeFrom,
|
258
265
|
intervalInMs: options?.updateIntervalInMs
|
259
266
|
});
|
260
267
|
await poller.poll();
|
@@ -296,8 +303,8 @@ export class ServicesImpl implements Services {
|
|
296
303
|
servicePatchDescription: ServicesPatchDescription,
|
297
304
|
options?: ServicesUpdateOptionalParams
|
298
305
|
): Promise<
|
299
|
-
|
300
|
-
|
306
|
+
SimplePollerLike<
|
307
|
+
OperationState<ServicesUpdateResponse>,
|
301
308
|
ServicesUpdateResponse
|
302
309
|
>
|
303
310
|
> {
|
@@ -307,7 +314,7 @@ export class ServicesImpl implements Services {
|
|
307
314
|
): Promise<ServicesUpdateResponse> => {
|
308
315
|
return this.client.sendOperationRequest(args, spec);
|
309
316
|
};
|
310
|
-
const
|
317
|
+
const sendOperationFn = async (
|
311
318
|
args: coreClient.OperationArguments,
|
312
319
|
spec: coreClient.OperationSpec
|
313
320
|
) => {
|
@@ -340,13 +347,21 @@ export class ServicesImpl implements Services {
|
|
340
347
|
};
|
341
348
|
};
|
342
349
|
|
343
|
-
const lro =
|
344
|
-
|
345
|
-
{
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
+
const lro = createLroSpec({
|
351
|
+
sendOperationFn,
|
352
|
+
args: {
|
353
|
+
resourceGroupName,
|
354
|
+
resourceName,
|
355
|
+
servicePatchDescription,
|
356
|
+
options
|
357
|
+
},
|
358
|
+
spec: updateOperationSpec
|
359
|
+
});
|
360
|
+
const poller = await createHttpPoller<
|
361
|
+
ServicesUpdateResponse,
|
362
|
+
OperationState<ServicesUpdateResponse>
|
363
|
+
>(lro, {
|
364
|
+
restoreFrom: options?.resumeFrom,
|
350
365
|
intervalInMs: options?.updateIntervalInMs
|
351
366
|
});
|
352
367
|
await poller.poll();
|
@@ -385,14 +400,14 @@ export class ServicesImpl implements Services {
|
|
385
400
|
resourceGroupName: string,
|
386
401
|
resourceName: string,
|
387
402
|
options?: ServicesDeleteOptionalParams
|
388
|
-
): Promise<
|
403
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
389
404
|
const directSendOperation = async (
|
390
405
|
args: coreClient.OperationArguments,
|
391
406
|
spec: coreClient.OperationSpec
|
392
407
|
): Promise<void> => {
|
393
408
|
return this.client.sendOperationRequest(args, spec);
|
394
409
|
};
|
395
|
-
const
|
410
|
+
const sendOperationFn = async (
|
396
411
|
args: coreClient.OperationArguments,
|
397
412
|
spec: coreClient.OperationSpec
|
398
413
|
) => {
|
@@ -425,13 +440,13 @@ export class ServicesImpl implements Services {
|
|
425
440
|
};
|
426
441
|
};
|
427
442
|
|
428
|
-
const lro =
|
429
|
-
|
430
|
-
{ resourceGroupName, resourceName, options },
|
431
|
-
deleteOperationSpec
|
432
|
-
);
|
433
|
-
const poller =
|
434
|
-
|
443
|
+
const lro = createLroSpec({
|
444
|
+
sendOperationFn,
|
445
|
+
args: { resourceGroupName, resourceName, options },
|
446
|
+
spec: deleteOperationSpec
|
447
|
+
});
|
448
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
449
|
+
restoreFrom: options?.resumeFrom,
|
435
450
|
intervalInMs: options?.updateIntervalInMs
|
436
451
|
});
|
437
452
|
await poller.poll();
|
@@ -712,7 +727,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
712
727
|
bodyMapper: Mappers.ErrorDetails
|
713
728
|
}
|
714
729
|
},
|
715
|
-
queryParameters: [Parameters.apiVersion],
|
716
730
|
urlParameters: [
|
717
731
|
Parameters.$host,
|
718
732
|
Parameters.subscriptionId,
|
@@ -732,7 +746,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
732
746
|
bodyMapper: Mappers.ErrorDetails
|
733
747
|
}
|
734
748
|
},
|
735
|
-
queryParameters: [Parameters.apiVersion],
|
736
749
|
urlParameters: [
|
737
750
|
Parameters.$host,
|
738
751
|
Parameters.subscriptionId,
|
@@ -12,8 +12,12 @@ import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
13
13
|
import * as Parameters from "../models/parameters";
|
14
14
|
import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
|
15
|
-
import {
|
16
|
-
|
15
|
+
import {
|
16
|
+
SimplePollerLike,
|
17
|
+
OperationState,
|
18
|
+
createHttpPoller
|
19
|
+
} from "@azure/core-lro";
|
20
|
+
import { createLroSpec } from "../lroImpl";
|
17
21
|
import {
|
18
22
|
PrivateEndpointConnectionDescription,
|
19
23
|
WorkspacePrivateEndpointConnectionsListByWorkspaceOptionalParams,
|
@@ -163,10 +167,8 @@ export class WorkspacePrivateEndpointConnectionsImpl
|
|
163
167
|
properties: PrivateEndpointConnectionDescription,
|
164
168
|
options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
165
169
|
): Promise<
|
166
|
-
|
167
|
-
|
168
|
-
WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse
|
169
|
-
>,
|
170
|
+
SimplePollerLike<
|
171
|
+
OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>,
|
170
172
|
WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse
|
171
173
|
>
|
172
174
|
> {
|
@@ -176,7 +178,7 @@ export class WorkspacePrivateEndpointConnectionsImpl
|
|
176
178
|
): Promise<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse> => {
|
177
179
|
return this.client.sendOperationRequest(args, spec);
|
178
180
|
};
|
179
|
-
const
|
181
|
+
const sendOperationFn = async (
|
180
182
|
args: coreClient.OperationArguments,
|
181
183
|
spec: coreClient.OperationSpec
|
182
184
|
) => {
|
@@ -209,19 +211,22 @@ export class WorkspacePrivateEndpointConnectionsImpl
|
|
209
211
|
};
|
210
212
|
};
|
211
213
|
|
212
|
-
const lro =
|
213
|
-
|
214
|
-
{
|
214
|
+
const lro = createLroSpec({
|
215
|
+
sendOperationFn,
|
216
|
+
args: {
|
215
217
|
resourceGroupName,
|
216
218
|
workspaceName,
|
217
219
|
privateEndpointConnectionName,
|
218
220
|
properties,
|
219
221
|
options
|
220
222
|
},
|
221
|
-
createOrUpdateOperationSpec
|
222
|
-
);
|
223
|
-
const poller =
|
224
|
-
|
223
|
+
spec: createOrUpdateOperationSpec
|
224
|
+
});
|
225
|
+
const poller = await createHttpPoller<
|
226
|
+
WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse,
|
227
|
+
OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>
|
228
|
+
>(lro, {
|
229
|
+
restoreFrom: options?.resumeFrom,
|
225
230
|
intervalInMs: options?.updateIntervalInMs
|
226
231
|
});
|
227
232
|
await poller.poll();
|
@@ -267,14 +272,14 @@ export class WorkspacePrivateEndpointConnectionsImpl
|
|
267
272
|
workspaceName: string,
|
268
273
|
privateEndpointConnectionName: string,
|
269
274
|
options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams
|
270
|
-
): Promise<
|
275
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
271
276
|
const directSendOperation = async (
|
272
277
|
args: coreClient.OperationArguments,
|
273
278
|
spec: coreClient.OperationSpec
|
274
279
|
): Promise<void> => {
|
275
280
|
return this.client.sendOperationRequest(args, spec);
|
276
281
|
};
|
277
|
-
const
|
282
|
+
const sendOperationFn = async (
|
278
283
|
args: coreClient.OperationArguments,
|
279
284
|
spec: coreClient.OperationSpec
|
280
285
|
) => {
|
@@ -307,18 +312,18 @@ export class WorkspacePrivateEndpointConnectionsImpl
|
|
307
312
|
};
|
308
313
|
};
|
309
314
|
|
310
|
-
const lro =
|
311
|
-
|
312
|
-
{
|
315
|
+
const lro = createLroSpec({
|
316
|
+
sendOperationFn,
|
317
|
+
args: {
|
313
318
|
resourceGroupName,
|
314
319
|
workspaceName,
|
315
320
|
privateEndpointConnectionName,
|
316
321
|
options
|
317
322
|
},
|
318
|
-
deleteOperationSpec
|
319
|
-
);
|
320
|
-
const poller =
|
321
|
-
|
323
|
+
spec: deleteOperationSpec
|
324
|
+
});
|
325
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
326
|
+
restoreFrom: options?.resumeFrom,
|
322
327
|
intervalInMs: options?.updateIntervalInMs
|
323
328
|
});
|
324
329
|
await poller.poll();
|
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
14
14
|
import * as Parameters from "../models/parameters";
|
15
15
|
import { HealthcareApisManagementClient } from "../healthcareApisManagementClient";
|
16
|
-
import {
|
17
|
-
|
16
|
+
import {
|
17
|
+
SimplePollerLike,
|
18
|
+
OperationState,
|
19
|
+
createHttpPoller
|
20
|
+
} from "@azure/core-lro";
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
18
22
|
import {
|
19
23
|
Workspace,
|
20
24
|
WorkspacesListBySubscriptionNextOptionalParams,
|
@@ -229,8 +233,8 @@ export class WorkspacesImpl implements Workspaces {
|
|
229
233
|
workspace: Workspace,
|
230
234
|
options?: WorkspacesCreateOrUpdateOptionalParams
|
231
235
|
): Promise<
|
232
|
-
|
233
|
-
|
236
|
+
SimplePollerLike<
|
237
|
+
OperationState<WorkspacesCreateOrUpdateResponse>,
|
234
238
|
WorkspacesCreateOrUpdateResponse
|
235
239
|
>
|
236
240
|
> {
|
@@ -240,7 +244,7 @@ export class WorkspacesImpl implements Workspaces {
|
|
240
244
|
): Promise<WorkspacesCreateOrUpdateResponse> => {
|
241
245
|
return this.client.sendOperationRequest(args, spec);
|
242
246
|
};
|
243
|
-
const
|
247
|
+
const sendOperationFn = async (
|
244
248
|
args: coreClient.OperationArguments,
|
245
249
|
spec: coreClient.OperationSpec
|
246
250
|
) => {
|
@@ -273,13 +277,16 @@ export class WorkspacesImpl implements Workspaces {
|
|
273
277
|
};
|
274
278
|
};
|
275
279
|
|
276
|
-
const lro =
|
277
|
-
|
278
|
-
{ resourceGroupName, workspaceName, workspace, options },
|
279
|
-
createOrUpdateOperationSpec
|
280
|
-
);
|
281
|
-
const poller =
|
282
|
-
|
280
|
+
const lro = createLroSpec({
|
281
|
+
sendOperationFn,
|
282
|
+
args: { resourceGroupName, workspaceName, workspace, options },
|
283
|
+
spec: createOrUpdateOperationSpec
|
284
|
+
});
|
285
|
+
const poller = await createHttpPoller<
|
286
|
+
WorkspacesCreateOrUpdateResponse,
|
287
|
+
OperationState<WorkspacesCreateOrUpdateResponse>
|
288
|
+
>(lro, {
|
289
|
+
restoreFrom: options?.resumeFrom,
|
283
290
|
intervalInMs: options?.updateIntervalInMs
|
284
291
|
});
|
285
292
|
await poller.poll();
|
@@ -321,8 +328,8 @@ export class WorkspacesImpl implements Workspaces {
|
|
321
328
|
workspacePatchResource: WorkspacePatchResource,
|
322
329
|
options?: WorkspacesUpdateOptionalParams
|
323
330
|
): Promise<
|
324
|
-
|
325
|
-
|
331
|
+
SimplePollerLike<
|
332
|
+
OperationState<WorkspacesUpdateResponse>,
|
326
333
|
WorkspacesUpdateResponse
|
327
334
|
>
|
328
335
|
> {
|
@@ -332,7 +339,7 @@ export class WorkspacesImpl implements Workspaces {
|
|
332
339
|
): Promise<WorkspacesUpdateResponse> => {
|
333
340
|
return this.client.sendOperationRequest(args, spec);
|
334
341
|
};
|
335
|
-
const
|
342
|
+
const sendOperationFn = async (
|
336
343
|
args: coreClient.OperationArguments,
|
337
344
|
spec: coreClient.OperationSpec
|
338
345
|
) => {
|
@@ -365,13 +372,21 @@ export class WorkspacesImpl implements Workspaces {
|
|
365
372
|
};
|
366
373
|
};
|
367
374
|
|
368
|
-
const lro =
|
369
|
-
|
370
|
-
{
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
+
const lro = createLroSpec({
|
376
|
+
sendOperationFn,
|
377
|
+
args: {
|
378
|
+
resourceGroupName,
|
379
|
+
workspaceName,
|
380
|
+
workspacePatchResource,
|
381
|
+
options
|
382
|
+
},
|
383
|
+
spec: updateOperationSpec
|
384
|
+
});
|
385
|
+
const poller = await createHttpPoller<
|
386
|
+
WorkspacesUpdateResponse,
|
387
|
+
OperationState<WorkspacesUpdateResponse>
|
388
|
+
>(lro, {
|
389
|
+
restoreFrom: options?.resumeFrom,
|
375
390
|
intervalInMs: options?.updateIntervalInMs
|
376
391
|
});
|
377
392
|
await poller.poll();
|
@@ -410,14 +425,14 @@ export class WorkspacesImpl implements Workspaces {
|
|
410
425
|
resourceGroupName: string,
|
411
426
|
workspaceName: string,
|
412
427
|
options?: WorkspacesDeleteOptionalParams
|
413
|
-
): Promise<
|
428
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
414
429
|
const directSendOperation = async (
|
415
430
|
args: coreClient.OperationArguments,
|
416
431
|
spec: coreClient.OperationSpec
|
417
432
|
): Promise<void> => {
|
418
433
|
return this.client.sendOperationRequest(args, spec);
|
419
434
|
};
|
420
|
-
const
|
435
|
+
const sendOperationFn = async (
|
421
436
|
args: coreClient.OperationArguments,
|
422
437
|
spec: coreClient.OperationSpec
|
423
438
|
) => {
|
@@ -450,13 +465,13 @@ export class WorkspacesImpl implements Workspaces {
|
|
450
465
|
};
|
451
466
|
};
|
452
467
|
|
453
|
-
const lro =
|
454
|
-
|
455
|
-
{ resourceGroupName, workspaceName, options },
|
456
|
-
deleteOperationSpec
|
457
|
-
);
|
458
|
-
const poller =
|
459
|
-
|
468
|
+
const lro = createLroSpec({
|
469
|
+
sendOperationFn,
|
470
|
+
args: { resourceGroupName, workspaceName, options },
|
471
|
+
spec: deleteOperationSpec
|
472
|
+
});
|
473
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
474
|
+
restoreFrom: options?.resumeFrom,
|
460
475
|
intervalInMs: options?.updateIntervalInMs
|
461
476
|
});
|
462
477
|
await poller.poll();
|
@@ -677,7 +692,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
677
692
|
bodyMapper: Mappers.ErrorDetails
|
678
693
|
}
|
679
694
|
},
|
680
|
-
queryParameters: [Parameters.apiVersion],
|
681
695
|
urlParameters: [
|
682
696
|
Parameters.$host,
|
683
697
|
Parameters.subscriptionId,
|
@@ -697,7 +711,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
697
711
|
bodyMapper: Mappers.ErrorDetails
|
698
712
|
}
|
699
713
|
},
|
700
|
-
queryParameters: [Parameters.apiVersion],
|
701
714
|
urlParameters: [
|
702
715
|
Parameters.$host,
|
703
716
|
Parameters.subscriptionId,
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
DicomService,
|
13
13
|
DicomServicesListByWorkspaceOptionalParams,
|
@@ -63,8 +63,8 @@ export interface DicomServices {
|
|
63
63
|
dicomservice: DicomService,
|
64
64
|
options?: DicomServicesCreateOrUpdateOptionalParams
|
65
65
|
): Promise<
|
66
|
-
|
67
|
-
|
66
|
+
SimplePollerLike<
|
67
|
+
OperationState<DicomServicesCreateOrUpdateResponse>,
|
68
68
|
DicomServicesCreateOrUpdateResponse
|
69
69
|
>
|
70
70
|
>;
|
@@ -98,8 +98,8 @@ export interface DicomServices {
|
|
98
98
|
dicomservicePatchResource: DicomServicePatchResource,
|
99
99
|
options?: DicomServicesUpdateOptionalParams
|
100
100
|
): Promise<
|
101
|
-
|
102
|
-
|
101
|
+
SimplePollerLike<
|
102
|
+
OperationState<DicomServicesUpdateResponse>,
|
103
103
|
DicomServicesUpdateResponse
|
104
104
|
>
|
105
105
|
>;
|
@@ -130,7 +130,7 @@ export interface DicomServices {
|
|
130
130
|
dicomServiceName: string,
|
131
131
|
workspaceName: string,
|
132
132
|
options?: DicomServicesDeleteOptionalParams
|
133
|
-
): Promise<
|
133
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
134
134
|
/**
|
135
135
|
* Deletes a DICOM Service.
|
136
136
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
FhirService,
|
13
13
|
FhirServicesListByWorkspaceOptionalParams,
|
@@ -63,8 +63,8 @@ export interface FhirServices {
|
|
63
63
|
fhirservice: FhirService,
|
64
64
|
options?: FhirServicesCreateOrUpdateOptionalParams
|
65
65
|
): Promise<
|
66
|
-
|
67
|
-
|
66
|
+
SimplePollerLike<
|
67
|
+
OperationState<FhirServicesCreateOrUpdateResponse>,
|
68
68
|
FhirServicesCreateOrUpdateResponse
|
69
69
|
>
|
70
70
|
>;
|
@@ -98,8 +98,8 @@ export interface FhirServices {
|
|
98
98
|
fhirservicePatchResource: FhirServicePatchResource,
|
99
99
|
options?: FhirServicesUpdateOptionalParams
|
100
100
|
): Promise<
|
101
|
-
|
102
|
-
|
101
|
+
SimplePollerLike<
|
102
|
+
OperationState<FhirServicesUpdateResponse>,
|
103
103
|
FhirServicesUpdateResponse
|
104
104
|
>
|
105
105
|
>;
|
@@ -130,7 +130,7 @@ export interface FhirServices {
|
|
130
130
|
fhirServiceName: string,
|
131
131
|
workspaceName: string,
|
132
132
|
options?: FhirServicesDeleteOptionalParams
|
133
|
-
): Promise<
|
133
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
134
134
|
/**
|
135
135
|
* Deletes a FHIR Service.
|
136
136
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
|
9
|
-
import {
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
10
10
|
import {
|
11
11
|
IotConnectorFhirDestinationGetOptionalParams,
|
12
12
|
IotConnectorFhirDestinationGetResponse,
|
@@ -51,8 +51,8 @@ export interface IotConnectorFhirDestination {
|
|
51
51
|
iotFhirDestination: IotFhirDestination,
|
52
52
|
options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams
|
53
53
|
): Promise<
|
54
|
-
|
55
|
-
|
54
|
+
SimplePollerLike<
|
55
|
+
OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>,
|
56
56
|
IotConnectorFhirDestinationCreateOrUpdateResponse
|
57
57
|
>
|
58
58
|
>;
|
@@ -88,7 +88,7 @@ export interface IotConnectorFhirDestination {
|
|
88
88
|
iotConnectorName: string,
|
89
89
|
fhirDestinationName: string,
|
90
90
|
options?: IotConnectorFhirDestinationDeleteOptionalParams
|
91
|
-
): Promise<
|
91
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
92
92
|
/**
|
93
93
|
* Deletes an IoT Connector FHIR destination.
|
94
94
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
IotConnector,
|
13
13
|
IotConnectorsListByWorkspaceOptionalParams,
|
@@ -63,8 +63,8 @@ export interface IotConnectors {
|
|
63
63
|
iotConnector: IotConnector,
|
64
64
|
options?: IotConnectorsCreateOrUpdateOptionalParams
|
65
65
|
): Promise<
|
66
|
-
|
67
|
-
|
66
|
+
SimplePollerLike<
|
67
|
+
OperationState<IotConnectorsCreateOrUpdateResponse>,
|
68
68
|
IotConnectorsCreateOrUpdateResponse
|
69
69
|
>
|
70
70
|
>;
|
@@ -98,8 +98,8 @@ export interface IotConnectors {
|
|
98
98
|
iotConnectorPatchResource: IotConnectorPatchResource,
|
99
99
|
options?: IotConnectorsUpdateOptionalParams
|
100
100
|
): Promise<
|
101
|
-
|
102
|
-
|
101
|
+
SimplePollerLike<
|
102
|
+
OperationState<IotConnectorsUpdateResponse>,
|
103
103
|
IotConnectorsUpdateResponse
|
104
104
|
>
|
105
105
|
>;
|
@@ -130,7 +130,7 @@ export interface IotConnectors {
|
|
130
130
|
iotConnectorName: string,
|
131
131
|
workspaceName: string,
|
132
132
|
options?: IotConnectorsDeleteOptionalParams
|
133
|
-
): Promise<
|
133
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
134
134
|
/**
|
135
135
|
* Deletes an IoT Connector.
|
136
136
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
PrivateEndpointConnectionDescription,
|
13
13
|
PrivateEndpointConnectionsListByServiceOptionalParams,
|
@@ -63,8 +63,8 @@ export interface PrivateEndpointConnections {
|
|
63
63
|
properties: PrivateEndpointConnection,
|
64
64
|
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
65
65
|
): Promise<
|
66
|
-
|
67
|
-
|
66
|
+
SimplePollerLike<
|
67
|
+
OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
68
68
|
PrivateEndpointConnectionsCreateOrUpdateResponse
|
69
69
|
>
|
70
70
|
>;
|
@@ -97,7 +97,7 @@ export interface PrivateEndpointConnections {
|
|
97
97
|
resourceName: string,
|
98
98
|
privateEndpointConnectionName: string,
|
99
99
|
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
100
|
-
): Promise<
|
100
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
101
101
|
/**
|
102
102
|
* Deletes a private endpoint connection.
|
103
103
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
ServicesDescription,
|
13
13
|
ServicesListOptionalParams,
|
@@ -68,8 +68,8 @@ export interface Services {
|
|
68
68
|
serviceDescription: ServicesDescription,
|
69
69
|
options?: ServicesCreateOrUpdateOptionalParams
|
70
70
|
): Promise<
|
71
|
-
|
72
|
-
|
71
|
+
SimplePollerLike<
|
72
|
+
OperationState<ServicesCreateOrUpdateResponse>,
|
73
73
|
ServicesCreateOrUpdateResponse
|
74
74
|
>
|
75
75
|
>;
|
@@ -99,8 +99,8 @@ export interface Services {
|
|
99
99
|
servicePatchDescription: ServicesPatchDescription,
|
100
100
|
options?: ServicesUpdateOptionalParams
|
101
101
|
): Promise<
|
102
|
-
|
103
|
-
|
102
|
+
SimplePollerLike<
|
103
|
+
OperationState<ServicesUpdateResponse>,
|
104
104
|
ServicesUpdateResponse
|
105
105
|
>
|
106
106
|
>;
|
@@ -127,7 +127,7 @@ export interface Services {
|
|
127
127
|
resourceGroupName: string,
|
128
128
|
resourceName: string,
|
129
129
|
options?: ServicesDeleteOptionalParams
|
130
|
-
): Promise<
|
130
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
131
131
|
/**
|
132
132
|
* Delete a service instance.
|
133
133
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
PrivateEndpointConnectionDescription,
|
13
13
|
WorkspacePrivateEndpointConnectionsListByWorkspaceOptionalParams,
|
@@ -62,10 +62,8 @@ export interface WorkspacePrivateEndpointConnections {
|
|
62
62
|
properties: PrivateEndpointConnectionDescription,
|
63
63
|
options?: WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
64
64
|
): Promise<
|
65
|
-
|
66
|
-
|
67
|
-
WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse
|
68
|
-
>,
|
65
|
+
SimplePollerLike<
|
66
|
+
OperationState<WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse>,
|
69
67
|
WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse
|
70
68
|
>
|
71
69
|
>;
|
@@ -98,7 +96,7 @@ export interface WorkspacePrivateEndpointConnections {
|
|
98
96
|
workspaceName: string,
|
99
97
|
privateEndpointConnectionName: string,
|
100
98
|
options?: WorkspacePrivateEndpointConnectionsDeleteOptionalParams
|
101
|
-
): Promise<
|
99
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
102
100
|
/**
|
103
101
|
* Deletes a private endpoint connection.
|
104
102
|
* @param resourceGroupName The name of the resource group that contains the service instance.
|