@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
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SecretValueOperationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing SecretValueOperations operations. */
|
|
18
|
+
class SecretValueOperationsImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class SecretValueOperations class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Gets information about all secret value resources of the specified secret resource. The information
|
|
29
|
+
* includes the names of the secret value resources, but not the actual values.
|
|
30
|
+
* @param resourceGroupName Azure resource group name
|
|
31
|
+
* @param secretResourceName The name of the secret resource.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(resourceGroupName, secretResourceName, options) {
|
|
35
|
+
const iter = this.listPagingAll(resourceGroupName, secretResourceName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listPagingPage(resourceGroupName, secretResourceName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
async *listPagingPage(resourceGroupName, secretResourceName, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._list(resourceGroupName, secretResourceName, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listNext(resourceGroupName, secretResourceName, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
async *listPagingAll(resourceGroupName, secretResourceName, options) {
|
|
70
|
+
for await (const page of this.listPagingPage(resourceGroupName, secretResourceName, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates a new value of the specified secret resource. The name of the value is typically the version
|
|
76
|
+
* identifier. Once created the value cannot be changed.
|
|
77
|
+
* @param resourceGroupName Azure resource group name
|
|
78
|
+
* @param secretResourceName The name of the secret resource.
|
|
79
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
80
|
+
* identifier for the value.
|
|
81
|
+
* @param secretValueResourceDescription Description for creating a value of a secret resource.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
create(resourceGroupName, secretResourceName, secretValueResourceName, secretValueResourceDescription, options) {
|
|
85
|
+
return this.client.sendOperationRequest({
|
|
86
|
+
resourceGroupName,
|
|
87
|
+
secretResourceName,
|
|
88
|
+
secretValueResourceName,
|
|
89
|
+
secretValueResourceDescription,
|
|
90
|
+
options
|
|
91
|
+
}, createOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get the information about the specified named secret value resources. The information does not
|
|
95
|
+
* include the actual value of the secret.
|
|
96
|
+
* @param resourceGroupName Azure resource group name
|
|
97
|
+
* @param secretResourceName The name of the secret resource.
|
|
98
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
99
|
+
* identifier for the value.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
get(resourceGroupName, secretResourceName, secretValueResourceName, options) {
|
|
103
|
+
return this.client.sendOperationRequest({
|
|
104
|
+
resourceGroupName,
|
|
105
|
+
secretResourceName,
|
|
106
|
+
secretValueResourceName,
|
|
107
|
+
options
|
|
108
|
+
}, getOperationSpec);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Deletes the secret value resource identified by the name. The name of the resource is typically the
|
|
112
|
+
* version associated with that value. Deletion will fail if the specified value is in use.
|
|
113
|
+
* @param resourceGroupName Azure resource group name
|
|
114
|
+
* @param secretResourceName The name of the secret resource.
|
|
115
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
116
|
+
* identifier for the value.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
delete(resourceGroupName, secretResourceName, secretValueResourceName, options) {
|
|
120
|
+
return this.client.sendOperationRequest({
|
|
121
|
+
resourceGroupName,
|
|
122
|
+
secretResourceName,
|
|
123
|
+
secretValueResourceName,
|
|
124
|
+
options
|
|
125
|
+
}, deleteOperationSpec);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Gets information about all secret value resources of the specified secret resource. The information
|
|
129
|
+
* includes the names of the secret value resources, but not the actual values.
|
|
130
|
+
* @param resourceGroupName Azure resource group name
|
|
131
|
+
* @param secretResourceName The name of the secret resource.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
_list(resourceGroupName, secretResourceName, options) {
|
|
135
|
+
return this.client.sendOperationRequest({ resourceGroupName, secretResourceName, options }, listOperationSpec);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Lists the decrypted value of the specified named value of the secret resource. This is a privileged
|
|
139
|
+
* operation.
|
|
140
|
+
* @param resourceGroupName Azure resource group name
|
|
141
|
+
* @param secretResourceName The name of the secret resource.
|
|
142
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
143
|
+
* identifier for the value.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
listValue(resourceGroupName, secretResourceName, secretValueResourceName, options) {
|
|
147
|
+
return this.client.sendOperationRequest({
|
|
148
|
+
resourceGroupName,
|
|
149
|
+
secretResourceName,
|
|
150
|
+
secretValueResourceName,
|
|
151
|
+
options
|
|
152
|
+
}, listValueOperationSpec);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* ListNext
|
|
156
|
+
* @param resourceGroupName Azure resource group name
|
|
157
|
+
* @param secretResourceName The name of the secret resource.
|
|
158
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
_listNext(resourceGroupName, secretResourceName, nextLink, options) {
|
|
162
|
+
return this.client.sendOperationRequest({ resourceGroupName, secretResourceName, nextLink, options }, listNextOperationSpec);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.SecretValueOperationsImpl = SecretValueOperationsImpl;
|
|
166
|
+
// Operation Specifications
|
|
167
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
168
|
+
const createOperationSpec = {
|
|
169
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
|
|
170
|
+
httpMethod: "PUT",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.SecretValueResourceDescription
|
|
174
|
+
},
|
|
175
|
+
201: {
|
|
176
|
+
bodyMapper: Mappers.SecretValueResourceDescription
|
|
177
|
+
},
|
|
178
|
+
202: {},
|
|
179
|
+
default: {
|
|
180
|
+
bodyMapper: Mappers.ErrorModel
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
requestBody: Parameters.secretValueResourceDescription,
|
|
184
|
+
queryParameters: [Parameters.apiVersion],
|
|
185
|
+
urlParameters: [
|
|
186
|
+
Parameters.$host,
|
|
187
|
+
Parameters.subscriptionId,
|
|
188
|
+
Parameters.resourceGroupName,
|
|
189
|
+
Parameters.secretResourceName,
|
|
190
|
+
Parameters.secretValueResourceName
|
|
191
|
+
],
|
|
192
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
193
|
+
mediaType: "json",
|
|
194
|
+
serializer
|
|
195
|
+
};
|
|
196
|
+
const getOperationSpec = {
|
|
197
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
|
|
198
|
+
httpMethod: "GET",
|
|
199
|
+
responses: {
|
|
200
|
+
200: {
|
|
201
|
+
bodyMapper: Mappers.SecretValueResourceDescription
|
|
202
|
+
},
|
|
203
|
+
default: {
|
|
204
|
+
bodyMapper: Mappers.ErrorModel
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
queryParameters: [Parameters.apiVersion],
|
|
208
|
+
urlParameters: [
|
|
209
|
+
Parameters.$host,
|
|
210
|
+
Parameters.subscriptionId,
|
|
211
|
+
Parameters.resourceGroupName,
|
|
212
|
+
Parameters.secretResourceName,
|
|
213
|
+
Parameters.secretValueResourceName
|
|
214
|
+
],
|
|
215
|
+
headerParameters: [Parameters.accept],
|
|
216
|
+
serializer
|
|
217
|
+
};
|
|
218
|
+
const deleteOperationSpec = {
|
|
219
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
|
|
220
|
+
httpMethod: "DELETE",
|
|
221
|
+
responses: {
|
|
222
|
+
200: {},
|
|
223
|
+
202: {},
|
|
224
|
+
204: {},
|
|
225
|
+
default: {
|
|
226
|
+
bodyMapper: Mappers.ErrorModel
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
queryParameters: [Parameters.apiVersion],
|
|
230
|
+
urlParameters: [
|
|
231
|
+
Parameters.$host,
|
|
232
|
+
Parameters.subscriptionId,
|
|
233
|
+
Parameters.resourceGroupName,
|
|
234
|
+
Parameters.secretResourceName,
|
|
235
|
+
Parameters.secretValueResourceName
|
|
236
|
+
],
|
|
237
|
+
headerParameters: [Parameters.accept],
|
|
238
|
+
serializer
|
|
239
|
+
};
|
|
240
|
+
const listOperationSpec = {
|
|
241
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values",
|
|
242
|
+
httpMethod: "GET",
|
|
243
|
+
responses: {
|
|
244
|
+
200: {
|
|
245
|
+
bodyMapper: Mappers.SecretValueResourceDescriptionList
|
|
246
|
+
},
|
|
247
|
+
default: {
|
|
248
|
+
bodyMapper: Mappers.ErrorModel
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
queryParameters: [Parameters.apiVersion],
|
|
252
|
+
urlParameters: [
|
|
253
|
+
Parameters.$host,
|
|
254
|
+
Parameters.subscriptionId,
|
|
255
|
+
Parameters.resourceGroupName,
|
|
256
|
+
Parameters.secretResourceName
|
|
257
|
+
],
|
|
258
|
+
headerParameters: [Parameters.accept],
|
|
259
|
+
serializer
|
|
260
|
+
};
|
|
261
|
+
const listValueOperationSpec = {
|
|
262
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}/list_value",
|
|
263
|
+
httpMethod: "POST",
|
|
264
|
+
responses: {
|
|
265
|
+
200: {
|
|
266
|
+
bodyMapper: Mappers.SecretValue
|
|
267
|
+
},
|
|
268
|
+
default: {
|
|
269
|
+
bodyMapper: Mappers.ErrorModel
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
queryParameters: [Parameters.apiVersion],
|
|
273
|
+
urlParameters: [
|
|
274
|
+
Parameters.$host,
|
|
275
|
+
Parameters.subscriptionId,
|
|
276
|
+
Parameters.resourceGroupName,
|
|
277
|
+
Parameters.secretResourceName,
|
|
278
|
+
Parameters.secretValueResourceName
|
|
279
|
+
],
|
|
280
|
+
headerParameters: [Parameters.accept],
|
|
281
|
+
serializer
|
|
282
|
+
};
|
|
283
|
+
const listNextOperationSpec = {
|
|
284
|
+
path: "{nextLink}",
|
|
285
|
+
httpMethod: "GET",
|
|
286
|
+
responses: {
|
|
287
|
+
200: {
|
|
288
|
+
bodyMapper: Mappers.SecretValueResourceDescriptionList
|
|
289
|
+
},
|
|
290
|
+
default: {
|
|
291
|
+
bodyMapper: Mappers.ErrorModel
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
urlParameters: [
|
|
295
|
+
Parameters.$host,
|
|
296
|
+
Parameters.nextLink,
|
|
297
|
+
Parameters.subscriptionId,
|
|
298
|
+
Parameters.resourceGroupName,
|
|
299
|
+
Parameters.secretResourceName
|
|
300
|
+
],
|
|
301
|
+
headerParameters: [Parameters.accept],
|
|
302
|
+
serializer
|
|
303
|
+
};
|
|
304
|
+
//# sourceMappingURL=secretValueOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValueOperations.js","sourceRoot":"","sources":["../../../src/operations/secretValueOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IACnB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,kBAA0B,EAC1B,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,I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AC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EACF,mLAAmL;IACrL,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;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"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Service } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { ServiceResourceDescription, ServiceListOptionalParams, ServiceGetOptionalParams, ServiceGetResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Service operations. */
|
|
6
|
+
export declare class ServiceImpl implements Service {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Service class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ServiceFabricMeshManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the information about all services of an application resource. The information include the
|
|
15
|
+
* description and other properties of the Service.
|
|
16
|
+
* @param resourceGroupName Azure resource group name
|
|
17
|
+
* @param applicationResourceName The identity of the application.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, applicationResourceName: string, options?: ServiceListOptionalParams): PagedAsyncIterableIterator<ServiceResourceDescription>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the information about the service resource with the given name. The information include the
|
|
25
|
+
* description and other properties of the service.
|
|
26
|
+
* @param resourceGroupName Azure resource group name
|
|
27
|
+
* @param applicationResourceName The identity of the application.
|
|
28
|
+
* @param serviceResourceName The identity of the service.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: ServiceGetOptionalParams): Promise<ServiceGetResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the information about all services of an application resource. The information include the
|
|
34
|
+
* description and other properties of the Service.
|
|
35
|
+
* @param resourceGroupName Azure resource group name
|
|
36
|
+
* @param applicationResourceName The identity of the application.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
private _list;
|
|
40
|
+
/**
|
|
41
|
+
* ListNext
|
|
42
|
+
* @param resourceGroupName Azure resource group name
|
|
43
|
+
* @param applicationResourceName The identity of the application.
|
|
44
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
private _listNext;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ServiceImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing Service operations. */
|
|
18
|
+
class ServiceImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class Service class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Gets the information about all services of an application resource. The information include the
|
|
29
|
+
* description and other properties of the Service.
|
|
30
|
+
* @param resourceGroupName Azure resource group name
|
|
31
|
+
* @param applicationResourceName The identity of the application.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(resourceGroupName, applicationResourceName, options) {
|
|
35
|
+
const iter = this.listPagingAll(resourceGroupName, applicationResourceName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listPagingPage(resourceGroupName, applicationResourceName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
async *listPagingPage(resourceGroupName, applicationResourceName, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._list(resourceGroupName, applicationResourceName, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listNext(resourceGroupName, applicationResourceName, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
async *listPagingAll(resourceGroupName, applicationResourceName, options) {
|
|
70
|
+
for await (const page of this.listPagingPage(resourceGroupName, applicationResourceName, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Gets the information about the service resource with the given name. The information include the
|
|
76
|
+
* description and other properties of the service.
|
|
77
|
+
* @param resourceGroupName Azure resource group name
|
|
78
|
+
* @param applicationResourceName The identity of the application.
|
|
79
|
+
* @param serviceResourceName The identity of the service.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(resourceGroupName, applicationResourceName, serviceResourceName, options) {
|
|
83
|
+
return this.client.sendOperationRequest({
|
|
84
|
+
resourceGroupName,
|
|
85
|
+
applicationResourceName,
|
|
86
|
+
serviceResourceName,
|
|
87
|
+
options
|
|
88
|
+
}, getOperationSpec);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Gets the information about all services of an application resource. The information include the
|
|
92
|
+
* description and other properties of the Service.
|
|
93
|
+
* @param resourceGroupName Azure resource group name
|
|
94
|
+
* @param applicationResourceName The identity of the application.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
_list(resourceGroupName, applicationResourceName, options) {
|
|
98
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationResourceName, options }, listOperationSpec);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* ListNext
|
|
102
|
+
* @param resourceGroupName Azure resource group name
|
|
103
|
+
* @param applicationResourceName The identity of the application.
|
|
104
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
_listNext(resourceGroupName, applicationResourceName, nextLink, options) {
|
|
108
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationResourceName, nextLink, options }, listNextOperationSpec);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ServiceImpl = ServiceImpl;
|
|
112
|
+
// Operation Specifications
|
|
113
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
114
|
+
const getOperationSpec = {
|
|
115
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}",
|
|
116
|
+
httpMethod: "GET",
|
|
117
|
+
responses: {
|
|
118
|
+
200: {
|
|
119
|
+
bodyMapper: Mappers.ServiceResourceDescription
|
|
120
|
+
},
|
|
121
|
+
default: {
|
|
122
|
+
bodyMapper: Mappers.ErrorModel
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
queryParameters: [Parameters.apiVersion],
|
|
126
|
+
urlParameters: [
|
|
127
|
+
Parameters.$host,
|
|
128
|
+
Parameters.subscriptionId,
|
|
129
|
+
Parameters.resourceGroupName,
|
|
130
|
+
Parameters.applicationResourceName,
|
|
131
|
+
Parameters.serviceResourceName
|
|
132
|
+
],
|
|
133
|
+
headerParameters: [Parameters.accept],
|
|
134
|
+
serializer
|
|
135
|
+
};
|
|
136
|
+
const listOperationSpec = {
|
|
137
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services",
|
|
138
|
+
httpMethod: "GET",
|
|
139
|
+
responses: {
|
|
140
|
+
200: {
|
|
141
|
+
bodyMapper: Mappers.ServiceResourceDescriptionList
|
|
142
|
+
},
|
|
143
|
+
default: {
|
|
144
|
+
bodyMapper: Mappers.ErrorModel
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
queryParameters: [Parameters.apiVersion],
|
|
148
|
+
urlParameters: [
|
|
149
|
+
Parameters.$host,
|
|
150
|
+
Parameters.subscriptionId,
|
|
151
|
+
Parameters.resourceGroupName,
|
|
152
|
+
Parameters.applicationResourceName
|
|
153
|
+
],
|
|
154
|
+
headerParameters: [Parameters.accept],
|
|
155
|
+
serializer
|
|
156
|
+
};
|
|
157
|
+
const listNextOperationSpec = {
|
|
158
|
+
path: "{nextLink}",
|
|
159
|
+
httpMethod: "GET",
|
|
160
|
+
responses: {
|
|
161
|
+
200: {
|
|
162
|
+
bodyMapper: Mappers.ServiceResourceDescriptionList
|
|
163
|
+
},
|
|
164
|
+
default: {
|
|
165
|
+
bodyMapper: Mappers.ErrorModel
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
urlParameters: [
|
|
169
|
+
Parameters.$host,
|
|
170
|
+
Parameters.nextLink,
|
|
171
|
+
Parameters.subscriptionId,
|
|
172
|
+
Parameters.resourceGroupName,
|
|
173
|
+
Parameters.applicationResourceName
|
|
174
|
+
],
|
|
175
|
+
headerParameters: [Parameters.accept],
|
|
176
|
+
serializer
|
|
177
|
+
};
|
|
178
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;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,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;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,uBAAuB;KACnC;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 { 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"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ServiceReplica } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { ServiceReplicaDescription, ServiceReplicaListOptionalParams, ServiceReplicaGetOptionalParams, ServiceReplicaGetResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing ServiceReplica operations. */
|
|
6
|
+
export declare class ServiceReplicaImpl implements ServiceReplica {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ServiceReplica class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ServiceFabricMeshManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the information about all replicas of a given service of an application. The information
|
|
15
|
+
* includes the runtime properties of the replica instance.
|
|
16
|
+
* @param resourceGroupName Azure resource group name
|
|
17
|
+
* @param applicationResourceName The identity of the application.
|
|
18
|
+
* @param serviceResourceName The identity of the service.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: ServiceReplicaListOptionalParams): PagedAsyncIterableIterator<ServiceReplicaDescription>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about the service replica with the given name. The information include the
|
|
26
|
+
* description and other properties of the service replica.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param applicationResourceName The identity of the application.
|
|
29
|
+
* @param serviceResourceName The identity of the service.
|
|
30
|
+
* @param replicaName Service Fabric replica name.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: ServiceReplicaGetOptionalParams): Promise<ServiceReplicaGetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all replicas of a given service of an application. The information
|
|
36
|
+
* includes the runtime properties of the replica instance.
|
|
37
|
+
* @param resourceGroupName Azure resource group name
|
|
38
|
+
* @param applicationResourceName The identity of the application.
|
|
39
|
+
* @param serviceResourceName The identity of the service.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
private _list;
|
|
43
|
+
/**
|
|
44
|
+
* ListNext
|
|
45
|
+
* @param resourceGroupName Azure resource group name
|
|
46
|
+
* @param applicationResourceName The identity of the application.
|
|
47
|
+
* @param serviceResourceName The identity of the service.
|
|
48
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
private _listNext;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=serviceReplica.d.ts.map
|
|
@@ -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"}
|