@azure/arm-servicefabricmesh 3.0.0-alpha.20250214.1 → 3.0.0-alpha.20250218.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/application.d.ts +3 -3
- package/dist/browser/operations/application.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/application.js +3 -3
- 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 +2 -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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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.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 +15 -18
- 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 -1971
- 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 +2498 -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 +369 -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 +71 -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 +370 -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 +369 -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 +137 -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 +368 -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 +320 -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 +194 -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 +213 -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 +368 -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 +36 -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 +111 -0
- package/dist/commonjs/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/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 +2494 -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 +365 -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 +66 -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 +366 -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 +365 -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 +133 -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 +364 -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 +316 -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 +190 -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 +209 -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 +364 -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 +32 -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 +106 -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 +2494 -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 +365 -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 +66 -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 +366 -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 +365 -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 +133 -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 +364 -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 +316 -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 +190 -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 +209 -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 +364 -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 +32 -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 +106 -0
- package/dist/react-native/serviceFabricMeshManagementClient.js.map +1 -0
- package/package.json +66 -35
- package/dist/index.js +0 -5782
- 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 -56
- 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 -36
- 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 -36
- 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 -51
- 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 -50
- 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 -39
- 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 -72
- 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 -36
- 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 -36
- 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 -51
- 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 -50
- 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 -38
- 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 -36
- 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 -36
- 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 -51
- 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 -50
- 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 -38
- 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 -36
- 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 -36
- 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 -51
- 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 -50
- 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 -35
- 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 -37
- 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 -37
- 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 -52
- 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 -37
- 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 -37
- 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 -52
- 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 -38
- 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 -53
- 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 -40
- 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 -36
- 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 -36
- 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 -51
- 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 -50
- package/dist-esm/samples-dev/volumeListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/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/pagingHelper.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 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/models/index.ts +0 -1629
- package/src/models/mappers.ts +0 -2716
- package/src/models/parameters.ts +0 -250
- package/src/operations/application.ts +0 -445
- package/src/operations/codePackage.ts +0 -88
- package/src/operations/gateway.ts +0 -446
- package/src/operations/index.ts +0 -18
- package/src/operations/network.ts +0 -445
- package/src/operations/operations.ts +0 -149
- package/src/operations/secret.ts +0 -444
- package/src/operations/secretValueOperations.ts +0 -412
- package/src/operations/service.ts +0 -254
- package/src/operations/serviceReplica.ts +0 -284
- package/src/operations/volume.ts +0 -444
- 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/pagingHelper.ts +0 -39
- package/src/serviceFabricMeshManagementClient.ts +0 -180
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/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
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../src/operations/application.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YAC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AU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Application } 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 ApplicationResourceDescription,\n ApplicationListByResourceGroupNextOptionalParams,\n ApplicationListByResourceGroupOptionalParams,\n ApplicationListByResourceGroupResponse,\n ApplicationListBySubscriptionNextOptionalParams,\n ApplicationListBySubscriptionOptionalParams,\n ApplicationListBySubscriptionResponse,\n ApplicationCreateOptionalParams,\n ApplicationCreateResponse,\n ApplicationGetOptionalParams,\n ApplicationGetResponse,\n ApplicationDeleteOptionalParams,\n ApplicationListByResourceGroupNextResponse,\n ApplicationListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Application operations. */\nexport class ApplicationImpl implements Application {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Application 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 application resources in a given resource group. The information\n * include the description and other properties of the Application.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<ApplicationResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ApplicationListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationResourceDescription[]> {\n let result: ApplicationListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ApplicationListByResourceGroupOptionalParams\n ): AsyncIterableIterator<ApplicationResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all application resources in a given resource group. The information\n * include the description and other properties of the application.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ApplicationListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ApplicationResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ApplicationListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationResourceDescription[]> {\n let result: ApplicationListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ApplicationListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ApplicationResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates an application resource with the specified name, description and properties. If an\n * application resource with the same name exists, then it is updated with the specified description\n * and properties.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param applicationResourceDescription Description for creating a Application resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n applicationResourceName: string,\n applicationResourceDescription: ApplicationResourceDescription,\n options?: ApplicationCreateOptionalParams\n ): Promise<ApplicationCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n applicationResourceName,\n applicationResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the application resource with the given name. The information include the\n * description and other properties of the application.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ApplicationGetOptionalParams\n ): Promise<ApplicationGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the application resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param applicationResourceName The identity of the application.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n applicationResourceName: string,\n options?: ApplicationDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all application resources in a given resource group. The information\n * include the description and other properties of the Application.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationListByResourceGroupOptionalParams\n ): Promise<ApplicationListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all application resources in a given resource group. The information\n * include the description and other properties of the application.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ApplicationListBySubscriptionOptionalParams\n ): Promise<ApplicationListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ApplicationListByResourceGroupNextOptionalParams\n ): Promise<ApplicationListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ApplicationListBySubscriptionNextOptionalParams\n ): Promise<ApplicationListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescription\n },\n 201: {\n bodyMapper: Mappers.ApplicationResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.applicationResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationResourceName\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/applications/{applicationResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescription\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 deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}\",\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.applicationResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CodePackage } from "../operationsInterfaces";
|
|
2
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
3
|
-
import { CodePackageGetContainerLogsOptionalParams, CodePackageGetContainerLogsResponse } from "../models";
|
|
1
|
+
import { CodePackage } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
3
|
+
import { CodePackageGetContainerLogsOptionalParams, CodePackageGetContainerLogsResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing CodePackage operations. */
|
|
5
5
|
export declare class CodePackageImpl implements CodePackage {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codePackage.d.ts","sourceRoot":"","sources":["../../../src/operations/codePackage.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;;;OAQG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;CAahD"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as Mappers from "../models/mappers";
|
|
10
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing CodePackage operations. */
|
|
12
12
|
export class CodePackageImpl {
|
|
13
13
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codePackage.js","sourceRoot":"","sources":["../../../src/operations/codePackage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,gBAAgB,CACd,iBAAyB,EACzB,uBAA+B,EAC/B,mBAA2B,EAC3B,WAAmB,EACnB,eAAuB,EACvB,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,uBAAuB;YACvB,mBAAmB;YACnB,WAAW;YACX,eAAe;YACf,OAAO;SACR,EACD,6BAA6B,CAC9B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EACF,2OAA2O;IAC7O,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC;IACzD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,uBAAuB;QAClC,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,eAAe;KAC3B;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 { CodePackage } 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 CodePackageGetContainerLogsOptionalParams,\n CodePackageGetContainerLogsResponse\n} from \"../models/index.js\";\n\n/** Class containing CodePackage operations. */\nexport class CodePackageImpl implements CodePackage {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class CodePackage class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the logs for the container of the specified code package of the service replica.\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 replicaName Service Fabric replica name.\n * @param codePackageName The name of code package of the service.\n * @param options The options parameters.\n */\n getContainerLogs(\n resourceGroupName: string,\n applicationResourceName: string,\n serviceResourceName: string,\n replicaName: string,\n codePackageName: string,\n options?: CodePackageGetContainerLogsOptionalParams\n ): Promise<CodePackageGetContainerLogsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n applicationResourceName,\n serviceResourceName,\n replicaName,\n codePackageName,\n options\n },\n getContainerLogsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getContainerLogsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}/replicas/{replicaName}/codePackages/{codePackageName}/logs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerLogs\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.tail],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationResourceName,\n Parameters.serviceResourceName,\n Parameters.replicaName,\n Parameters.codePackageName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Gateway } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { GatewayResourceDescription, GatewayListByResourceGroupOptionalParams, GatewayListBySubscriptionOptionalParams, GatewayCreateOptionalParams, GatewayCreateResponse, GatewayGetOptionalParams, GatewayGetResponse, GatewayDeleteOptionalParams } from "../models";
|
|
2
|
+
import { Gateway } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { GatewayResourceDescription, GatewayListByResourceGroupOptionalParams, GatewayListBySubscriptionOptionalParams, GatewayCreateOptionalParams, GatewayCreateResponse, GatewayGetOptionalParams, GatewayGetResponse, GatewayDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Gateway operations. */
|
|
6
6
|
export declare class GatewayImpl implements Gateway {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../../src/operations/gateway.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,wCAAwC,EAGxC,uCAAuC,EAEvC,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,2BAA2B,EAG5B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,0BAA0B,CAAC;YAsB1C,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,0BAA0B,CAAC;YAkB1C,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAYjC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Gateway operations. */
|
|
15
15
|
export class GatewayImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../../src/operations/gateway.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAyC;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CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Gateway } 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 GatewayResourceDescription,\n GatewayListByResourceGroupNextOptionalParams,\n GatewayListByResourceGroupOptionalParams,\n GatewayListByResourceGroupResponse,\n GatewayListBySubscriptionNextOptionalParams,\n GatewayListBySubscriptionOptionalParams,\n GatewayListBySubscriptionResponse,\n GatewayCreateOptionalParams,\n GatewayCreateResponse,\n GatewayGetOptionalParams,\n GatewayGetResponse,\n GatewayDeleteOptionalParams,\n GatewayListByResourceGroupNextResponse,\n GatewayListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Gateway operations. */\nexport class GatewayImpl implements Gateway {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Gateway 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 gateway resources in a given resource group. The information include\n * the description and other properties of the Gateway.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<GatewayResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<GatewayResourceDescription[]> {\n let result: GatewayListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): AsyncIterableIterator<GatewayResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the gateway.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: GatewayListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<GatewayResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: GatewayListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<GatewayResourceDescription[]> {\n let result: GatewayListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: GatewayListBySubscriptionOptionalParams\n ): AsyncIterableIterator<GatewayResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a gateway resource with the specified name, description and properties. If a gateway\n * resource with the same name exists, then it is updated with the specified description and\n * properties. Use gateway resources to create a gateway for public connectivity for services within\n * your application.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param gatewayResourceDescription Description for creating a Gateway resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n gatewayResourceName: string,\n gatewayResourceDescription: GatewayResourceDescription,\n options?: GatewayCreateOptionalParams\n ): Promise<GatewayCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n gatewayResourceName,\n gatewayResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the gateway resource with the given name. The information include the\n * description and other properties of the gateway.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n gatewayResourceName: string,\n options?: GatewayGetOptionalParams\n ): Promise<GatewayGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, gatewayResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the gateway resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n gatewayResourceName: string,\n options?: GatewayDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, gatewayResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the Gateway.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): Promise<GatewayListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the gateway.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: GatewayListBySubscriptionOptionalParams\n ): Promise<GatewayListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: GatewayListByResourceGroupNextOptionalParams\n ): Promise<GatewayListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: GatewayListBySubscriptionNextOptionalParams\n ): Promise<GatewayListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescription\n },\n 201: {\n bodyMapper: Mappers.GatewayResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.gatewayResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.gatewayResourceName\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/gateways/{gatewayResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescription\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.gatewayResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}\",\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.gatewayResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./operations.js";
|
|
2
|
+
export * from "./secret.js";
|
|
3
|
+
export * from "./secretValueOperations.js";
|
|
4
|
+
export * from "./volume.js";
|
|
5
|
+
export * from "./network.js";
|
|
6
|
+
export * from "./gateway.js";
|
|
7
|
+
export * from "./application.js";
|
|
8
|
+
export * from "./service.js";
|
|
9
|
+
export * from "./serviceReplica.js";
|
|
10
|
+
export * from "./codePackage.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./secret.js";
|
|
10
|
+
export * from "./secretValueOperations.js";
|
|
11
|
+
export * from "./volume.js";
|
|
12
|
+
export * from "./network.js";
|
|
13
|
+
export * from "./gateway.js";
|
|
14
|
+
export * from "./application.js";
|
|
15
|
+
export * from "./service.js";
|
|
16
|
+
export * from "./serviceReplica.js";
|
|
17
|
+
export * from "./codePackage.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,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\nexport * from \"./operations.js\";\nexport * from \"./secret.js\";\nexport * from \"./secretValueOperations.js\";\nexport * from \"./volume.js\";\nexport * from \"./network.js\";\nexport * from \"./gateway.js\";\nexport * from \"./application.js\";\nexport * from \"./service.js\";\nexport * from \"./serviceReplica.js\";\nexport * from \"./codePackage.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Network } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { NetworkResourceDescription, NetworkListByResourceGroupOptionalParams, NetworkListBySubscriptionOptionalParams, NetworkCreateOptionalParams, NetworkCreateResponse, NetworkGetOptionalParams, NetworkGetResponse, NetworkDeleteOptionalParams } from "../models";
|
|
2
|
+
import { Network } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { NetworkResourceDescription, NetworkListByResourceGroupOptionalParams, NetworkListBySubscriptionOptionalParams, NetworkCreateOptionalParams, NetworkCreateResponse, NetworkGetOptionalParams, NetworkGetResponse, NetworkDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Network operations. */
|
|
6
6
|
export declare class NetworkImpl implements Network {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../src/operations/network.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,wCAAwC,EAGxC,uCAAuC,EAEvC,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,2BAA2B,EAG5B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,0BAA0B,CAAC;YAsB1C,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,0BAA0B,CAAC;YAkB1C,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAYjC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Network operations. */
|
|
15
15
|
export class NetworkImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../src/operations/network.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,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,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAAkD,EAClD,QAAuB;;YAEvB,IAAI,MAA0C,CAAC;YAC/C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,I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":["/*\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 { Network } 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 NetworkResourceDescription,\n NetworkListByResourceGroupNextOptionalParams,\n NetworkListByResourceGroupOptionalParams,\n NetworkListByResourceGroupResponse,\n NetworkListBySubscriptionNextOptionalParams,\n NetworkListBySubscriptionOptionalParams,\n NetworkListBySubscriptionResponse,\n NetworkCreateOptionalParams,\n NetworkCreateResponse,\n NetworkGetOptionalParams,\n NetworkGetResponse,\n NetworkDeleteOptionalParams,\n NetworkListByResourceGroupNextResponse,\n NetworkListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Network operations. */\nexport class NetworkImpl implements Network {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Network 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 network resources in a given resource group. The information include\n * the description and other properties of the Network.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<NetworkResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<NetworkResourceDescription[]> {\n let result: NetworkListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): AsyncIterableIterator<NetworkResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the network.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: NetworkListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<NetworkResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: NetworkListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<NetworkResourceDescription[]> {\n let result: NetworkListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: NetworkListBySubscriptionOptionalParams\n ): AsyncIterableIterator<NetworkResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a network resource with the specified name, description and properties. If a network\n * resource with the same name exists, then it is updated with the specified description and\n * properties.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param networkResourceDescription Description for creating a Network resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n networkResourceName: string,\n networkResourceDescription: NetworkResourceDescription,\n options?: NetworkCreateOptionalParams\n ): Promise<NetworkCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n networkResourceName,\n networkResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the network resource with the given name. The information include the\n * description and other properties of the network.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n networkResourceName: string,\n options?: NetworkGetOptionalParams\n ): Promise<NetworkGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, networkResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the network resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n networkResourceName: string,\n options?: NetworkDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, networkResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the Network.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): Promise<NetworkListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the network.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: NetworkListBySubscriptionOptionalParams\n ): Promise<NetworkListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: NetworkListByResourceGroupNextOptionalParams\n ): Promise<NetworkListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: NetworkListBySubscriptionNextOptionalParams\n ): Promise<NetworkListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescription\n },\n 201: {\n bodyMapper: Mappers.NetworkResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.networkResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.networkResourceName\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/networks/{networkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescription\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.networkResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}\",\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.networkResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { OperationResult, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { OperationResult, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,eAAe,EAEf,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Operations operations. */
|
|
15
15
|
export class OperationsImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAA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AO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } 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 OperationResult,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available operations provided by Service Fabric SeaBreeze resource provider.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationResult> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationResult[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<OperationResult> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the available operations provided by Service Fabric SeaBreeze resource provider.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ServiceFabricMesh/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Secret } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { SecretResourceDescription, SecretListByResourceGroupOptionalParams, SecretListBySubscriptionOptionalParams, SecretCreateOptionalParams, SecretCreateResponse, SecretGetOptionalParams, SecretGetResponse, SecretDeleteOptionalParams } from "../models";
|
|
2
|
+
import { Secret } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { SecretResourceDescription, SecretListByResourceGroupOptionalParams, SecretListBySubscriptionOptionalParams, SecretCreateOptionalParams, SecretCreateResponse, SecretGetOptionalParams, SecretGetResponse, SecretDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Secret operations. */
|
|
6
6
|
export declare class SecretImpl implements Secret {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.d.ts","sourceRoot":"","sources":["../../../src/operations/secret.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CA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CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Secret operations. */
|
|
15
15
|
export class SecretImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../src/operations/secret.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAM,OAAO,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAiD;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAA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AAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Secret } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n SecretResourceDescription,\n SecretListByResourceGroupNextOptionalParams,\n SecretListByResourceGroupOptionalParams,\n SecretListByResourceGroupResponse,\n SecretListBySubscriptionNextOptionalParams,\n SecretListBySubscriptionOptionalParams,\n SecretListBySubscriptionResponse,\n SecretCreateOptionalParams,\n SecretCreateResponse,\n SecretGetOptionalParams,\n SecretGetResponse,\n SecretDeleteOptionalParams,\n SecretListByResourceGroupNextResponse,\n SecretListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Secret operations. */\nexport class SecretImpl implements Secret {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Secret class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the Secret.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SecretResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SecretResourceDescription[]> {\n let result: SecretListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): AsyncIterableIterator<SecretResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the secret.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: SecretListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SecretResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: SecretListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SecretResourceDescription[]> {\n let result: SecretListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: SecretListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SecretResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a secret resource with the specified name, description and properties. If a secret resource\n * with the same name exists, then it is updated with the specified description and properties.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param secretResourceDescription Description for creating a secret resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n secretResourceName: string,\n secretResourceDescription: SecretResourceDescription,\n options?: SecretCreateOptionalParams\n ): Promise<SecretCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n secretResourceName,\n secretResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the secret resource with the given name. The information include the\n * description and other properties of the secret.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretGetOptionalParams\n ): Promise<SecretGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the secret resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param secretResourceName The name of the secret resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n secretResourceName: string,\n options?: SecretDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, secretResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the Secret.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SecretListByResourceGroupOptionalParams\n ): Promise<SecretListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all secret resources in a given resource group. The information include\n * the description and other properties of the secret.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: SecretListBySubscriptionOptionalParams\n ): Promise<SecretListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SecretListByResourceGroupNextOptionalParams\n ): Promise<SecretListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: SecretListBySubscriptionNextOptionalParams\n ): Promise<SecretListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n 201: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.secretResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.secretResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SecretValueOperations } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { SecretValueResourceDescription, SecretValueListOptionalParams, SecretValueCreateOptionalParams, SecretValueCreateResponse, SecretValueGetOptionalParams, SecretValueGetResponse, SecretValueDeleteOptionalParams, SecretValueListValueOptionalParams, SecretValueListValueResponse } from "../models";
|
|
2
|
+
import { SecretValueOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { SecretValueResourceDescription, SecretValueListOptionalParams, SecretValueCreateOptionalParams, SecretValueCreateResponse, SecretValueGetOptionalParams, SecretValueGetResponse, SecretValueDeleteOptionalParams, SecretValueListValueOptionalParams, SecretValueListValueResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing SecretValueOperations operations. */
|
|
6
6
|
export declare class SecretValueOperationsImpl implements SecretValueOperations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValueOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/secretValueOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,8BAA8B,EAE9B,6BAA6B,EAE7B,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,kCAAkC,EAClC,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,8BAA8B,CAAC;YA2B9C,cAAc;YA6Bd,aAAa;IAc5B;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,8BAA8B,EAAE,8BAA8B,EAC9D,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAarC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAYlC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,SAAS,CACP,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAYxC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing SecretValueOperations operations. */
|
|
15
15
|
export class SecretValueOperationsImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValueOperations.js","sourceRoot":"","sources":["../../../src/operations/secretValueOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;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,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAA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,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Service } from "../operationsInterfaces";
|
|
3
|
-
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
|
|
4
|
-
import { ServiceResourceDescription, ServiceListOptionalParams, ServiceGetOptionalParams, ServiceGetResponse } from "../models";
|
|
2
|
+
import { Service } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
|
|
4
|
+
import { ServiceResourceDescription, ServiceListOptionalParams, ServiceGetOptionalParams, ServiceGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Service operations. */
|
|
6
6
|
export declare class ServiceImpl implements Service {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,0BAA0B,EAE1B,yBAAyB,EAEzB,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,0BAA0B,CAAC;YA2B1C,cAAc;YAiCd,aAAa;IAc5B;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAY9B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Service operations. */
|
|
15
15
|
export class ServiceImpl {
|