@azure/arm-databox 5.0.1-alpha.20241230.1 → 5.0.1-alpha.20241231.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}/dataBoxManagementClient.d.ts +2 -2
- package/dist/browser/dataBoxManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/dataBoxManagementClient.js +17 -20
- package/dist/browser/dataBoxManagementClient.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/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/jobs.d.ts +3 -3
- package/dist/browser/operations/jobs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/jobs.js +113 -125
- package/dist/browser/operations/jobs.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/service.d.ts +3 -3
- package/dist/browser/operations/service.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/service.js +3 -3
- package/dist/browser/operations/service.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +11 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/jobs.d.ts +1 -1
- package/dist/browser/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/jobs.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/service.d.ts +1 -1
- package/dist/browser/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/service.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/dataBoxManagementClient.d.ts +31 -0
- package/dist/commonjs/dataBoxManagementClient.d.ts.map +1 -0
- package/dist/commonjs/dataBoxManagementClient.js +140 -0
- package/dist/commonjs/dataBoxManagementClient.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-databox.d.ts → dist/commonjs/models/index.d.ts} +2491 -2916
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +239 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +174 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +4484 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +24 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +179 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/jobs.d.ts +161 -0
- package/dist/commonjs/operations/jobs.d.ts.map +1 -0
- package/dist/commonjs/operations/jobs.js +728 -0
- package/dist/commonjs/operations/jobs.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/service.d.ts +83 -0
- package/dist/commonjs/operations/service.d.ts.map +1 -0
- package/dist/commonjs/operations/service.js +324 -0
- package/dist/commonjs/operations/service.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/jobs.d.ts +115 -0
- package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/jobs.js +10 -0
- package/dist/commonjs/operationsInterfaces/jobs.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-esm/src/operations/index.js → dist/commonjs/operationsInterfaces/operations.js} +3 -4
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/service.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/service.js +10 -0
- package/dist/commonjs/operationsInterfaces/service.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/dataBoxManagementClient.d.ts +31 -0
- package/dist/esm/dataBoxManagementClient.d.ts.map +1 -0
- package/dist/esm/dataBoxManagementClient.js +135 -0
- package/dist/esm/dataBoxManagementClient.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 +2491 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +236 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +174 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/{index.js → esm/models/mappers.js} +129 -2060
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +24 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +176 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/jobs.d.ts +161 -0
- package/dist/esm/operations/jobs.d.ts.map +1 -0
- package/dist/esm/operations/jobs.js +724 -0
- package/dist/esm/operations/jobs.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/service.d.ts +83 -0
- package/dist/esm/operations/service.d.ts.map +1 -0
- package/dist/esm/operations/service.js +320 -0
- package/dist/esm/operations/service.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/jobs.d.ts +115 -0
- package/dist/esm/operationsInterfaces/jobs.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/jobs.js} +2 -4
- package/dist/esm/operationsInterfaces/jobs.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/service.d.ts +54 -0
- package/dist/esm/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/service.js +9 -0
- package/dist/esm/operationsInterfaces/service.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/dataBoxManagementClient.d.ts +31 -0
- package/dist/react-native/dataBoxManagementClient.d.ts.map +1 -0
- package/dist/react-native/dataBoxManagementClient.js +135 -0
- package/dist/react-native/dataBoxManagementClient.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 +2491 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +236 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +174 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +4479 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +24 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +176 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/jobs.d.ts +161 -0
- package/dist/react-native/operations/jobs.d.ts.map +1 -0
- package/dist/react-native/operations/jobs.js +724 -0
- package/dist/react-native/operations/jobs.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/service.d.ts +83 -0
- package/dist/react-native/operations/service.d.ts.map +1 -0
- package/dist/react-native/operations/service.js +320 -0
- package/dist/react-native/operations/service.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/jobs.d.ts +115 -0
- package/dist/react-native/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/jobs.js +9 -0
- package/dist/react-native/operationsInterfaces/jobs.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/service.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/service.js +9 -0
- package/dist/react-native/operationsInterfaces/service.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 +59 -29
- 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/jobsBookShipmentPickUpSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js +0 -43
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsCancelSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsCancelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsCancelSample.js +0 -39
- package/dist-esm/samples-dev/jobsCancelSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsCreateSample.js +0 -289
- package/dist-esm/samples-dev/jobsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/jobsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsGetSample.js +0 -120
- package/dist-esm/samples-dev/jobsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsListCredentialsSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsListCredentialsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsListCredentialsSample.js +0 -54
- package/dist-esm/samples-dev/jobsListCredentialsSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsListSample.js +0 -52
- package/dist-esm/samples-dev/jobsListSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js +0 -44
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js.map +0 -1
- package/dist-esm/samples-dev/jobsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/jobsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jobsUpdateSample.js +0 -124
- package/dist-esm/samples-dev/jobsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/mitigateSample.d.ts +0 -2
- package/dist-esm/samples-dev/mitigateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/mitigateSample.js +0 -44
- package/dist-esm/samples-dev/mitigateSample.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/serviceListAvailableSkusByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js +0 -59
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js +0 -43
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceValidateAddressSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceValidateAddressSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceValidateAddressSample.js +0 -51
- package/dist-esm/samples-dev/serviceValidateAddressSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js +0 -87
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceValidateInputsSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceValidateInputsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceValidateInputsSample.js +0 -86
- package/dist-esm/samples-dev/serviceValidateInputsSample.js.map +0 -1
- package/dist-esm/src/dataBoxManagementClient.d.ts.map +0 -1
- package/dist-esm/src/dataBoxManagementClient.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/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/jobs.d.ts.map +0 -1
- package/dist-esm/src/operations/jobs.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/service.d.ts.map +0 -1
- package/dist-esm/src/operations/service.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/jobs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/service.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/databox_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/databox_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/databox_operations_test.spec.js +0 -77
- package/dist-esm/test/databox_operations_test.spec.js.map +0 -1
- package/src/dataBoxManagementClient.ts +0 -195
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -2800
- package/src/models/mappers.ts +0 -4799
- package/src/models/parameters.ts +0 -214
- package/src/operations/jobs.ts +0 -955
- package/src/operations/operations.ts +0 -149
- package/src/operations/service.ts +0 -443
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/jobs.ts +0 -205
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/service.ts +0 -107
- 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/jobs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/service.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,324 @@
|
|
|
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.ServiceImpl = 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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing Service operations. */
|
|
18
|
+
class ServiceImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class Service class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* This method provides the list of available skus for the given subscription, resource group and
|
|
28
|
+
* location.
|
|
29
|
+
* @param resourceGroupName The Resource Group Name
|
|
30
|
+
* @param location The location of the resource
|
|
31
|
+
* @param availableSkuRequest Filters for showing the available skus.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options) {
|
|
35
|
+
const iter = this.listAvailableSkusByResourceGroupPagingAll(resourceGroupName, location, availableSkuRequest, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options, settings) {
|
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listAvailableSkusByResourceGroupPagingPage_1() {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = yield tslib_1.__await(this._listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options));
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield yield tslib_1.__await(page);
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = yield tslib_1.__await(this._listAvailableSkusByResourceGroupNext(resourceGroupName, location, availableSkuRequest, continuationToken, options));
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield yield tslib_1.__await(page);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
listAvailableSkusByResourceGroupPagingAll(resourceGroupName, location, availableSkuRequest, options) {
|
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listAvailableSkusByResourceGroupPagingAll_1() {
|
|
73
|
+
var _a, e_1, _b, _c;
|
|
74
|
+
try {
|
|
75
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
+
_c = _f.value;
|
|
77
|
+
_d = false;
|
|
78
|
+
const page = _c;
|
|
79
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
+
finally {
|
|
84
|
+
try {
|
|
85
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
+
}
|
|
87
|
+
finally { if (e_1) throw e_1.error; }
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* This method provides the list of available skus for the given subscription, resource group and
|
|
93
|
+
* location.
|
|
94
|
+
* @param resourceGroupName The Resource Group Name
|
|
95
|
+
* @param location The location of the resource
|
|
96
|
+
* @param availableSkuRequest Filters for showing the available skus.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
_listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ resourceGroupName, location, availableSkuRequest, options }, listAvailableSkusByResourceGroupOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer
|
|
104
|
+
* shipping address and provide alternate addresses if any.
|
|
105
|
+
* @param location The location of the resource
|
|
106
|
+
* @param validateAddress Shipping address of the customer.
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
validateAddress(location, validateAddress, options) {
|
|
110
|
+
return this.client.sendOperationRequest({ location, validateAddress, options }, validateAddressOperationSpec);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* This method does all necessary pre-job creation validation under resource group.
|
|
114
|
+
* @param resourceGroupName The Resource Group Name
|
|
115
|
+
* @param location The location of the resource
|
|
116
|
+
* @param validationRequest Inputs of the customer.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
validateInputsByResourceGroup(resourceGroupName, location, validationRequest, options) {
|
|
120
|
+
return this.client.sendOperationRequest({ resourceGroupName, location, validationRequest, options }, validateInputsByResourceGroupOperationSpec);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* This method does all necessary pre-job creation validation under subscription.
|
|
124
|
+
* @param location The location of the resource
|
|
125
|
+
* @param validationRequest Inputs of the customer.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
validateInputs(location, validationRequest, options) {
|
|
129
|
+
return this.client.sendOperationRequest({ location, validationRequest, options }, validateInputsOperationSpec);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* This API provides configuration details specific to given region/location at Subscription level.
|
|
133
|
+
* @param location The location of the resource
|
|
134
|
+
* @param regionConfigurationRequest Request body to get the configuration for the region.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
regionConfiguration(location, regionConfigurationRequest, options) {
|
|
138
|
+
return this.client.sendOperationRequest({ location, regionConfigurationRequest, options }, regionConfigurationOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* This API provides configuration details specific to given region/location at Resource group level.
|
|
142
|
+
* @param resourceGroupName The Resource Group Name
|
|
143
|
+
* @param location The location of the resource
|
|
144
|
+
* @param regionConfigurationRequest Request body to get the configuration for the region at resource
|
|
145
|
+
* group level.
|
|
146
|
+
* @param options The options parameters.
|
|
147
|
+
*/
|
|
148
|
+
regionConfigurationByResourceGroup(resourceGroupName, location, regionConfigurationRequest, options) {
|
|
149
|
+
return this.client.sendOperationRequest({ resourceGroupName, location, regionConfigurationRequest, options }, regionConfigurationByResourceGroupOperationSpec);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* ListAvailableSkusByResourceGroupNext
|
|
153
|
+
* @param resourceGroupName The Resource Group Name
|
|
154
|
+
* @param location The location of the resource
|
|
155
|
+
* @param availableSkuRequest Filters for showing the available skus.
|
|
156
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
157
|
+
* ListAvailableSkusByResourceGroup method.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
_listAvailableSkusByResourceGroupNext(resourceGroupName, location, availableSkuRequest, nextLink, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ resourceGroupName, location, availableSkuRequest, nextLink, options }, listAvailableSkusByResourceGroupNextOperationSpec);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.ServiceImpl = ServiceImpl;
|
|
165
|
+
// Operation Specifications
|
|
166
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
167
|
+
const listAvailableSkusByResourceGroupOperationSpec = {
|
|
168
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus",
|
|
169
|
+
httpMethod: "POST",
|
|
170
|
+
responses: {
|
|
171
|
+
200: {
|
|
172
|
+
bodyMapper: Mappers.AvailableSkusResult
|
|
173
|
+
},
|
|
174
|
+
default: {
|
|
175
|
+
bodyMapper: Mappers.ApiError
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
requestBody: Parameters.availableSkuRequest,
|
|
179
|
+
queryParameters: [Parameters.apiVersion],
|
|
180
|
+
urlParameters: [
|
|
181
|
+
Parameters.$host,
|
|
182
|
+
Parameters.subscriptionId,
|
|
183
|
+
Parameters.resourceGroupName,
|
|
184
|
+
Parameters.location
|
|
185
|
+
],
|
|
186
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
187
|
+
mediaType: "json",
|
|
188
|
+
serializer
|
|
189
|
+
};
|
|
190
|
+
const validateAddressOperationSpec = {
|
|
191
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress",
|
|
192
|
+
httpMethod: "POST",
|
|
193
|
+
responses: {
|
|
194
|
+
200: {
|
|
195
|
+
bodyMapper: Mappers.AddressValidationOutput
|
|
196
|
+
},
|
|
197
|
+
default: {
|
|
198
|
+
bodyMapper: Mappers.ApiError
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
requestBody: Parameters.validateAddress,
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [
|
|
204
|
+
Parameters.$host,
|
|
205
|
+
Parameters.subscriptionId,
|
|
206
|
+
Parameters.location
|
|
207
|
+
],
|
|
208
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
209
|
+
mediaType: "json",
|
|
210
|
+
serializer
|
|
211
|
+
};
|
|
212
|
+
const validateInputsByResourceGroupOperationSpec = {
|
|
213
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs",
|
|
214
|
+
httpMethod: "POST",
|
|
215
|
+
responses: {
|
|
216
|
+
200: {
|
|
217
|
+
bodyMapper: Mappers.ValidationResponse
|
|
218
|
+
},
|
|
219
|
+
default: {
|
|
220
|
+
bodyMapper: Mappers.ApiError
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
requestBody: Parameters.validationRequest,
|
|
224
|
+
queryParameters: [Parameters.apiVersion],
|
|
225
|
+
urlParameters: [
|
|
226
|
+
Parameters.$host,
|
|
227
|
+
Parameters.subscriptionId,
|
|
228
|
+
Parameters.resourceGroupName,
|
|
229
|
+
Parameters.location
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
232
|
+
mediaType: "json",
|
|
233
|
+
serializer
|
|
234
|
+
};
|
|
235
|
+
const validateInputsOperationSpec = {
|
|
236
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs",
|
|
237
|
+
httpMethod: "POST",
|
|
238
|
+
responses: {
|
|
239
|
+
200: {
|
|
240
|
+
bodyMapper: Mappers.ValidationResponse
|
|
241
|
+
},
|
|
242
|
+
default: {
|
|
243
|
+
bodyMapper: Mappers.ApiError
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
requestBody: Parameters.validationRequest,
|
|
247
|
+
queryParameters: [Parameters.apiVersion],
|
|
248
|
+
urlParameters: [
|
|
249
|
+
Parameters.$host,
|
|
250
|
+
Parameters.subscriptionId,
|
|
251
|
+
Parameters.location
|
|
252
|
+
],
|
|
253
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
254
|
+
mediaType: "json",
|
|
255
|
+
serializer
|
|
256
|
+
};
|
|
257
|
+
const regionConfigurationOperationSpec = {
|
|
258
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration",
|
|
259
|
+
httpMethod: "POST",
|
|
260
|
+
responses: {
|
|
261
|
+
200: {
|
|
262
|
+
bodyMapper: Mappers.RegionConfigurationResponse
|
|
263
|
+
},
|
|
264
|
+
default: {
|
|
265
|
+
bodyMapper: Mappers.ApiError
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
requestBody: Parameters.regionConfigurationRequest,
|
|
269
|
+
queryParameters: [Parameters.apiVersion],
|
|
270
|
+
urlParameters: [
|
|
271
|
+
Parameters.$host,
|
|
272
|
+
Parameters.subscriptionId,
|
|
273
|
+
Parameters.location
|
|
274
|
+
],
|
|
275
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
276
|
+
mediaType: "json",
|
|
277
|
+
serializer
|
|
278
|
+
};
|
|
279
|
+
const regionConfigurationByResourceGroupOperationSpec = {
|
|
280
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration",
|
|
281
|
+
httpMethod: "POST",
|
|
282
|
+
responses: {
|
|
283
|
+
200: {
|
|
284
|
+
bodyMapper: Mappers.RegionConfigurationResponse
|
|
285
|
+
},
|
|
286
|
+
default: {
|
|
287
|
+
bodyMapper: Mappers.ApiError
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
requestBody: Parameters.regionConfigurationRequest,
|
|
291
|
+
queryParameters: [Parameters.apiVersion],
|
|
292
|
+
urlParameters: [
|
|
293
|
+
Parameters.$host,
|
|
294
|
+
Parameters.subscriptionId,
|
|
295
|
+
Parameters.resourceGroupName,
|
|
296
|
+
Parameters.location
|
|
297
|
+
],
|
|
298
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
299
|
+
mediaType: "json",
|
|
300
|
+
serializer
|
|
301
|
+
};
|
|
302
|
+
const listAvailableSkusByResourceGroupNextOperationSpec = {
|
|
303
|
+
path: "{nextLink}",
|
|
304
|
+
httpMethod: "GET",
|
|
305
|
+
responses: {
|
|
306
|
+
200: {
|
|
307
|
+
bodyMapper: Mappers.AvailableSkusResult
|
|
308
|
+
},
|
|
309
|
+
default: {
|
|
310
|
+
bodyMapper: Mappers.ApiError
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
urlParameters: [
|
|
314
|
+
Parameters.$host,
|
|
315
|
+
Parameters.nextLink,
|
|
316
|
+
Parameters.subscriptionId,
|
|
317
|
+
Parameters.resourceGroupName,
|
|
318
|
+
Parameters.location
|
|
319
|
+
],
|
|
320
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
321
|
+
mediaType: "json",
|
|
322
|
+
serializer
|
|
323
|
+
};
|
|
324
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAwBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAa,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,gCAAgC,CACrC,iBAAyB,EACzB,QAAgB,EAChB,mBAAwC,EACxC,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,yCAAyC,CACzD,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC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SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,0BAA0B;IAClD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,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,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iDAAiD,GAA6B;IAClF,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { Service } 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 { DataBoxManagementClient } from \"../dataBoxManagementClient.js\";\nimport {\n SkuInformation,\n AvailableSkuRequest,\n ServiceListAvailableSkusByResourceGroupNextOptionalParams,\n ServiceListAvailableSkusByResourceGroupOptionalParams,\n ServiceListAvailableSkusByResourceGroupResponse,\n ValidateAddress,\n ServiceValidateAddressOptionalParams,\n ServiceValidateAddressResponse,\n ValidationRequestUnion,\n ServiceValidateInputsByResourceGroupOptionalParams,\n ServiceValidateInputsByResourceGroupResponse,\n ServiceValidateInputsOptionalParams,\n ServiceValidateInputsResponse,\n RegionConfigurationRequest,\n ServiceRegionConfigurationOptionalParams,\n ServiceRegionConfigurationResponse,\n ServiceRegionConfigurationByResourceGroupOptionalParams,\n ServiceRegionConfigurationByResourceGroupResponse,\n ServiceListAvailableSkusByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: DataBoxManagementClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: DataBoxManagementClient) {\n this.client = client;\n }\n\n /**\n * This method provides the list of available skus for the given subscription, resource group and\n * location.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param options The options parameters.\n */\n public listAvailableSkusByResourceGroup(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SkuInformation> {\n const iter = this.listAvailableSkusByResourceGroupPagingAll(\n resourceGroupName,\n location,\n availableSkuRequest,\n options\n );\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.listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName,\n location,\n availableSkuRequest,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SkuInformation[]> {\n let result: ServiceListAvailableSkusByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAvailableSkusByResourceGroup(\n resourceGroupName,\n location,\n availableSkuRequest,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAvailableSkusByResourceGroupNext(\n resourceGroupName,\n location,\n availableSkuRequest,\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 *listAvailableSkusByResourceGroupPagingAll(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): AsyncIterableIterator<SkuInformation> {\n for await (const page of this.listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName,\n location,\n availableSkuRequest,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * This method provides the list of available skus for the given subscription, resource group and\n * location.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param options The options parameters.\n */\n private _listAvailableSkusByResourceGroup(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): Promise<ServiceListAvailableSkusByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, availableSkuRequest, options },\n listAvailableSkusByResourceGroupOperationSpec\n );\n }\n\n /**\n * [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer\n * shipping address and provide alternate addresses if any.\n * @param location The location of the resource\n * @param validateAddress Shipping address of the customer.\n * @param options The options parameters.\n */\n validateAddress(\n location: string,\n validateAddress: ValidateAddress,\n options?: ServiceValidateAddressOptionalParams\n ): Promise<ServiceValidateAddressResponse> {\n return this.client.sendOperationRequest(\n { location, validateAddress, options },\n validateAddressOperationSpec\n );\n }\n\n /**\n * This method does all necessary pre-job creation validation under resource group.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param validationRequest Inputs of the customer.\n * @param options The options parameters.\n */\n validateInputsByResourceGroup(\n resourceGroupName: string,\n location: string,\n validationRequest: ValidationRequestUnion,\n options?: ServiceValidateInputsByResourceGroupOptionalParams\n ): Promise<ServiceValidateInputsByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, validationRequest, options },\n validateInputsByResourceGroupOperationSpec\n );\n }\n\n /**\n * This method does all necessary pre-job creation validation under subscription.\n * @param location The location of the resource\n * @param validationRequest Inputs of the customer.\n * @param options The options parameters.\n */\n validateInputs(\n location: string,\n validationRequest: ValidationRequestUnion,\n options?: ServiceValidateInputsOptionalParams\n ): Promise<ServiceValidateInputsResponse> {\n return this.client.sendOperationRequest(\n { location, validationRequest, options },\n validateInputsOperationSpec\n );\n }\n\n /**\n * This API provides configuration details specific to given region/location at Subscription level.\n * @param location The location of the resource\n * @param regionConfigurationRequest Request body to get the configuration for the region.\n * @param options The options parameters.\n */\n regionConfiguration(\n location: string,\n regionConfigurationRequest: RegionConfigurationRequest,\n options?: ServiceRegionConfigurationOptionalParams\n ): Promise<ServiceRegionConfigurationResponse> {\n return this.client.sendOperationRequest(\n { location, regionConfigurationRequest, options },\n regionConfigurationOperationSpec\n );\n }\n\n /**\n * This API provides configuration details specific to given region/location at Resource group level.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param regionConfigurationRequest Request body to get the configuration for the region at resource\n * group level.\n * @param options The options parameters.\n */\n regionConfigurationByResourceGroup(\n resourceGroupName: string,\n location: string,\n regionConfigurationRequest: RegionConfigurationRequest,\n options?: ServiceRegionConfigurationByResourceGroupOptionalParams\n ): Promise<ServiceRegionConfigurationByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, regionConfigurationRequest, options },\n regionConfigurationByResourceGroupOperationSpec\n );\n }\n\n /**\n * ListAvailableSkusByResourceGroupNext\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param nextLink The nextLink from the previous successful call to the\n * ListAvailableSkusByResourceGroup method.\n * @param options The options parameters.\n */\n private _listAvailableSkusByResourceGroupNext(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n nextLink: string,\n options?: ServiceListAvailableSkusByResourceGroupNextOptionalParams\n ): Promise<ServiceListAvailableSkusByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, availableSkuRequest, nextLink, options },\n listAvailableSkusByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAvailableSkusByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableSkusResult\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.availableSkuRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst validateAddressOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AddressValidationOutput\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validateAddress,\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 validateInputsByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst validateInputsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validationRequest,\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 regionConfigurationOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegionConfigurationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.regionConfigurationRequest,\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 regionConfigurationByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegionConfigurationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.regionConfigurationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listAvailableSkusByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableSkusResult\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./jobs.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./service.js"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,oDAA0B;AAC1B,uDAA6B","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\nexport * from \"./operations.js\";\nexport * from \"./jobs.js\";\nexport * from \"./service.js\";\n"]}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { JobResource, JobsListOptionalParams, JobsListByResourceGroupOptionalParams, UnencryptedCredentials, JobsListCredentialsOptionalParams, MarkDevicesShippedRequest, JobsMarkDevicesShippedOptionalParams, JobsGetOptionalParams, JobsGetResponse, JobsCreateOptionalParams, JobsCreateResponse, JobsDeleteOptionalParams, JobResourceUpdateParameter, JobsUpdateOptionalParams, JobsUpdateResponse, ShipmentPickUpRequest, JobsBookShipmentPickUpOptionalParams, JobsBookShipmentPickUpResponse, CancellationReason, JobsCancelOptionalParams } from "../models/index.js";
|
|
4
|
+
/** Interface representing a Jobs. */
|
|
5
|
+
export interface Jobs {
|
|
6
|
+
/**
|
|
7
|
+
* Lists all the jobs available under the subscription.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
list(options?: JobsListOptionalParams): PagedAsyncIterableIterator<JobResource>;
|
|
11
|
+
/**
|
|
12
|
+
* Lists all the jobs available under the given resource group.
|
|
13
|
+
* @param resourceGroupName The Resource Group Name
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listByResourceGroup(resourceGroupName: string, options?: JobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<JobResource>;
|
|
17
|
+
/**
|
|
18
|
+
* This method gets the unencrypted secrets related to the job.
|
|
19
|
+
* @param resourceGroupName The Resource Group Name
|
|
20
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
21
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
listCredentials(resourceGroupName: string, jobName: string, options?: JobsListCredentialsOptionalParams): PagedAsyncIterableIterator<UnencryptedCredentials>;
|
|
25
|
+
/**
|
|
26
|
+
* Request to mark devices for a given job as shipped
|
|
27
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
28
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
29
|
+
* @param resourceGroupName The Resource Group Name
|
|
30
|
+
* @param markDevicesShippedRequest Mark Devices Shipped Request
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
markDevicesShipped(jobName: string, resourceGroupName: string, markDevicesShippedRequest: MarkDevicesShippedRequest, options?: JobsMarkDevicesShippedOptionalParams): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets information about the specified job.
|
|
36
|
+
* @param resourceGroupName The Resource Group Name
|
|
37
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
38
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(resourceGroupName: string, jobName: string, options?: JobsGetOptionalParams): Promise<JobsGetResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a new job with the specified parameters. Existing job cannot be updated with this API and
|
|
44
|
+
* should instead be updated with the Update job API.
|
|
45
|
+
* @param resourceGroupName The Resource Group Name
|
|
46
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
47
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
48
|
+
* @param jobResource Job details from request body.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginCreate(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<SimplePollerLike<OperationState<JobsCreateResponse>, JobsCreateResponse>>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates a new job with the specified parameters. Existing job cannot be updated with this API and
|
|
54
|
+
* should instead be updated with the Update job API.
|
|
55
|
+
* @param resourceGroupName The Resource Group Name
|
|
56
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
57
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
58
|
+
* @param jobResource Job details from request body.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
beginCreateAndWait(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<JobsCreateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a job.
|
|
64
|
+
* @param resourceGroupName The Resource Group Name
|
|
65
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
66
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginDelete(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes a job.
|
|
72
|
+
* @param resourceGroupName The Resource Group Name
|
|
73
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
74
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Updates the properties of an existing job.
|
|
80
|
+
* @param resourceGroupName The Resource Group Name
|
|
81
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
82
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
83
|
+
* @param jobResourceUpdateParameter Job update parameters from request body.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginUpdate(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JobsUpdateResponse>, JobsUpdateResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Updates the properties of an existing job.
|
|
89
|
+
* @param resourceGroupName The Resource Group Name
|
|
90
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
91
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
92
|
+
* @param jobResourceUpdateParameter Job update parameters from request body.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
beginUpdateAndWait(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<JobsUpdateResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Book shipment pick up.
|
|
98
|
+
* @param resourceGroupName The Resource Group Name
|
|
99
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
100
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
101
|
+
* @param shipmentPickUpRequest Details of shipment pick up request.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: ShipmentPickUpRequest, options?: JobsBookShipmentPickUpOptionalParams): Promise<JobsBookShipmentPickUpResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* CancelJob.
|
|
107
|
+
* @param resourceGroupName The Resource Group Name
|
|
108
|
+
* @param jobName The name of the job Resource within the specified resource group. job names must be
|
|
109
|
+
* between 3 and 24 characters in length and use any alphanumeric and underscore only
|
|
110
|
+
* @param cancellationReason Reason for cancellation.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
cancel(resourceGroupName: string, jobName: string, cancellationReason: CancellationReason, options?: JobsCancelOptionalParams): Promise<void>;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=jobs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/jobs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,qCAAqC,EACrC,sBAAsB,EACtB,iCAAiC,EACjC,yBAAyB,EACzB,oCAAoC,EACpC,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,oCAAoC,EACpC,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAA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AE,0BAA0B,EACtD,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,CACzE,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
//# sourceMappingURL=jobs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/jobs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n JobResource,\n JobsListOptionalParams,\n JobsListByResourceGroupOptionalParams,\n UnencryptedCredentials,\n JobsListCredentialsOptionalParams,\n MarkDevicesShippedRequest,\n JobsMarkDevicesShippedOptionalParams,\n JobsGetOptionalParams,\n JobsGetResponse,\n JobsCreateOptionalParams,\n JobsCreateResponse,\n JobsDeleteOptionalParams,\n JobResourceUpdateParameter,\n JobsUpdateOptionalParams,\n JobsUpdateResponse,\n ShipmentPickUpRequest,\n JobsBookShipmentPickUpOptionalParams,\n JobsBookShipmentPickUpResponse,\n CancellationReason,\n JobsCancelOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Jobs. */\nexport interface Jobs {\n /**\n * Lists all the jobs available under the subscription.\n * @param options The options parameters.\n */\n list(\n options?: JobsListOptionalParams\n ): PagedAsyncIterableIterator<JobResource>;\n /**\n * Lists all the jobs available under the given resource group.\n * @param resourceGroupName The Resource Group Name\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<JobResource>;\n /**\n * This method gets the unencrypted secrets related to the job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n listCredentials(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams\n ): PagedAsyncIterableIterator<UnencryptedCredentials>;\n /**\n * Request to mark devices for a given job as shipped\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param resourceGroupName The Resource Group Name\n * @param markDevicesShippedRequest Mark Devices Shipped Request\n * @param options The options parameters.\n */\n markDevicesShipped(\n jobName: string,\n resourceGroupName: string,\n markDevicesShippedRequest: MarkDevicesShippedRequest,\n options?: JobsMarkDevicesShippedOptionalParams\n ): Promise<void>;\n /**\n * Gets information about the specified job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n jobName: string,\n options?: JobsGetOptionalParams\n ): Promise<JobsGetResponse>;\n /**\n * Creates a new job with the specified parameters. Existing job cannot be updated with this API and\n * should instead be updated with the Update job API.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResource Job details from request body.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsCreateResponse>, JobsCreateResponse>\n >;\n /**\n * Creates a new job with the specified parameters. Existing job cannot be updated with this API and\n * should instead be updated with the Update job API.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResource Job details from request body.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<JobsCreateResponse>;\n /**\n * Deletes a job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the properties of an existing job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResourceUpdateParameter Job update parameters from request body.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsUpdateResponse>, JobsUpdateResponse>\n >;\n /**\n * Updates the properties of an existing job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResourceUpdateParameter Job update parameters from request body.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<JobsUpdateResponse>;\n /**\n * Book shipment pick up.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param shipmentPickUpRequest Details of shipment pick up request.\n * @param options The options parameters.\n */\n bookShipmentPickUp(\n resourceGroupName: string,\n jobName: string,\n shipmentPickUpRequest: ShipmentPickUpRequest,\n options?: JobsBookShipmentPickUpOptionalParams\n ): Promise<JobsBookShipmentPickUpResponse>;\n /**\n * CancelJob.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param cancellationReason Reason for cancellation.\n * @param options The options parameters.\n */\n cancel(\n resourceGroupName: string,\n jobName: string,\n cancellationReason: CancellationReason,\n options?: JobsCancelOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* This method gets all the operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
package/{dist-esm/src/operations/index.js → dist/commonjs/operationsInterfaces/operations.js}
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,7 +6,5 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export * from "./service";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * This method gets all the operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|