@azure/arm-digitaltwins 3.3.1-alpha.20250115.1 → 3.3.1-alpha.20250120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist-esm/src → dist/browser}/azureDigitalTwinsManagementClient.d.ts +2 -2
- package/dist/browser/azureDigitalTwinsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureDigitalTwinsManagementClient.js +15 -18
- package/dist/browser/azureDigitalTwinsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/digitalTwins.d.ts +3 -3
- package/dist/browser/operations/digitalTwins.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/digitalTwins.js +118 -130
- package/dist/browser/operations/digitalTwins.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/digitalTwinsEndpoint.d.ts +3 -3
- package/dist/browser/operations/digitalTwinsEndpoint.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/digitalTwinsEndpoint.js +83 -91
- package/dist/browser/operations/digitalTwinsEndpoint.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +14 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +86 -95
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/timeSeriesDatabaseConnections.d.ts +3 -3
- package/dist/browser/operations/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/timeSeriesDatabaseConnections.js +88 -96
- package/dist/browser/operations/timeSeriesDatabaseConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/digitalTwins.d.ts +1 -1
- package/dist/browser/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/digitalTwins.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/digitalTwinsEndpoint.d.ts +1 -1
- package/dist/browser/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +14 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/timeSeriesDatabaseConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureDigitalTwinsManagementClient.d.ts +25 -0
- package/dist/commonjs/azureDigitalTwinsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureDigitalTwinsManagementClient.js +107 -0
- package/dist/commonjs/azureDigitalTwinsManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-digitaltwins.d.ts → dist/commonjs/models/index.d.ts} +1014 -1438
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +205 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +46 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1192 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +202 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/digitalTwins.d.ts +119 -0
- package/dist/commonjs/operations/digitalTwins.d.ts.map +1 -0
- package/dist/commonjs/operations/digitalTwins.js +584 -0
- package/dist/commonjs/operations/digitalTwins.js.map +1 -0
- package/dist/commonjs/operations/digitalTwinsEndpoint.d.ts +81 -0
- package/dist/commonjs/operations/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/commonjs/operations/digitalTwinsEndpoint.js +366 -0
- package/dist/commonjs/operations/digitalTwinsEndpoint.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +63 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +272 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +28 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +90 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/timeSeriesDatabaseConnections.d.ts +81 -0
- package/dist/commonjs/operations/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/timeSeriesDatabaseConnections.js +379 -0
- package/dist/commonjs/operations/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/digitalTwins.d.ts +83 -0
- package/dist/commonjs/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/digitalTwins.js +10 -0
- package/dist/commonjs/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/digitalTwinsEndpoint.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/digitalTwinsEndpoint.js +10 -0
- package/dist/commonjs/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +55 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/timeSeriesDatabaseConnections.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/timeSeriesDatabaseConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/azureDigitalTwinsManagementClient.d.ts +25 -0
- package/dist/esm/azureDigitalTwinsManagementClient.d.ts.map +1 -0
- package/dist/esm/azureDigitalTwinsManagementClient.js +102 -0
- package/dist/esm/azureDigitalTwinsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1014 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +202 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +46 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1189 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +199 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/digitalTwins.d.ts +119 -0
- package/dist/esm/operations/digitalTwins.d.ts.map +1 -0
- package/dist/esm/operations/digitalTwins.js +580 -0
- package/dist/esm/operations/digitalTwins.js.map +1 -0
- package/dist/esm/operations/digitalTwinsEndpoint.d.ts +81 -0
- package/dist/esm/operations/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/esm/operations/digitalTwinsEndpoint.js +362 -0
- package/dist/esm/operations/digitalTwinsEndpoint.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +63 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +267 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +28 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +85 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/timeSeriesDatabaseConnections.d.ts +81 -0
- package/dist/esm/operations/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/esm/operations/timeSeriesDatabaseConnections.js +375 -0
- package/dist/esm/operations/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/digitalTwins.d.ts +83 -0
- package/dist/esm/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/digitalTwins.js +9 -0
- package/dist/esm/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/esm/operationsInterfaces/digitalTwinsEndpoint.d.ts +56 -0
- package/dist/esm/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/digitalTwinsEndpoint.js +9 -0
- package/dist/esm/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +55 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/timeSeriesDatabaseConnections.d.ts +56 -0
- package/dist/esm/operationsInterfaces/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/timeSeriesDatabaseConnections.js +9 -0
- package/dist/esm/operationsInterfaces/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureDigitalTwinsManagementClient.d.ts +25 -0
- package/dist/react-native/azureDigitalTwinsManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureDigitalTwinsManagementClient.js +102 -0
- package/dist/react-native/azureDigitalTwinsManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1014 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +202 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +46 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1189 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +199 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/digitalTwins.d.ts +119 -0
- package/dist/react-native/operations/digitalTwins.d.ts.map +1 -0
- package/dist/react-native/operations/digitalTwins.js +580 -0
- package/dist/react-native/operations/digitalTwins.js.map +1 -0
- package/dist/react-native/operations/digitalTwinsEndpoint.d.ts +81 -0
- package/dist/react-native/operations/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/react-native/operations/digitalTwinsEndpoint.js +362 -0
- package/dist/react-native/operations/digitalTwinsEndpoint.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +63 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +267 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +28 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +85 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/timeSeriesDatabaseConnections.d.ts +81 -0
- package/dist/react-native/operations/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/react-native/operations/timeSeriesDatabaseConnections.js +375 -0
- package/dist/react-native/operations/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/digitalTwins.d.ts +83 -0
- package/dist/react-native/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/digitalTwins.js +9 -0
- package/dist/react-native/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist/react-native/operationsInterfaces/digitalTwinsEndpoint.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/digitalTwinsEndpoint.js +9 -0
- package/dist/react-native/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +55 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/timeSeriesDatabaseConnections.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/timeSeriesDatabaseConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/timeSeriesDatabaseConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/timeSeriesDatabaseConnections.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -3619
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsCheckNameAvailabilitySample.js +0 -42
- package/dist-esm/samples-dev/digitalTwinsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsCreateOrUpdateSample.js +0 -91
- package/dist-esm/samples-dev/digitalTwinsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsDeleteSample.js +0 -58
- package/dist-esm/samples-dev/digitalTwinsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsEndpointCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointCreateOrUpdateSample.js +0 -108
- package/dist-esm/samples-dev/digitalTwinsEndpointCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsEndpointDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointDeleteSample.js +0 -60
- package/dist-esm/samples-dev/digitalTwinsEndpointDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsEndpointGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointGetSample.js +0 -60
- package/dist-esm/samples-dev/digitalTwinsEndpointGetSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointListSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsEndpointListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsEndpointListSample.js +0 -90
- package/dist-esm/samples-dev/digitalTwinsEndpointListSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsGetSample.js +0 -77
- package/dist-esm/samples-dev/digitalTwinsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/digitalTwinsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsListSample.js +0 -53
- package/dist-esm/samples-dev/digitalTwinsListSample.js.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/digitalTwinsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/digitalTwinsUpdateSample.js +0 -86
- package/dist-esm/samples-dev/digitalTwinsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -48
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -40
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -39
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -40
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +0 -39
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsCreateOrUpdateSample.js +0 -91
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsGetSample.js +0 -40
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsListSample.js +0 -55
- package/dist-esm/samples-dev/timeSeriesDatabaseConnectionsListSample.js.map +0 -1
- package/dist-esm/src/azureDigitalTwinsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureDigitalTwinsManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/digitalTwins.d.ts.map +0 -1
- package/dist-esm/src/operations/digitalTwins.js.map +0 -1
- package/dist-esm/src/operations/digitalTwinsEndpoint.d.ts.map +0 -1
- package/dist-esm/src/operations/digitalTwinsEndpoint.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/timeSeriesDatabaseConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/timeSeriesDatabaseConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/digitalTwins.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/digitalTwins.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/timeSeriesDatabaseConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/timeSeriesDatabaseConnections.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/digitaltwins_examples.spec.d.ts +0 -4
- package/dist-esm/test/digitaltwins_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/digitaltwins_examples.spec.js +0 -112
- package/dist-esm/test/digitaltwins_examples.spec.js.map +0 -1
- package/src/azureDigitalTwinsManagementClient.ts +0 -166
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1151
- package/src/models/mappers.ts +0 -1277
- package/src/models/parameters.ts +0 -231
- package/src/operations/digitalTwins.ts +0 -784
- package/src/operations/digitalTwinsEndpoint.ts +0 -515
- package/src/operations/index.ts +0 -14
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -388
- package/src/operations/privateLinkResources.ts +0 -116
- package/src/operations/timeSeriesDatabaseConnections.ts +0 -529
- package/src/operationsInterfaces/digitalTwins.ts +0 -164
- package/src/operationsInterfaces/digitalTwinsEndpoint.ts +0 -115
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -108
- package/src/operationsInterfaces/privateLinkResources.ts +0 -42
- package/src/operationsInterfaces/timeSeriesDatabaseConnections.ts +0 -115
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/digitalTwins.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/digitalTwinsEndpoint.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/timeSeriesDatabaseConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.DigitalTwinsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing DigitalTwins operations. */
|
|
20
|
+
class DigitalTwinsImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class DigitalTwins class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Get all the DigitalTwinsInstances in a subscription.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(options) {
|
|
33
|
+
const iter = this.listPagingAll(options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listPagingPage(options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listPagingPage(options, settings) {
|
|
50
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield tslib_1.__await(this._list(options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield yield tslib_1.__await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield yield tslib_1.__await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listPagingAll(options) {
|
|
70
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get all the DigitalTwinsInstances in a resource group.
|
|
91
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
95
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
96
|
+
return {
|
|
97
|
+
next() {
|
|
98
|
+
return iter.next();
|
|
99
|
+
},
|
|
100
|
+
[Symbol.asyncIterator]() {
|
|
101
|
+
return this;
|
|
102
|
+
},
|
|
103
|
+
byPage: (settings) => {
|
|
104
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
105
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
|
+
}
|
|
107
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
112
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
113
|
+
let result;
|
|
114
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
115
|
+
if (!continuationToken) {
|
|
116
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
117
|
+
let page = result.value || [];
|
|
118
|
+
continuationToken = result.nextLink;
|
|
119
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
120
|
+
yield yield tslib_1.__await(page);
|
|
121
|
+
}
|
|
122
|
+
while (continuationToken) {
|
|
123
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
124
|
+
continuationToken = result.nextLink;
|
|
125
|
+
let page = result.value || [];
|
|
126
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
127
|
+
yield yield tslib_1.__await(page);
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
132
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
133
|
+
var _a, e_2, _b, _c;
|
|
134
|
+
try {
|
|
135
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
+
_c = _f.value;
|
|
137
|
+
_d = false;
|
|
138
|
+
const page = _c;
|
|
139
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
+
finally {
|
|
144
|
+
try {
|
|
145
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
+
}
|
|
147
|
+
finally { if (e_2) throw e_2.error; }
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Get DigitalTwinsInstances resource.
|
|
153
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
154
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
155
|
+
* @param options The options parameters.
|
|
156
|
+
*/
|
|
157
|
+
get(resourceGroupName, resourceName, options) {
|
|
158
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
162
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
163
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
164
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
165
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
166
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
async beginCreateOrUpdate(resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
170
|
+
const directSendOperation = async (args, spec) => {
|
|
171
|
+
return this.client.sendOperationRequest(args, spec);
|
|
172
|
+
};
|
|
173
|
+
const sendOperationFn = async (args, spec) => {
|
|
174
|
+
var _a;
|
|
175
|
+
let currentRawResponse = undefined;
|
|
176
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
177
|
+
const callback = (rawResponse, flatResponse) => {
|
|
178
|
+
currentRawResponse = rawResponse;
|
|
179
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
180
|
+
};
|
|
181
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
182
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
183
|
+
return {
|
|
184
|
+
flatResponse,
|
|
185
|
+
rawResponse: {
|
|
186
|
+
statusCode: currentRawResponse.status,
|
|
187
|
+
body: currentRawResponse.parsedBody,
|
|
188
|
+
headers: currentRawResponse.headers.toJSON()
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
193
|
+
sendOperationFn,
|
|
194
|
+
args: { resourceGroupName, resourceName, digitalTwinsCreate, options },
|
|
195
|
+
spec: createOrUpdateOperationSpec
|
|
196
|
+
});
|
|
197
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
198
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
199
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
200
|
+
});
|
|
201
|
+
await poller.poll();
|
|
202
|
+
return poller;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
206
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
207
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
208
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
209
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
210
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
214
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, digitalTwinsCreate, options);
|
|
215
|
+
return poller.pollUntilDone();
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Update metadata of DigitalTwinsInstance.
|
|
219
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
220
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
221
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
async beginUpdate(resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
225
|
+
const directSendOperation = async (args, spec) => {
|
|
226
|
+
return this.client.sendOperationRequest(args, spec);
|
|
227
|
+
};
|
|
228
|
+
const sendOperationFn = async (args, spec) => {
|
|
229
|
+
var _a;
|
|
230
|
+
let currentRawResponse = undefined;
|
|
231
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
232
|
+
const callback = (rawResponse, flatResponse) => {
|
|
233
|
+
currentRawResponse = rawResponse;
|
|
234
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
235
|
+
};
|
|
236
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
237
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
238
|
+
return {
|
|
239
|
+
flatResponse,
|
|
240
|
+
rawResponse: {
|
|
241
|
+
statusCode: currentRawResponse.status,
|
|
242
|
+
body: currentRawResponse.parsedBody,
|
|
243
|
+
headers: currentRawResponse.headers.toJSON()
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
248
|
+
sendOperationFn,
|
|
249
|
+
args: {
|
|
250
|
+
resourceGroupName,
|
|
251
|
+
resourceName,
|
|
252
|
+
digitalTwinsPatchDescription,
|
|
253
|
+
options
|
|
254
|
+
},
|
|
255
|
+
spec: updateOperationSpec
|
|
256
|
+
});
|
|
257
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
258
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
259
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
260
|
+
});
|
|
261
|
+
await poller.poll();
|
|
262
|
+
return poller;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Update metadata of DigitalTwinsInstance.
|
|
266
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
267
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
268
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
269
|
+
* @param options The options parameters.
|
|
270
|
+
*/
|
|
271
|
+
async beginUpdateAndWait(resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
272
|
+
const poller = await this.beginUpdate(resourceGroupName, resourceName, digitalTwinsPatchDescription, options);
|
|
273
|
+
return poller.pollUntilDone();
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Delete a DigitalTwinsInstance.
|
|
277
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
278
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
async beginDelete(resourceGroupName, resourceName, options) {
|
|
282
|
+
const directSendOperation = async (args, spec) => {
|
|
283
|
+
return this.client.sendOperationRequest(args, spec);
|
|
284
|
+
};
|
|
285
|
+
const sendOperationFn = async (args, spec) => {
|
|
286
|
+
var _a;
|
|
287
|
+
let currentRawResponse = undefined;
|
|
288
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
289
|
+
const callback = (rawResponse, flatResponse) => {
|
|
290
|
+
currentRawResponse = rawResponse;
|
|
291
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
292
|
+
};
|
|
293
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
294
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
295
|
+
return {
|
|
296
|
+
flatResponse,
|
|
297
|
+
rawResponse: {
|
|
298
|
+
statusCode: currentRawResponse.status,
|
|
299
|
+
body: currentRawResponse.parsedBody,
|
|
300
|
+
headers: currentRawResponse.headers.toJSON()
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
305
|
+
sendOperationFn,
|
|
306
|
+
args: { resourceGroupName, resourceName, options },
|
|
307
|
+
spec: deleteOperationSpec
|
|
308
|
+
});
|
|
309
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
310
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
311
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
312
|
+
});
|
|
313
|
+
await poller.poll();
|
|
314
|
+
return poller;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Delete a DigitalTwinsInstance.
|
|
318
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
319
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
320
|
+
* @param options The options parameters.
|
|
321
|
+
*/
|
|
322
|
+
async beginDeleteAndWait(resourceGroupName, resourceName, options) {
|
|
323
|
+
const poller = await this.beginDelete(resourceGroupName, resourceName, options);
|
|
324
|
+
return poller.pollUntilDone();
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Get all the DigitalTwinsInstances in a subscription.
|
|
328
|
+
* @param options The options parameters.
|
|
329
|
+
*/
|
|
330
|
+
_list(options) {
|
|
331
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Get all the DigitalTwinsInstances in a resource group.
|
|
335
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
336
|
+
* @param options The options parameters.
|
|
337
|
+
*/
|
|
338
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
339
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Check if a DigitalTwinsInstance name is available.
|
|
343
|
+
* @param location Location of DigitalTwinsInstance.
|
|
344
|
+
* @param digitalTwinsInstanceCheckName Set the name parameter in the DigitalTwinsInstanceCheckName
|
|
345
|
+
* structure to the name of the DigitalTwinsInstance to check.
|
|
346
|
+
* @param options The options parameters.
|
|
347
|
+
*/
|
|
348
|
+
checkNameAvailability(location, digitalTwinsInstanceCheckName, options) {
|
|
349
|
+
return this.client.sendOperationRequest({ location, digitalTwinsInstanceCheckName, options }, checkNameAvailabilityOperationSpec);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* ListNext
|
|
353
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
354
|
+
* @param options The options parameters.
|
|
355
|
+
*/
|
|
356
|
+
_listNext(nextLink, options) {
|
|
357
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* ListByResourceGroupNext
|
|
361
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
362
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
363
|
+
* @param options The options parameters.
|
|
364
|
+
*/
|
|
365
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
366
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.DigitalTwinsImpl = DigitalTwinsImpl;
|
|
370
|
+
// Operation Specifications
|
|
371
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
372
|
+
const getOperationSpec = {
|
|
373
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
374
|
+
httpMethod: "GET",
|
|
375
|
+
responses: {
|
|
376
|
+
200: {
|
|
377
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
378
|
+
},
|
|
379
|
+
default: {
|
|
380
|
+
bodyMapper: Mappers.ErrorResponse
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
queryParameters: [Parameters.apiVersion],
|
|
384
|
+
urlParameters: [
|
|
385
|
+
Parameters.$host,
|
|
386
|
+
Parameters.subscriptionId,
|
|
387
|
+
Parameters.resourceGroupName,
|
|
388
|
+
Parameters.resourceName
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept],
|
|
391
|
+
serializer
|
|
392
|
+
};
|
|
393
|
+
const createOrUpdateOperationSpec = {
|
|
394
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
395
|
+
httpMethod: "PUT",
|
|
396
|
+
responses: {
|
|
397
|
+
200: {
|
|
398
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
399
|
+
},
|
|
400
|
+
201: {
|
|
401
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
402
|
+
},
|
|
403
|
+
202: {
|
|
404
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
405
|
+
},
|
|
406
|
+
204: {
|
|
407
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
408
|
+
},
|
|
409
|
+
default: {
|
|
410
|
+
bodyMapper: Mappers.ErrorResponse
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
requestBody: Parameters.digitalTwinsCreate,
|
|
414
|
+
queryParameters: [Parameters.apiVersion],
|
|
415
|
+
urlParameters: [
|
|
416
|
+
Parameters.$host,
|
|
417
|
+
Parameters.subscriptionId,
|
|
418
|
+
Parameters.resourceGroupName,
|
|
419
|
+
Parameters.resourceName
|
|
420
|
+
],
|
|
421
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
422
|
+
mediaType: "json",
|
|
423
|
+
serializer
|
|
424
|
+
};
|
|
425
|
+
const updateOperationSpec = {
|
|
426
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
427
|
+
httpMethod: "PATCH",
|
|
428
|
+
responses: {
|
|
429
|
+
200: {
|
|
430
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
431
|
+
},
|
|
432
|
+
201: {
|
|
433
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
434
|
+
},
|
|
435
|
+
202: {
|
|
436
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
437
|
+
},
|
|
438
|
+
204: {
|
|
439
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
440
|
+
},
|
|
441
|
+
default: {
|
|
442
|
+
bodyMapper: Mappers.ErrorResponse
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
requestBody: Parameters.digitalTwinsPatchDescription,
|
|
446
|
+
queryParameters: [Parameters.apiVersion],
|
|
447
|
+
urlParameters: [
|
|
448
|
+
Parameters.$host,
|
|
449
|
+
Parameters.subscriptionId,
|
|
450
|
+
Parameters.resourceGroupName,
|
|
451
|
+
Parameters.resourceName
|
|
452
|
+
],
|
|
453
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
454
|
+
mediaType: "json",
|
|
455
|
+
serializer
|
|
456
|
+
};
|
|
457
|
+
const deleteOperationSpec = {
|
|
458
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
459
|
+
httpMethod: "DELETE",
|
|
460
|
+
responses: {
|
|
461
|
+
200: {
|
|
462
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
463
|
+
},
|
|
464
|
+
201: {
|
|
465
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
466
|
+
},
|
|
467
|
+
202: {
|
|
468
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
469
|
+
},
|
|
470
|
+
204: {
|
|
471
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
472
|
+
},
|
|
473
|
+
default: {
|
|
474
|
+
bodyMapper: Mappers.ErrorResponse
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
queryParameters: [Parameters.apiVersion],
|
|
478
|
+
urlParameters: [
|
|
479
|
+
Parameters.$host,
|
|
480
|
+
Parameters.subscriptionId,
|
|
481
|
+
Parameters.resourceGroupName,
|
|
482
|
+
Parameters.resourceName
|
|
483
|
+
],
|
|
484
|
+
headerParameters: [Parameters.accept],
|
|
485
|
+
serializer
|
|
486
|
+
};
|
|
487
|
+
const listOperationSpec = {
|
|
488
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
489
|
+
httpMethod: "GET",
|
|
490
|
+
responses: {
|
|
491
|
+
200: {
|
|
492
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
493
|
+
},
|
|
494
|
+
default: {
|
|
495
|
+
bodyMapper: Mappers.ErrorResponse
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
queryParameters: [Parameters.apiVersion],
|
|
499
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
500
|
+
headerParameters: [Parameters.accept],
|
|
501
|
+
serializer
|
|
502
|
+
};
|
|
503
|
+
const listByResourceGroupOperationSpec = {
|
|
504
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
505
|
+
httpMethod: "GET",
|
|
506
|
+
responses: {
|
|
507
|
+
200: {
|
|
508
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
509
|
+
},
|
|
510
|
+
default: {
|
|
511
|
+
bodyMapper: Mappers.ErrorResponse
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
queryParameters: [Parameters.apiVersion],
|
|
515
|
+
urlParameters: [
|
|
516
|
+
Parameters.$host,
|
|
517
|
+
Parameters.subscriptionId,
|
|
518
|
+
Parameters.resourceGroupName
|
|
519
|
+
],
|
|
520
|
+
headerParameters: [Parameters.accept],
|
|
521
|
+
serializer
|
|
522
|
+
};
|
|
523
|
+
const checkNameAvailabilityOperationSpec = {
|
|
524
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability",
|
|
525
|
+
httpMethod: "POST",
|
|
526
|
+
responses: {
|
|
527
|
+
200: {
|
|
528
|
+
bodyMapper: Mappers.CheckNameResult
|
|
529
|
+
},
|
|
530
|
+
default: {
|
|
531
|
+
bodyMapper: Mappers.ErrorResponse
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
requestBody: Parameters.digitalTwinsInstanceCheckName,
|
|
535
|
+
queryParameters: [Parameters.apiVersion],
|
|
536
|
+
urlParameters: [
|
|
537
|
+
Parameters.$host,
|
|
538
|
+
Parameters.subscriptionId,
|
|
539
|
+
Parameters.location
|
|
540
|
+
],
|
|
541
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
542
|
+
mediaType: "json",
|
|
543
|
+
serializer
|
|
544
|
+
};
|
|
545
|
+
const listNextOperationSpec = {
|
|
546
|
+
path: "{nextLink}",
|
|
547
|
+
httpMethod: "GET",
|
|
548
|
+
responses: {
|
|
549
|
+
200: {
|
|
550
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
551
|
+
},
|
|
552
|
+
default: {
|
|
553
|
+
bodyMapper: Mappers.ErrorResponse
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
urlParameters: [
|
|
557
|
+
Parameters.$host,
|
|
558
|
+
Parameters.subscriptionId,
|
|
559
|
+
Parameters.nextLink
|
|
560
|
+
],
|
|
561
|
+
headerParameters: [Parameters.accept],
|
|
562
|
+
serializer
|
|
563
|
+
};
|
|
564
|
+
const listByResourceGroupNextOperationSpec = {
|
|
565
|
+
path: "{nextLink}",
|
|
566
|
+
httpMethod: "GET",
|
|
567
|
+
responses: {
|
|
568
|
+
200: {
|
|
569
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
570
|
+
},
|
|
571
|
+
default: {
|
|
572
|
+
bodyMapper: Mappers.ErrorResponse
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
urlParameters: [
|
|
576
|
+
Parameters.$host,
|
|
577
|
+
Parameters.subscriptionId,
|
|
578
|
+
Parameters.resourceGroupName,
|
|
579
|
+
Parameters.nextLink
|
|
580
|
+
],
|
|
581
|
+
headerParameters: [Parameters.accept],
|
|
582
|
+
serializer
|
|
583
|
+
};
|
|
584
|
+
//# sourceMappingURL=digitalTwins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../src/operations/digitalTwins.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAyB9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,a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,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DigitalTwins } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureDigitalTwinsManagementClient } from \"../azureDigitalTwinsManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n DigitalTwinsDescription,\n DigitalTwinsListNextOptionalParams,\n DigitalTwinsListOptionalParams,\n DigitalTwinsListResponse,\n DigitalTwinsListByResourceGroupNextOptionalParams,\n DigitalTwinsListByResourceGroupOptionalParams,\n DigitalTwinsListByResourceGroupResponse,\n DigitalTwinsGetOptionalParams,\n DigitalTwinsGetResponse,\n DigitalTwinsCreateOrUpdateOptionalParams,\n DigitalTwinsCreateOrUpdateResponse,\n DigitalTwinsPatchDescription,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsDeleteResponse,\n CheckNameRequest,\n DigitalTwinsCheckNameAvailabilityOptionalParams,\n DigitalTwinsCheckNameAvailabilityResponse,\n DigitalTwinsListNextResponse,\n DigitalTwinsListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DigitalTwins operations. */\nexport class DigitalTwinsImpl implements DigitalTwins {\n private readonly client: AzureDigitalTwinsManagementClient;\n\n /**\n * Initialize a new instance of the class DigitalTwins class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all the DigitalTwinsInstances in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: DigitalTwinsListOptionalParams\n ): PagedAsyncIterableIterator<DigitalTwinsDescription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: DigitalTwinsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DigitalTwinsDescription[]> {\n let result: DigitalTwinsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: DigitalTwinsListOptionalParams\n ): AsyncIterableIterator<DigitalTwinsDescription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all the DigitalTwinsInstances in a resource group.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: DigitalTwinsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DigitalTwinsDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: DigitalTwinsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DigitalTwinsDescription[]> {\n let result: DigitalTwinsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: DigitalTwinsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<DigitalTwinsDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get DigitalTwinsInstances resource.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: DigitalTwinsGetOptionalParams\n ): Promise<DigitalTwinsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is\n * to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified\n * values in a new body to update the DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n digitalTwinsCreate: DigitalTwinsDescription,\n options?: DigitalTwinsCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DigitalTwinsCreateOrUpdateResponse>,\n DigitalTwinsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DigitalTwinsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, digitalTwinsCreate, options },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n DigitalTwinsCreateOrUpdateResponse,\n OperationState<DigitalTwinsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is\n * to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified\n * values in a new body to update the DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n digitalTwinsCreate: DigitalTwinsDescription,\n options?: DigitalTwinsCreateOrUpdateOptionalParams\n ): Promise<DigitalTwinsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n digitalTwinsCreate,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update metadata of DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n resourceName: string,\n digitalTwinsPatchDescription: DigitalTwinsPatchDescription,\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DigitalTwinsUpdateResponse>,\n DigitalTwinsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DigitalTwinsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n digitalTwinsPatchDescription,\n options\n },\n spec: updateOperationSpec\n });\n const poller = await createHttpPoller<\n DigitalTwinsUpdateResponse,\n OperationState<DigitalTwinsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update metadata of DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n digitalTwinsPatchDescription: DigitalTwinsPatchDescription,\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<DigitalTwinsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n resourceName,\n digitalTwinsPatchDescription,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: DigitalTwinsDeleteOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DigitalTwinsDeleteResponse>,\n DigitalTwinsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DigitalTwinsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<\n DigitalTwinsDeleteResponse,\n OperationState<DigitalTwinsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a DigitalTwinsInstance.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param resourceName The name of the DigitalTwinsInstance.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: DigitalTwinsDeleteOptionalParams\n ): Promise<DigitalTwinsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get all the DigitalTwinsInstances in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: DigitalTwinsListOptionalParams\n ): Promise<DigitalTwinsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Get all the DigitalTwinsInstances in a resource group.\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: DigitalTwinsListByResourceGroupOptionalParams\n ): Promise<DigitalTwinsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Check if a DigitalTwinsInstance name is available.\n * @param location Location of DigitalTwinsInstance.\n * @param digitalTwinsInstanceCheckName Set the name parameter in the DigitalTwinsInstanceCheckName\n * structure to the name of the DigitalTwinsInstance to check.\n * @param options The options parameters.\n */\n checkNameAvailability(\n location: string,\n digitalTwinsInstanceCheckName: CheckNameRequest,\n options?: DigitalTwinsCheckNameAvailabilityOptionalParams\n ): Promise<DigitalTwinsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { location, digitalTwinsInstanceCheckName, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: DigitalTwinsListNextOptionalParams\n ): Promise<DigitalTwinsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: DigitalTwinsListByResourceGroupNextOptionalParams\n ): Promise<DigitalTwinsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 201: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 202: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 204: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.digitalTwinsCreate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 201: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 202: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 204: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.digitalTwinsPatchDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 201: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 202: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n 204: {\n bodyMapper: Mappers.DigitalTwinsDescription\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescriptionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescriptionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.digitalTwinsInstanceCheckName,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescriptionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DigitalTwinsDescriptionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|