@azure/arm-kubernetesconfiguration 6.1.1-alpha.20250210.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
|
@@ -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 Extensions operations. */
|
|
17
17
|
export class ExtensionsImpl {
|
|
@@ -101,51 +101,49 @@ export class ExtensionsImpl {
|
|
|
101
101
|
* @param extension Properties necessary to Create an Extension.
|
|
102
102
|
* @param options The options parameters.
|
|
103
103
|
*/
|
|
104
|
-
beginCreate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, extension, options) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
resourceLocationConfig: "azure-async-operation"
|
|
145
|
-
});
|
|
146
|
-
yield poller.poll();
|
|
147
|
-
return poller;
|
|
104
|
+
async beginCreate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, extension, options) {
|
|
105
|
+
const directSendOperation = async (args, spec) => {
|
|
106
|
+
return this.client.sendOperationRequest(args, spec);
|
|
107
|
+
};
|
|
108
|
+
const sendOperationFn = async (args, spec) => {
|
|
109
|
+
var _a;
|
|
110
|
+
let currentRawResponse = undefined;
|
|
111
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
112
|
+
const callback = (rawResponse, flatResponse) => {
|
|
113
|
+
currentRawResponse = rawResponse;
|
|
114
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
115
|
+
};
|
|
116
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
117
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
118
|
+
return {
|
|
119
|
+
flatResponse,
|
|
120
|
+
rawResponse: {
|
|
121
|
+
statusCode: currentRawResponse.status,
|
|
122
|
+
body: currentRawResponse.parsedBody,
|
|
123
|
+
headers: currentRawResponse.headers.toJSON()
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
const lro = createLroSpec({
|
|
128
|
+
sendOperationFn,
|
|
129
|
+
args: {
|
|
130
|
+
resourceGroupName,
|
|
131
|
+
clusterRp,
|
|
132
|
+
clusterResourceName,
|
|
133
|
+
clusterName,
|
|
134
|
+
extensionName,
|
|
135
|
+
extension,
|
|
136
|
+
options
|
|
137
|
+
},
|
|
138
|
+
spec: createOperationSpec
|
|
139
|
+
});
|
|
140
|
+
const poller = await createHttpPoller(lro, {
|
|
141
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
142
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
143
|
+
resourceLocationConfig: "azure-async-operation"
|
|
148
144
|
});
|
|
145
|
+
await poller.poll();
|
|
146
|
+
return poller;
|
|
149
147
|
}
|
|
150
148
|
/**
|
|
151
149
|
* Create a new Kubernetes Cluster Extension.
|
|
@@ -159,11 +157,9 @@ export class ExtensionsImpl {
|
|
|
159
157
|
* @param extension Properties necessary to Create an Extension.
|
|
160
158
|
* @param options The options parameters.
|
|
161
159
|
*/
|
|
162
|
-
beginCreateAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, extension, options) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
return poller.pollUntilDone();
|
|
166
|
-
});
|
|
160
|
+
async beginCreateAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, extension, options) {
|
|
161
|
+
const poller = await this.beginCreate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, extension, options);
|
|
162
|
+
return poller.pollUntilDone();
|
|
167
163
|
}
|
|
168
164
|
/**
|
|
169
165
|
* Gets Kubernetes Cluster Extension.
|
|
@@ -198,50 +194,48 @@ export class ExtensionsImpl {
|
|
|
198
194
|
* @param extensionName Name of the Extension.
|
|
199
195
|
* @param options The options parameters.
|
|
200
196
|
*/
|
|
201
|
-
beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, options) {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
resourceLocationConfig: "azure-async-operation"
|
|
241
|
-
});
|
|
242
|
-
yield poller.poll();
|
|
243
|
-
return poller;
|
|
197
|
+
async beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, options) {
|
|
198
|
+
const directSendOperation = async (args, spec) => {
|
|
199
|
+
return this.client.sendOperationRequest(args, spec);
|
|
200
|
+
};
|
|
201
|
+
const sendOperationFn = async (args, spec) => {
|
|
202
|
+
var _a;
|
|
203
|
+
let currentRawResponse = undefined;
|
|
204
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
205
|
+
const callback = (rawResponse, flatResponse) => {
|
|
206
|
+
currentRawResponse = rawResponse;
|
|
207
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
208
|
+
};
|
|
209
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
210
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
211
|
+
return {
|
|
212
|
+
flatResponse,
|
|
213
|
+
rawResponse: {
|
|
214
|
+
statusCode: currentRawResponse.status,
|
|
215
|
+
body: currentRawResponse.parsedBody,
|
|
216
|
+
headers: currentRawResponse.headers.toJSON()
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
const lro = createLroSpec({
|
|
221
|
+
sendOperationFn,
|
|
222
|
+
args: {
|
|
223
|
+
resourceGroupName,
|
|
224
|
+
clusterRp,
|
|
225
|
+
clusterResourceName,
|
|
226
|
+
clusterName,
|
|
227
|
+
extensionName,
|
|
228
|
+
options
|
|
229
|
+
},
|
|
230
|
+
spec: deleteOperationSpec
|
|
231
|
+
});
|
|
232
|
+
const poller = await createHttpPoller(lro, {
|
|
233
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
234
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
235
|
+
resourceLocationConfig: "azure-async-operation"
|
|
244
236
|
});
|
|
237
|
+
await poller.poll();
|
|
238
|
+
return poller;
|
|
245
239
|
}
|
|
246
240
|
/**
|
|
247
241
|
* Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the
|
|
@@ -255,11 +249,9 @@ export class ExtensionsImpl {
|
|
|
255
249
|
* @param extensionName Name of the Extension.
|
|
256
250
|
* @param options The options parameters.
|
|
257
251
|
*/
|
|
258
|
-
beginDeleteAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, options) {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
return poller.pollUntilDone();
|
|
262
|
-
});
|
|
252
|
+
async beginDeleteAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, options) {
|
|
253
|
+
const poller = await this.beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, options);
|
|
254
|
+
return poller.pollUntilDone();
|
|
263
255
|
}
|
|
264
256
|
/**
|
|
265
257
|
* Patch an existing Kubernetes Cluster Extension.
|
|
@@ -273,51 +265,49 @@ export class ExtensionsImpl {
|
|
|
273
265
|
* @param patchExtension Properties to Patch in an existing Extension.
|
|
274
266
|
* @param options The options parameters.
|
|
275
267
|
*/
|
|
276
|
-
beginUpdate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, patchExtension, options) {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
spec: updateOperationSpec
|
|
312
|
-
});
|
|
313
|
-
const poller = yield createHttpPoller(lro, {
|
|
314
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
315
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
316
|
-
resourceLocationConfig: "azure-async-operation"
|
|
317
|
-
});
|
|
318
|
-
yield poller.poll();
|
|
319
|
-
return poller;
|
|
268
|
+
async beginUpdate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, patchExtension, options) {
|
|
269
|
+
const directSendOperation = async (args, spec) => {
|
|
270
|
+
return this.client.sendOperationRequest(args, spec);
|
|
271
|
+
};
|
|
272
|
+
const sendOperationFn = async (args, spec) => {
|
|
273
|
+
var _a;
|
|
274
|
+
let currentRawResponse = undefined;
|
|
275
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
276
|
+
const callback = (rawResponse, flatResponse) => {
|
|
277
|
+
currentRawResponse = rawResponse;
|
|
278
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
279
|
+
};
|
|
280
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
281
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
282
|
+
return {
|
|
283
|
+
flatResponse,
|
|
284
|
+
rawResponse: {
|
|
285
|
+
statusCode: currentRawResponse.status,
|
|
286
|
+
body: currentRawResponse.parsedBody,
|
|
287
|
+
headers: currentRawResponse.headers.toJSON()
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
const lro = createLroSpec({
|
|
292
|
+
sendOperationFn,
|
|
293
|
+
args: {
|
|
294
|
+
resourceGroupName,
|
|
295
|
+
clusterRp,
|
|
296
|
+
clusterResourceName,
|
|
297
|
+
clusterName,
|
|
298
|
+
extensionName,
|
|
299
|
+
patchExtension,
|
|
300
|
+
options
|
|
301
|
+
},
|
|
302
|
+
spec: updateOperationSpec
|
|
320
303
|
});
|
|
304
|
+
const poller = await createHttpPoller(lro, {
|
|
305
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
306
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
307
|
+
resourceLocationConfig: "azure-async-operation"
|
|
308
|
+
});
|
|
309
|
+
await poller.poll();
|
|
310
|
+
return poller;
|
|
321
311
|
}
|
|
322
312
|
/**
|
|
323
313
|
* Patch an existing Kubernetes Cluster Extension.
|
|
@@ -331,11 +321,9 @@ export class ExtensionsImpl {
|
|
|
331
321
|
* @param patchExtension Properties to Patch in an existing Extension.
|
|
332
322
|
* @param options The options parameters.
|
|
333
323
|
*/
|
|
334
|
-
beginUpdateAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, patchExtension, options) {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
return poller.pollUntilDone();
|
|
338
|
-
});
|
|
324
|
+
async beginUpdateAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, patchExtension, options) {
|
|
325
|
+
const poller = await this.beginUpdate(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, patchExtension, options);
|
|
326
|
+
return poller.pollUntilDone();
|
|
339
327
|
}
|
|
340
328
|
/**
|
|
341
329
|
* List all Extensions in the cluster.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operations/extensions.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;AAiB9C,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;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,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CA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,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;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 { Extensions } 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 Extension,\n ExtensionsListNextOptionalParams,\n ExtensionsListOptionalParams,\n ExtensionsListResponse,\n ExtensionsCreateOptionalParams,\n ExtensionsCreateResponse,\n ExtensionsGetOptionalParams,\n ExtensionsGetResponse,\n ExtensionsDeleteOptionalParams,\n PatchExtension,\n ExtensionsUpdateOptionalParams,\n ExtensionsUpdateResponse,\n ExtensionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Extensions operations. */\nexport class ExtensionsImpl implements Extensions {\n private readonly client: SourceControlConfigurationClient;\n\n /**\n * Initialize a new instance of the class Extensions class.\n * @param client Reference to the service client\n */\n constructor(client: SourceControlConfigurationClient) {\n this.client = client;\n }\n\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 public list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: ExtensionsListOptionalParams\n ): PagedAsyncIterableIterator<Extension> {\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?: ExtensionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Extension[]> {\n let result: ExtensionsListResponse;\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?: ExtensionsListOptionalParams\n ): AsyncIterableIterator<Extension> {\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 * 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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ExtensionsCreateResponse> => {\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 extensionName,\n extension,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n ExtensionsCreateResponse,\n OperationState<ExtensionsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\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 async 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 const poller = await this.beginCreate(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n extensionName,\n extension,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n extensionName,\n options\n },\n getOperationSpec\n );\n }\n\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 async 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 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 extensionName,\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 resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\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 async beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n extensionName,\n options\n );\n return poller.pollUntilDone();\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ExtensionsUpdateResponse> => {\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 extensionName,\n patchExtension,\n options\n },\n spec: updateOperationSpec\n });\n const poller = await createHttpPoller<\n ExtensionsUpdateResponse,\n OperationState<ExtensionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\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 async 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 const poller = await this.beginUpdate(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n extensionName,\n patchExtension,\n options\n );\n return poller.pollUntilDone();\n }\n\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 private _list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: ExtensionsListOptionalParams\n ): Promise<ExtensionsListResponse> {\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?: ExtensionsListNextOptionalParams\n ): Promise<ExtensionsListNextResponse> {\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 createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/extensions/{extensionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Extension\n },\n 201: {\n bodyMapper: Mappers.Extension\n },\n 202: {\n bodyMapper: Mappers.Extension\n },\n 204: {\n bodyMapper: Mappers.Extension\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.extension,\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.extensionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/extensions/{extensionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Extension\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.extensionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/extensions/{extensionName}\",\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, Parameters.forceDelete],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.extensionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/extensions/{extensionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Extension\n },\n 201: {\n bodyMapper: Mappers.Extension\n },\n 202: {\n bodyMapper: Mappers.Extension\n },\n 204: {\n bodyMapper: Mappers.Extension\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchExtension,\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.extensionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/extensions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionsList\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.ExtensionsList\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
|
-
import { FluxConfigOperationStatus } from "../operationsInterfaces";
|
|
2
|
-
import { SourceControlConfigurationClient } from "../sourceControlConfigurationClient";
|
|
3
|
-
import { FluxConfigOperationStatusGetOptionalParams, FluxConfigOperationStatusGetResponse } from "../models";
|
|
1
|
+
import { FluxConfigOperationStatus } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { SourceControlConfigurationClient } from "../sourceControlConfigurationClient.js";
|
|
3
|
+
import { FluxConfigOperationStatusGetOptionalParams, FluxConfigOperationStatusGetResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing FluxConfigOperationStatus operations. */
|
|
5
5
|
export declare class FluxConfigOperationStatusImpl implements FluxConfigOperationStatus {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigOperationStatus.d.ts","sourceRoot":"","sources":["../../../src/operations/fluxConfigOperationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAE5B,6DAA6D;AAC7D,qBAAa,6BACX,YAAW,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;;;;;;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;CAcjD"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as Mappers from "../models/mappers";
|
|
10
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing FluxConfigOperationStatus operations. */
|
|
12
12
|
export class FluxConfigOperationStatusImpl {
|
|
13
13
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigOperationStatus.js","sourceRoot":"","sources":["../../../src/operations/fluxConfigOperationStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;IAIxC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CACD,iBAAyB,EACzB,SAAiB,EACjB,mBAA2B,EAC3B,WAAmB,EACnB,qBAA6B,EAC7B,WAAmB,EACnB,OAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,SAAS;YACT,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,WAAW;YACX,OAAO;SACR,EACD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,8OAA8O;IAChP,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,qBAAqB;KACjC;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 { FluxConfigOperationStatus } 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 FluxConfigOperationStatusGetOptionalParams,\n FluxConfigOperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Class containing FluxConfigOperationStatus operations. */\nexport class FluxConfigOperationStatusImpl\n implements FluxConfigOperationStatus {\n private readonly client: SourceControlConfigurationClient;\n\n /**\n * Initialize a new instance of the class FluxConfigOperationStatus class.\n * @param client Reference to the service client\n */\n constructor(client: SourceControlConfigurationClient) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n fluxConfigurationName,\n operationId,\n options\n },\n getOperationSpec\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/fluxConfigurations/{fluxConfigurationName}/operations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatusResult\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.operationId,\n Parameters.fluxConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { FluxConfigurations } from "../operationsInterfaces";
|
|
3
|
-
import { SourceControlConfigurationClient } from "../sourceControlConfigurationClient";
|
|
2
|
+
import { FluxConfigurations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SourceControlConfigurationClient } from "../sourceControlConfigurationClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { FluxConfiguration, FluxConfigurationsListOptionalParams, FluxConfigurationsGetOptionalParams, FluxConfigurationsGetResponse, FluxConfigurationsCreateOrUpdateOptionalParams, FluxConfigurationsCreateOrUpdateResponse, FluxConfigurationPatch, FluxConfigurationsUpdateOptionalParams, FluxConfigurationsUpdateResponse, FluxConfigurationsDeleteOptionalParams } from "../models";
|
|
5
|
+
import { FluxConfiguration, FluxConfigurationsListOptionalParams, FluxConfigurationsGetOptionalParams, FluxConfigurationsGetResponse, FluxConfigurationsCreateOrUpdateOptionalParams, FluxConfigurationsCreateOrUpdateResponse, FluxConfigurationPatch, FluxConfigurationsUpdateOptionalParams, FluxConfigurationsUpdateResponse, FluxConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
6
6
|
/** Class containing FluxConfigurations operations. */
|
|
7
7
|
export declare class FluxConfigurationsImpl implements FluxConfigurations {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluxConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/fluxConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,kBAAk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