@azure/arm-kubernetesconfiguration 6.1.1-alpha.20250207.1 → 6.1.1-alpha.20250211.2
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 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/extensions.d.ts +3 -3
- package/dist/browser/operations/extensions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/extensions.js +139 -151
- package/dist/browser/operations/extensions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/fluxConfigOperationStatus.d.ts +3 -3
- package/dist/browser/operations/fluxConfigOperationStatus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/fluxConfigOperationStatus.js +2 -2
- package/dist/browser/operations/fluxConfigOperationStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/fluxConfigurations.d.ts +3 -3
- package/dist/browser/operations/fluxConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/fluxConfigurations.js +139 -151
- package/dist/browser/operations/fluxConfigurations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +14 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationStatus.d.ts +3 -3
- package/dist/browser/operations/operationStatus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationStatus.js +3 -3
- package/dist/browser/operations/operationStatus.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/sourceControlConfigurations.d.ts +3 -3
- package/dist/browser/operations/sourceControlConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sourceControlConfigurations.js +48 -52
- package/dist/browser/operations/sourceControlConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigOperationStatus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/fluxConfigurations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +14 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operationStatus.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/sourceControlConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sourceControlConfigurations.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}/sourceControlConfigurationClient.d.ts +2 -2
- package/dist/browser/sourceControlConfigurationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sourceControlConfigurationClient.js +15 -18
- package/dist/browser/sourceControlConfigurationClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-kubernetesconfiguration.d.ts → dist/commonjs/models/index.d.ts} +1187 -1668
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +143 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +49 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2069 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +193 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/extensions.d.ts +141 -0
- package/dist/commonjs/operations/extensions.d.ts.map +1 -0
- package/dist/commonjs/operations/extensions.js +540 -0
- package/dist/commonjs/operations/extensions.js.map +1 -0
- package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts +26 -0
- package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/fluxConfigOperationStatus.js +76 -0
- package/dist/commonjs/operations/fluxConfigOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/fluxConfigurations.d.ts +141 -0
- package/dist/commonjs/operations/fluxConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/fluxConfigurations.js +540 -0
- package/dist/commonjs/operations/fluxConfigurations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operationStatus.d.ts +63 -0
- package/dist/commonjs/operations/operationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/operationStatus.js +231 -0
- package/dist/commonjs/operations/operationStatus.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/sourceControlConfigurations.d.ts +102 -0
- package/dist/commonjs/operations/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/sourceControlConfigurations.js +377 -0
- package/dist/commonjs/operations/sourceControlConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts +108 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
- package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts +108 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/fluxConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatus.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/operationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationStatus.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/sourceControlConfigurations.d.ts +69 -0
- package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.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/sourceControlConfigurationClient.d.ts +25 -0
- package/dist/commonjs/sourceControlConfigurationClient.d.ts.map +1 -0
- package/dist/commonjs/sourceControlConfigurationClient.js +107 -0
- package/dist/commonjs/sourceControlConfigurationClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1187 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +140 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +49 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2066 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +190 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/extensions.d.ts +141 -0
- package/dist/esm/operations/extensions.d.ts.map +1 -0
- package/dist/esm/operations/extensions.js +536 -0
- package/dist/esm/operations/extensions.js.map +1 -0
- package/dist/esm/operations/fluxConfigOperationStatus.d.ts +26 -0
- package/dist/esm/operations/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/fluxConfigOperationStatus.js +71 -0
- package/dist/esm/operations/fluxConfigOperationStatus.js.map +1 -0
- package/dist/esm/operations/fluxConfigurations.d.ts +141 -0
- package/dist/esm/operations/fluxConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/fluxConfigurations.js +536 -0
- package/dist/esm/operations/fluxConfigurations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operationStatus.d.ts +63 -0
- package/dist/esm/operations/operationStatus.d.ts.map +1 -0
- package/dist/esm/operations/operationStatus.js +227 -0
- package/dist/esm/operations/operationStatus.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/sourceControlConfigurations.d.ts +102 -0
- package/dist/esm/operations/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/sourceControlConfigurations.js +373 -0
- package/dist/esm/operations/sourceControlConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts +108 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.js +9 -0
- package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
- package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
- package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts +108 -0
- package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/fluxConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/fluxConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatus.d.ts +30 -0
- package/dist/esm/operationsInterfaces/operationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/operationStatus.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/sourceControlConfigurations.d.ts +69 -0
- package/dist/esm/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sourceControlConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/sourceControlConfigurations.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/sourceControlConfigurationClient.d.ts +25 -0
- package/dist/esm/sourceControlConfigurationClient.d.ts.map +1 -0
- package/dist/esm/sourceControlConfigurationClient.js +102 -0
- package/dist/esm/sourceControlConfigurationClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1187 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +140 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +49 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2066 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +190 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/extensions.d.ts +141 -0
- package/dist/react-native/operations/extensions.d.ts.map +1 -0
- package/dist/react-native/operations/extensions.js +536 -0
- package/dist/react-native/operations/extensions.js.map +1 -0
- package/dist/react-native/operations/fluxConfigOperationStatus.d.ts +26 -0
- package/dist/react-native/operations/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/fluxConfigOperationStatus.js +71 -0
- package/dist/react-native/operations/fluxConfigOperationStatus.js.map +1 -0
- package/dist/react-native/operations/fluxConfigurations.d.ts +141 -0
- package/dist/react-native/operations/fluxConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/fluxConfigurations.js +536 -0
- package/dist/react-native/operations/fluxConfigurations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operationStatus.d.ts +63 -0
- package/dist/react-native/operations/operationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/operationStatus.js +227 -0
- package/dist/react-native/operations/operationStatus.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/sourceControlConfigurations.d.ts +102 -0
- package/dist/react-native/operations/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/sourceControlConfigurations.js +373 -0
- package/dist/react-native/operations/sourceControlConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts +108 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.js +9 -0
- package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts +108 -0
- package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/fluxConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/fluxConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatus.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/operationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/operationStatus.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/sourceControlConfigurations.d.ts +69 -0
- package/dist/react-native/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sourceControlConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/sourceControlConfigurations.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/sourceControlConfigurationClient.d.ts +25 -0
- package/dist/react-native/sourceControlConfigurationClient.d.ts.map +1 -0
- package/dist/react-native/sourceControlConfigurationClient.js +102 -0
- package/dist/react-native/sourceControlConfigurationClient.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -4494
- 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/extensionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.js +0 -74
- package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +0 -60
- package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsListSample.js +0 -54
- package/dist-esm/samples-dev/extensionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -41
- package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.js +0 -125
- package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsGetSample.js +0 -39
- package/dist-esm/samples-dev/fluxConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsListSample.js +0 -54
- package/dist-esm/samples-dev/fluxConfigurationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.js +0 -50
- package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/operationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/operationStatusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationStatusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationStatusListSample.js +0 -54
- package/dist-esm/samples-dev/operationStatusListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -51
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.js +0 -39
- package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/sourceControlConfigurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sourceControlConfigurationsListSample.js +0 -54
- package/dist-esm/samples-dev/sourceControlConfigurationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/extensions.d.ts.map +0 -1
- package/dist-esm/src/operations/extensions.js.map +0 -1
- package/dist-esm/src/operations/fluxConfigOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/fluxConfigOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/fluxConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/fluxConfigurations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/operationStatus.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/sourceControlConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/sourceControlConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/fluxConfigOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/fluxConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/fluxConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sourceControlConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sourceControlConfigurations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/sourceControlConfigurationClient.d.ts.map +0 -1
- package/dist-esm/src/sourceControlConfigurationClient.js.map +0 -1
- package/dist-esm/test/kubernetesconfiguration_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/kubernetesconfiguration_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/kubernetesconfiguration_operations_test.spec.js +0 -83
- package/dist-esm/test/kubernetesconfiguration_operations_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1294
- package/src/models/mappers.ts +0 -2174
- package/src/models/parameters.ts +0 -221
- package/src/operations/extensions.ts +0 -777
- package/src/operations/fluxConfigOperationStatus.ts +0 -95
- package/src/operations/fluxConfigurations.ts +0 -777
- package/src/operations/index.ts +0 -14
- package/src/operations/operationStatus.ts +0 -314
- package/src/operations/operations.ts +0 -149
- package/src/operations/sourceControlConfigurations.ts +0 -521
- package/src/operationsInterfaces/extensions.ts +0 -197
- package/src/operationsInterfaces/fluxConfigOperationStatus.ts +0 -37
- package/src/operationsInterfaces/fluxConfigurations.ts +0 -197
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/operationStatus.ts +0 -58
- package/src/operationsInterfaces/operations.ts +0 -25
- package/src/operationsInterfaces/sourceControlConfigurations.ts +0 -121
- package/src/pagingHelper.ts +0 -39
- package/src/sourceControlConfigurationClient.ts +0 -166
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sourceControlConfigurations.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":"sourceControlConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/sourceControlConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAI/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,0BAA0B,EAE1B,6CAA6C,EAE7C,4CAA4C,EAC5C,sCAAsC,EACtC,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAEhD,MAAM,oBAAoB,CAAC;AAG5B,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,0BAA0B,CAAC;YA+B1C,cAAc;YAuCd,aAAa;IAkB5B;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAclD;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;IAe7D;;;;;;;;;;;OAWG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA4DxD;;;;;;;;;;;OAWG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK;IAmBb;;;;;;;;;;OAUG;IACH,OAAO,CAAC,SAAS;CAoBlB"}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
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
|
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing SourceControlConfigurations operations. */
|
|
17
17
|
export class SourceControlConfigurationsImpl {
|
|
@@ -145,49 +145,47 @@ export class SourceControlConfigurationsImpl {
|
|
|
145
145
|
* @param sourceControlConfigurationName Name of the Source Control Configuration.
|
|
146
146
|
* @param options The options parameters.
|
|
147
147
|
*/
|
|
148
|
-
beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
187
|
-
});
|
|
188
|
-
yield poller.poll();
|
|
189
|
-
return poller;
|
|
148
|
+
async beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
|
|
149
|
+
const directSendOperation = async (args, spec) => {
|
|
150
|
+
return this.client.sendOperationRequest(args, spec);
|
|
151
|
+
};
|
|
152
|
+
const sendOperationFn = async (args, spec) => {
|
|
153
|
+
var _a;
|
|
154
|
+
let currentRawResponse = undefined;
|
|
155
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
156
|
+
const callback = (rawResponse, flatResponse) => {
|
|
157
|
+
currentRawResponse = rawResponse;
|
|
158
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
159
|
+
};
|
|
160
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
161
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
162
|
+
return {
|
|
163
|
+
flatResponse,
|
|
164
|
+
rawResponse: {
|
|
165
|
+
statusCode: currentRawResponse.status,
|
|
166
|
+
body: currentRawResponse.parsedBody,
|
|
167
|
+
headers: currentRawResponse.headers.toJSON()
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
const lro = createLroSpec({
|
|
172
|
+
sendOperationFn,
|
|
173
|
+
args: {
|
|
174
|
+
resourceGroupName,
|
|
175
|
+
clusterRp,
|
|
176
|
+
clusterResourceName,
|
|
177
|
+
clusterName,
|
|
178
|
+
sourceControlConfigurationName,
|
|
179
|
+
options
|
|
180
|
+
},
|
|
181
|
+
spec: deleteOperationSpec
|
|
182
|
+
});
|
|
183
|
+
const poller = await createHttpPoller(lro, {
|
|
184
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
185
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
190
186
|
});
|
|
187
|
+
await poller.poll();
|
|
188
|
+
return poller;
|
|
191
189
|
}
|
|
192
190
|
/**
|
|
193
191
|
* This will delete the YAML file used to set up the Source control configuration, thus stopping future
|
|
@@ -201,11 +199,9 @@ export class SourceControlConfigurationsImpl {
|
|
|
201
199
|
* @param sourceControlConfigurationName Name of the Source Control Configuration.
|
|
202
200
|
* @param options The options parameters.
|
|
203
201
|
*/
|
|
204
|
-
beginDeleteAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
return poller.pollUntilDone();
|
|
208
|
-
});
|
|
202
|
+
async beginDeleteAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
|
|
203
|
+
const poller = await this.beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options);
|
|
204
|
+
return poller.pollUntilDone();
|
|
209
205
|
}
|
|
210
206
|
/**
|
|
211
207
|
* List all Source Control Configurations.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceControlConfigurations.js","sourceRoot":"","sources":["../../../src/operations/sourceControlConfigurations.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;AAEtD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAyB,EACzB,SAAiB,EACjB,mBAA2B,EAC3B,WAAmB,EACnB,OAAuD;QAEvD,MAAM,IAAI,GAAG,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,qBAAqB,GAA6B;IACtD,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,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;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 { SourceControlConfigurations } 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 { SourceControlConfigurationClient } from \"../sourceControlConfigurationClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SourceControlConfiguration,\n SourceControlConfigurationsListNextOptionalParams,\n SourceControlConfigurationsListOptionalParams,\n SourceControlConfigurationsListResponse,\n SourceControlConfigurationsGetOptionalParams,\n SourceControlConfigurationsGetResponse,\n SourceControlConfigurationsCreateOrUpdateOptionalParams,\n SourceControlConfigurationsCreateOrUpdateResponse,\n SourceControlConfigurationsDeleteOptionalParams,\n SourceControlConfigurationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SourceControlConfigurations operations. */\nexport class SourceControlConfigurationsImpl\n implements SourceControlConfigurations {\n private readonly client: SourceControlConfigurationClient;\n\n /**\n * Initialize a new instance of the class SourceControlConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: SourceControlConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all Source Control Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<SourceControlConfiguration> {\n const iter = this.listPagingAll(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\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 clusterRp,\n clusterResourceName,\n clusterName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SourceControlConfiguration[]> {\n let result: SourceControlConfigurationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\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 clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): AsyncIterableIterator<SourceControlConfiguration> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets details of the Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsGetOptionalParams\n ): Promise<SourceControlConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Create a new Kubernetes Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param sourceControlConfiguration Properties necessary to Create KubernetesConfiguration.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n sourceControlConfiguration: SourceControlConfiguration,\n options?: SourceControlConfigurationsCreateOrUpdateOptionalParams\n ): Promise<SourceControlConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n sourceControlConfiguration,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all Source Control Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): Promise<SourceControlConfigurationsListResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\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 clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n nextLink: string,\n options?: SourceControlConfigurationsListNextOptionalParams\n ): Promise<SourceControlConfigurationsListNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n nextLink,\n options\n },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n 201: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.sourceControlConfiguration,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfigurationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName\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.SourceControlConfigurationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { Extension, ExtensionsListOptionalParams, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsDeleteOptionalParams, PatchExtension, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models";
|
|
3
|
+
import { Extension, ExtensionsListOptionalParams, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsDeleteOptionalParams, PatchExtension, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a Extensions. */
|
|
5
5
|
export interface Extensions {
|
|
6
6
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,8BAA8B,EAC9B,wBA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MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;OAWG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Extension,\n ExtensionsListOptionalParams,\n ExtensionsCreateOptionalParams,\n ExtensionsCreateResponse,\n ExtensionsGetOptionalParams,\n ExtensionsGetResponse,\n ExtensionsDeleteOptionalParams,\n PatchExtension,\n ExtensionsUpdateOptionalParams,\n ExtensionsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Extensions. */\nexport interface Extensions {\n /**\n * List all Extensions in the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: ExtensionsListOptionalParams\n ): PagedAsyncIterableIterator<Extension>;\n /**\n * Create a new Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param extension Properties necessary to Create an Extension.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n extension: Extension,\n options?: ExtensionsCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ExtensionsCreateResponse>,\n ExtensionsCreateResponse\n >\n >;\n /**\n * Create a new Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param extension Properties necessary to Create an Extension.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n extension: Extension,\n options?: ExtensionsCreateOptionalParams\n ): Promise<ExtensionsCreateResponse>;\n /**\n * Gets Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsGetOptionalParams\n ): Promise<ExtensionsGetResponse>;\n /**\n * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Patch an existing Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param patchExtension Properties to Patch in an existing Extension.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n patchExtension: PatchExtension,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ExtensionsUpdateResponse>,\n ExtensionsUpdateResponse\n >\n >;\n /**\n * Patch an existing Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param patchExtension Properties to Patch in an existing Extension.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n patchExtension: PatchExtension,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<ExtensionsUpdateResponse>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FluxConfigOperationStatusGetOptionalParams, FluxConfigOperationStatusGetResponse } from "../models";
|
|
1
|
+
import { FluxConfigOperationStatusGetOptionalParams, FluxConfigOperationStatusGetResponse } from "../models/index.js";
|
|
2
2
|
/** Interface representing a FluxConfigOperationStatus. */
|
|
3
3
|
export interface FluxConfigOperationStatus {
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigOperationStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigOperationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAE5B,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;;;;;;;;;OAWG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,MAAM,EAC7B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigOperationStatus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigOperationStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n FluxConfigOperationStatusGetOptionalParams,\n FluxConfigOperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a FluxConfigOperationStatus. */\nexport interface FluxConfigOperationStatus {\n /**\n * Get Async Operation status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param operationId operation Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n operationId: string,\n options?: FluxConfigOperationStatusGetOptionalParams\n ): Promise<FluxConfigOperationStatusGetResponse>;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { FluxConfiguration, FluxConfigurationsListOptionalParams, FluxConfigurationsGetOptionalParams, FluxConfigurationsGetResponse, FluxConfigurationsCreateOrUpdateOptionalParams, FluxConfigurationsCreateOrUpdateResponse, FluxConfigurationPatch, FluxConfigurationsUpdateOptionalParams, FluxConfigurationsUpdateResponse, FluxConfigurationsDeleteOptionalParams } from "../models";
|
|
3
|
+
import { FluxConfiguration, FluxConfigurationsListOptionalParams, FluxConfigurationsGetOptionalParams, FluxConfigurationsGetResponse, FluxConfigurationsCreateOrUpdateOptionalParams, FluxConfigurationsCreateOrUpdateResponse, FluxConfigurationPatch, FluxConfigurationsUpdateOptionalParams, FluxConfigurationsUpdateResponse, FluxConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
4
4
|
/** Interface representing a FluxConfigurations. */
|
|
5
5
|
export interface FluxConfigurations {
|
|
6
6
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,oCAAoC,EACpC,mCAAmC,EACnC,6BAA6B,EAC7B,8CAA8C,EAC9C,wCAAwC,EACxC,sBAAsB,EACtB,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;;;;;;OAWG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,MAAM,EAC7B,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wCAAwC,CAAC,EACxD,wCAAw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AE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n FluxConfiguration,\n FluxConfigurationsListOptionalParams,\n FluxConfigurationsGetOptionalParams,\n FluxConfigurationsGetResponse,\n FluxConfigurationsCreateOrUpdateOptionalParams,\n FluxConfigurationsCreateOrUpdateResponse,\n FluxConfigurationPatch,\n FluxConfigurationsUpdateOptionalParams,\n FluxConfigurationsUpdateResponse,\n FluxConfigurationsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a FluxConfigurations. */\nexport interface FluxConfigurations {\n /**\n * List all Flux Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: FluxConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<FluxConfiguration>;\n /**\n * Gets details of the Flux Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n options?: FluxConfigurationsGetOptionalParams\n ): Promise<FluxConfigurationsGetResponse>;\n /**\n * Create a new Kubernetes Flux Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param fluxConfiguration Properties necessary to Create a FluxConfiguration.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n fluxConfiguration: FluxConfiguration,\n options?: FluxConfigurationsCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<FluxConfigurationsCreateOrUpdateResponse>,\n FluxConfigurationsCreateOrUpdateResponse\n >\n >;\n /**\n * Create a new Kubernetes Flux Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param fluxConfiguration Properties necessary to Create a FluxConfiguration.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n fluxConfiguration: FluxConfiguration,\n options?: FluxConfigurationsCreateOrUpdateOptionalParams\n ): Promise<FluxConfigurationsCreateOrUpdateResponse>;\n /**\n * Update an existing Kubernetes Flux Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param fluxConfigurationPatch Properties to Patch in an existing Flux Configuration.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n fluxConfigurationPatch: FluxConfigurationPatch,\n options?: FluxConfigurationsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<FluxConfigurationsUpdateResponse>,\n FluxConfigurationsUpdateResponse\n >\n >;\n /**\n * Update an existing Kubernetes Flux Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param fluxConfigurationPatch Properties to Patch in an existing Flux Configuration.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n fluxConfigurationPatch: FluxConfigurationPatch,\n options?: FluxConfigurationsUpdateOptionalParams\n ): Promise<FluxConfigurationsUpdateResponse>;\n /**\n * This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from\n * the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n options?: FluxConfigurationsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from\n * the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n options?: FluxConfigurationsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./extensions.js";
|
|
2
|
+
export * from "./operationStatus.js";
|
|
3
|
+
export * from "./fluxConfigurations.js";
|
|
4
|
+
export * from "./fluxConfigOperationStatus.js";
|
|
5
|
+
export * from "./sourceControlConfigurations.js";
|
|
6
|
+
export * from "./operations.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 "./extensions.js";
|
|
9
|
+
export * from "./operationStatus.js";
|
|
10
|
+
export * from "./fluxConfigurations.js";
|
|
11
|
+
export * from "./fluxConfigOperationStatus.js";
|
|
12
|
+
export * from "./sourceControlConfigurations.js";
|
|
13
|
+
export * from "./operations.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,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 \"./extensions.js\";\nexport * from \"./operationStatus.js\";\nexport * from \"./fluxConfigurations.js\";\nexport * from \"./fluxConfigOperationStatus.js\";\nexport * from \"./sourceControlConfigurations.js\";\nexport * from \"./operations.js\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { OperationStatusResult, OperationStatusListOptionalParams, OperationStatusGetOptionalParams, OperationStatusGetResponse } from "../models";
|
|
2
|
+
import { OperationStatusResult, OperationStatusListOptionalParams, OperationStatusGetOptionalParams, OperationStatusGetResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a OperationStatus. */
|
|
4
4
|
export interface OperationStatus {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,iCAAiC,EACjC,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;;;;;;;;OAWG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationStatus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n OperationStatusResult,\n OperationStatusListOptionalParams,\n OperationStatusGetOptionalParams,\n OperationStatusGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a OperationStatus. */\nexport interface OperationStatus {\n /**\n * List Async Operations, currently in progress, in a cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: OperationStatusListOptionalParams\n ): PagedAsyncIterableIterator<OperationStatusResult>;\n /**\n * Get Async Operation status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param operationId operation Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n operationId: string,\n options?: OperationStatusGetOptionalParams\n ): Promise<OperationStatusGetResponse>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Operations. */
|
|
4
4
|
export interface Operations {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;CAC1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ResourceProviderOperation,\n OperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * List all the available operations the KubernetesConfiguration resource provider supports.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<ResourceProviderOperation>;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { SourceControlConfiguration, SourceControlConfigurationsListOptionalParams, SourceControlConfigurationsGetOptionalParams, SourceControlConfigurationsGetResponse, SourceControlConfigurationsCreateOrUpdateOptionalParams, SourceControlConfigurationsCreateOrUpdateResponse, SourceControlConfigurationsDeleteOptionalParams } from "../models";
|
|
3
|
+
import { SourceControlConfiguration, SourceControlConfigurationsListOptionalParams, SourceControlConfigurationsGetOptionalParams, SourceControlConfigurationsGetResponse, SourceControlConfigurationsCreateOrUpdateOptionalParams, SourceControlConfigurationsCreateOrUpdateResponse, SourceControlConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
4
4
|
/** Interface representing a SourceControlConfigurations. */
|
|
5
5
|
export interface SourceControlConfigurations {
|
|
6
6
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceControlConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sourceControlConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,0BAA0B,EAC1B,6CAA6C,EAC7C,4CAA4C,EAC5C,sCAAsC,EACtC,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,4DAA4D;AAC5D,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,0BAA0B,CAAC,CAAC;IAC1D;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;;;;;;OAWG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceControlConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sourceControlConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n SourceControlConfiguration,\n SourceControlConfigurationsListOptionalParams,\n SourceControlConfigurationsGetOptionalParams,\n SourceControlConfigurationsGetResponse,\n SourceControlConfigurationsCreateOrUpdateOptionalParams,\n SourceControlConfigurationsCreateOrUpdateResponse,\n SourceControlConfigurationsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SourceControlConfigurations. */\nexport interface SourceControlConfigurations {\n /**\n * List all Source Control Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<SourceControlConfiguration>;\n /**\n * Gets details of the Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsGetOptionalParams\n ): Promise<SourceControlConfigurationsGetResponse>;\n /**\n * Create a new Kubernetes Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param sourceControlConfiguration Properties necessary to Create KubernetesConfiguration.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n sourceControlConfiguration: SourceControlConfiguration,\n options?: SourceControlConfigurationsCreateOrUpdateOptionalParams\n ): Promise<SourceControlConfigurationsCreateOrUpdateResponse>;\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Extensions, OperationStatus, FluxConfigurations, FluxConfigOperationStatus, SourceControlConfigurations, Operations } from "./operationsInterfaces";
|
|
4
|
-
import { SourceControlConfigurationClientOptionalParams } from "./models";
|
|
3
|
+
import { Extensions, OperationStatus, FluxConfigurations, FluxConfigOperationStatus, SourceControlConfigurations, Operations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { SourceControlConfigurationClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class SourceControlConfigurationClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceControlConfigurationClient.d.ts","sourceRoot":"","sources":["../../src/sourceControlConfigurationClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC3B,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,8CAA8C,EAAE,MAAM,mBAAmB,CAAC;AAEnF,qBAAa,gCAAiC,SAAQ,UAAU,CAAC,aAAa;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8CAA8C;IAmF1D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { ExtensionsImpl, OperationStatusImpl, FluxConfigurationsImpl, FluxConfigOperationStatusImpl, SourceControlConfigurationsImpl, OperationsImpl } from "./operations";
|
|
10
|
+
import { ExtensionsImpl, OperationStatusImpl, FluxConfigurationsImpl, FluxConfigOperationStatusImpl, SourceControlConfigurationsImpl, OperationsImpl } from "./operations/index.js";
|
|
12
11
|
export class SourceControlConfigurationClient extends coreClient.ServiceClient {
|
|
13
12
|
/**
|
|
14
13
|
* Initializes a new instance of the SourceControlConfigurationClient class.
|
|
@@ -81,22 +80,20 @@ export class SourceControlConfigurationClient extends coreClient.ServiceClient {
|
|
|
81
80
|
}
|
|
82
81
|
const apiVersionPolicy = {
|
|
83
82
|
name: "CustomApiVersionPolicy",
|
|
84
|
-
sendRequest(request, next) {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return next(request);
|
|
99
|
-
});
|
|
83
|
+
async sendRequest(request, next) {
|
|
84
|
+
const param = request.url.split("?");
|
|
85
|
+
if (param.length > 1) {
|
|
86
|
+
const newParams = param[1].split("&").map((item) => {
|
|
87
|
+
if (item.indexOf("api-version") > -1) {
|
|
88
|
+
return "api-version=" + apiVersion;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
return item;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
95
|
+
}
|
|
96
|
+
return next(request);
|
|
100
97
|
}
|
|
101
98
|
};
|
|
102
99
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceControlConfigurationClient.js","sourceRoot":"","sources":["../../src/sourceControlConfigurationClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,6BAA6B,EAC7B,+BAA+B,EAC/B,cAAc,EACf,MAAM,uBAAuB,CAAC;AAW/B,MAAM,OAAO,gCAAiC,SAAQ,UAAU,CAAC,aAAa;IAK5E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAwD;;QAExD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,E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QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAQF","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ExtensionsImpl,\n OperationStatusImpl,\n FluxConfigurationsImpl,\n FluxConfigOperationStatusImpl,\n SourceControlConfigurationsImpl,\n OperationsImpl\n} from \"./operations/index.js\";\nimport {\n Extensions,\n OperationStatus,\n FluxConfigurations,\n FluxConfigOperationStatus,\n SourceControlConfigurations,\n Operations\n} from \"./operationsInterfaces/index.js\";\nimport { SourceControlConfigurationClientOptionalParams } from \"./models/index.js\";\n\nexport class SourceControlConfigurationClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SourceControlConfigurationClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SourceControlConfigurationClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SourceControlConfigurationClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-kubernetesconfiguration/6.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-05-01\";\n this.extensions = new ExtensionsImpl(this);\n this.operationStatus = new OperationStatusImpl(this);\n this.fluxConfigurations = new FluxConfigurationsImpl(this);\n this.fluxConfigOperationStatus = new FluxConfigOperationStatusImpl(this);\n this.sourceControlConfigurations = new SourceControlConfigurationsImpl(\n this\n );\n this.operations = new OperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n extensions: Extensions;\n operationStatus: OperationStatus;\n fluxConfigurations: FluxConfigurations;\n fluxConfigOperationStatus: FluxConfigOperationStatus;\n sourceControlConfigurations: SourceControlConfigurations;\n operations: Operations;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
2
|
+
export * from "./models/index.js";
|
|
3
|
+
export { SourceControlConfigurationClient } from "./sourceControlConfigurationClient.js";
|
|
4
|
+
export * from "./operationsInterfaces/index.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,cAAc,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SourceControlConfigurationClient = exports.getContinuationToken = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
|
16
|
+
var sourceControlConfigurationClient_js_1 = require("./sourceControlConfigurationClient.js");
|
|
17
|
+
Object.defineProperty(exports, "SourceControlConfigurationClient", { enumerable: true, get: function () { return sourceControlConfigurationClient_js_1.SourceControlConfigurationClient; } });
|
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,6FAAyF;AAAhF,uJAAA,gCAAgC,OAAA;AACzC,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { SourceControlConfigurationClient } from \"./sourceControlConfigurationClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
|
+
args: Record<string, unknown>;
|
|
5
|
+
spec: {
|
|
6
|
+
readonly requestBody?: unknown;
|
|
7
|
+
readonly path?: string;
|
|
8
|
+
readonly httpMethod: string;
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
}): LongRunningOperation<T>;
|
|
11
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createLroSpec = createLroSpec;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
function createLroSpec(inputs) {
|
|
6
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
7
|
+
return {
|
|
8
|
+
requestMethod: spec.httpMethod,
|
|
9
|
+
requestPath: spec.path,
|
|
10
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
11
|
+
sendPollRequest: (path, options) => {
|
|
12
|
+
const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
|
|
13
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
|