@azure/arm-servicefabricmesh 3.0.0-beta.3 → 3.0.0-beta.5
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +27 -18
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +135 -115
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +5 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +4 -4
- package/{dist-esm/src → dist/browser}/models/mappers.js +235 -106
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/application.d.ts +3 -3
- package/dist/browser/operations/application.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/application.js +56 -65
- package/dist/browser/operations/application.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/codePackage.d.ts +3 -3
- package/dist/browser/operations/codePackage.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/codePackage.js +3 -2
- package/dist/browser/operations/codePackage.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/gateway.d.ts +3 -3
- package/dist/browser/operations/gateway.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/gateway.js +56 -65
- package/dist/browser/operations/gateway.js.map +1 -0
- package/dist/browser/operations/index.d.ts +11 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +18 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/network.d.ts +3 -3
- package/dist/browser/operations/network.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/network.js +56 -65
- package/dist/browser/operations/network.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +30 -34
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secret.d.ts +3 -3
- package/dist/browser/operations/secret.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secret.js +56 -65
- package/dist/browser/operations/secret.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secretValueOperations.d.ts +3 -3
- package/dist/browser/operations/secretValueOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secretValueOperations.js +30 -34
- package/dist/browser/operations/secretValueOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/service.d.ts +3 -3
- package/dist/browser/operations/service.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/service.js +30 -34
- package/dist/browser/operations/service.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/serviceReplica.d.ts +3 -3
- package/dist/browser/operations/serviceReplica.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/serviceReplica.js +30 -34
- package/dist/browser/operations/serviceReplica.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volume.d.ts +3 -3
- package/dist/browser/operations/volume.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volume.js +56 -65
- package/dist/browser/operations/volume.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/application.d.ts +1 -1
- package/dist/browser/operationsInterfaces/application.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/application.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/codePackage.d.ts +1 -1
- package/dist/browser/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/codePackage.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/gateway.d.ts +1 -1
- package/dist/browser/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/gateway.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +11 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +18 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/network.d.ts +1 -1
- package/dist/browser/operationsInterfaces/network.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/network.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/secret.d.ts +1 -1
- package/dist/browser/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/secret.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/secretValueOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/service.d.ts +1 -1
- package/dist/browser/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/service.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/serviceReplica.d.ts +1 -1
- package/dist/browser/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/serviceReplica.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/volume.d.ts +1 -1
- package/dist/browser/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/volume.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceFabricMeshManagementClient.d.ts +2 -2
- package/dist/browser/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceFabricMeshManagementClient.js +55 -38
- package/dist/browser/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-servicefabricmesh.d.ts → dist/commonjs/models/index.d.ts} +1386 -1942
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +129 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +105 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2627 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +25 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +218 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/application.d.ts +82 -0
- package/dist/commonjs/operations/application.d.ts.map +1 -0
- package/dist/commonjs/operations/application.js +336 -0
- package/dist/commonjs/operations/application.js.map +1 -0
- package/dist/commonjs/operations/codePackage.d.ts +23 -0
- package/dist/commonjs/operations/codePackage.d.ts.map +1 -0
- package/dist/commonjs/operations/codePackage.js +72 -0
- package/dist/commonjs/operations/codePackage.js.map +1 -0
- package/dist/commonjs/operations/gateway.d.ts +83 -0
- package/dist/commonjs/operations/gateway.d.ts.map +1 -0
- package/dist/commonjs/operations/gateway.js +337 -0
- package/dist/commonjs/operations/gateway.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +11 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +21 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/network.d.ts +82 -0
- package/dist/commonjs/operations/network.d.ts.map +1 -0
- package/dist/commonjs/operations/network.js +336 -0
- package/dist/commonjs/operations/network.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/secret.d.ts +81 -0
- package/dist/commonjs/operations/secret.d.ts.map +1 -0
- package/dist/commonjs/operations/secret.js +335 -0
- package/dist/commonjs/operations/secret.js.map +1 -0
- package/dist/commonjs/operations/secretValueOperations.d.ts +81 -0
- package/dist/commonjs/operations/secretValueOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/secretValueOperations.js +304 -0
- package/dist/commonjs/operations/secretValueOperations.js.map +1 -0
- package/dist/commonjs/operations/service.d.ts +49 -0
- package/dist/commonjs/operations/service.d.ts.map +1 -0
- package/dist/commonjs/operations/service.js +178 -0
- package/dist/commonjs/operations/service.js.map +1 -0
- package/dist/commonjs/operations/serviceReplica.d.ts +53 -0
- package/dist/commonjs/operations/serviceReplica.d.ts.map +1 -0
- package/dist/commonjs/operations/serviceReplica.js +197 -0
- package/dist/commonjs/operations/serviceReplica.js.map +1 -0
- package/dist/commonjs/operations/volume.d.ts +81 -0
- package/dist/commonjs/operations/volume.d.ts.map +1 -0
- package/dist/commonjs/operations/volume.js +335 -0
- package/dist/commonjs/operations/volume.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/application.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/application.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/application.js +10 -0
- package/dist/commonjs/operationsInterfaces/application.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/codePackage.js +10 -0
- package/dist/commonjs/operationsInterfaces/codePackage.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/gateway.d.ts +45 -0
- package/dist/commonjs/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/gateway.js +10 -0
- package/dist/commonjs/operationsInterfaces/gateway.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +21 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/network.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/network.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/network.js +10 -0
- package/dist/commonjs/operationsInterfaces/network.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/secret.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/secret.js +10 -0
- package/dist/commonjs/operationsInterfaces/secret.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist/commonjs/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/secretValueOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/service.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/service.js +10 -0
- package/dist/commonjs/operationsInterfaces/service.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/serviceReplica.js +10 -0
- package/dist/commonjs/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/volume.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/volume.js +10 -0
- package/dist/commonjs/operationsInterfaces/volume.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/serviceFabricMeshManagementClient.d.ts +29 -0
- package/dist/commonjs/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist/commonjs/serviceFabricMeshManagementClient.js +129 -0
- package/dist/commonjs/serviceFabricMeshManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +1386 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +126 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +105 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2623 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +25 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +215 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/application.d.ts +82 -0
- package/dist/esm/operations/application.d.ts.map +1 -0
- package/dist/esm/operations/application.js +331 -0
- package/dist/esm/operations/application.js.map +1 -0
- package/dist/esm/operations/codePackage.d.ts +23 -0
- package/dist/esm/operations/codePackage.d.ts.map +1 -0
- package/dist/esm/operations/codePackage.js +67 -0
- package/dist/esm/operations/codePackage.js.map +1 -0
- package/dist/esm/operations/gateway.d.ts +83 -0
- package/dist/esm/operations/gateway.d.ts.map +1 -0
- package/dist/esm/operations/gateway.js +332 -0
- package/dist/esm/operations/gateway.js.map +1 -0
- package/dist/esm/operations/index.d.ts +11 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +18 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/network.d.ts +82 -0
- package/dist/esm/operations/network.d.ts.map +1 -0
- package/dist/esm/operations/network.js +331 -0
- package/dist/esm/operations/network.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/secret.d.ts +81 -0
- package/dist/esm/operations/secret.d.ts.map +1 -0
- package/dist/esm/operations/secret.js +330 -0
- package/dist/esm/operations/secret.js.map +1 -0
- package/dist/esm/operations/secretValueOperations.d.ts +81 -0
- package/dist/esm/operations/secretValueOperations.d.ts.map +1 -0
- package/dist/esm/operations/secretValueOperations.js +299 -0
- package/dist/esm/operations/secretValueOperations.js.map +1 -0
- package/dist/esm/operations/service.d.ts +49 -0
- package/dist/esm/operations/service.d.ts.map +1 -0
- package/dist/esm/operations/service.js +173 -0
- package/dist/esm/operations/service.js.map +1 -0
- package/dist/esm/operations/serviceReplica.d.ts +53 -0
- package/dist/esm/operations/serviceReplica.d.ts.map +1 -0
- package/dist/esm/operations/serviceReplica.js +192 -0
- package/dist/esm/operations/serviceReplica.js.map +1 -0
- package/dist/esm/operations/volume.d.ts +81 -0
- package/dist/esm/operations/volume.d.ts.map +1 -0
- package/dist/esm/operations/volume.js +330 -0
- package/dist/esm/operations/volume.js.map +1 -0
- package/dist/esm/operationsInterfaces/application.d.ts +44 -0
- package/dist/esm/operationsInterfaces/application.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/application.js +9 -0
- package/dist/esm/operationsInterfaces/application.js.map +1 -0
- package/dist/esm/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist/esm/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/codePackage.js +9 -0
- package/dist/esm/operationsInterfaces/codePackage.js.map +1 -0
- package/dist/esm/operationsInterfaces/gateway.d.ts +45 -0
- package/dist/esm/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/gateway.js +9 -0
- package/dist/esm/operationsInterfaces/gateway.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +11 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +18 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/network.d.ts +44 -0
- package/dist/esm/operationsInterfaces/network.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/network.js +9 -0
- package/dist/esm/operationsInterfaces/network.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/secret.d.ts +43 -0
- package/dist/esm/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/secret.js +9 -0
- package/dist/esm/operationsInterfaces/secret.js.map +1 -0
- package/dist/esm/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist/esm/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist/esm/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/service.d.ts +23 -0
- package/dist/esm/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/service.js +9 -0
- package/dist/esm/operationsInterfaces/service.js.map +1 -0
- package/dist/esm/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist/esm/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/serviceReplica.js +9 -0
- package/dist/esm/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist/esm/operationsInterfaces/volume.d.ts +43 -0
- package/dist/esm/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/volume.js +9 -0
- package/dist/esm/operationsInterfaces/volume.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/serviceFabricMeshManagementClient.d.ts +29 -0
- package/dist/esm/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist/esm/serviceFabricMeshManagementClient.js +124 -0
- package/dist/esm/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1386 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +126 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +105 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2623 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +25 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +215 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/application.d.ts +82 -0
- package/dist/react-native/operations/application.d.ts.map +1 -0
- package/dist/react-native/operations/application.js +331 -0
- package/dist/react-native/operations/application.js.map +1 -0
- package/dist/react-native/operations/codePackage.d.ts +23 -0
- package/dist/react-native/operations/codePackage.d.ts.map +1 -0
- package/dist/react-native/operations/codePackage.js +67 -0
- package/dist/react-native/operations/codePackage.js.map +1 -0
- package/dist/react-native/operations/gateway.d.ts +83 -0
- package/dist/react-native/operations/gateway.d.ts.map +1 -0
- package/dist/react-native/operations/gateway.js +332 -0
- package/dist/react-native/operations/gateway.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +11 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +18 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/network.d.ts +82 -0
- package/dist/react-native/operations/network.d.ts.map +1 -0
- package/dist/react-native/operations/network.js +331 -0
- package/dist/react-native/operations/network.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/secret.d.ts +81 -0
- package/dist/react-native/operations/secret.d.ts.map +1 -0
- package/dist/react-native/operations/secret.js +330 -0
- package/dist/react-native/operations/secret.js.map +1 -0
- package/dist/react-native/operations/secretValueOperations.d.ts +81 -0
- package/dist/react-native/operations/secretValueOperations.d.ts.map +1 -0
- package/dist/react-native/operations/secretValueOperations.js +299 -0
- package/dist/react-native/operations/secretValueOperations.js.map +1 -0
- package/dist/react-native/operations/service.d.ts +49 -0
- package/dist/react-native/operations/service.d.ts.map +1 -0
- package/dist/react-native/operations/service.js +173 -0
- package/dist/react-native/operations/service.js.map +1 -0
- package/dist/react-native/operations/serviceReplica.d.ts +53 -0
- package/dist/react-native/operations/serviceReplica.d.ts.map +1 -0
- package/dist/react-native/operations/serviceReplica.js +192 -0
- package/dist/react-native/operations/serviceReplica.js.map +1 -0
- package/dist/react-native/operations/volume.d.ts +81 -0
- package/dist/react-native/operations/volume.d.ts.map +1 -0
- package/dist/react-native/operations/volume.js +330 -0
- package/dist/react-native/operations/volume.js.map +1 -0
- package/dist/react-native/operationsInterfaces/application.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/application.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/application.js +9 -0
- package/dist/react-native/operationsInterfaces/application.js.map +1 -0
- package/dist/react-native/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/codePackage.js +9 -0
- package/dist/react-native/operationsInterfaces/codePackage.js.map +1 -0
- package/dist/react-native/operationsInterfaces/gateway.d.ts +45 -0
- package/dist/react-native/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/gateway.js +9 -0
- package/dist/react-native/operationsInterfaces/gateway.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +18 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/network.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/network.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/network.js +9 -0
- package/dist/react-native/operationsInterfaces/network.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/secret.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/secret.js +9 -0
- package/dist/react-native/operationsInterfaces/secret.js.map +1 -0
- package/dist/react-native/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist/react-native/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/service.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/service.js +9 -0
- package/dist/react-native/operationsInterfaces/service.js.map +1 -0
- package/dist/react-native/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/serviceReplica.js +9 -0
- package/dist/react-native/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist/react-native/operationsInterfaces/volume.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/volume.js +9 -0
- package/dist/react-native/operationsInterfaces/volume.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/serviceFabricMeshManagementClient.d.ts +29 -0
- package/dist/react-native/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist/react-native/serviceFabricMeshManagementClient.js +124 -0
- package/dist/react-native/serviceFabricMeshManagementClient.js.map +1 -0
- package/package.json +83 -71
- package/review/{arm-servicefabricmesh.api.md → arm-servicefabricmesh-node.api.md} +87 -78
- package/dist/index.js +0 -5575
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/applicationCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationCreateSample.js +0 -58
- package/dist-esm/samples-dev/applicationCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +0 -31
- package/dist-esm/samples-dev/applicationDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationGetSample.js +0 -31
- package/dist-esm/samples-dev/applicationGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/applicationListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/applicationListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/codePackageGetContainerLogsSample.d.ts +0 -2
- package/dist-esm/samples-dev/codePackageGetContainerLogsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/codePackageGetContainerLogsSample.js +0 -34
- package/dist-esm/samples-dev/codePackageGetContainerLogsSample.js.map +0 -1
- package/dist-esm/samples-dev/gatewayCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/gatewayCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/gatewayCreateSample.js +0 -76
- package/dist-esm/samples-dev/gatewayCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/gatewayDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/gatewayDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/gatewayDeleteSample.js +0 -31
- package/dist-esm/samples-dev/gatewayDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/gatewayGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/gatewayGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/gatewayGetSample.js +0 -31
- package/dist-esm/samples-dev/gatewayGetSample.js.map +0 -1
- package/dist-esm/samples-dev/gatewayListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/gatewayListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/gatewayListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/gatewayListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/gatewayListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/gatewayListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/gatewayListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/gatewayListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/networkCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkCreateSample.js +0 -40
- package/dist-esm/samples-dev/networkCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/networkDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkDeleteSample.js +0 -31
- package/dist-esm/samples-dev/networkDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/networkGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkGetSample.js +0 -31
- package/dist-esm/samples-dev/networkGetSample.js.map +0 -1
- package/dist-esm/samples-dev/networkListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/networkListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/networkListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/networkListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/secretCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretCreateSample.js +0 -40
- package/dist-esm/samples-dev/secretCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/secretDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretDeleteSample.js +0 -31
- package/dist-esm/samples-dev/secretDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/secretGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretGetSample.js +0 -31
- package/dist-esm/samples-dev/secretGetSample.js.map +0 -1
- package/dist-esm/samples-dev/secretListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/secretListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/secretListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/secretListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/secretValueCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretValueCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretValueCreateSample.js +0 -37
- package/dist-esm/samples-dev/secretValueCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/secretValueDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretValueDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretValueDeleteSample.js +0 -32
- package/dist-esm/samples-dev/secretValueDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/secretValueGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretValueGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretValueGetSample.js +0 -32
- package/dist-esm/samples-dev/secretValueGetSample.js.map +0 -1
- package/dist-esm/samples-dev/secretValueListSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretValueListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretValueListSample.js +0 -45
- package/dist-esm/samples-dev/secretValueListSample.js.map +0 -1
- package/dist-esm/samples-dev/secretValueListValueSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretValueListValueSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretValueListValueSample.js +0 -32
- package/dist-esm/samples-dev/secretValueListValueSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceGetSample.js +0 -32
- package/dist-esm/samples-dev/serviceGetSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceListSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceListSample.js +0 -45
- package/dist-esm/samples-dev/serviceListSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceReplicaGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceReplicaGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceReplicaGetSample.js +0 -33
- package/dist-esm/samples-dev/serviceReplicaGetSample.js.map +0 -1
- package/dist-esm/samples-dev/serviceReplicaListSample.d.ts +0 -2
- package/dist-esm/samples-dev/serviceReplicaListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serviceReplicaListSample.js +0 -46
- package/dist-esm/samples-dev/serviceReplicaListSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeCreateSample.js +0 -42
- package/dist-esm/samples-dev/volumeCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeDeleteSample.js +0 -31
- package/dist-esm/samples-dev/volumeDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGetSample.js +0 -31
- package/dist-esm/samples-dev/volumeGetSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/volumeListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/volumeListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/application.d.ts.map +0 -1
- package/dist-esm/src/operations/application.js.map +0 -1
- package/dist-esm/src/operations/codePackage.d.ts.map +0 -1
- package/dist-esm/src/operations/codePackage.js.map +0 -1
- package/dist-esm/src/operations/gateway.d.ts.map +0 -1
- package/dist-esm/src/operations/gateway.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/network.d.ts.map +0 -1
- package/dist-esm/src/operations/network.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/secret.d.ts.map +0 -1
- package/dist-esm/src/operations/secret.js.map +0 -1
- package/dist-esm/src/operations/secretValueOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/secretValueOperations.js.map +0 -1
- package/dist-esm/src/operations/service.d.ts.map +0 -1
- package/dist-esm/src/operations/service.js.map +0 -1
- package/dist-esm/src/operations/serviceReplica.d.ts.map +0 -1
- package/dist-esm/src/operations/serviceReplica.js.map +0 -1
- package/dist-esm/src/operations/volume.d.ts.map +0 -1
- package/dist-esm/src/operations/volume.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/application.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/application.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/codePackage.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/gateway.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/network.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/network.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/secret.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/secret.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/service.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/volume.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/volume.js.map +0 -1
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/dist-esm/src/serviceFabricMeshManagementClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/models/index.ts +0 -1603
- package/src/models/mappers.ts +0 -2716
- package/src/models/parameters.ts +0 -250
- package/src/operations/application.ts +0 -418
- package/src/operations/codePackage.ts +0 -88
- package/src/operations/gateway.ts +0 -419
- package/src/operations/index.ts +0 -18
- package/src/operations/network.ts +0 -418
- package/src/operations/operations.ts +0 -137
- package/src/operations/secret.ts +0 -417
- package/src/operations/secretValueOperations.ts +0 -403
- package/src/operations/service.ts +0 -241
- package/src/operations/serviceReplica.ts +0 -271
- package/src/operations/volume.ts +0 -417
- package/src/operationsInterfaces/application.ts +0 -80
- package/src/operationsInterfaces/codePackage.ts +0 -33
- package/src/operationsInterfaces/gateway.ts +0 -81
- package/src/operationsInterfaces/index.ts +0 -18
- package/src/operationsInterfaces/network.ts +0 -80
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/secret.ts +0 -79
- package/src/operationsInterfaces/secretValueOperations.ts +0 -99
- package/src/operationsInterfaces/service.ts +0 -46
- package/src/operationsInterfaces/serviceReplica.ts +0 -50
- package/src/operationsInterfaces/volume.ts +0 -79
- package/src/serviceFabricMeshManagementClient.ts +0 -174
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/application.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/codePackage.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/gateway.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/network.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/secret.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/secretValueOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/service.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/serviceReplica.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/volume.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Secret } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { SecretResourceDescription, SecretListByResourceGroupOptionalParams, SecretListBySubscriptionOptionalParams, SecretCreateOptionalParams, SecretCreateResponse, SecretGetOptionalParams, SecretGetResponse, SecretDeleteOptionalParams } from "../models";
|
|
2
|
+
import { Secret } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { SecretResourceDescription, SecretListByResourceGroupOptionalParams, SecretListBySubscriptionOptionalParams, SecretCreateOptionalParams, SecretCreateResponse, SecretGetOptionalParams, SecretGetResponse, SecretDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Secret operations. */
|
|
6
6
|
export declare class SecretImpl implements Secret {
|
|
7
7
|
private read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E,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Secret operations. */
|
|
14
14
|
export class SecretImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Secret class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -34,40 +35,36 @@ export class SecretImpl {
|
|
|
34
35
|
[Symbol.asyncIterator]() {
|
|
35
36
|
return this;
|
|
36
37
|
},
|
|
37
|
-
byPage: () => {
|
|
38
|
-
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings?.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
39
43
|
}
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings?.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
53
63
|
}
|
|
54
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
-
const page = _c.value;
|
|
60
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
-
finally {
|
|
65
|
-
try {
|
|
66
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
-
}
|
|
68
|
-
finally { if (e_1) throw e_1.error; }
|
|
69
|
-
}
|
|
70
|
-
});
|
|
64
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
65
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
66
|
+
yield* page;
|
|
67
|
+
}
|
|
71
68
|
}
|
|
72
69
|
/**
|
|
73
70
|
* Gets the information about all secret resources in a given resource group. The information include
|
|
@@ -83,40 +80,36 @@ export class SecretImpl {
|
|
|
83
80
|
[Symbol.asyncIterator]() {
|
|
84
81
|
return this;
|
|
85
82
|
},
|
|
86
|
-
byPage: () => {
|
|
87
|
-
|
|
83
|
+
byPage: (settings) => {
|
|
84
|
+
if (settings?.maxPageSize) {
|
|
85
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
86
|
+
}
|
|
87
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
listBySubscriptionPagingPage(options) {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
91
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
92
|
+
let result;
|
|
93
|
+
let continuationToken = settings?.continuationToken;
|
|
94
|
+
if (!continuationToken) {
|
|
95
|
+
result = await this._listBySubscription(options);
|
|
96
|
+
let page = result.value || [];
|
|
97
|
+
continuationToken = result.nextLink;
|
|
98
|
+
setContinuationToken(page, continuationToken);
|
|
99
|
+
yield page;
|
|
100
|
+
}
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
let page = result.value || [];
|
|
105
|
+
setContinuationToken(page, continuationToken);
|
|
106
|
+
yield page;
|
|
107
|
+
}
|
|
102
108
|
}
|
|
103
|
-
listBySubscriptionPagingAll(options) {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
-
const page = _c.value;
|
|
109
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
-
finally {
|
|
114
|
-
try {
|
|
115
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
-
}
|
|
117
|
-
finally { if (e_2) throw e_2.error; }
|
|
118
|
-
}
|
|
119
|
-
});
|
|
109
|
+
async *listBySubscriptionPagingAll(options) {
|
|
110
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
111
|
+
yield* page;
|
|
112
|
+
}
|
|
120
113
|
}
|
|
121
114
|
/**
|
|
122
115
|
* Creates a secret resource with the specified name, description and properties. If a secret resource
|
|
@@ -306,7 +299,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
306
299
|
bodyMapper: Mappers.ErrorModel
|
|
307
300
|
}
|
|
308
301
|
},
|
|
309
|
-
queryParameters: [Parameters.apiVersion],
|
|
310
302
|
urlParameters: [
|
|
311
303
|
Parameters.$host,
|
|
312
304
|
Parameters.nextLink,
|
|
@@ -327,7 +319,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
327
319
|
bodyMapper: Mappers.ErrorModel
|
|
328
320
|
}
|
|
329
321
|
},
|
|
330
|
-
queryParameters: [Parameters.apiVersion],
|
|
331
322
|
urlParameters: [
|
|
332
323
|
Parameters.$host,
|
|
333
324
|
Parameters.nextLink,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../src/operations/secret.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAM,OAAO,UAAU;IACJ,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAA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AC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Secret } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n SecretResourceDescription,\n SecretListByResourceGroupNextOptionalParams,\n SecretListByResourceGroupOptionalParams,\n SecretListByResourceGroupResponse,\n SecretListBySubscriptionNextOptionalParams,\n SecretListBySubscriptionOptionalParams,\n SecretListBySubscriptionResponse,\n SecretCreateOptionalParams,\n SecretCreateResponse,\n SecretGetOptionalParams,\n SecretGetResponse,\n SecretDeleteOptionalParams,\n SecretListByResourceGroupNextResponse,\n SecretListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Secret operations. */\nexport class SecretImpl implements Secret {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Secret class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the Secret.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SecretResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SecretResourceDescription[]> {\n let result: SecretListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): AsyncIterableIterator<SecretResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the secret.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: SecretListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SecretResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: SecretListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SecretResourceDescription[]> {\n let result: SecretListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: SecretListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SecretResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a secret resource with the specified name, description and properties. If a secret resource\n * with the same name exists, then it is updated with the specified description and properties.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretResourceDescription Description for creating a secret resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n secretResourceName: string,\n secretResourceDescription: SecretResourceDescription,\n options?: SecretCreateOptionalParams\n ): Promise<SecretCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the secret resource with the given name. The information include the\n * description and other properties of the secret.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretGetOptionalParams\n ): Promise<SecretGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the secret resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the Secret.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): Promise<SecretListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the secret.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: SecretListBySubscriptionOptionalParams\n ): Promise<SecretListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SecretListByResourceGroupNextOptionalParams\n ): Promise<SecretListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: SecretListBySubscriptionNextOptionalParams\n ): Promise<SecretListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n 201: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.secretResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SecretValueOperations } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { SecretValueResourceDescription, SecretValueListOptionalParams, SecretValueCreateOptionalParams, SecretValueCreateResponse, SecretValueGetOptionalParams, SecretValueGetResponse, SecretValueDeleteOptionalParams, SecretValueListValueOptionalParams, SecretValueListValueResponse } from "../models";
|
|
2
|
+
import { SecretValueOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { SecretValueResourceDescription, SecretValueListOptionalParams, SecretValueCreateOptionalParams, SecretValueCreateResponse, SecretValueGetOptionalParams, SecretValueGetResponse, SecretValueDeleteOptionalParams, SecretValueListValueOptionalParams, SecretValueListValueResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing SecretValueOperations operations. */
|
|
6
6
|
export declare class SecretValueOperationsImpl implements SecretValueOperations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValueOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/secretValueOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,8BAA8B,EAE9B,6BAA6B,EAE7B,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,kCAAkC,EAClC,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,8BAA8B,CAAC;YA2B9C,cAAc;YA6Bd,aAAa;IAc5B;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,8BAA8B,EAAE,8BAA8B,EAC9D,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAarC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAYlC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,SAAS,CACP,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAYxC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing SecretValueOperations operations. */
|
|
14
14
|
export class SecretValueOperationsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class SecretValueOperations class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -35,40 +36,36 @@ export class SecretValueOperationsImpl {
|
|
|
35
36
|
[Symbol.asyncIterator]() {
|
|
36
37
|
return this;
|
|
37
38
|
},
|
|
38
|
-
byPage: () => {
|
|
39
|
-
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listPagingPage(resourceGroupName, secretResourceName, options, settings);
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
|
-
listPagingPage(resourceGroupName, secretResourceName, options) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
async *listPagingPage(resourceGroupName, secretResourceName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(resourceGroupName, secretResourceName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(resourceGroupName, secretResourceName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
54
64
|
}
|
|
55
|
-
listPagingAll(resourceGroupName, secretResourceName, options) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, secretResourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
-
const page = _c.value;
|
|
61
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_1) throw e_1.error; }
|
|
70
|
-
}
|
|
71
|
-
});
|
|
65
|
+
async *listPagingAll(resourceGroupName, secretResourceName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(resourceGroupName, secretResourceName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
72
69
|
}
|
|
73
70
|
/**
|
|
74
71
|
* Creates a new value of the specified secret resource. The name of the value is typically the version
|
|
@@ -289,7 +286,6 @@ const listNextOperationSpec = {
|
|
|
289
286
|
bodyMapper: Mappers.ErrorModel
|
|
290
287
|
}
|
|
291
288
|
},
|
|
292
|
-
queryParameters: [Parameters.apiVersion],
|
|
293
289
|
urlParameters: [
|
|
294
290
|
Parameters.$host,
|
|
295
291
|
Parameters.nextLink,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValueOperations.js","sourceRoot":"","sources":["../../../src/operations/secretValueOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MA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SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SecretValueOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n SecretValueResourceDescription,\n SecretValueListNextOptionalParams,\n SecretValueListOptionalParams,\n SecretValueListResponse,\n SecretValueCreateOptionalParams,\n SecretValueCreateResponse,\n SecretValueGetOptionalParams,\n SecretValueGetResponse,\n SecretValueDeleteOptionalParams,\n SecretValueListValueOptionalParams,\n SecretValueListValueResponse,\n SecretValueListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SecretValueOperations operations. */\nexport class SecretValueOperationsImpl implements SecretValueOperations {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class SecretValueOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets information about all secret value resources of the specified secret resource. The information\n * includes the names of the secret value resources, but not the actual values.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretValueListOptionalParams\n ): PagedAsyncIterableIterator<SecretValueResourceDescription> {\n const iter = this.listPagingAll(\n resourceGroupName,\n secretResourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n secretResourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretValueListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SecretValueResourceDescription[]> {\n let result: SecretValueListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, secretResourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n secretResourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretValueListOptionalParams\n ): AsyncIterableIterator<SecretValueResourceDescription> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n secretResourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a new value of the specified secret resource. The name of the value is typically the version\n * identifier. Once created the value cannot be changed.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretValueResourceName The name of the secret resource value which is typically the version\n * identifier for the value.\n * @param secretValueResourceDescription Description for creating a value of a secret resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n secretResourceName: string,\n secretValueResourceName: string,\n secretValueResourceDescription: SecretValueResourceDescription,\n options?: SecretValueCreateOptionalParams\n ): Promise<SecretValueCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretValueResourceName,\n secretValueResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Get the information about the specified named secret value resources. The information does not\n * include the actual value of the secret.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretValueResourceName The name of the secret resource value which is typically the version\n * identifier for the value.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n secretResourceName: string,\n secretValueResourceName: string,\n options?: SecretValueGetOptionalParams\n ): Promise<SecretValueGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretValueResourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the secret value resource identified by the name. The name of the resource is typically the\n * version associated with that value. Deletion will fail if the specified value is in use.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretValueResourceName The name of the secret resource value which is typically the version\n * identifier for the value.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n secretResourceName: string,\n secretValueResourceName: string,\n options?: SecretValueDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretValueResourceName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets information about all secret value resources of the specified secret resource. The information\n * includes the names of the secret value resources, but not the actual values.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretValueListOptionalParams\n ): Promise<SecretValueListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Lists the decrypted value of the specified named value of the secret resource. This is a privileged\n * operation.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretValueResourceName The name of the secret resource value which is typically the version\n * identifier for the value.\n * @param options The options parameters.\n */\n listValue(\n resourceGroupName: string,\n secretResourceName: string,\n secretValueResourceName: string,\n options?: SecretValueListValueOptionalParams\n ): Promise<SecretValueListValueResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretValueResourceName,\n options\n },\n listValueOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n secretResourceName: string,\n nextLink: string,\n options?: SecretValueListNextOptionalParams\n ): Promise<SecretValueListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretValueResourceDescription\n },\n 201: {\n bodyMapper: Mappers.SecretValueResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.secretValueResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName,\n Parameters.secretValueResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretValueResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName,\n Parameters.secretValueResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName,\n Parameters.secretValueResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretValueResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listValueOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}/list_value\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretValue\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName,\n Parameters.secretValueResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretValueResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Service } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { ServiceResourceDescription, ServiceListOptionalParams, ServiceGetOptionalParams, ServiceGetResponse } from "../models";
|
|
2
|
+
import { Service } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { ServiceResourceDescription, ServiceListOptionalParams, ServiceGetOptionalParams, ServiceGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Service operations. */
|
|
6
6
|
export declare class ServiceImpl implements Service {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,0BAA0B,EAE1B,yBAAyB,EAEzB,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,0BAA0B,CAAC;YA2B1C,cAAc;YAiCd,aAAa;IAc5B;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAY9B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Service operations. */
|
|
14
14
|
export class ServiceImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Service class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -35,40 +36,36 @@ export class ServiceImpl {
|
|
|
35
36
|
[Symbol.asyncIterator]() {
|
|
36
37
|
return this;
|
|
37
38
|
},
|
|
38
|
-
byPage: () => {
|
|
39
|
-
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listPagingPage(resourceGroupName, applicationResourceName, options, settings);
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
|
-
listPagingPage(resourceGroupName, applicationResourceName, options) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
async *listPagingPage(resourceGroupName, applicationResourceName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(resourceGroupName, applicationResourceName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(resourceGroupName, applicationResourceName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
54
64
|
}
|
|
55
|
-
listPagingAll(resourceGroupName, applicationResourceName, options) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, applicationResourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
-
const page = _c.value;
|
|
61
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_1) throw e_1.error; }
|
|
70
|
-
}
|
|
71
|
-
});
|
|
65
|
+
async *listPagingAll(resourceGroupName, applicationResourceName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(resourceGroupName, applicationResourceName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
72
69
|
}
|
|
73
70
|
/**
|
|
74
71
|
* Gets the information about the service resource with the given name. The information include the
|
|
@@ -163,7 +160,6 @@ const listNextOperationSpec = {
|
|
|
163
160
|
bodyMapper: Mappers.ErrorModel
|
|
164
161
|
}
|
|
165
162
|
},
|
|
166
|
-
queryParameters: [Parameters.apiVersion],
|
|
167
163
|
urlParameters: [
|
|
168
164
|
Parameters.$host,
|
|
169
165
|
Parameters.nextLink,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IACL,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,uBAA+B,EAC/B,OAAmC;QAEnC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,uBAAuB,EACvB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,C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.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Service } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n ServiceResourceDescription,\n ServiceListNextOptionalParams,\n ServiceListOptionalParams,\n ServiceListResponse,\n ServiceGetOptionalParams,\n ServiceGetResponse,\n ServiceListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the information about all services of an application resource. The information include the\n * description and other properties of the Service.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ServiceListOptionalParams\n ): PagedAsyncIterableIterator<ServiceResourceDescription> {\n const iter = this.listPagingAll(\n resourceGroupName,\n applicationResourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n applicationResourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ServiceListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ServiceResourceDescription[]> {\n let result: ServiceListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n applicationResourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n applicationResourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ServiceListOptionalParams\n ): AsyncIterableIterator<ServiceResourceDescription> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n applicationResourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about the service resource with the given name. The information include the\n * description and other properties of the service.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param serviceResourceName The identity of the service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationResourceName: string,\n serviceResourceName: string,\n options?: ServiceGetOptionalParams\n ): Promise<ServiceGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n applicationResourceName,\n serviceResourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Gets the information about all services of an application resource. The information include the\n * description and other properties of the Service.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ServiceListOptionalParams\n ): Promise<ServiceListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationResourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n applicationResourceName: string,\n nextLink: string,\n options?: ServiceListNextOptionalParams\n ): Promise<ServiceListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationResourceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationResourceName,\n Parameters.serviceResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ServiceReplica } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { ServiceReplicaDescription, ServiceReplicaListOptionalParams, ServiceReplicaGetOptionalParams, ServiceReplicaGetResponse } from "../models";
|
|
2
|
+
import { ServiceReplica } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { ServiceReplicaDescription, ServiceReplicaListOptionalParams, ServiceReplicaGetOptionalParams, ServiceReplicaGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing ServiceReplica operations. */
|
|
6
6
|
export declare class ServiceReplicaImpl implements ServiceReplica {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceReplica.d.ts","sourceRoot":"","sources":["../../../src/operations/serviceReplica.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,yBAAyB,EAEzB,gCAAgC,EAEhC,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;;OAOG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,yBAAyB,CAAC;YA6BzC,cAAc;YAoCd,aAAa;IAgB5B;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAarC;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAiBb;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAkBlB"}
|