@azure/arm-sphere 1.0.0-beta.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/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +6284 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/catalogsCountDevicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsCountDevicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsCountDevicesSample.js +39 -0
- package/dist-esm/samples-dev/catalogsCountDevicesSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.js +40 -0
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/catalogsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsGetSample.js +39 -0
- package/dist-esm/samples-dev/catalogsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/catalogsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListBySubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/catalogsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeploymentsSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListDeploymentsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeploymentsSample.js +60 -0
- package/dist-esm/samples-dev/catalogsListDeploymentsSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.js +63 -0
- package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.js +62 -0
- package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsListDevicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsListDevicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsListDevicesSample.js +60 -0
- package/dist-esm/samples-dev/catalogsListDevicesSample.js.map +1 -0
- package/dist-esm/samples-dev/catalogsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/catalogsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/catalogsUpdateSample.js +40 -0
- package/dist-esm/samples-dev/catalogsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/certificatesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificatesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificatesGetSample.js +40 -0
- package/dist-esm/samples-dev/certificatesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/certificatesListByCatalogSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificatesListByCatalogSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificatesListByCatalogSample.js +60 -0
- package/dist-esm/samples-dev/certificatesListByCatalogSample.js.map +1 -0
- package/dist-esm/samples-dev/certificatesRetrieveCertChainSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificatesRetrieveCertChainSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificatesRetrieveCertChainSample.js +40 -0
- package/dist-esm/samples-dev/certificatesRetrieveCertChainSample.js.map +1 -0
- package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.js +43 -0
- package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsDeleteSample.js +42 -0
- package/dist-esm/samples-dev/deploymentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsGetSample.js +42 -0
- package/dist-esm/samples-dev/deploymentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.js +62 -0
- package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.js +46 -0
- package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsCountDevicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsCountDevicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsCountDevicesSample.js +41 -0
- package/dist-esm/samples-dev/deviceGroupsCountDevicesSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsDeleteSample.js +41 -0
- package/dist-esm/samples-dev/deviceGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsGetSample.js +41 -0
- package/dist-esm/samples-dev/deviceGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsListByProductSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsListByProductSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsListByProductSample.js +61 -0
- package/dist-esm/samples-dev/deviceGroupsListByProductSample.js.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/deviceGroupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deviceGroupsUpdateSample.js +42 -0
- package/dist-esm/samples-dev/deviceGroupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/devicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesDeleteSample.js +42 -0
- package/dist-esm/samples-dev/devicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.js +45 -0
- package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesGetSample.js +42 -0
- package/dist-esm/samples-dev/devicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesListByDeviceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesListByDeviceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesListByDeviceGroupSample.js +62 -0
- package/dist-esm/samples-dev/devicesListByDeviceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/devicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/devicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/devicesUpdateSample.js +43 -0
- package/dist-esm/samples-dev/devicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/imagesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/imagesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/imagesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/imagesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/imagesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/imagesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/imagesGetSample.js +40 -0
- package/dist-esm/samples-dev/imagesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/imagesListByCatalogSample.d.ts +2 -0
- package/dist-esm/samples-dev/imagesListByCatalogSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/imagesListByCatalogSample.js +60 -0
- package/dist-esm/samples-dev/imagesListByCatalogSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +58 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/productsCountDevicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsCountDevicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsCountDevicesSample.js +40 -0
- package/dist-esm/samples-dev/productsCountDevicesSample.js.map +1 -0
- package/dist-esm/samples-dev/productsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/productsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/productsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/productsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.js +61 -0
- package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.js.map +1 -0
- package/dist-esm/samples-dev/productsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsGetSample.js +40 -0
- package/dist-esm/samples-dev/productsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/productsListByCatalogSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsListByCatalogSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsListByCatalogSample.js +60 -0
- package/dist-esm/samples-dev/productsListByCatalogSample.js.map +1 -0
- package/dist-esm/samples-dev/productsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsUpdateSample.js +41 -0
- package/dist-esm/samples-dev/productsUpdateSample.js.map +1 -0
- package/dist-esm/src/azureSphereManagementClient.d.ts +27 -0
- package/dist-esm/src/azureSphereManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureSphereManagementClient.js +107 -0
- package/dist-esm/src/azureSphereManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1318 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +158 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +61 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1441 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +34 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +265 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/catalogs.d.ts +205 -0
- package/dist-esm/src/operations/catalogs.d.ts.map +1 -0
- package/dist-esm/src/operations/catalogs.js +1081 -0
- package/dist-esm/src/operations/catalogs.js.map +1 -0
- package/dist-esm/src/operations/certificates.d.ts +66 -0
- package/dist-esm/src/operations/certificates.d.ts.map +1 -0
- package/dist-esm/src/operations/certificates.js +269 -0
- package/dist-esm/src/operations/certificates.js.map +1 -0
- package/dist-esm/src/operations/deployments.d.ts +109 -0
- package/dist-esm/src/operations/deployments.d.ts.map +1 -0
- package/dist-esm/src/operations/deployments.js +436 -0
- package/dist-esm/src/operations/deployments.js.map +1 -0
- package/dist-esm/src/operations/deviceGroups.d.ts +150 -0
- package/dist-esm/src/operations/deviceGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/deviceGroups.js +647 -0
- package/dist-esm/src/operations/deviceGroups.js.map +1 -0
- package/dist-esm/src/operations/devices.d.ts +152 -0
- package/dist-esm/src/operations/devices.d.ts.map +1 -0
- package/dist-esm/src/operations/devices.js +643 -0
- package/dist-esm/src/operations/devices.js.map +1 -0
- package/dist-esm/src/operations/images.d.ts +81 -0
- package/dist-esm/src/operations/images.d.ts.map +1 -0
- package/dist-esm/src/operations/images.js +369 -0
- package/dist-esm/src/operations/images.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +9 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +16 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +145 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +639 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/catalogs.d.ts +99 -0
- package/dist-esm/src/operationsInterfaces/catalogs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/catalogs.js +9 -0
- package/dist-esm/src/operationsInterfaces/catalogs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificates.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/certificates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificates.js +9 -0
- package/dist-esm/src/operationsInterfaces/certificates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deployments.d.ts +79 -0
- package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
- package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deviceGroups.d.ts +122 -0
- package/dist-esm/src/operationsInterfaces/deviceGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deviceGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/deviceGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/devices.d.ts +122 -0
- package/dist-esm/src/operationsInterfaces/devices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/devices.js +9 -0
- package/dist-esm/src/operationsInterfaces/devices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.js +9 -0
- package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +16 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts +99 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sphere_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/sphere_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/sphere_operations_test.spec.js +145 -0
- package/dist-esm/test/sphere_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-sphere.api.md +1112 -0
- package/rollup.config.js +122 -0
- package/src/azureSphereManagementClient.ts +172 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +1534 -0
- package/src/models/mappers.ts +1562 -0
- package/src/models/parameters.ts +321 -0
- package/src/operations/catalogs.ts +1390 -0
- package/src/operations/certificates.ts +354 -0
- package/src/operations/deployments.ts +609 -0
- package/src/operations/deviceGroups.ts +912 -0
- package/src/operations/devices.ts +918 -0
- package/src/operations/images.ts +508 -0
- package/src/operations/index.ts +16 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/products.ts +884 -0
- package/src/operationsInterfaces/catalogs.ts +189 -0
- package/src/operationsInterfaces/certificates.ts +80 -0
- package/src/operationsInterfaces/deployments.ts +144 -0
- package/src/operationsInterfaces/deviceGroups.ts +233 -0
- package/src/operationsInterfaces/devices.ts +235 -0
- package/src/operationsInterfaces/images.ts +109 -0
- package/src/operationsInterfaces/index.ts +16 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/products.ts +186 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-sphere.d.ts +2155 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,2155 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
4
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Defines values for ActionType. \
|
|
9
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
10
|
+
* this enum contains the known values that the service supports.
|
|
11
|
+
* ### Known values supported by the service
|
|
12
|
+
* **Internal**
|
|
13
|
+
*/
|
|
14
|
+
export declare type ActionType = string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Defines values for AllowCrashDumpCollection. \
|
|
18
|
+
* {@link KnownAllowCrashDumpCollection} can be used interchangeably with AllowCrashDumpCollection,
|
|
19
|
+
* this enum contains the known values that the service supports.
|
|
20
|
+
* ### Known values supported by the service
|
|
21
|
+
* **Enabled**: Crash dump collection enabled \
|
|
22
|
+
* **Disabled**: Crash dump collection disabled
|
|
23
|
+
*/
|
|
24
|
+
export declare type AllowCrashDumpCollection = string;
|
|
25
|
+
|
|
26
|
+
export declare class AzureSphereManagementClient extends coreClient.ServiceClient {
|
|
27
|
+
$host: string;
|
|
28
|
+
apiVersion: string;
|
|
29
|
+
subscriptionId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Initializes a new instance of the AzureSphereManagementClient class.
|
|
32
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
33
|
+
* @param subscriptionId The ID of the target subscription.
|
|
34
|
+
* @param options The parameter options
|
|
35
|
+
*/
|
|
36
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureSphereManagementClientOptionalParams);
|
|
37
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
38
|
+
private addCustomApiVersionPolicy;
|
|
39
|
+
operations: Operations;
|
|
40
|
+
catalogs: Catalogs;
|
|
41
|
+
certificates: Certificates;
|
|
42
|
+
images: Images;
|
|
43
|
+
products: Products;
|
|
44
|
+
deviceGroups: DeviceGroups;
|
|
45
|
+
deployments: Deployments;
|
|
46
|
+
devices: Devices;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Optional parameters. */
|
|
50
|
+
export declare interface AzureSphereManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
51
|
+
/** server parameter */
|
|
52
|
+
$host?: string;
|
|
53
|
+
/** Api Version */
|
|
54
|
+
apiVersion?: string;
|
|
55
|
+
/** Overrides client endpoint. */
|
|
56
|
+
endpoint?: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Defines values for CapabilityType. \
|
|
61
|
+
* {@link KnownCapabilityType} can be used interchangeably with CapabilityType,
|
|
62
|
+
* this enum contains the known values that the service supports.
|
|
63
|
+
* ### Known values supported by the service
|
|
64
|
+
* **ApplicationDevelopment**: Application development capability \
|
|
65
|
+
* **FieldServicing**: Field servicing capability
|
|
66
|
+
*/
|
|
67
|
+
export declare type CapabilityType = string;
|
|
68
|
+
|
|
69
|
+
/** An Azure Sphere catalog */
|
|
70
|
+
export declare interface Catalog extends TrackedResource {
|
|
71
|
+
/**
|
|
72
|
+
* The status of the last operation.
|
|
73
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
74
|
+
*/
|
|
75
|
+
readonly provisioningState?: ProvisioningState;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** The response of a Catalog list operation. */
|
|
79
|
+
export declare interface CatalogListResult {
|
|
80
|
+
/** The Catalog items on this page */
|
|
81
|
+
value: Catalog[];
|
|
82
|
+
/** The link to the next page of items */
|
|
83
|
+
nextLink?: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** Interface representing a Catalogs. */
|
|
87
|
+
export declare interface Catalogs {
|
|
88
|
+
/**
|
|
89
|
+
* List Catalog resources by subscription ID
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
listBySubscription(options?: CatalogsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Catalog>;
|
|
93
|
+
/**
|
|
94
|
+
* List Catalog resources by resource group
|
|
95
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
listByResourceGroup(resourceGroupName: string, options?: CatalogsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Catalog>;
|
|
99
|
+
/**
|
|
100
|
+
* Lists deployments for catalog.
|
|
101
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
|
+
* @param catalogName Name of catalog
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
listDeployments(resourceGroupName: string, catalogName: string, options?: CatalogsListDeploymentsOptionalParams): PagedAsyncIterableIterator<Deployment>;
|
|
106
|
+
/**
|
|
107
|
+
* List the device groups for the catalog.
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param catalogName Name of catalog
|
|
110
|
+
* @param listDeviceGroupsRequest List device groups for catalog.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
listDeviceGroups(resourceGroupName: string, catalogName: string, listDeviceGroupsRequest: ListDeviceGroupsRequest, options?: CatalogsListDeviceGroupsOptionalParams): PagedAsyncIterableIterator<DeviceGroup>;
|
|
114
|
+
/**
|
|
115
|
+
* Lists device insights for catalog.
|
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
117
|
+
* @param catalogName Name of catalog
|
|
118
|
+
* @param options The options parameters.
|
|
119
|
+
*/
|
|
120
|
+
listDeviceInsights(resourceGroupName: string, catalogName: string, options?: CatalogsListDeviceInsightsOptionalParams): PagedAsyncIterableIterator<DeviceInsight>;
|
|
121
|
+
/**
|
|
122
|
+
* Lists devices for catalog.
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param catalogName Name of catalog
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
listDevices(resourceGroupName: string, catalogName: string, options?: CatalogsListDevicesOptionalParams): PagedAsyncIterableIterator<Device>;
|
|
128
|
+
/**
|
|
129
|
+
* Get a Catalog
|
|
130
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
|
+
* @param catalogName Name of catalog
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
get(resourceGroupName: string, catalogName: string, options?: CatalogsGetOptionalParams): Promise<CatalogsGetResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Create a Catalog
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
+
* @param catalogName Name of catalog
|
|
139
|
+
* @param resource Resource create parameters.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, resource: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CatalogsCreateOrUpdateResponse>, CatalogsCreateOrUpdateResponse>>;
|
|
143
|
+
/**
|
|
144
|
+
* Create a Catalog
|
|
145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
|
+
* @param catalogName Name of catalog
|
|
147
|
+
* @param resource Resource create parameters.
|
|
148
|
+
* @param options The options parameters.
|
|
149
|
+
*/
|
|
150
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, resource: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise<CatalogsCreateOrUpdateResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Update a Catalog
|
|
153
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
154
|
+
* @param catalogName Name of catalog
|
|
155
|
+
* @param properties The resource properties to be updated.
|
|
156
|
+
* @param options The options parameters.
|
|
157
|
+
*/
|
|
158
|
+
update(resourceGroupName: string, catalogName: string, properties: CatalogUpdate, options?: CatalogsUpdateOptionalParams): Promise<CatalogsUpdateResponse>;
|
|
159
|
+
/**
|
|
160
|
+
* Delete a Catalog
|
|
161
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
+
* @param catalogName Name of catalog
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
beginDelete(resourceGroupName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
166
|
+
/**
|
|
167
|
+
* Delete a Catalog
|
|
168
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
|
+
* @param catalogName Name of catalog
|
|
170
|
+
* @param options The options parameters.
|
|
171
|
+
*/
|
|
172
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise<void>;
|
|
173
|
+
/**
|
|
174
|
+
* Counts devices in catalog.
|
|
175
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
176
|
+
* @param catalogName Name of catalog
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
countDevices(resourceGroupName: string, catalogName: string, options?: CatalogsCountDevicesOptionalParams): Promise<CatalogsCountDevicesResponse>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** Optional parameters. */
|
|
183
|
+
export declare interface CatalogsCountDevicesOptionalParams extends coreClient.OperationOptions {
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** Contains response data for the countDevices operation. */
|
|
187
|
+
export declare type CatalogsCountDevicesResponse = CountDeviceResponse;
|
|
188
|
+
|
|
189
|
+
/** Defines headers for Catalogs_createOrUpdate operation. */
|
|
190
|
+
export declare interface CatalogsCreateOrUpdateHeaders {
|
|
191
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
192
|
+
retryAfter?: number;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Optional parameters. */
|
|
196
|
+
export declare interface CatalogsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
197
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
198
|
+
updateIntervalInMs?: number;
|
|
199
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
200
|
+
resumeFrom?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
204
|
+
export declare type CatalogsCreateOrUpdateResponse = Catalog;
|
|
205
|
+
|
|
206
|
+
/** Defines headers for Catalogs_delete operation. */
|
|
207
|
+
export declare interface CatalogsDeleteHeaders {
|
|
208
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
209
|
+
retryAfter?: number;
|
|
210
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
211
|
+
location?: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/** Optional parameters. */
|
|
215
|
+
export declare interface CatalogsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
216
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
217
|
+
updateIntervalInMs?: number;
|
|
218
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
219
|
+
resumeFrom?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/** Optional parameters. */
|
|
223
|
+
export declare interface CatalogsGetOptionalParams extends coreClient.OperationOptions {
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/** Contains response data for the get operation. */
|
|
227
|
+
export declare type CatalogsGetResponse = Catalog;
|
|
228
|
+
|
|
229
|
+
/** Optional parameters. */
|
|
230
|
+
export declare interface CatalogsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
234
|
+
export declare type CatalogsListByResourceGroupNextResponse = CatalogListResult;
|
|
235
|
+
|
|
236
|
+
/** Optional parameters. */
|
|
237
|
+
export declare interface CatalogsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
241
|
+
export declare type CatalogsListByResourceGroupResponse = CatalogListResult;
|
|
242
|
+
|
|
243
|
+
/** Optional parameters. */
|
|
244
|
+
export declare interface CatalogsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
248
|
+
export declare type CatalogsListBySubscriptionNextResponse = CatalogListResult;
|
|
249
|
+
|
|
250
|
+
/** Optional parameters. */
|
|
251
|
+
export declare interface CatalogsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** Contains response data for the listBySubscription operation. */
|
|
255
|
+
export declare type CatalogsListBySubscriptionResponse = CatalogListResult;
|
|
256
|
+
|
|
257
|
+
/** Optional parameters. */
|
|
258
|
+
export declare interface CatalogsListDeploymentsNextOptionalParams extends coreClient.OperationOptions {
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/** Contains response data for the listDeploymentsNext operation. */
|
|
262
|
+
export declare type CatalogsListDeploymentsNextResponse = DeploymentListResult;
|
|
263
|
+
|
|
264
|
+
/** Optional parameters. */
|
|
265
|
+
export declare interface CatalogsListDeploymentsOptionalParams extends coreClient.OperationOptions {
|
|
266
|
+
/** Filter the result list using the given expression */
|
|
267
|
+
filter?: string;
|
|
268
|
+
/** The number of result items to return. */
|
|
269
|
+
top?: number;
|
|
270
|
+
/** The number of result items to skip. */
|
|
271
|
+
skip?: number;
|
|
272
|
+
/** The maximum number of result items per page. */
|
|
273
|
+
maxpagesize?: number;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** Contains response data for the listDeployments operation. */
|
|
277
|
+
export declare type CatalogsListDeploymentsResponse = DeploymentListResult;
|
|
278
|
+
|
|
279
|
+
/** Optional parameters. */
|
|
280
|
+
export declare interface CatalogsListDeviceGroupsNextOptionalParams extends coreClient.OperationOptions {
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/** Contains response data for the listDeviceGroupsNext operation. */
|
|
284
|
+
export declare type CatalogsListDeviceGroupsNextResponse = DeviceGroupListResult;
|
|
285
|
+
|
|
286
|
+
/** Optional parameters. */
|
|
287
|
+
export declare interface CatalogsListDeviceGroupsOptionalParams extends coreClient.OperationOptions {
|
|
288
|
+
/** Filter the result list using the given expression */
|
|
289
|
+
filter?: string;
|
|
290
|
+
/** The number of result items to return. */
|
|
291
|
+
top?: number;
|
|
292
|
+
/** The number of result items to skip. */
|
|
293
|
+
skip?: number;
|
|
294
|
+
/** The maximum number of result items per page. */
|
|
295
|
+
maxpagesize?: number;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** Contains response data for the listDeviceGroups operation. */
|
|
299
|
+
export declare type CatalogsListDeviceGroupsResponse = DeviceGroupListResult;
|
|
300
|
+
|
|
301
|
+
/** Optional parameters. */
|
|
302
|
+
export declare interface CatalogsListDeviceInsightsNextOptionalParams extends coreClient.OperationOptions {
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/** Contains response data for the listDeviceInsightsNext operation. */
|
|
306
|
+
export declare type CatalogsListDeviceInsightsNextResponse = PagedDeviceInsight;
|
|
307
|
+
|
|
308
|
+
/** Optional parameters. */
|
|
309
|
+
export declare interface CatalogsListDeviceInsightsOptionalParams extends coreClient.OperationOptions {
|
|
310
|
+
/** Filter the result list using the given expression */
|
|
311
|
+
filter?: string;
|
|
312
|
+
/** The number of result items to return. */
|
|
313
|
+
top?: number;
|
|
314
|
+
/** The number of result items to skip. */
|
|
315
|
+
skip?: number;
|
|
316
|
+
/** The maximum number of result items per page. */
|
|
317
|
+
maxpagesize?: number;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Contains response data for the listDeviceInsights operation. */
|
|
321
|
+
export declare type CatalogsListDeviceInsightsResponse = PagedDeviceInsight;
|
|
322
|
+
|
|
323
|
+
/** Optional parameters. */
|
|
324
|
+
export declare interface CatalogsListDevicesNextOptionalParams extends coreClient.OperationOptions {
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** Contains response data for the listDevicesNext operation. */
|
|
328
|
+
export declare type CatalogsListDevicesNextResponse = DeviceListResult;
|
|
329
|
+
|
|
330
|
+
/** Optional parameters. */
|
|
331
|
+
export declare interface CatalogsListDevicesOptionalParams extends coreClient.OperationOptions {
|
|
332
|
+
/** Filter the result list using the given expression */
|
|
333
|
+
filter?: string;
|
|
334
|
+
/** The number of result items to return. */
|
|
335
|
+
top?: number;
|
|
336
|
+
/** The number of result items to skip. */
|
|
337
|
+
skip?: number;
|
|
338
|
+
/** The maximum number of result items per page. */
|
|
339
|
+
maxpagesize?: number;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** Contains response data for the listDevices operation. */
|
|
343
|
+
export declare type CatalogsListDevicesResponse = DeviceListResult;
|
|
344
|
+
|
|
345
|
+
/** Optional parameters. */
|
|
346
|
+
export declare interface CatalogsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** Contains response data for the update operation. */
|
|
350
|
+
export declare type CatalogsUpdateResponse = Catalog;
|
|
351
|
+
|
|
352
|
+
/** The type used for update operations of the Catalog. */
|
|
353
|
+
export declare interface CatalogUpdate {
|
|
354
|
+
/** Resource tags. */
|
|
355
|
+
tags?: {
|
|
356
|
+
[propertyName: string]: string;
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** An certificate resource belonging to a catalog resource. */
|
|
361
|
+
export declare interface Certificate extends ProxyResource {
|
|
362
|
+
/**
|
|
363
|
+
* The certificate as a UTF-8 encoded base 64 string.
|
|
364
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
365
|
+
*/
|
|
366
|
+
readonly certificate?: string;
|
|
367
|
+
/**
|
|
368
|
+
* The certificate status.
|
|
369
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
370
|
+
*/
|
|
371
|
+
readonly status?: CertificateStatus;
|
|
372
|
+
/**
|
|
373
|
+
* The certificate subject.
|
|
374
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
375
|
+
*/
|
|
376
|
+
readonly subject?: string;
|
|
377
|
+
/**
|
|
378
|
+
* The certificate thumbprint.
|
|
379
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
380
|
+
*/
|
|
381
|
+
readonly thumbprint?: string;
|
|
382
|
+
/**
|
|
383
|
+
* The certificate expiry date.
|
|
384
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
385
|
+
*/
|
|
386
|
+
readonly expiryUtc?: Date;
|
|
387
|
+
/**
|
|
388
|
+
* The certificate not before date.
|
|
389
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
390
|
+
*/
|
|
391
|
+
readonly notBeforeUtc?: Date;
|
|
392
|
+
/**
|
|
393
|
+
* The status of the last operation.
|
|
394
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
395
|
+
*/
|
|
396
|
+
readonly provisioningState?: ProvisioningState;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/** The certificate chain response. */
|
|
400
|
+
export declare interface CertificateChainResponse {
|
|
401
|
+
/**
|
|
402
|
+
* The certificate chain.
|
|
403
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
404
|
+
*/
|
|
405
|
+
readonly certificateChain?: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** The response of a Certificate list operation. */
|
|
409
|
+
export declare interface CertificateListResult {
|
|
410
|
+
/** The Certificate items on this page */
|
|
411
|
+
value: Certificate[];
|
|
412
|
+
/** The link to the next page of items */
|
|
413
|
+
nextLink?: string;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/** The properties of certificate */
|
|
417
|
+
export declare interface CertificateProperties {
|
|
418
|
+
/**
|
|
419
|
+
* The certificate as a UTF-8 encoded base 64 string.
|
|
420
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
421
|
+
*/
|
|
422
|
+
readonly certificate?: string;
|
|
423
|
+
/**
|
|
424
|
+
* The certificate status.
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly status?: CertificateStatus;
|
|
428
|
+
/**
|
|
429
|
+
* The certificate subject.
|
|
430
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
|
+
*/
|
|
432
|
+
readonly subject?: string;
|
|
433
|
+
/**
|
|
434
|
+
* The certificate thumbprint.
|
|
435
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
436
|
+
*/
|
|
437
|
+
readonly thumbprint?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The certificate expiry date.
|
|
440
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
441
|
+
*/
|
|
442
|
+
readonly expiryUtc?: Date;
|
|
443
|
+
/**
|
|
444
|
+
* The certificate not before date.
|
|
445
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
446
|
+
*/
|
|
447
|
+
readonly notBeforeUtc?: Date;
|
|
448
|
+
/**
|
|
449
|
+
* The status of the last operation.
|
|
450
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
451
|
+
*/
|
|
452
|
+
readonly provisioningState?: ProvisioningState;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/** Interface representing a Certificates. */
|
|
456
|
+
export declare interface Certificates {
|
|
457
|
+
/**
|
|
458
|
+
* List Certificate resources by Catalog
|
|
459
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
460
|
+
* @param catalogName Name of catalog
|
|
461
|
+
* @param options The options parameters.
|
|
462
|
+
*/
|
|
463
|
+
listByCatalog(resourceGroupName: string, catalogName: string, options?: CertificatesListByCatalogOptionalParams): PagedAsyncIterableIterator<Certificate>;
|
|
464
|
+
/**
|
|
465
|
+
* Get a Certificate
|
|
466
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
467
|
+
* @param catalogName Name of catalog
|
|
468
|
+
* @param serialNumber Serial number of the certificate. Use '.default' to get current active
|
|
469
|
+
* certificate.
|
|
470
|
+
* @param options The options parameters.
|
|
471
|
+
*/
|
|
472
|
+
get(resourceGroupName: string, catalogName: string, serialNumber: string, options?: CertificatesGetOptionalParams): Promise<CertificatesGetResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* Retrieves cert chain.
|
|
475
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
476
|
+
* @param catalogName Name of catalog
|
|
477
|
+
* @param serialNumber Serial number of the certificate. Use '.default' to get current active
|
|
478
|
+
* certificate.
|
|
479
|
+
* @param options The options parameters.
|
|
480
|
+
*/
|
|
481
|
+
retrieveCertChain(resourceGroupName: string, catalogName: string, serialNumber: string, options?: CertificatesRetrieveCertChainOptionalParams): Promise<CertificatesRetrieveCertChainResponse>;
|
|
482
|
+
/**
|
|
483
|
+
* Gets the proof of possession nonce.
|
|
484
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
485
|
+
* @param catalogName Name of catalog
|
|
486
|
+
* @param serialNumber Serial number of the certificate. Use '.default' to get current active
|
|
487
|
+
* certificate.
|
|
488
|
+
* @param proofOfPossessionNonceRequest Proof of possession nonce request body
|
|
489
|
+
* @param options The options parameters.
|
|
490
|
+
*/
|
|
491
|
+
retrieveProofOfPossessionNonce(resourceGroupName: string, catalogName: string, serialNumber: string, proofOfPossessionNonceRequest: ProofOfPossessionNonceRequest, options?: CertificatesRetrieveProofOfPossessionNonceOptionalParams): Promise<CertificatesRetrieveProofOfPossessionNonceResponse>;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/** Optional parameters. */
|
|
495
|
+
export declare interface CertificatesGetOptionalParams extends coreClient.OperationOptions {
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/** Contains response data for the get operation. */
|
|
499
|
+
export declare type CertificatesGetResponse = Certificate;
|
|
500
|
+
|
|
501
|
+
/** Optional parameters. */
|
|
502
|
+
export declare interface CertificatesListByCatalogNextOptionalParams extends coreClient.OperationOptions {
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/** Contains response data for the listByCatalogNext operation. */
|
|
506
|
+
export declare type CertificatesListByCatalogNextResponse = CertificateListResult;
|
|
507
|
+
|
|
508
|
+
/** Optional parameters. */
|
|
509
|
+
export declare interface CertificatesListByCatalogOptionalParams extends coreClient.OperationOptions {
|
|
510
|
+
/** Filter the result list using the given expression */
|
|
511
|
+
filter?: string;
|
|
512
|
+
/** The number of result items to return. */
|
|
513
|
+
top?: number;
|
|
514
|
+
/** The number of result items to skip. */
|
|
515
|
+
skip?: number;
|
|
516
|
+
/** The maximum number of result items per page. */
|
|
517
|
+
maxpagesize?: number;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/** Contains response data for the listByCatalog operation. */
|
|
521
|
+
export declare type CertificatesListByCatalogResponse = CertificateListResult;
|
|
522
|
+
|
|
523
|
+
/** Optional parameters. */
|
|
524
|
+
export declare interface CertificatesRetrieveCertChainOptionalParams extends coreClient.OperationOptions {
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/** Contains response data for the retrieveCertChain operation. */
|
|
528
|
+
export declare type CertificatesRetrieveCertChainResponse = CertificateChainResponse;
|
|
529
|
+
|
|
530
|
+
/** Optional parameters. */
|
|
531
|
+
export declare interface CertificatesRetrieveProofOfPossessionNonceOptionalParams extends coreClient.OperationOptions {
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/** Contains response data for the retrieveProofOfPossessionNonce operation. */
|
|
535
|
+
export declare type CertificatesRetrieveProofOfPossessionNonceResponse = ProofOfPossessionNonceResponse;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Defines values for CertificateStatus. \
|
|
539
|
+
* {@link KnownCertificateStatus} can be used interchangeably with CertificateStatus,
|
|
540
|
+
* this enum contains the known values that the service supports.
|
|
541
|
+
* ### Known values supported by the service
|
|
542
|
+
* **Active**: Certificate is active \
|
|
543
|
+
* **Inactive**: Certificate is inactive \
|
|
544
|
+
* **Expired**: Certificate has expired \
|
|
545
|
+
* **Revoked**: Certificate has been revoked
|
|
546
|
+
*/
|
|
547
|
+
export declare type CertificateStatus = string;
|
|
548
|
+
|
|
549
|
+
/** Request to the action call to bulk claim devices. */
|
|
550
|
+
export declare interface ClaimDevicesRequest {
|
|
551
|
+
/** Device identifiers of the devices to be claimed. */
|
|
552
|
+
deviceIdentifiers: string[];
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/** Response to the action call for count devices in a catalog. */
|
|
556
|
+
export declare interface CountDeviceResponse extends CountElementsResponse {
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/** Response of the count for elements. */
|
|
560
|
+
export declare interface CountElementsResponse {
|
|
561
|
+
/** Number of children resources in parent resource. */
|
|
562
|
+
value: number;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Defines values for CreatedByType. \
|
|
567
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
568
|
+
* this enum contains the known values that the service supports.
|
|
569
|
+
* ### Known values supported by the service
|
|
570
|
+
* **User** \
|
|
571
|
+
* **Application** \
|
|
572
|
+
* **ManagedIdentity** \
|
|
573
|
+
* **Key**
|
|
574
|
+
*/
|
|
575
|
+
export declare type CreatedByType = string;
|
|
576
|
+
|
|
577
|
+
/** An deployment resource belonging to a device group resource. */
|
|
578
|
+
export declare interface Deployment extends ProxyResource {
|
|
579
|
+
/** Deployment ID */
|
|
580
|
+
deploymentId?: string;
|
|
581
|
+
/** Images deployed */
|
|
582
|
+
deployedImages?: Image_2[];
|
|
583
|
+
/**
|
|
584
|
+
* Deployment date UTC
|
|
585
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
586
|
+
*/
|
|
587
|
+
readonly deploymentDateUtc?: Date;
|
|
588
|
+
/**
|
|
589
|
+
* The status of the last operation.
|
|
590
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
591
|
+
*/
|
|
592
|
+
readonly provisioningState?: ProvisioningState;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** The response of a Deployment list operation. */
|
|
596
|
+
export declare interface DeploymentListResult {
|
|
597
|
+
/** The Deployment items on this page */
|
|
598
|
+
value: Deployment[];
|
|
599
|
+
/** The link to the next page of items */
|
|
600
|
+
nextLink?: string;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/** Interface representing a Deployments. */
|
|
604
|
+
export declare interface Deployments {
|
|
605
|
+
/**
|
|
606
|
+
* List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and
|
|
607
|
+
* cannot be used for product or device group name.
|
|
608
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
609
|
+
* @param catalogName Name of catalog
|
|
610
|
+
* @param productName Name of product.
|
|
611
|
+
* @param deviceGroupName Name of device group.
|
|
612
|
+
* @param options The options parameters.
|
|
613
|
+
*/
|
|
614
|
+
listByDeviceGroup(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DeploymentsListByDeviceGroupOptionalParams): PagedAsyncIterableIterator<Deployment>;
|
|
615
|
+
/**
|
|
616
|
+
* Get a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
617
|
+
* product or device group name.
|
|
618
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
619
|
+
* @param catalogName Name of catalog
|
|
620
|
+
* @param productName Name of product.
|
|
621
|
+
* @param deviceGroupName Name of device group.
|
|
622
|
+
* @param deploymentName Deployment name. Use .default for deployment creation and to get the current
|
|
623
|
+
* deployment for the associated device group.
|
|
624
|
+
* @param options The options parameters.
|
|
625
|
+
*/
|
|
626
|
+
get(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deploymentName: string, options?: DeploymentsGetOptionalParams): Promise<DeploymentsGetResponse>;
|
|
627
|
+
/**
|
|
628
|
+
* Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
629
|
+
* product or device group name.
|
|
630
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
631
|
+
* @param catalogName Name of catalog
|
|
632
|
+
* @param productName Name of product.
|
|
633
|
+
* @param deviceGroupName Name of device group.
|
|
634
|
+
* @param deploymentName Deployment name. Use .default for deployment creation and to get the current
|
|
635
|
+
* deployment for the associated device group.
|
|
636
|
+
* @param resource Resource create parameters.
|
|
637
|
+
* @param options The options parameters.
|
|
638
|
+
*/
|
|
639
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deploymentName: string, resource: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DeploymentsCreateOrUpdateResponse>, DeploymentsCreateOrUpdateResponse>>;
|
|
640
|
+
/**
|
|
641
|
+
* Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
642
|
+
* product or device group name.
|
|
643
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
644
|
+
* @param catalogName Name of catalog
|
|
645
|
+
* @param productName Name of product.
|
|
646
|
+
* @param deviceGroupName Name of device group.
|
|
647
|
+
* @param deploymentName Deployment name. Use .default for deployment creation and to get the current
|
|
648
|
+
* deployment for the associated device group.
|
|
649
|
+
* @param resource Resource create parameters.
|
|
650
|
+
* @param options The options parameters.
|
|
651
|
+
*/
|
|
652
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deploymentName: string, resource: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<DeploymentsCreateOrUpdateResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
655
|
+
* product or device group name.
|
|
656
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
657
|
+
* @param catalogName Name of catalog
|
|
658
|
+
* @param productName Name of product.
|
|
659
|
+
* @param deviceGroupName Name of device group.
|
|
660
|
+
* @param deploymentName Deployment name. Use .default for deployment creation and to get the current
|
|
661
|
+
* deployment for the associated device group.
|
|
662
|
+
* @param options The options parameters.
|
|
663
|
+
*/
|
|
664
|
+
beginDelete(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
665
|
+
/**
|
|
666
|
+
* Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
667
|
+
* product or device group name.
|
|
668
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
669
|
+
* @param catalogName Name of catalog
|
|
670
|
+
* @param productName Name of product.
|
|
671
|
+
* @param deviceGroupName Name of device group.
|
|
672
|
+
* @param deploymentName Deployment name. Use .default for deployment creation and to get the current
|
|
673
|
+
* deployment for the associated device group.
|
|
674
|
+
* @param options The options parameters.
|
|
675
|
+
*/
|
|
676
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<void>;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/** Defines headers for Deployments_createOrUpdate operation. */
|
|
680
|
+
export declare interface DeploymentsCreateOrUpdateHeaders {
|
|
681
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
682
|
+
retryAfter?: number;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/** Optional parameters. */
|
|
686
|
+
export declare interface DeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
687
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
688
|
+
updateIntervalInMs?: number;
|
|
689
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
690
|
+
resumeFrom?: string;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
694
|
+
export declare type DeploymentsCreateOrUpdateResponse = Deployment;
|
|
695
|
+
|
|
696
|
+
/** Defines headers for Deployments_delete operation. */
|
|
697
|
+
export declare interface DeploymentsDeleteHeaders {
|
|
698
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
699
|
+
retryAfter?: number;
|
|
700
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
701
|
+
location?: string;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** Optional parameters. */
|
|
705
|
+
export declare interface DeploymentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
706
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
707
|
+
updateIntervalInMs?: number;
|
|
708
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
709
|
+
resumeFrom?: string;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** Optional parameters. */
|
|
713
|
+
export declare interface DeploymentsGetOptionalParams extends coreClient.OperationOptions {
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/** Contains response data for the get operation. */
|
|
717
|
+
export declare type DeploymentsGetResponse = Deployment;
|
|
718
|
+
|
|
719
|
+
/** Optional parameters. */
|
|
720
|
+
export declare interface DeploymentsListByDeviceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** Contains response data for the listByDeviceGroupNext operation. */
|
|
724
|
+
export declare type DeploymentsListByDeviceGroupNextResponse = DeploymentListResult;
|
|
725
|
+
|
|
726
|
+
/** Optional parameters. */
|
|
727
|
+
export declare interface DeploymentsListByDeviceGroupOptionalParams extends coreClient.OperationOptions {
|
|
728
|
+
/** Filter the result list using the given expression */
|
|
729
|
+
filter?: string;
|
|
730
|
+
/** The number of result items to return. */
|
|
731
|
+
top?: number;
|
|
732
|
+
/** The number of result items to skip. */
|
|
733
|
+
skip?: number;
|
|
734
|
+
/** The maximum number of result items per page. */
|
|
735
|
+
maxpagesize?: number;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/** Contains response data for the listByDeviceGroup operation. */
|
|
739
|
+
export declare type DeploymentsListByDeviceGroupResponse = DeploymentListResult;
|
|
740
|
+
|
|
741
|
+
/** An device resource belonging to a device group resource. */
|
|
742
|
+
export declare interface Device extends ProxyResource {
|
|
743
|
+
/** Device ID */
|
|
744
|
+
deviceId?: string;
|
|
745
|
+
/**
|
|
746
|
+
* SKU of the chip
|
|
747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
748
|
+
*/
|
|
749
|
+
readonly chipSku?: string;
|
|
750
|
+
/**
|
|
751
|
+
* OS version available for installation when update requested
|
|
752
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
753
|
+
*/
|
|
754
|
+
readonly lastAvailableOsVersion?: string;
|
|
755
|
+
/**
|
|
756
|
+
* OS version running on device when update requested
|
|
757
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
758
|
+
*/
|
|
759
|
+
readonly lastInstalledOsVersion?: string;
|
|
760
|
+
/**
|
|
761
|
+
* Time when update requested and new OS version available
|
|
762
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
763
|
+
*/
|
|
764
|
+
readonly lastOsUpdateUtc?: Date;
|
|
765
|
+
/**
|
|
766
|
+
* Time when update was last requested
|
|
767
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
768
|
+
*/
|
|
769
|
+
readonly lastUpdateRequestUtc?: Date;
|
|
770
|
+
/**
|
|
771
|
+
* The status of the last operation.
|
|
772
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
773
|
+
*/
|
|
774
|
+
readonly provisioningState?: ProvisioningState;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/** An device group resource belonging to a product resource. */
|
|
778
|
+
export declare interface DeviceGroup extends ProxyResource {
|
|
779
|
+
/** Description of the device group. */
|
|
780
|
+
description?: string;
|
|
781
|
+
/** Operating system feed type of the device group. */
|
|
782
|
+
osFeedType?: OSFeedType;
|
|
783
|
+
/** Update policy of the device group. */
|
|
784
|
+
updatePolicy?: UpdatePolicy;
|
|
785
|
+
/** Flag to define if the user allows for crash dump collection. */
|
|
786
|
+
allowCrashDumpsCollection?: AllowCrashDumpCollection;
|
|
787
|
+
/** Regional data boundary for the device group. */
|
|
788
|
+
regionalDataBoundary?: RegionalDataBoundary;
|
|
789
|
+
/**
|
|
790
|
+
* Deployment status for the device group.
|
|
791
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
792
|
+
*/
|
|
793
|
+
readonly hasDeployment?: boolean;
|
|
794
|
+
/**
|
|
795
|
+
* The status of the last operation.
|
|
796
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
797
|
+
*/
|
|
798
|
+
readonly provisioningState?: ProvisioningState;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/** The response of a DeviceGroup list operation. */
|
|
802
|
+
export declare interface DeviceGroupListResult {
|
|
803
|
+
/** The DeviceGroup items on this page */
|
|
804
|
+
value: DeviceGroup[];
|
|
805
|
+
/** The link to the next page of items */
|
|
806
|
+
nextLink?: string;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/** Interface representing a DeviceGroups. */
|
|
810
|
+
export declare interface DeviceGroups {
|
|
811
|
+
/**
|
|
812
|
+
* List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and
|
|
813
|
+
* cannot be used for product name.
|
|
814
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
815
|
+
* @param catalogName Name of catalog
|
|
816
|
+
* @param productName Name of product.
|
|
817
|
+
* @param options The options parameters.
|
|
818
|
+
*/
|
|
819
|
+
listByProduct(resourceGroupName: string, catalogName: string, productName: string, options?: DeviceGroupsListByProductOptionalParams): PagedAsyncIterableIterator<DeviceGroup>;
|
|
820
|
+
/**
|
|
821
|
+
* Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
822
|
+
* product or device group name.
|
|
823
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
824
|
+
* @param catalogName Name of catalog
|
|
825
|
+
* @param productName Name of product.
|
|
826
|
+
* @param deviceGroupName Name of device group.
|
|
827
|
+
* @param options The options parameters.
|
|
828
|
+
*/
|
|
829
|
+
get(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DeviceGroupsGetOptionalParams): Promise<DeviceGroupsGetResponse>;
|
|
830
|
+
/**
|
|
831
|
+
* Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
832
|
+
* product or device group name.
|
|
833
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
834
|
+
* @param catalogName Name of catalog
|
|
835
|
+
* @param productName Name of product.
|
|
836
|
+
* @param deviceGroupName Name of device group.
|
|
837
|
+
* @param resource Resource create parameters.
|
|
838
|
+
* @param options The options parameters.
|
|
839
|
+
*/
|
|
840
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, resource: DeviceGroup, options?: DeviceGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DeviceGroupsCreateOrUpdateResponse>, DeviceGroupsCreateOrUpdateResponse>>;
|
|
841
|
+
/**
|
|
842
|
+
* Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
843
|
+
* product or device group name.
|
|
844
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
845
|
+
* @param catalogName Name of catalog
|
|
846
|
+
* @param productName Name of product.
|
|
847
|
+
* @param deviceGroupName Name of device group.
|
|
848
|
+
* @param resource Resource create parameters.
|
|
849
|
+
* @param options The options parameters.
|
|
850
|
+
*/
|
|
851
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, resource: DeviceGroup, options?: DeviceGroupsCreateOrUpdateOptionalParams): Promise<DeviceGroupsCreateOrUpdateResponse>;
|
|
852
|
+
/**
|
|
853
|
+
* Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
854
|
+
* product or device group name.
|
|
855
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
856
|
+
* @param catalogName Name of catalog
|
|
857
|
+
* @param productName Name of product.
|
|
858
|
+
* @param deviceGroupName Name of device group.
|
|
859
|
+
* @param properties The resource properties to be updated.
|
|
860
|
+
* @param options The options parameters.
|
|
861
|
+
*/
|
|
862
|
+
beginUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, properties: DeviceGroupUpdate, options?: DeviceGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DeviceGroupsUpdateResponse>, DeviceGroupsUpdateResponse>>;
|
|
863
|
+
/**
|
|
864
|
+
* Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
865
|
+
* product or device group name.
|
|
866
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
867
|
+
* @param catalogName Name of catalog
|
|
868
|
+
* @param productName Name of product.
|
|
869
|
+
* @param deviceGroupName Name of device group.
|
|
870
|
+
* @param properties The resource properties to be updated.
|
|
871
|
+
* @param options The options parameters.
|
|
872
|
+
*/
|
|
873
|
+
beginUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, properties: DeviceGroupUpdate, options?: DeviceGroupsUpdateOptionalParams): Promise<DeviceGroupsUpdateResponse>;
|
|
874
|
+
/**
|
|
875
|
+
* Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
876
|
+
* product or device group name.
|
|
877
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
878
|
+
* @param catalogName Name of catalog
|
|
879
|
+
* @param productName Name of product.
|
|
880
|
+
* @param deviceGroupName Name of device group.
|
|
881
|
+
* @param options The options parameters.
|
|
882
|
+
*/
|
|
883
|
+
beginDelete(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DeviceGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
884
|
+
/**
|
|
885
|
+
* Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
886
|
+
* product or device group name.
|
|
887
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
888
|
+
* @param catalogName Name of catalog
|
|
889
|
+
* @param productName Name of product.
|
|
890
|
+
* @param deviceGroupName Name of device group.
|
|
891
|
+
* @param options The options parameters.
|
|
892
|
+
*/
|
|
893
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DeviceGroupsDeleteOptionalParams): Promise<void>;
|
|
894
|
+
/**
|
|
895
|
+
* Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when
|
|
896
|
+
* bulk claiming devices to a catalog only.
|
|
897
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
898
|
+
* @param catalogName Name of catalog
|
|
899
|
+
* @param productName Name of product.
|
|
900
|
+
* @param deviceGroupName Name of device group.
|
|
901
|
+
* @param claimDevicesRequest Bulk claim devices request body.
|
|
902
|
+
* @param options The options parameters.
|
|
903
|
+
*/
|
|
904
|
+
beginClaimDevices(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, claimDevicesRequest: ClaimDevicesRequest, options?: DeviceGroupsClaimDevicesOptionalParams): Promise<SimplePollerLike<OperationState<DeviceGroupsClaimDevicesResponse>, DeviceGroupsClaimDevicesResponse>>;
|
|
905
|
+
/**
|
|
906
|
+
* Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when
|
|
907
|
+
* bulk claiming devices to a catalog only.
|
|
908
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
909
|
+
* @param catalogName Name of catalog
|
|
910
|
+
* @param productName Name of product.
|
|
911
|
+
* @param deviceGroupName Name of device group.
|
|
912
|
+
* @param claimDevicesRequest Bulk claim devices request body.
|
|
913
|
+
* @param options The options parameters.
|
|
914
|
+
*/
|
|
915
|
+
beginClaimDevicesAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, claimDevicesRequest: ClaimDevicesRequest, options?: DeviceGroupsClaimDevicesOptionalParams): Promise<DeviceGroupsClaimDevicesResponse>;
|
|
916
|
+
/**
|
|
917
|
+
* Counts devices in device group. '.default' and '.unassigned' are system defined values and cannot be
|
|
918
|
+
* used for product or device group name.
|
|
919
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
920
|
+
* @param catalogName Name of catalog
|
|
921
|
+
* @param productName Name of product.
|
|
922
|
+
* @param deviceGroupName Name of device group.
|
|
923
|
+
* @param options The options parameters.
|
|
924
|
+
*/
|
|
925
|
+
countDevices(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DeviceGroupsCountDevicesOptionalParams): Promise<DeviceGroupsCountDevicesResponse>;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/** Defines headers for DeviceGroups_claimDevices operation. */
|
|
929
|
+
export declare interface DeviceGroupsClaimDevicesHeaders {
|
|
930
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
931
|
+
retryAfter?: number;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/** Optional parameters. */
|
|
935
|
+
export declare interface DeviceGroupsClaimDevicesOptionalParams extends coreClient.OperationOptions {
|
|
936
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
937
|
+
updateIntervalInMs?: number;
|
|
938
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
939
|
+
resumeFrom?: string;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/** Contains response data for the claimDevices operation. */
|
|
943
|
+
export declare type DeviceGroupsClaimDevicesResponse = DeviceGroupsClaimDevicesHeaders;
|
|
944
|
+
|
|
945
|
+
/** Optional parameters. */
|
|
946
|
+
export declare interface DeviceGroupsCountDevicesOptionalParams extends coreClient.OperationOptions {
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** Contains response data for the countDevices operation. */
|
|
950
|
+
export declare type DeviceGroupsCountDevicesResponse = CountDeviceResponse;
|
|
951
|
+
|
|
952
|
+
/** Defines headers for DeviceGroups_createOrUpdate operation. */
|
|
953
|
+
export declare interface DeviceGroupsCreateOrUpdateHeaders {
|
|
954
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
955
|
+
retryAfter?: number;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
/** Optional parameters. */
|
|
959
|
+
export declare interface DeviceGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
960
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
961
|
+
updateIntervalInMs?: number;
|
|
962
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
963
|
+
resumeFrom?: string;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
967
|
+
export declare type DeviceGroupsCreateOrUpdateResponse = DeviceGroup;
|
|
968
|
+
|
|
969
|
+
/** Defines headers for DeviceGroups_delete operation. */
|
|
970
|
+
export declare interface DeviceGroupsDeleteHeaders {
|
|
971
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
972
|
+
retryAfter?: number;
|
|
973
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
974
|
+
location?: string;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/** Optional parameters. */
|
|
978
|
+
export declare interface DeviceGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
979
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
980
|
+
updateIntervalInMs?: number;
|
|
981
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
982
|
+
resumeFrom?: string;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/** Optional parameters. */
|
|
986
|
+
export declare interface DeviceGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/** Contains response data for the get operation. */
|
|
990
|
+
export declare type DeviceGroupsGetResponse = DeviceGroup;
|
|
991
|
+
|
|
992
|
+
/** Optional parameters. */
|
|
993
|
+
export declare interface DeviceGroupsListByProductNextOptionalParams extends coreClient.OperationOptions {
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/** Contains response data for the listByProductNext operation. */
|
|
997
|
+
export declare type DeviceGroupsListByProductNextResponse = DeviceGroupListResult;
|
|
998
|
+
|
|
999
|
+
/** Optional parameters. */
|
|
1000
|
+
export declare interface DeviceGroupsListByProductOptionalParams extends coreClient.OperationOptions {
|
|
1001
|
+
/** Filter the result list using the given expression */
|
|
1002
|
+
filter?: string;
|
|
1003
|
+
/** The number of result items to return. */
|
|
1004
|
+
top?: number;
|
|
1005
|
+
/** The number of result items to skip. */
|
|
1006
|
+
skip?: number;
|
|
1007
|
+
/** The maximum number of result items per page. */
|
|
1008
|
+
maxpagesize?: number;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** Contains response data for the listByProduct operation. */
|
|
1012
|
+
export declare type DeviceGroupsListByProductResponse = DeviceGroupListResult;
|
|
1013
|
+
|
|
1014
|
+
/** Defines headers for DeviceGroups_update operation. */
|
|
1015
|
+
export declare interface DeviceGroupsUpdateHeaders {
|
|
1016
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1017
|
+
retryAfter?: number;
|
|
1018
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1019
|
+
location?: string;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/** Optional parameters. */
|
|
1023
|
+
export declare interface DeviceGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1024
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1025
|
+
updateIntervalInMs?: number;
|
|
1026
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1027
|
+
resumeFrom?: string;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** Contains response data for the update operation. */
|
|
1031
|
+
export declare type DeviceGroupsUpdateResponse = DeviceGroup;
|
|
1032
|
+
|
|
1033
|
+
/** The type used for update operations of the DeviceGroup. */
|
|
1034
|
+
export declare interface DeviceGroupUpdate {
|
|
1035
|
+
/** Description of the device group. */
|
|
1036
|
+
description?: string;
|
|
1037
|
+
/** Operating system feed type of the device group. */
|
|
1038
|
+
osFeedType?: OSFeedType;
|
|
1039
|
+
/** Update policy of the device group. */
|
|
1040
|
+
updatePolicy?: UpdatePolicy;
|
|
1041
|
+
/** Flag to define if the user allows for crash dump collection. */
|
|
1042
|
+
allowCrashDumpsCollection?: AllowCrashDumpCollection;
|
|
1043
|
+
/** Regional data boundary for the device group. */
|
|
1044
|
+
regionalDataBoundary?: RegionalDataBoundary;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/** Device insight report. */
|
|
1048
|
+
export declare interface DeviceInsight {
|
|
1049
|
+
/** Device ID */
|
|
1050
|
+
deviceId: string;
|
|
1051
|
+
/** Event description */
|
|
1052
|
+
description: string;
|
|
1053
|
+
/** Event start timestamp */
|
|
1054
|
+
startTimestampUtc: Date;
|
|
1055
|
+
/** Event end timestamp */
|
|
1056
|
+
endTimestampUtc: Date;
|
|
1057
|
+
/** Event category */
|
|
1058
|
+
eventCategory: string;
|
|
1059
|
+
/** Event class */
|
|
1060
|
+
eventClass: string;
|
|
1061
|
+
/** Event type */
|
|
1062
|
+
eventType: string;
|
|
1063
|
+
/** Event count */
|
|
1064
|
+
eventCount: number;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/** The response of a Device list operation. */
|
|
1068
|
+
export declare interface DeviceListResult {
|
|
1069
|
+
/** The Device items on this page */
|
|
1070
|
+
value: Device[];
|
|
1071
|
+
/** The link to the next page of items */
|
|
1072
|
+
nextLink?: string;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/** The properties of device patch */
|
|
1076
|
+
export declare interface DevicePatchProperties {
|
|
1077
|
+
/** Device group id */
|
|
1078
|
+
deviceGroupId: string;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/** Interface representing a Devices. */
|
|
1082
|
+
export declare interface Devices {
|
|
1083
|
+
/**
|
|
1084
|
+
* List Device resources by DeviceGroup. '.default' and '.unassigned' are system defined values and
|
|
1085
|
+
* cannot be used for product or device group name.
|
|
1086
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1087
|
+
* @param catalogName Name of catalog
|
|
1088
|
+
* @param productName Name of product.
|
|
1089
|
+
* @param deviceGroupName Name of device group.
|
|
1090
|
+
* @param options The options parameters.
|
|
1091
|
+
*/
|
|
1092
|
+
listByDeviceGroup(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DevicesListByDeviceGroupOptionalParams): PagedAsyncIterableIterator<Device>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Get a Device. Use '.unassigned' or '.default' for the device group and product names when a device
|
|
1095
|
+
* does not belong to a device group and product.
|
|
1096
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1097
|
+
* @param catalogName Name of catalog
|
|
1098
|
+
* @param productName Name of product.
|
|
1099
|
+
* @param deviceGroupName Name of device group.
|
|
1100
|
+
* @param deviceName Device name
|
|
1101
|
+
* @param options The options parameters.
|
|
1102
|
+
*/
|
|
1103
|
+
get(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesGetOptionalParams): Promise<DevicesGetResponse>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a
|
|
1106
|
+
* device to the catalog only.
|
|
1107
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1108
|
+
* @param catalogName Name of catalog
|
|
1109
|
+
* @param productName Name of product.
|
|
1110
|
+
* @param deviceGroupName Name of device group.
|
|
1111
|
+
* @param deviceName Device name
|
|
1112
|
+
* @param resource Resource create parameters.
|
|
1113
|
+
* @param options The options parameters.
|
|
1114
|
+
*/
|
|
1115
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, resource: Device, options?: DevicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DevicesCreateOrUpdateResponse>, DevicesCreateOrUpdateResponse>>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a
|
|
1118
|
+
* device to the catalog only.
|
|
1119
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1120
|
+
* @param catalogName Name of catalog
|
|
1121
|
+
* @param productName Name of product.
|
|
1122
|
+
* @param deviceGroupName Name of device group.
|
|
1123
|
+
* @param deviceName Device name
|
|
1124
|
+
* @param resource Resource create parameters.
|
|
1125
|
+
* @param options The options parameters.
|
|
1126
|
+
*/
|
|
1127
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, resource: Device, options?: DevicesCreateOrUpdateOptionalParams): Promise<DevicesCreateOrUpdateResponse>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a
|
|
1130
|
+
* device to the catalog level.
|
|
1131
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1132
|
+
* @param catalogName Name of catalog
|
|
1133
|
+
* @param productName Name of product.
|
|
1134
|
+
* @param deviceGroupName Name of device group.
|
|
1135
|
+
* @param deviceName Device name
|
|
1136
|
+
* @param properties The resource properties to be updated.
|
|
1137
|
+
* @param options The options parameters.
|
|
1138
|
+
*/
|
|
1139
|
+
beginUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, properties: DeviceUpdate, options?: DevicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DevicesUpdateResponse>, DevicesUpdateResponse>>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a
|
|
1142
|
+
* device to the catalog level.
|
|
1143
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1144
|
+
* @param catalogName Name of catalog
|
|
1145
|
+
* @param productName Name of product.
|
|
1146
|
+
* @param deviceGroupName Name of device group.
|
|
1147
|
+
* @param deviceName Device name
|
|
1148
|
+
* @param properties The resource properties to be updated.
|
|
1149
|
+
* @param options The options parameters.
|
|
1150
|
+
*/
|
|
1151
|
+
beginUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, properties: DeviceUpdate, options?: DevicesUpdateOptionalParams): Promise<DevicesUpdateResponse>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Delete a Device
|
|
1154
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1155
|
+
* @param catalogName Name of catalog
|
|
1156
|
+
* @param productName Name of product.
|
|
1157
|
+
* @param deviceGroupName Name of device group.
|
|
1158
|
+
* @param deviceName Device name
|
|
1159
|
+
* @param options The options parameters.
|
|
1160
|
+
*/
|
|
1161
|
+
beginDelete(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Delete a Device
|
|
1164
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1165
|
+
* @param catalogName Name of catalog
|
|
1166
|
+
* @param productName Name of product.
|
|
1167
|
+
* @param deviceGroupName Name of device group.
|
|
1168
|
+
* @param deviceName Device name
|
|
1169
|
+
* @param options The options parameters.
|
|
1170
|
+
*/
|
|
1171
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesDeleteOptionalParams): Promise<void>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Generates the capability image for the device. Use '.unassigned' or '.default' for the device group
|
|
1174
|
+
* and product names to generate the image for a device that does not belong to a specific device group
|
|
1175
|
+
* and product.
|
|
1176
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1177
|
+
* @param catalogName Name of catalog
|
|
1178
|
+
* @param productName Name of product.
|
|
1179
|
+
* @param deviceGroupName Name of device group.
|
|
1180
|
+
* @param deviceName Device name
|
|
1181
|
+
* @param generateDeviceCapabilityRequest Generate capability image request body.
|
|
1182
|
+
* @param options The options parameters.
|
|
1183
|
+
*/
|
|
1184
|
+
beginGenerateCapabilityImage(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, generateDeviceCapabilityRequest: GenerateCapabilityImageRequest, options?: DevicesGenerateCapabilityImageOptionalParams): Promise<SimplePollerLike<OperationState<DevicesGenerateCapabilityImageResponse>, DevicesGenerateCapabilityImageResponse>>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Generates the capability image for the device. Use '.unassigned' or '.default' for the device group
|
|
1187
|
+
* and product names to generate the image for a device that does not belong to a specific device group
|
|
1188
|
+
* and product.
|
|
1189
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1190
|
+
* @param catalogName Name of catalog
|
|
1191
|
+
* @param productName Name of product.
|
|
1192
|
+
* @param deviceGroupName Name of device group.
|
|
1193
|
+
* @param deviceName Device name
|
|
1194
|
+
* @param generateDeviceCapabilityRequest Generate capability image request body.
|
|
1195
|
+
* @param options The options parameters.
|
|
1196
|
+
*/
|
|
1197
|
+
beginGenerateCapabilityImageAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, generateDeviceCapabilityRequest: GenerateCapabilityImageRequest, options?: DevicesGenerateCapabilityImageOptionalParams): Promise<DevicesGenerateCapabilityImageResponse>;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/** Defines headers for Devices_createOrUpdate operation. */
|
|
1201
|
+
export declare interface DevicesCreateOrUpdateHeaders {
|
|
1202
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1203
|
+
retryAfter?: number;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/** Optional parameters. */
|
|
1207
|
+
export declare interface DevicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1208
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1209
|
+
updateIntervalInMs?: number;
|
|
1210
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1211
|
+
resumeFrom?: string;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1215
|
+
export declare type DevicesCreateOrUpdateResponse = Device;
|
|
1216
|
+
|
|
1217
|
+
/** Defines headers for Devices_delete operation. */
|
|
1218
|
+
export declare interface DevicesDeleteHeaders {
|
|
1219
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1220
|
+
retryAfter?: number;
|
|
1221
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1222
|
+
location?: string;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/** Optional parameters. */
|
|
1226
|
+
export declare interface DevicesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1227
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1228
|
+
updateIntervalInMs?: number;
|
|
1229
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1230
|
+
resumeFrom?: string;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/** Defines headers for Devices_generateCapabilityImage operation. */
|
|
1234
|
+
export declare interface DevicesGenerateCapabilityImageHeaders {
|
|
1235
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1236
|
+
retryAfter?: number;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/** Optional parameters. */
|
|
1240
|
+
export declare interface DevicesGenerateCapabilityImageOptionalParams extends coreClient.OperationOptions {
|
|
1241
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1242
|
+
updateIntervalInMs?: number;
|
|
1243
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1244
|
+
resumeFrom?: string;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/** Contains response data for the generateCapabilityImage operation. */
|
|
1248
|
+
export declare type DevicesGenerateCapabilityImageResponse = SignedCapabilityImageResponse;
|
|
1249
|
+
|
|
1250
|
+
/** Optional parameters. */
|
|
1251
|
+
export declare interface DevicesGetOptionalParams extends coreClient.OperationOptions {
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
/** Contains response data for the get operation. */
|
|
1255
|
+
export declare type DevicesGetResponse = Device;
|
|
1256
|
+
|
|
1257
|
+
/** Optional parameters. */
|
|
1258
|
+
export declare interface DevicesListByDeviceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/** Contains response data for the listByDeviceGroupNext operation. */
|
|
1262
|
+
export declare type DevicesListByDeviceGroupNextResponse = DeviceListResult;
|
|
1263
|
+
|
|
1264
|
+
/** Optional parameters. */
|
|
1265
|
+
export declare interface DevicesListByDeviceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/** Contains response data for the listByDeviceGroup operation. */
|
|
1269
|
+
export declare type DevicesListByDeviceGroupResponse = DeviceListResult;
|
|
1270
|
+
|
|
1271
|
+
/** Defines headers for Devices_update operation. */
|
|
1272
|
+
export declare interface DevicesUpdateHeaders {
|
|
1273
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1274
|
+
retryAfter?: number;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/** Optional parameters. */
|
|
1278
|
+
export declare interface DevicesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1279
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1280
|
+
updateIntervalInMs?: number;
|
|
1281
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1282
|
+
resumeFrom?: string;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/** Contains response data for the update operation. */
|
|
1286
|
+
export declare type DevicesUpdateResponse = Device;
|
|
1287
|
+
|
|
1288
|
+
/** The type used for update operations of the Device. */
|
|
1289
|
+
export declare interface DeviceUpdate {
|
|
1290
|
+
/** Device group id */
|
|
1291
|
+
deviceGroupId?: string;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/** The resource management error additional info. */
|
|
1295
|
+
export declare interface ErrorAdditionalInfo {
|
|
1296
|
+
/**
|
|
1297
|
+
* The additional info type.
|
|
1298
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1299
|
+
*/
|
|
1300
|
+
readonly type?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* The additional info.
|
|
1303
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1304
|
+
*/
|
|
1305
|
+
readonly info?: Record<string, unknown>;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
/** The error detail. */
|
|
1309
|
+
export declare interface ErrorDetail {
|
|
1310
|
+
/**
|
|
1311
|
+
* The error code.
|
|
1312
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1313
|
+
*/
|
|
1314
|
+
readonly code?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* The error message.
|
|
1317
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1318
|
+
*/
|
|
1319
|
+
readonly message?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* The error target.
|
|
1322
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1323
|
+
*/
|
|
1324
|
+
readonly target?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* The error details.
|
|
1327
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1328
|
+
*/
|
|
1329
|
+
readonly details?: ErrorDetail[];
|
|
1330
|
+
/**
|
|
1331
|
+
* The error additional info.
|
|
1332
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1333
|
+
*/
|
|
1334
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1338
|
+
export declare interface ErrorResponse {
|
|
1339
|
+
/** The error object. */
|
|
1340
|
+
error?: ErrorDetail;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
/** Request of the action to create a signed device capability image */
|
|
1344
|
+
export declare interface GenerateCapabilityImageRequest {
|
|
1345
|
+
/** List of capabilities to create */
|
|
1346
|
+
capabilities: CapabilityType[];
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
1351
|
+
* returns a continuation token that can be used to begin paging from
|
|
1352
|
+
* that point later.
|
|
1353
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
1354
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
1355
|
+
*/
|
|
1356
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
1357
|
+
|
|
1358
|
+
/** An image resource belonging to a catalog resource. */
|
|
1359
|
+
declare interface Image_2 extends ProxyResource {
|
|
1360
|
+
/** Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads. */
|
|
1361
|
+
image?: string;
|
|
1362
|
+
/** Image ID */
|
|
1363
|
+
imageId?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* Image name
|
|
1366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1367
|
+
*/
|
|
1368
|
+
readonly imageName?: string;
|
|
1369
|
+
/** Regional data boundary for an image */
|
|
1370
|
+
regionalDataBoundary?: RegionalDataBoundary;
|
|
1371
|
+
/**
|
|
1372
|
+
* Location the image
|
|
1373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1374
|
+
*/
|
|
1375
|
+
readonly uri?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* The image description.
|
|
1378
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1379
|
+
*/
|
|
1380
|
+
readonly description?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The image component id.
|
|
1383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1384
|
+
*/
|
|
1385
|
+
readonly componentId?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* The image type.
|
|
1388
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1389
|
+
*/
|
|
1390
|
+
readonly imageType?: ImageType;
|
|
1391
|
+
/**
|
|
1392
|
+
* The status of the last operation.
|
|
1393
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1394
|
+
*/
|
|
1395
|
+
readonly provisioningState?: ProvisioningState;
|
|
1396
|
+
}
|
|
1397
|
+
export { Image_2 as Image }
|
|
1398
|
+
|
|
1399
|
+
/** The response of a Image list operation. */
|
|
1400
|
+
export declare interface ImageListResult {
|
|
1401
|
+
/** The Image items on this page */
|
|
1402
|
+
value: Image_2[];
|
|
1403
|
+
/** The link to the next page of items */
|
|
1404
|
+
nextLink?: string;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/** Interface representing a Images. */
|
|
1408
|
+
export declare interface Images {
|
|
1409
|
+
/**
|
|
1410
|
+
* List Image resources by Catalog
|
|
1411
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1412
|
+
* @param catalogName Name of catalog
|
|
1413
|
+
* @param options The options parameters.
|
|
1414
|
+
*/
|
|
1415
|
+
listByCatalog(resourceGroupName: string, catalogName: string, options?: ImagesListByCatalogOptionalParams): PagedAsyncIterableIterator<Image_2>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Get a Image
|
|
1418
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1419
|
+
* @param catalogName Name of catalog
|
|
1420
|
+
* @param imageName Image name. Use .default for image creation.
|
|
1421
|
+
* @param options The options parameters.
|
|
1422
|
+
*/
|
|
1423
|
+
get(resourceGroupName: string, catalogName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<ImagesGetResponse>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Create a Image
|
|
1426
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1427
|
+
* @param catalogName Name of catalog
|
|
1428
|
+
* @param imageName Image name. Use .default for image creation.
|
|
1429
|
+
* @param resource Resource create parameters.
|
|
1430
|
+
* @param options The options parameters.
|
|
1431
|
+
*/
|
|
1432
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, imageName: string, resource: Image_2, options?: ImagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ImagesCreateOrUpdateResponse>, ImagesCreateOrUpdateResponse>>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Create a Image
|
|
1435
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1436
|
+
* @param catalogName Name of catalog
|
|
1437
|
+
* @param imageName Image name. Use .default for image creation.
|
|
1438
|
+
* @param resource Resource create parameters.
|
|
1439
|
+
* @param options The options parameters.
|
|
1440
|
+
*/
|
|
1441
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, imageName: string, resource: Image_2, options?: ImagesCreateOrUpdateOptionalParams): Promise<ImagesCreateOrUpdateResponse>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Delete a Image
|
|
1444
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1445
|
+
* @param catalogName Name of catalog
|
|
1446
|
+
* @param imageName Image name. Use .default for image creation.
|
|
1447
|
+
* @param options The options parameters.
|
|
1448
|
+
*/
|
|
1449
|
+
beginDelete(resourceGroupName: string, catalogName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Delete a Image
|
|
1452
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1453
|
+
* @param catalogName Name of catalog
|
|
1454
|
+
* @param imageName Image name. Use .default for image creation.
|
|
1455
|
+
* @param options The options parameters.
|
|
1456
|
+
*/
|
|
1457
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, imageName: string, options?: ImagesDeleteOptionalParams): Promise<void>;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/** Defines headers for Images_createOrUpdate operation. */
|
|
1461
|
+
export declare interface ImagesCreateOrUpdateHeaders {
|
|
1462
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1463
|
+
retryAfter?: number;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/** Optional parameters. */
|
|
1467
|
+
export declare interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1468
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1469
|
+
updateIntervalInMs?: number;
|
|
1470
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1471
|
+
resumeFrom?: string;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1475
|
+
export declare type ImagesCreateOrUpdateResponse = Image_2;
|
|
1476
|
+
|
|
1477
|
+
/** Defines headers for Images_delete operation. */
|
|
1478
|
+
export declare interface ImagesDeleteHeaders {
|
|
1479
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1480
|
+
retryAfter?: number;
|
|
1481
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1482
|
+
location?: string;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/** Optional parameters. */
|
|
1486
|
+
export declare interface ImagesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1487
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1488
|
+
updateIntervalInMs?: number;
|
|
1489
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1490
|
+
resumeFrom?: string;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
/** Optional parameters. */
|
|
1494
|
+
export declare interface ImagesGetOptionalParams extends coreClient.OperationOptions {
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
/** Contains response data for the get operation. */
|
|
1498
|
+
export declare type ImagesGetResponse = Image_2;
|
|
1499
|
+
|
|
1500
|
+
/** Optional parameters. */
|
|
1501
|
+
export declare interface ImagesListByCatalogNextOptionalParams extends coreClient.OperationOptions {
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/** Contains response data for the listByCatalogNext operation. */
|
|
1505
|
+
export declare type ImagesListByCatalogNextResponse = ImageListResult;
|
|
1506
|
+
|
|
1507
|
+
/** Optional parameters. */
|
|
1508
|
+
export declare interface ImagesListByCatalogOptionalParams extends coreClient.OperationOptions {
|
|
1509
|
+
/** Filter the result list using the given expression */
|
|
1510
|
+
filter?: string;
|
|
1511
|
+
/** The number of result items to return. */
|
|
1512
|
+
top?: number;
|
|
1513
|
+
/** The number of result items to skip. */
|
|
1514
|
+
skip?: number;
|
|
1515
|
+
/** The maximum number of result items per page. */
|
|
1516
|
+
maxpagesize?: number;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/** Contains response data for the listByCatalog operation. */
|
|
1520
|
+
export declare type ImagesListByCatalogResponse = ImageListResult;
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Defines values for ImageType. \
|
|
1524
|
+
* {@link KnownImageType} can be used interchangeably with ImageType,
|
|
1525
|
+
* this enum contains the known values that the service supports.
|
|
1526
|
+
* ### Known values supported by the service
|
|
1527
|
+
* **InvalidImageType**: Invalid image. \
|
|
1528
|
+
* **OneBl**: One Bl image type \
|
|
1529
|
+
* **PlutonRuntime**: Pluton image type \
|
|
1530
|
+
* **WifiFirmware**: Wifi firmware image type \
|
|
1531
|
+
* **SecurityMonitor**: Security monitor image type \
|
|
1532
|
+
* **NormalWorldLoader**: Normal world loader image type \
|
|
1533
|
+
* **NormalWorldDtb**: Normal world dtb image type \
|
|
1534
|
+
* **NormalWorldKernel**: Normal world kernel image type \
|
|
1535
|
+
* **RootFs**: Root FS image type \
|
|
1536
|
+
* **Services**: Services image type \
|
|
1537
|
+
* **Applications**: Applications image type \
|
|
1538
|
+
* **FwConfig**: FW config image type \
|
|
1539
|
+
* **BootManifest**: Boot manifest image type \
|
|
1540
|
+
* **Nwfs**: Nwfs image type \
|
|
1541
|
+
* **TrustedKeystore**: Trusted key store image type \
|
|
1542
|
+
* **Policy**: Policy image type \
|
|
1543
|
+
* **CustomerBoardConfig**: Customer board config image type \
|
|
1544
|
+
* **UpdateCertStore**: Update certificate store image type \
|
|
1545
|
+
* **BaseSystemUpdateManifest**: Base system update manifest image type \
|
|
1546
|
+
* **FirmwareUpdateManifest**: Firmware update manifest image type \
|
|
1547
|
+
* **CustomerUpdateManifest**: Customer update manifest image type \
|
|
1548
|
+
* **RecoveryManifest**: Recovery manifest image type \
|
|
1549
|
+
* **ManifestSet**: manifest set image type \
|
|
1550
|
+
* **Other**: Other image type
|
|
1551
|
+
*/
|
|
1552
|
+
export declare type ImageType = string;
|
|
1553
|
+
|
|
1554
|
+
/** Image upload request body. */
|
|
1555
|
+
export declare interface ImageUploadRequestBody {
|
|
1556
|
+
/** . */
|
|
1557
|
+
images: string;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
1561
|
+
export declare enum KnownActionType {
|
|
1562
|
+
/** Internal */
|
|
1563
|
+
Internal = "Internal"
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
/** Known values of {@link AllowCrashDumpCollection} that the service accepts. */
|
|
1567
|
+
export declare enum KnownAllowCrashDumpCollection {
|
|
1568
|
+
/** Crash dump collection enabled */
|
|
1569
|
+
Enabled = "Enabled",
|
|
1570
|
+
/** Crash dump collection disabled */
|
|
1571
|
+
Disabled = "Disabled"
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/** Known values of {@link CapabilityType} that the service accepts. */
|
|
1575
|
+
export declare enum KnownCapabilityType {
|
|
1576
|
+
/** Application development capability */
|
|
1577
|
+
ApplicationDevelopment = "ApplicationDevelopment",
|
|
1578
|
+
/** Field servicing capability */
|
|
1579
|
+
FieldServicing = "FieldServicing"
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/** Known values of {@link CertificateStatus} that the service accepts. */
|
|
1583
|
+
export declare enum KnownCertificateStatus {
|
|
1584
|
+
/** Certificate is active */
|
|
1585
|
+
Active = "Active",
|
|
1586
|
+
/** Certificate is inactive */
|
|
1587
|
+
Inactive = "Inactive",
|
|
1588
|
+
/** Certificate has expired */
|
|
1589
|
+
Expired = "Expired",
|
|
1590
|
+
/** Certificate has been revoked */
|
|
1591
|
+
Revoked = "Revoked"
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1595
|
+
export declare enum KnownCreatedByType {
|
|
1596
|
+
/** User */
|
|
1597
|
+
User = "User",
|
|
1598
|
+
/** Application */
|
|
1599
|
+
Application = "Application",
|
|
1600
|
+
/** ManagedIdentity */
|
|
1601
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1602
|
+
/** Key */
|
|
1603
|
+
Key = "Key"
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
/** Known values of {@link ImageType} that the service accepts. */
|
|
1607
|
+
export declare enum KnownImageType {
|
|
1608
|
+
/** Invalid image. */
|
|
1609
|
+
InvalidImageType = "InvalidImageType",
|
|
1610
|
+
/** One Bl image type */
|
|
1611
|
+
OneBl = "OneBl",
|
|
1612
|
+
/** Pluton image type */
|
|
1613
|
+
PlutonRuntime = "PlutonRuntime",
|
|
1614
|
+
/** Wifi firmware image type */
|
|
1615
|
+
WifiFirmware = "WifiFirmware",
|
|
1616
|
+
/** Security monitor image type */
|
|
1617
|
+
SecurityMonitor = "SecurityMonitor",
|
|
1618
|
+
/** Normal world loader image type */
|
|
1619
|
+
NormalWorldLoader = "NormalWorldLoader",
|
|
1620
|
+
/** Normal world dtb image type */
|
|
1621
|
+
NormalWorldDtb = "NormalWorldDtb",
|
|
1622
|
+
/** Normal world kernel image type */
|
|
1623
|
+
NormalWorldKernel = "NormalWorldKernel",
|
|
1624
|
+
/** Root FS image type */
|
|
1625
|
+
RootFs = "RootFs",
|
|
1626
|
+
/** Services image type */
|
|
1627
|
+
Services = "Services",
|
|
1628
|
+
/** Applications image type */
|
|
1629
|
+
Applications = "Applications",
|
|
1630
|
+
/** FW config image type */
|
|
1631
|
+
FwConfig = "FwConfig",
|
|
1632
|
+
/** Boot manifest image type */
|
|
1633
|
+
BootManifest = "BootManifest",
|
|
1634
|
+
/** Nwfs image type */
|
|
1635
|
+
Nwfs = "Nwfs",
|
|
1636
|
+
/** Trusted key store image type */
|
|
1637
|
+
TrustedKeystore = "TrustedKeystore",
|
|
1638
|
+
/** Policy image type */
|
|
1639
|
+
Policy = "Policy",
|
|
1640
|
+
/** Customer board config image type */
|
|
1641
|
+
CustomerBoardConfig = "CustomerBoardConfig",
|
|
1642
|
+
/** Update certificate store image type */
|
|
1643
|
+
UpdateCertStore = "UpdateCertStore",
|
|
1644
|
+
/** Base system update manifest image type */
|
|
1645
|
+
BaseSystemUpdateManifest = "BaseSystemUpdateManifest",
|
|
1646
|
+
/** Firmware update manifest image type */
|
|
1647
|
+
FirmwareUpdateManifest = "FirmwareUpdateManifest",
|
|
1648
|
+
/** Customer update manifest image type */
|
|
1649
|
+
CustomerUpdateManifest = "CustomerUpdateManifest",
|
|
1650
|
+
/** Recovery manifest image type */
|
|
1651
|
+
RecoveryManifest = "RecoveryManifest",
|
|
1652
|
+
/** manifest set image type */
|
|
1653
|
+
ManifestSet = "ManifestSet",
|
|
1654
|
+
/** Other image type */
|
|
1655
|
+
Other = "Other"
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
1659
|
+
export declare enum KnownOrigin {
|
|
1660
|
+
/** User */
|
|
1661
|
+
User = "user",
|
|
1662
|
+
/** System */
|
|
1663
|
+
System = "system",
|
|
1664
|
+
/** UserSystem */
|
|
1665
|
+
UserSystem = "user,system"
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/** Known values of {@link OSFeedType} that the service accepts. */
|
|
1669
|
+
export declare enum KnownOSFeedType {
|
|
1670
|
+
/** Retail OS feed type. */
|
|
1671
|
+
Retail = "Retail",
|
|
1672
|
+
/** Retail evaluation OS feed type. */
|
|
1673
|
+
RetailEval = "RetailEval"
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1677
|
+
export declare enum KnownProvisioningState {
|
|
1678
|
+
/** Resource has been created. */
|
|
1679
|
+
Succeeded = "Succeeded",
|
|
1680
|
+
/** Resource creation failed. */
|
|
1681
|
+
Failed = "Failed",
|
|
1682
|
+
/** Resource creation was canceled. */
|
|
1683
|
+
Canceled = "Canceled",
|
|
1684
|
+
/** The resource is being provisioned */
|
|
1685
|
+
Provisioning = "Provisioning",
|
|
1686
|
+
/** The resource is being updated */
|
|
1687
|
+
Updating = "Updating",
|
|
1688
|
+
/** The resource is being deleted */
|
|
1689
|
+
Deleting = "Deleting",
|
|
1690
|
+
/** The resource create request has been accepted */
|
|
1691
|
+
Accepted = "Accepted"
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
/** Known values of {@link RegionalDataBoundary} that the service accepts. */
|
|
1695
|
+
export declare enum KnownRegionalDataBoundary {
|
|
1696
|
+
/** No data boundary */
|
|
1697
|
+
None = "None",
|
|
1698
|
+
/** EU data boundary */
|
|
1699
|
+
EU = "EU"
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
/** Known values of {@link UpdatePolicy} that the service accepts. */
|
|
1703
|
+
export declare enum KnownUpdatePolicy {
|
|
1704
|
+
/** Update all policy. */
|
|
1705
|
+
UpdateAll = "UpdateAll",
|
|
1706
|
+
/** No update for 3rd party app policy. */
|
|
1707
|
+
No3RdPartyAppUpdates = "No3rdPartyAppUpdates"
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
/** Request of the action to list device groups for a catalog. */
|
|
1711
|
+
export declare interface ListDeviceGroupsRequest {
|
|
1712
|
+
/** Device Group name. */
|
|
1713
|
+
deviceGroupName?: string;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
1717
|
+
export declare interface Operation {
|
|
1718
|
+
/**
|
|
1719
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
1720
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1721
|
+
*/
|
|
1722
|
+
readonly name?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
1725
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1726
|
+
*/
|
|
1727
|
+
readonly isDataAction?: boolean;
|
|
1728
|
+
/** Localized display information for this particular operation. */
|
|
1729
|
+
display?: OperationDisplay;
|
|
1730
|
+
/**
|
|
1731
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
1732
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1733
|
+
*/
|
|
1734
|
+
readonly origin?: Origin;
|
|
1735
|
+
/**
|
|
1736
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
1737
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1738
|
+
*/
|
|
1739
|
+
readonly actionType?: ActionType;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/** Localized display information for this particular operation. */
|
|
1743
|
+
export declare interface OperationDisplay {
|
|
1744
|
+
/**
|
|
1745
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
1746
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1747
|
+
*/
|
|
1748
|
+
readonly provider?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
1751
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1752
|
+
*/
|
|
1753
|
+
readonly resource?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
1756
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1757
|
+
*/
|
|
1758
|
+
readonly operation?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
1761
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1762
|
+
*/
|
|
1763
|
+
readonly description?: string;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
1767
|
+
export declare interface OperationListResult {
|
|
1768
|
+
/**
|
|
1769
|
+
* List of operations supported by the resource provider
|
|
1770
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1771
|
+
*/
|
|
1772
|
+
readonly value?: Operation[];
|
|
1773
|
+
/**
|
|
1774
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1775
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1776
|
+
*/
|
|
1777
|
+
readonly nextLink?: string;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
/** Interface representing a Operations. */
|
|
1781
|
+
export declare interface Operations {
|
|
1782
|
+
/**
|
|
1783
|
+
* List the operations for the provider
|
|
1784
|
+
* @param options The options parameters.
|
|
1785
|
+
*/
|
|
1786
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/** Optional parameters. */
|
|
1790
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/** Contains response data for the listNext operation. */
|
|
1794
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1795
|
+
|
|
1796
|
+
/** Optional parameters. */
|
|
1797
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/** Contains response data for the list operation. */
|
|
1801
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* Defines values for Origin. \
|
|
1805
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
1806
|
+
* this enum contains the known values that the service supports.
|
|
1807
|
+
* ### Known values supported by the service
|
|
1808
|
+
* **user** \
|
|
1809
|
+
* **system** \
|
|
1810
|
+
* **user,system**
|
|
1811
|
+
*/
|
|
1812
|
+
export declare type Origin = string;
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* Defines values for OSFeedType. \
|
|
1816
|
+
* {@link KnownOSFeedType} can be used interchangeably with OSFeedType,
|
|
1817
|
+
* this enum contains the known values that the service supports.
|
|
1818
|
+
* ### Known values supported by the service
|
|
1819
|
+
* **Retail**: Retail OS feed type. \
|
|
1820
|
+
* **RetailEval**: Retail evaluation OS feed type.
|
|
1821
|
+
*/
|
|
1822
|
+
export declare type OSFeedType = string;
|
|
1823
|
+
|
|
1824
|
+
/** Paged collection of DeviceInsight items */
|
|
1825
|
+
export declare interface PagedDeviceInsight {
|
|
1826
|
+
/** The DeviceInsight items on this page */
|
|
1827
|
+
value: DeviceInsight[];
|
|
1828
|
+
/** The link to the next page of items */
|
|
1829
|
+
nextLink?: string;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/** An product resource belonging to a catalog resource. */
|
|
1833
|
+
export declare interface Product extends ProxyResource {
|
|
1834
|
+
/** Description of the product */
|
|
1835
|
+
description?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* The status of the last operation.
|
|
1838
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1839
|
+
*/
|
|
1840
|
+
readonly provisioningState?: ProvisioningState;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/** The response of a Product list operation. */
|
|
1844
|
+
export declare interface ProductListResult {
|
|
1845
|
+
/** The Product items on this page */
|
|
1846
|
+
value: Product[];
|
|
1847
|
+
/** The link to the next page of items */
|
|
1848
|
+
nextLink?: string;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/** Interface representing a Products. */
|
|
1852
|
+
export declare interface Products {
|
|
1853
|
+
/**
|
|
1854
|
+
* List Product resources by Catalog
|
|
1855
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1856
|
+
* @param catalogName Name of catalog
|
|
1857
|
+
* @param options The options parameters.
|
|
1858
|
+
*/
|
|
1859
|
+
listByCatalog(resourceGroupName: string, catalogName: string, options?: ProductsListByCatalogOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Generates default device groups for the product. '.default' and '.unassigned' are system defined
|
|
1862
|
+
* values and cannot be used for product name.
|
|
1863
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1864
|
+
* @param catalogName Name of catalog
|
|
1865
|
+
* @param productName Name of product.
|
|
1866
|
+
* @param options The options parameters.
|
|
1867
|
+
*/
|
|
1868
|
+
listGenerateDefaultDeviceGroups(resourceGroupName: string, catalogName: string, productName: string, options?: ProductsGenerateDefaultDeviceGroupsOptionalParams): PagedAsyncIterableIterator<DeviceGroup>;
|
|
1869
|
+
/**
|
|
1870
|
+
* Get a Product. '.default' and '.unassigned' are system defined values and cannot be used for product
|
|
1871
|
+
* name.
|
|
1872
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1873
|
+
* @param catalogName Name of catalog
|
|
1874
|
+
* @param productName Name of product.
|
|
1875
|
+
* @param options The options parameters.
|
|
1876
|
+
*/
|
|
1877
|
+
get(resourceGroupName: string, catalogName: string, productName: string, options?: ProductsGetOptionalParams): Promise<ProductsGetResponse>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1880
|
+
* product name.
|
|
1881
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1882
|
+
* @param catalogName Name of catalog
|
|
1883
|
+
* @param productName Name of product.
|
|
1884
|
+
* @param resource Resource create parameters.
|
|
1885
|
+
* @param options The options parameters.
|
|
1886
|
+
*/
|
|
1887
|
+
beginCreateOrUpdate(resourceGroupName: string, catalogName: string, productName: string, resource: Product, options?: ProductsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ProductsCreateOrUpdateResponse>, ProductsCreateOrUpdateResponse>>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1890
|
+
* product name.
|
|
1891
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1892
|
+
* @param catalogName Name of catalog
|
|
1893
|
+
* @param productName Name of product.
|
|
1894
|
+
* @param resource Resource create parameters.
|
|
1895
|
+
* @param options The options parameters.
|
|
1896
|
+
*/
|
|
1897
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, resource: Product, options?: ProductsCreateOrUpdateOptionalParams): Promise<ProductsCreateOrUpdateResponse>;
|
|
1898
|
+
/**
|
|
1899
|
+
* Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1900
|
+
* product name.
|
|
1901
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1902
|
+
* @param catalogName Name of catalog
|
|
1903
|
+
* @param productName Name of product.
|
|
1904
|
+
* @param properties The resource properties to be updated.
|
|
1905
|
+
* @param options The options parameters.
|
|
1906
|
+
*/
|
|
1907
|
+
beginUpdate(resourceGroupName: string, catalogName: string, productName: string, properties: ProductUpdate, options?: ProductsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ProductsUpdateResponse>, ProductsUpdateResponse>>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1910
|
+
* product name.
|
|
1911
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1912
|
+
* @param catalogName Name of catalog
|
|
1913
|
+
* @param productName Name of product.
|
|
1914
|
+
* @param properties The resource properties to be updated.
|
|
1915
|
+
* @param options The options parameters.
|
|
1916
|
+
*/
|
|
1917
|
+
beginUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, properties: ProductUpdate, options?: ProductsUpdateOptionalParams): Promise<ProductsUpdateResponse>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1920
|
+
* product name'
|
|
1921
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1922
|
+
* @param catalogName Name of catalog
|
|
1923
|
+
* @param productName Name of product.
|
|
1924
|
+
* @param options The options parameters.
|
|
1925
|
+
*/
|
|
1926
|
+
beginDelete(resourceGroupName: string, catalogName: string, productName: string, options?: ProductsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1927
|
+
/**
|
|
1928
|
+
* Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for
|
|
1929
|
+
* product name'
|
|
1930
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1931
|
+
* @param catalogName Name of catalog
|
|
1932
|
+
* @param productName Name of product.
|
|
1933
|
+
* @param options The options parameters.
|
|
1934
|
+
*/
|
|
1935
|
+
beginDeleteAndWait(resourceGroupName: string, catalogName: string, productName: string, options?: ProductsDeleteOptionalParams): Promise<void>;
|
|
1936
|
+
/**
|
|
1937
|
+
* Counts devices in product. '.default' and '.unassigned' are system defined values and cannot be used
|
|
1938
|
+
* for product name.
|
|
1939
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1940
|
+
* @param catalogName Name of catalog
|
|
1941
|
+
* @param productName Name of product.
|
|
1942
|
+
* @param options The options parameters.
|
|
1943
|
+
*/
|
|
1944
|
+
countDevices(resourceGroupName: string, catalogName: string, productName: string, options?: ProductsCountDevicesOptionalParams): Promise<ProductsCountDevicesResponse>;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
/** Optional parameters. */
|
|
1948
|
+
export declare interface ProductsCountDevicesOptionalParams extends coreClient.OperationOptions {
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
/** Contains response data for the countDevices operation. */
|
|
1952
|
+
export declare type ProductsCountDevicesResponse = CountDeviceResponse;
|
|
1953
|
+
|
|
1954
|
+
/** Defines headers for Products_createOrUpdate operation. */
|
|
1955
|
+
export declare interface ProductsCreateOrUpdateHeaders {
|
|
1956
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1957
|
+
retryAfter?: number;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
/** Optional parameters. */
|
|
1961
|
+
export declare interface ProductsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1962
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1963
|
+
updateIntervalInMs?: number;
|
|
1964
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1965
|
+
resumeFrom?: string;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1969
|
+
export declare type ProductsCreateOrUpdateResponse = Product;
|
|
1970
|
+
|
|
1971
|
+
/** Defines headers for Products_delete operation. */
|
|
1972
|
+
export declare interface ProductsDeleteHeaders {
|
|
1973
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1974
|
+
retryAfter?: number;
|
|
1975
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1976
|
+
location?: string;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/** Optional parameters. */
|
|
1980
|
+
export declare interface ProductsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1981
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1982
|
+
updateIntervalInMs?: number;
|
|
1983
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1984
|
+
resumeFrom?: string;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/** Optional parameters. */
|
|
1988
|
+
export declare interface ProductsGenerateDefaultDeviceGroupsNextOptionalParams extends coreClient.OperationOptions {
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
/** Contains response data for the generateDefaultDeviceGroupsNext operation. */
|
|
1992
|
+
export declare type ProductsGenerateDefaultDeviceGroupsNextResponse = DeviceGroupListResult;
|
|
1993
|
+
|
|
1994
|
+
/** Optional parameters. */
|
|
1995
|
+
export declare interface ProductsGenerateDefaultDeviceGroupsOptionalParams extends coreClient.OperationOptions {
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/** Contains response data for the generateDefaultDeviceGroups operation. */
|
|
1999
|
+
export declare type ProductsGenerateDefaultDeviceGroupsResponse = DeviceGroupListResult;
|
|
2000
|
+
|
|
2001
|
+
/** Optional parameters. */
|
|
2002
|
+
export declare interface ProductsGetOptionalParams extends coreClient.OperationOptions {
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/** Contains response data for the get operation. */
|
|
2006
|
+
export declare type ProductsGetResponse = Product;
|
|
2007
|
+
|
|
2008
|
+
/** Optional parameters. */
|
|
2009
|
+
export declare interface ProductsListByCatalogNextOptionalParams extends coreClient.OperationOptions {
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/** Contains response data for the listByCatalogNext operation. */
|
|
2013
|
+
export declare type ProductsListByCatalogNextResponse = ProductListResult;
|
|
2014
|
+
|
|
2015
|
+
/** Optional parameters. */
|
|
2016
|
+
export declare interface ProductsListByCatalogOptionalParams extends coreClient.OperationOptions {
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
/** Contains response data for the listByCatalog operation. */
|
|
2020
|
+
export declare type ProductsListByCatalogResponse = ProductListResult;
|
|
2021
|
+
|
|
2022
|
+
/** Defines headers for Products_update operation. */
|
|
2023
|
+
export declare interface ProductsUpdateHeaders {
|
|
2024
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
2025
|
+
retryAfter?: number;
|
|
2026
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
2027
|
+
location?: string;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
/** Optional parameters. */
|
|
2031
|
+
export declare interface ProductsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2032
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2033
|
+
updateIntervalInMs?: number;
|
|
2034
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2035
|
+
resumeFrom?: string;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
/** Contains response data for the update operation. */
|
|
2039
|
+
export declare type ProductsUpdateResponse = Product;
|
|
2040
|
+
|
|
2041
|
+
/** The type used for update operations of the Product. */
|
|
2042
|
+
export declare interface ProductUpdate {
|
|
2043
|
+
/** Description of the product */
|
|
2044
|
+
description?: string;
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
/** Request for the proof of possession nonce */
|
|
2048
|
+
export declare interface ProofOfPossessionNonceRequest {
|
|
2049
|
+
/** The proof of possession nonce */
|
|
2050
|
+
proofOfPossessionNonce: string;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
/** Result of the action to generate a proof of possession nonce */
|
|
2054
|
+
export declare interface ProofOfPossessionNonceResponse extends CertificateProperties {
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Defines values for ProvisioningState. \
|
|
2059
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
2060
|
+
* this enum contains the known values that the service supports.
|
|
2061
|
+
* ### Known values supported by the service
|
|
2062
|
+
* **Succeeded**: Resource has been created. \
|
|
2063
|
+
* **Failed**: Resource creation failed. \
|
|
2064
|
+
* **Canceled**: Resource creation was canceled. \
|
|
2065
|
+
* **Provisioning**: The resource is being provisioned \
|
|
2066
|
+
* **Updating**: The resource is being updated \
|
|
2067
|
+
* **Deleting**: The resource is being deleted \
|
|
2068
|
+
* **Accepted**: The resource create request has been accepted
|
|
2069
|
+
*/
|
|
2070
|
+
export declare type ProvisioningState = string;
|
|
2071
|
+
|
|
2072
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
2073
|
+
export declare interface ProxyResource extends Resource {
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* Defines values for RegionalDataBoundary. \
|
|
2078
|
+
* {@link KnownRegionalDataBoundary} can be used interchangeably with RegionalDataBoundary,
|
|
2079
|
+
* this enum contains the known values that the service supports.
|
|
2080
|
+
* ### Known values supported by the service
|
|
2081
|
+
* **None**: No data boundary \
|
|
2082
|
+
* **EU**: EU data boundary
|
|
2083
|
+
*/
|
|
2084
|
+
export declare type RegionalDataBoundary = string;
|
|
2085
|
+
|
|
2086
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
2087
|
+
export declare interface Resource {
|
|
2088
|
+
/**
|
|
2089
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
2090
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2091
|
+
*/
|
|
2092
|
+
readonly id?: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* The name of the resource
|
|
2095
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2096
|
+
*/
|
|
2097
|
+
readonly name?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
2100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2101
|
+
*/
|
|
2102
|
+
readonly type?: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
2105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2106
|
+
*/
|
|
2107
|
+
readonly systemData?: SystemData;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
/** Signed device capability image response */
|
|
2111
|
+
export declare interface SignedCapabilityImageResponse {
|
|
2112
|
+
/**
|
|
2113
|
+
* The signed device capability image as a UTF-8 encoded base 64 string.
|
|
2114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2115
|
+
*/
|
|
2116
|
+
readonly image?: string;
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2120
|
+
export declare interface SystemData {
|
|
2121
|
+
/** The identity that created the resource. */
|
|
2122
|
+
createdBy?: string;
|
|
2123
|
+
/** The type of identity that created the resource. */
|
|
2124
|
+
createdByType?: CreatedByType;
|
|
2125
|
+
/** The timestamp of resource creation (UTC). */
|
|
2126
|
+
createdAt?: Date;
|
|
2127
|
+
/** The identity that last modified the resource. */
|
|
2128
|
+
lastModifiedBy?: string;
|
|
2129
|
+
/** The type of identity that last modified the resource. */
|
|
2130
|
+
lastModifiedByType?: CreatedByType;
|
|
2131
|
+
/** The timestamp of resource last modification (UTC) */
|
|
2132
|
+
lastModifiedAt?: Date;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2136
|
+
export declare interface TrackedResource extends Resource {
|
|
2137
|
+
/** Resource tags. */
|
|
2138
|
+
tags?: {
|
|
2139
|
+
[propertyName: string]: string;
|
|
2140
|
+
};
|
|
2141
|
+
/** The geo-location where the resource lives */
|
|
2142
|
+
location: string;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Defines values for UpdatePolicy. \
|
|
2147
|
+
* {@link KnownUpdatePolicy} can be used interchangeably with UpdatePolicy,
|
|
2148
|
+
* this enum contains the known values that the service supports.
|
|
2149
|
+
* ### Known values supported by the service
|
|
2150
|
+
* **UpdateAll**: Update all policy. \
|
|
2151
|
+
* **No3rdPartyAppUpdates**: No update for 3rd party app policy.
|
|
2152
|
+
*/
|
|
2153
|
+
export declare type UpdatePolicy = string;
|
|
2154
|
+
|
|
2155
|
+
export { }
|