@azure/arm-servicelinker 2.2.0-beta.1 → 2.2.0-beta.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/CHANGELOG.md +11 -1
- package/LICENSE +4 -4
- package/README.md +29 -19
- 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-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +187 -79
- 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/configurationNames.d.ts +3 -3
- package/dist/browser/operations/configurationNames.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationNames.js +26 -43
- package/dist/browser/operations/configurationNames.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/connector.d.ts +3 -3
- package/dist/browser/operations/connector.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/connector.js +335 -363
- package/dist/browser/operations/connector.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linker.d.ts +3 -3
- package/dist/browser/operations/linker.d.ts.map +1 -0
- package/dist/browser/operations/linker.js +542 -0
- package/dist/browser/operations/linker.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkers.d.ts +3 -3
- package/dist/browser/operations/linkers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkers.js +133 -165
- package/dist/browser/operations/linkers.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 +26 -43
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationNames.d.ts +1 -1
- package/dist/browser/operationsInterfaces/configurationNames.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/configurationNames.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/connector.d.ts +1 -1
- package/dist/browser/operationsInterfaces/connector.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/connector.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/linker.d.ts +1 -1
- package/dist/browser/operationsInterfaces/linker.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/linker.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/linkers.d.ts +1 -1
- package/dist/browser/operationsInterfaces/linkers.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/linkers.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/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceLinkerManagementClient.d.ts +2 -2
- package/dist/browser/serviceLinkerManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceLinkerManagementClient.js +33 -24
- package/dist/browser/serviceLinkerManagementClient.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 +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-servicelinker.d.ts → dist/commonjs/models/index.d.ts} +1380 -1955
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +237 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +93 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2056 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +21 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +186 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/configurationNames.d.ts +34 -0
- package/dist/commonjs/operations/configurationNames.d.ts.map +1 -0
- package/dist/commonjs/operations/configurationNames.js +127 -0
- package/dist/commonjs/operations/configurationNames.js.map +1 -0
- package/dist/commonjs/operations/connector.d.ts +223 -0
- package/dist/commonjs/operations/connector.d.ts.map +1 -0
- package/dist/commonjs/operations/connector.js +988 -0
- package/dist/commonjs/operations/connector.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/linker.d.ts +125 -0
- package/dist/commonjs/operations/linker.d.ts.map +1 -0
- package/dist/commonjs/operations/linker.js +547 -0
- package/dist/commonjs/operations/linker.js.map +1 -0
- package/dist/commonjs/operations/linkers.d.ts +123 -0
- package/dist/commonjs/operations/linkers.d.ts.map +1 -0
- package/dist/commonjs/operations/linkers.js +508 -0
- package/dist/commonjs/operations/linkers.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationNames.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/configurationNames.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationNames.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurationNames.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/connector.d.ts +176 -0
- package/dist/commonjs/operationsInterfaces/connector.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/connector.js +10 -0
- package/dist/commonjs/operationsInterfaces/connector.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/linker.d.ts +99 -0
- package/dist/commonjs/operationsInterfaces/linker.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/linker.js +10 -0
- package/dist/commonjs/operationsInterfaces/linker.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkers.d.ts +81 -0
- package/dist/commonjs/operationsInterfaces/linkers.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkers.js +10 -0
- package/dist/commonjs/operationsInterfaces/linkers.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/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/serviceLinkerManagementClient.d.ts +22 -0
- package/dist/commonjs/serviceLinkerManagementClient.d.ts.map +1 -0
- package/dist/commonjs/serviceLinkerManagementClient.js +112 -0
- package/dist/commonjs/serviceLinkerManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -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 +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1380 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +234 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +93 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2052 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +21 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +183 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/configurationNames.d.ts +34 -0
- package/dist/esm/operations/configurationNames.d.ts.map +1 -0
- package/dist/esm/operations/configurationNames.js +122 -0
- package/dist/esm/operations/configurationNames.js.map +1 -0
- package/dist/esm/operations/connector.d.ts +223 -0
- package/dist/esm/operations/connector.d.ts.map +1 -0
- package/dist/esm/operations/connector.js +983 -0
- package/dist/esm/operations/connector.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/linker.d.ts +125 -0
- package/dist/esm/operations/linker.d.ts.map +1 -0
- package/dist/esm/operations/linker.js +542 -0
- package/dist/esm/operations/linker.js.map +1 -0
- package/dist/esm/operations/linkers.d.ts +123 -0
- package/dist/esm/operations/linkers.d.ts.map +1 -0
- package/dist/esm/operations/linkers.js +503 -0
- package/dist/esm/operations/linkers.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurationNames.d.ts +12 -0
- package/dist/esm/operationsInterfaces/configurationNames.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurationNames.js +9 -0
- package/dist/esm/operationsInterfaces/configurationNames.js.map +1 -0
- package/dist/esm/operationsInterfaces/connector.d.ts +176 -0
- package/dist/esm/operationsInterfaces/connector.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/connector.js +9 -0
- package/dist/esm/operationsInterfaces/connector.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/linker.d.ts +99 -0
- package/dist/esm/operationsInterfaces/linker.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/linker.js +9 -0
- package/dist/esm/operationsInterfaces/linker.js.map +1 -0
- package/dist/esm/operationsInterfaces/linkers.d.ts +81 -0
- package/dist/esm/operationsInterfaces/linkers.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/linkers.js +9 -0
- package/dist/esm/operationsInterfaces/linkers.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/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/serviceLinkerManagementClient.d.ts +22 -0
- package/dist/esm/serviceLinkerManagementClient.d.ts.map +1 -0
- package/dist/esm/serviceLinkerManagementClient.js +107 -0
- package/dist/esm/serviceLinkerManagementClient.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 +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1380 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +234 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +93 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2052 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +21 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +183 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/configurationNames.d.ts +34 -0
- package/dist/react-native/operations/configurationNames.d.ts.map +1 -0
- package/dist/react-native/operations/configurationNames.js +122 -0
- package/dist/react-native/operations/configurationNames.js.map +1 -0
- package/dist/react-native/operations/connector.d.ts +223 -0
- package/dist/react-native/operations/connector.d.ts.map +1 -0
- package/dist/react-native/operations/connector.js +983 -0
- package/dist/react-native/operations/connector.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/linker.d.ts +125 -0
- package/dist/react-native/operations/linker.d.ts.map +1 -0
- package/dist/react-native/operations/linker.js +542 -0
- package/dist/react-native/operations/linker.js.map +1 -0
- package/dist/react-native/operations/linkers.d.ts +123 -0
- package/dist/react-native/operations/linkers.d.ts.map +1 -0
- package/dist/react-native/operations/linkers.js +503 -0
- package/dist/react-native/operations/linkers.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationNames.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/configurationNames.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationNames.js +9 -0
- package/dist/react-native/operationsInterfaces/configurationNames.js.map +1 -0
- package/dist/react-native/operationsInterfaces/connector.d.ts +176 -0
- package/dist/react-native/operationsInterfaces/connector.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/connector.js +9 -0
- package/dist/react-native/operationsInterfaces/connector.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/linker.d.ts +99 -0
- package/dist/react-native/operationsInterfaces/linker.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/linker.js +9 -0
- package/dist/react-native/operationsInterfaces/linker.js.map +1 -0
- package/dist/react-native/operationsInterfaces/linkers.d.ts +81 -0
- package/dist/react-native/operationsInterfaces/linkers.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/linkers.js +9 -0
- package/dist/react-native/operationsInterfaces/linkers.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/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/serviceLinkerManagementClient.d.ts +22 -0
- package/dist/react-native/serviceLinkerManagementClient.d.ts.map +1 -0
- package/dist/react-native/serviceLinkerManagementClient.js +107 -0
- package/dist/react-native/serviceLinkerManagementClient.js.map +1 -0
- package/package.json +84 -65
- package/dist/index.js +0 -4947
- 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/configurationNamesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationNamesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationNamesListSample.js +0 -51
- package/dist-esm/samples-dev/configurationNamesListSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorCreateDryrunSample.js +0 -53
- package/dist-esm/samples-dev/connectorCreateDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.js +0 -39
- package/dist-esm/samples-dev/connectorDeleteDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorDeleteSample.js +0 -39
- package/dist-esm/samples-dev/connectorDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js +0 -43
- package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorGetDryrunSample.js +0 -39
- package/dist-esm/samples-dev/connectorGetDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorGetSample.js +0 -39
- package/dist-esm/samples-dev/connectorGetSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorListDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorListDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorListDryrunSample.js +0 -54
- package/dist-esm/samples-dev/connectorListDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorListSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorListSample.js +0 -54
- package/dist-esm/samples-dev/connectorListSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.js +0 -53
- package/dist-esm/samples-dev/connectorUpdateDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorUpdateSample.js +0 -51
- package/dist-esm/samples-dev/connectorUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/connectorValidateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectorValidateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectorValidateSample.js +0 -39
- package/dist-esm/samples-dev/connectorValidateSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerDeleteSample.js +0 -37
- package/dist-esm/samples-dev/linkerDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerGetSample.js +0 -37
- package/dist-esm/samples-dev/linkerGetSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerListConfigurationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerListConfigurationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerListConfigurationsSample.js +0 -37
- package/dist-esm/samples-dev/linkerListConfigurationsSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerListSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerListSample.js +0 -52
- package/dist-esm/samples-dev/linkerListSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerUpdateSample.js +0 -49
- package/dist-esm/samples-dev/linkerUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/linkerValidateSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkerValidateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkerValidateSample.js +0 -37
- package/dist-esm/samples-dev/linkerValidateSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersCreateDryrunSample.js +0 -51
- package/dist-esm/samples-dev/linkersCreateDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.js +0 -37
- package/dist-esm/samples-dev/linkersDeleteDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js +0 -41
- package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersGetDryrunSample.js +0 -37
- package/dist-esm/samples-dev/linkersGetDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js +0 -52
- package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersListDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersListDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersListDryrunSample.js +0 -52
- package/dist-esm/samples-dev/linkersListDryrunSample.js.map +0 -1
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.js +0 -51
- package/dist-esm/samples-dev/linkersUpdateDryrunSample.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/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- 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/configurationNames.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationNames.js.map +0 -1
- package/dist-esm/src/operations/connector.d.ts.map +0 -1
- package/dist-esm/src/operations/connector.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/linker.d.ts.map +0 -1
- package/dist-esm/src/operations/linker.js +0 -555
- package/dist-esm/src/operations/linker.js.map +0 -1
- package/dist-esm/src/operations/linkers.d.ts.map +0 -1
- package/dist-esm/src/operations/linkers.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/operationsInterfaces/configurationNames.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationNames.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/connector.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/connector.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/linker.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/linker.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkers.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkers.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/serviceLinkerManagementClient.d.ts.map +0 -1
- package/dist-esm/src/serviceLinkerManagementClient.js.map +0 -1
- package/dist-esm/test/servicelinker_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/servicelinker_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/servicelinker_operations_test.spec.js +0 -74
- package/dist-esm/test/servicelinker_operations_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1616
- package/src/models/mappers.ts +0 -2123
- package/src/models/parameters.ts +0 -213
- package/src/operations/configurationNames.ts +0 -155
- package/src/operations/connector.ts +0 -1433
- package/src/operations/index.ts +0 -13
- package/src/operations/linker.ts +0 -734
- package/src/operations/linkers.ts +0 -702
- package/src/operations/operations.ts +0 -149
- package/src/operationsInterfaces/configurationNames.ts +0 -26
- package/src/operationsInterfaces/connector.ts +0 -349
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/linker.ts +0 -182
- package/src/operationsInterfaces/linkers.ts +0 -153
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/src/serviceLinkerManagementClient.ts +0 -153
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +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/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/configurationNames.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/connector.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/linker.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkers.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.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/review/{arm-servicelinker.api.md → arm-servicelinker-node.api.md} +0 -0
package/dist/index.js
DELETED
|
@@ -1,4947 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link DryrunActionName} that the service accepts. */
|
|
70
|
-
exports.KnownDryrunActionName = void 0;
|
|
71
|
-
(function (KnownDryrunActionName) {
|
|
72
|
-
/** CreateOrUpdate */
|
|
73
|
-
KnownDryrunActionName["CreateOrUpdate"] = "createOrUpdate";
|
|
74
|
-
})(exports.KnownDryrunActionName || (exports.KnownDryrunActionName = {}));
|
|
75
|
-
/** Known values of {@link DryrunPrerequisiteResultType} that the service accepts. */
|
|
76
|
-
exports.KnownDryrunPrerequisiteResultType = void 0;
|
|
77
|
-
(function (KnownDryrunPrerequisiteResultType) {
|
|
78
|
-
/** BasicError */
|
|
79
|
-
KnownDryrunPrerequisiteResultType["BasicError"] = "basicError";
|
|
80
|
-
/** PermissionsMissing */
|
|
81
|
-
KnownDryrunPrerequisiteResultType["PermissionsMissing"] = "permissionsMissing";
|
|
82
|
-
})(exports.KnownDryrunPrerequisiteResultType || (exports.KnownDryrunPrerequisiteResultType = {}));
|
|
83
|
-
/** Known values of {@link DryrunPreviewOperationType} that the service accepts. */
|
|
84
|
-
exports.KnownDryrunPreviewOperationType = void 0;
|
|
85
|
-
(function (KnownDryrunPreviewOperationType) {
|
|
86
|
-
/** ConfigConnection */
|
|
87
|
-
KnownDryrunPreviewOperationType["ConfigConnection"] = "configConnection";
|
|
88
|
-
/** ConfigNetwork */
|
|
89
|
-
KnownDryrunPreviewOperationType["ConfigNetwork"] = "configNetwork";
|
|
90
|
-
/** ConfigAuth */
|
|
91
|
-
KnownDryrunPreviewOperationType["ConfigAuth"] = "configAuth";
|
|
92
|
-
})(exports.KnownDryrunPreviewOperationType || (exports.KnownDryrunPreviewOperationType = {}));
|
|
93
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
94
|
-
exports.KnownCreatedByType = void 0;
|
|
95
|
-
(function (KnownCreatedByType) {
|
|
96
|
-
/** User */
|
|
97
|
-
KnownCreatedByType["User"] = "User";
|
|
98
|
-
/** Application */
|
|
99
|
-
KnownCreatedByType["Application"] = "Application";
|
|
100
|
-
/** ManagedIdentity */
|
|
101
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
102
|
-
/** Key */
|
|
103
|
-
KnownCreatedByType["Key"] = "Key";
|
|
104
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
105
|
-
/** Known values of {@link TargetServiceType} that the service accepts. */
|
|
106
|
-
exports.KnownTargetServiceType = void 0;
|
|
107
|
-
(function (KnownTargetServiceType) {
|
|
108
|
-
/** AzureResource */
|
|
109
|
-
KnownTargetServiceType["AzureResource"] = "AzureResource";
|
|
110
|
-
/** ConfluentBootstrapServer */
|
|
111
|
-
KnownTargetServiceType["ConfluentBootstrapServer"] = "ConfluentBootstrapServer";
|
|
112
|
-
/** ConfluentSchemaRegistry */
|
|
113
|
-
KnownTargetServiceType["ConfluentSchemaRegistry"] = "ConfluentSchemaRegistry";
|
|
114
|
-
/** SelfHostedServer */
|
|
115
|
-
KnownTargetServiceType["SelfHostedServer"] = "SelfHostedServer";
|
|
116
|
-
/** FabricPlatform */
|
|
117
|
-
KnownTargetServiceType["FabricPlatform"] = "FabricPlatform";
|
|
118
|
-
})(exports.KnownTargetServiceType || (exports.KnownTargetServiceType = {}));
|
|
119
|
-
/** Known values of {@link AuthType} that the service accepts. */
|
|
120
|
-
exports.KnownAuthType = void 0;
|
|
121
|
-
(function (KnownAuthType) {
|
|
122
|
-
/** SystemAssignedIdentity */
|
|
123
|
-
KnownAuthType["SystemAssignedIdentity"] = "systemAssignedIdentity";
|
|
124
|
-
/** UserAssignedIdentity */
|
|
125
|
-
KnownAuthType["UserAssignedIdentity"] = "userAssignedIdentity";
|
|
126
|
-
/** ServicePrincipalSecret */
|
|
127
|
-
KnownAuthType["ServicePrincipalSecret"] = "servicePrincipalSecret";
|
|
128
|
-
/** ServicePrincipalCertificate */
|
|
129
|
-
KnownAuthType["ServicePrincipalCertificate"] = "servicePrincipalCertificate";
|
|
130
|
-
/** Secret */
|
|
131
|
-
KnownAuthType["Secret"] = "secret";
|
|
132
|
-
/** AccessKey */
|
|
133
|
-
KnownAuthType["AccessKey"] = "accessKey";
|
|
134
|
-
/** UserAccount */
|
|
135
|
-
KnownAuthType["UserAccount"] = "userAccount";
|
|
136
|
-
/** EasyAuthMicrosoftEntraID */
|
|
137
|
-
KnownAuthType["EasyAuthMicrosoftEntraID"] = "easyAuthMicrosoftEntraID";
|
|
138
|
-
})(exports.KnownAuthType || (exports.KnownAuthType = {}));
|
|
139
|
-
/** Known values of {@link AuthMode} that the service accepts. */
|
|
140
|
-
exports.KnownAuthMode = void 0;
|
|
141
|
-
(function (KnownAuthMode) {
|
|
142
|
-
/** Default authentication configuration according to the authentication type. */
|
|
143
|
-
KnownAuthMode["OptInAllAuth"] = "optInAllAuth";
|
|
144
|
-
/** Skip all authentication configuration such as enabling managed identity and granting RBAC roles */
|
|
145
|
-
KnownAuthMode["OptOutAllAuth"] = "optOutAllAuth";
|
|
146
|
-
})(exports.KnownAuthMode || (exports.KnownAuthMode = {}));
|
|
147
|
-
/** Known values of {@link ClientType} that the service accepts. */
|
|
148
|
-
exports.KnownClientType = void 0;
|
|
149
|
-
(function (KnownClientType) {
|
|
150
|
-
/** None */
|
|
151
|
-
KnownClientType["None"] = "none";
|
|
152
|
-
/** Dotnet */
|
|
153
|
-
KnownClientType["Dotnet"] = "dotnet";
|
|
154
|
-
/** Java */
|
|
155
|
-
KnownClientType["Java"] = "java";
|
|
156
|
-
/** Python */
|
|
157
|
-
KnownClientType["Python"] = "python";
|
|
158
|
-
/** Go */
|
|
159
|
-
KnownClientType["Go"] = "go";
|
|
160
|
-
/** Php */
|
|
161
|
-
KnownClientType["Php"] = "php";
|
|
162
|
-
/** Ruby */
|
|
163
|
-
KnownClientType["Ruby"] = "ruby";
|
|
164
|
-
/** Django */
|
|
165
|
-
KnownClientType["Django"] = "django";
|
|
166
|
-
/** Nodejs */
|
|
167
|
-
KnownClientType["Nodejs"] = "nodejs";
|
|
168
|
-
/** SpringBoot */
|
|
169
|
-
KnownClientType["SpringBoot"] = "springBoot";
|
|
170
|
-
/** KafkaSpringBoot */
|
|
171
|
-
KnownClientType["KafkaSpringBoot"] = "kafka-springBoot";
|
|
172
|
-
/** JmsSpringBoot */
|
|
173
|
-
KnownClientType["JmsSpringBoot"] = "jms-springBoot";
|
|
174
|
-
/** Dapr */
|
|
175
|
-
KnownClientType["Dapr"] = "dapr";
|
|
176
|
-
})(exports.KnownClientType || (exports.KnownClientType = {}));
|
|
177
|
-
/** Known values of {@link VNetSolutionType} that the service accepts. */
|
|
178
|
-
exports.KnownVNetSolutionType = void 0;
|
|
179
|
-
(function (KnownVNetSolutionType) {
|
|
180
|
-
/** ServiceEndpoint */
|
|
181
|
-
KnownVNetSolutionType["ServiceEndpoint"] = "serviceEndpoint";
|
|
182
|
-
/** PrivateLink */
|
|
183
|
-
KnownVNetSolutionType["PrivateLink"] = "privateLink";
|
|
184
|
-
})(exports.KnownVNetSolutionType || (exports.KnownVNetSolutionType = {}));
|
|
185
|
-
/** Known values of {@link DeleteOrUpdateBehavior} that the service accepts. */
|
|
186
|
-
exports.KnownDeleteOrUpdateBehavior = void 0;
|
|
187
|
-
(function (KnownDeleteOrUpdateBehavior) {
|
|
188
|
-
/** Default */
|
|
189
|
-
KnownDeleteOrUpdateBehavior["Default"] = "Default";
|
|
190
|
-
/** ForcedCleanup */
|
|
191
|
-
KnownDeleteOrUpdateBehavior["ForcedCleanup"] = "ForcedCleanup";
|
|
192
|
-
})(exports.KnownDeleteOrUpdateBehavior || (exports.KnownDeleteOrUpdateBehavior = {}));
|
|
193
|
-
/** Known values of {@link ActionType} that the service accepts. */
|
|
194
|
-
exports.KnownActionType = void 0;
|
|
195
|
-
(function (KnownActionType) {
|
|
196
|
-
/** Internal */
|
|
197
|
-
KnownActionType["Internal"] = "Internal";
|
|
198
|
-
/** Enable */
|
|
199
|
-
KnownActionType["Enable"] = "enable";
|
|
200
|
-
/** OptOut */
|
|
201
|
-
KnownActionType["OptOut"] = "optOut";
|
|
202
|
-
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
203
|
-
/** Known values of {@link AllowType} that the service accepts. */
|
|
204
|
-
exports.KnownAllowType = void 0;
|
|
205
|
-
(function (KnownAllowType) {
|
|
206
|
-
/** True */
|
|
207
|
-
KnownAllowType["True"] = "true";
|
|
208
|
-
/** False */
|
|
209
|
-
KnownAllowType["False"] = "false";
|
|
210
|
-
})(exports.KnownAllowType || (exports.KnownAllowType = {}));
|
|
211
|
-
/** Known values of {@link DaprMetadataRequired} that the service accepts. */
|
|
212
|
-
exports.KnownDaprMetadataRequired = void 0;
|
|
213
|
-
(function (KnownDaprMetadataRequired) {
|
|
214
|
-
/** True */
|
|
215
|
-
KnownDaprMetadataRequired["True"] = "true";
|
|
216
|
-
/** False */
|
|
217
|
-
KnownDaprMetadataRequired["False"] = "false";
|
|
218
|
-
})(exports.KnownDaprMetadataRequired || (exports.KnownDaprMetadataRequired = {}));
|
|
219
|
-
/** Known values of {@link DaprBindingComponentDirection} that the service accepts. */
|
|
220
|
-
exports.KnownDaprBindingComponentDirection = void 0;
|
|
221
|
-
(function (KnownDaprBindingComponentDirection) {
|
|
222
|
-
/** Input */
|
|
223
|
-
KnownDaprBindingComponentDirection["Input"] = "input";
|
|
224
|
-
/** Output */
|
|
225
|
-
KnownDaprBindingComponentDirection["Output"] = "output";
|
|
226
|
-
})(exports.KnownDaprBindingComponentDirection || (exports.KnownDaprBindingComponentDirection = {}));
|
|
227
|
-
/** Known values of {@link ValidationResultStatus} that the service accepts. */
|
|
228
|
-
exports.KnownValidationResultStatus = void 0;
|
|
229
|
-
(function (KnownValidationResultStatus) {
|
|
230
|
-
/** Success */
|
|
231
|
-
KnownValidationResultStatus["Success"] = "success";
|
|
232
|
-
/** Failure */
|
|
233
|
-
KnownValidationResultStatus["Failure"] = "failure";
|
|
234
|
-
/** Warning */
|
|
235
|
-
KnownValidationResultStatus["Warning"] = "warning";
|
|
236
|
-
})(exports.KnownValidationResultStatus || (exports.KnownValidationResultStatus = {}));
|
|
237
|
-
/** Known values of {@link LinkerConfigurationType} that the service accepts. */
|
|
238
|
-
exports.KnownLinkerConfigurationType = void 0;
|
|
239
|
-
(function (KnownLinkerConfigurationType) {
|
|
240
|
-
/** Default */
|
|
241
|
-
KnownLinkerConfigurationType["Default"] = "Default";
|
|
242
|
-
/** KeyVaultSecret */
|
|
243
|
-
KnownLinkerConfigurationType["KeyVaultSecret"] = "KeyVaultSecret";
|
|
244
|
-
})(exports.KnownLinkerConfigurationType || (exports.KnownLinkerConfigurationType = {}));
|
|
245
|
-
/** Known values of {@link Origin} that the service accepts. */
|
|
246
|
-
exports.KnownOrigin = void 0;
|
|
247
|
-
(function (KnownOrigin) {
|
|
248
|
-
/** User */
|
|
249
|
-
KnownOrigin["User"] = "user";
|
|
250
|
-
/** System */
|
|
251
|
-
KnownOrigin["System"] = "system";
|
|
252
|
-
/** UserSystem */
|
|
253
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
254
|
-
})(exports.KnownOrigin || (exports.KnownOrigin = {}));
|
|
255
|
-
/** Known values of {@link SecretSourceType} that the service accepts. */
|
|
256
|
-
exports.KnownSecretSourceType = void 0;
|
|
257
|
-
(function (KnownSecretSourceType) {
|
|
258
|
-
/** RawValue */
|
|
259
|
-
KnownSecretSourceType["RawValue"] = "rawValue";
|
|
260
|
-
/** KeyVaultSecret */
|
|
261
|
-
KnownSecretSourceType["KeyVaultSecret"] = "keyVaultSecret";
|
|
262
|
-
})(exports.KnownSecretSourceType || (exports.KnownSecretSourceType = {}));
|
|
263
|
-
/** Known values of {@link AzureResourceType} that the service accepts. */
|
|
264
|
-
exports.KnownAzureResourceType = void 0;
|
|
265
|
-
(function (KnownAzureResourceType) {
|
|
266
|
-
/** KeyVault */
|
|
267
|
-
KnownAzureResourceType["KeyVault"] = "KeyVault";
|
|
268
|
-
/** AppConfig */
|
|
269
|
-
KnownAzureResourceType["AppConfig"] = "AppConfig";
|
|
270
|
-
})(exports.KnownAzureResourceType || (exports.KnownAzureResourceType = {}));
|
|
271
|
-
/** Known values of {@link SecretType} that the service accepts. */
|
|
272
|
-
exports.KnownSecretType = void 0;
|
|
273
|
-
(function (KnownSecretType) {
|
|
274
|
-
/** RawValue */
|
|
275
|
-
KnownSecretType["RawValue"] = "rawValue";
|
|
276
|
-
/** KeyVaultSecretUri */
|
|
277
|
-
KnownSecretType["KeyVaultSecretUri"] = "keyVaultSecretUri";
|
|
278
|
-
/** KeyVaultSecretReference */
|
|
279
|
-
KnownSecretType["KeyVaultSecretReference"] = "keyVaultSecretReference";
|
|
280
|
-
})(exports.KnownSecretType || (exports.KnownSecretType = {}));
|
|
281
|
-
/** Known values of {@link AccessKeyPermissions} that the service accepts. */
|
|
282
|
-
exports.KnownAccessKeyPermissions = void 0;
|
|
283
|
-
(function (KnownAccessKeyPermissions) {
|
|
284
|
-
/** Read */
|
|
285
|
-
KnownAccessKeyPermissions["Read"] = "Read";
|
|
286
|
-
/** Write */
|
|
287
|
-
KnownAccessKeyPermissions["Write"] = "Write";
|
|
288
|
-
/** Listen */
|
|
289
|
-
KnownAccessKeyPermissions["Listen"] = "Listen";
|
|
290
|
-
/** Send */
|
|
291
|
-
KnownAccessKeyPermissions["Send"] = "Send";
|
|
292
|
-
/** Manage */
|
|
293
|
-
KnownAccessKeyPermissions["Manage"] = "Manage";
|
|
294
|
-
})(exports.KnownAccessKeyPermissions || (exports.KnownAccessKeyPermissions = {}));
|
|
295
|
-
|
|
296
|
-
/*
|
|
297
|
-
* Copyright (c) Microsoft Corporation.
|
|
298
|
-
* Licensed under the MIT License.
|
|
299
|
-
*
|
|
300
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
301
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
302
|
-
*/
|
|
303
|
-
const DryrunList = {
|
|
304
|
-
type: {
|
|
305
|
-
name: "Composite",
|
|
306
|
-
className: "DryrunList",
|
|
307
|
-
modelProperties: {
|
|
308
|
-
nextLink: {
|
|
309
|
-
serializedName: "nextLink",
|
|
310
|
-
nullable: true,
|
|
311
|
-
type: {
|
|
312
|
-
name: "String",
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
value: {
|
|
316
|
-
serializedName: "value",
|
|
317
|
-
type: {
|
|
318
|
-
name: "Sequence",
|
|
319
|
-
element: {
|
|
320
|
-
type: {
|
|
321
|
-
name: "Composite",
|
|
322
|
-
className: "DryrunResource",
|
|
323
|
-
},
|
|
324
|
-
},
|
|
325
|
-
},
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
},
|
|
329
|
-
};
|
|
330
|
-
const DryrunParameters = {
|
|
331
|
-
type: {
|
|
332
|
-
name: "Composite",
|
|
333
|
-
className: "DryrunParameters",
|
|
334
|
-
uberParent: "DryrunParameters",
|
|
335
|
-
polymorphicDiscriminator: {
|
|
336
|
-
serializedName: "actionName",
|
|
337
|
-
clientName: "actionName",
|
|
338
|
-
},
|
|
339
|
-
modelProperties: {
|
|
340
|
-
actionName: {
|
|
341
|
-
serializedName: "actionName",
|
|
342
|
-
required: true,
|
|
343
|
-
type: {
|
|
344
|
-
name: "String",
|
|
345
|
-
},
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
},
|
|
349
|
-
};
|
|
350
|
-
const DryrunPrerequisiteResult = {
|
|
351
|
-
type: {
|
|
352
|
-
name: "Composite",
|
|
353
|
-
className: "DryrunPrerequisiteResult",
|
|
354
|
-
uberParent: "DryrunPrerequisiteResult",
|
|
355
|
-
polymorphicDiscriminator: {
|
|
356
|
-
serializedName: "type",
|
|
357
|
-
clientName: "type",
|
|
358
|
-
},
|
|
359
|
-
modelProperties: {
|
|
360
|
-
type: {
|
|
361
|
-
serializedName: "type",
|
|
362
|
-
required: true,
|
|
363
|
-
type: {
|
|
364
|
-
name: "String",
|
|
365
|
-
},
|
|
366
|
-
},
|
|
367
|
-
},
|
|
368
|
-
},
|
|
369
|
-
};
|
|
370
|
-
const DryrunOperationPreview = {
|
|
371
|
-
type: {
|
|
372
|
-
name: "Composite",
|
|
373
|
-
className: "DryrunOperationPreview",
|
|
374
|
-
modelProperties: {
|
|
375
|
-
name: {
|
|
376
|
-
serializedName: "name",
|
|
377
|
-
type: {
|
|
378
|
-
name: "String",
|
|
379
|
-
},
|
|
380
|
-
},
|
|
381
|
-
operationType: {
|
|
382
|
-
serializedName: "operationType",
|
|
383
|
-
type: {
|
|
384
|
-
name: "String",
|
|
385
|
-
},
|
|
386
|
-
},
|
|
387
|
-
description: {
|
|
388
|
-
serializedName: "description",
|
|
389
|
-
type: {
|
|
390
|
-
name: "String",
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
|
-
action: {
|
|
394
|
-
serializedName: "action",
|
|
395
|
-
type: {
|
|
396
|
-
name: "String",
|
|
397
|
-
},
|
|
398
|
-
},
|
|
399
|
-
scope: {
|
|
400
|
-
serializedName: "scope",
|
|
401
|
-
type: {
|
|
402
|
-
name: "String",
|
|
403
|
-
},
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
};
|
|
408
|
-
const Resource = {
|
|
409
|
-
type: {
|
|
410
|
-
name: "Composite",
|
|
411
|
-
className: "Resource",
|
|
412
|
-
modelProperties: {
|
|
413
|
-
id: {
|
|
414
|
-
serializedName: "id",
|
|
415
|
-
readOnly: true,
|
|
416
|
-
type: {
|
|
417
|
-
name: "String",
|
|
418
|
-
},
|
|
419
|
-
},
|
|
420
|
-
name: {
|
|
421
|
-
serializedName: "name",
|
|
422
|
-
readOnly: true,
|
|
423
|
-
type: {
|
|
424
|
-
name: "String",
|
|
425
|
-
},
|
|
426
|
-
},
|
|
427
|
-
type: {
|
|
428
|
-
serializedName: "type",
|
|
429
|
-
readOnly: true,
|
|
430
|
-
type: {
|
|
431
|
-
name: "String",
|
|
432
|
-
},
|
|
433
|
-
},
|
|
434
|
-
systemData: {
|
|
435
|
-
serializedName: "systemData",
|
|
436
|
-
type: {
|
|
437
|
-
name: "Composite",
|
|
438
|
-
className: "SystemData",
|
|
439
|
-
},
|
|
440
|
-
},
|
|
441
|
-
},
|
|
442
|
-
},
|
|
443
|
-
};
|
|
444
|
-
const SystemData = {
|
|
445
|
-
type: {
|
|
446
|
-
name: "Composite",
|
|
447
|
-
className: "SystemData",
|
|
448
|
-
modelProperties: {
|
|
449
|
-
createdBy: {
|
|
450
|
-
serializedName: "createdBy",
|
|
451
|
-
type: {
|
|
452
|
-
name: "String",
|
|
453
|
-
},
|
|
454
|
-
},
|
|
455
|
-
createdByType: {
|
|
456
|
-
serializedName: "createdByType",
|
|
457
|
-
type: {
|
|
458
|
-
name: "String",
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
createdAt: {
|
|
462
|
-
serializedName: "createdAt",
|
|
463
|
-
type: {
|
|
464
|
-
name: "DateTime",
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
lastModifiedBy: {
|
|
468
|
-
serializedName: "lastModifiedBy",
|
|
469
|
-
type: {
|
|
470
|
-
name: "String",
|
|
471
|
-
},
|
|
472
|
-
},
|
|
473
|
-
lastModifiedByType: {
|
|
474
|
-
serializedName: "lastModifiedByType",
|
|
475
|
-
type: {
|
|
476
|
-
name: "String",
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
lastModifiedAt: {
|
|
480
|
-
serializedName: "lastModifiedAt",
|
|
481
|
-
type: {
|
|
482
|
-
name: "DateTime",
|
|
483
|
-
},
|
|
484
|
-
},
|
|
485
|
-
},
|
|
486
|
-
},
|
|
487
|
-
};
|
|
488
|
-
const ErrorResponse = {
|
|
489
|
-
type: {
|
|
490
|
-
name: "Composite",
|
|
491
|
-
className: "ErrorResponse",
|
|
492
|
-
modelProperties: {
|
|
493
|
-
error: {
|
|
494
|
-
serializedName: "error",
|
|
495
|
-
type: {
|
|
496
|
-
name: "Composite",
|
|
497
|
-
className: "ErrorDetail",
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
},
|
|
501
|
-
},
|
|
502
|
-
};
|
|
503
|
-
const ErrorDetail = {
|
|
504
|
-
type: {
|
|
505
|
-
name: "Composite",
|
|
506
|
-
className: "ErrorDetail",
|
|
507
|
-
modelProperties: {
|
|
508
|
-
code: {
|
|
509
|
-
serializedName: "code",
|
|
510
|
-
readOnly: true,
|
|
511
|
-
type: {
|
|
512
|
-
name: "String",
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
message: {
|
|
516
|
-
serializedName: "message",
|
|
517
|
-
readOnly: true,
|
|
518
|
-
type: {
|
|
519
|
-
name: "String",
|
|
520
|
-
},
|
|
521
|
-
},
|
|
522
|
-
target: {
|
|
523
|
-
serializedName: "target",
|
|
524
|
-
readOnly: true,
|
|
525
|
-
type: {
|
|
526
|
-
name: "String",
|
|
527
|
-
},
|
|
528
|
-
},
|
|
529
|
-
details: {
|
|
530
|
-
serializedName: "details",
|
|
531
|
-
readOnly: true,
|
|
532
|
-
type: {
|
|
533
|
-
name: "Sequence",
|
|
534
|
-
element: {
|
|
535
|
-
type: {
|
|
536
|
-
name: "Composite",
|
|
537
|
-
className: "ErrorDetail",
|
|
538
|
-
},
|
|
539
|
-
},
|
|
540
|
-
},
|
|
541
|
-
},
|
|
542
|
-
additionalInfo: {
|
|
543
|
-
serializedName: "additionalInfo",
|
|
544
|
-
readOnly: true,
|
|
545
|
-
type: {
|
|
546
|
-
name: "Sequence",
|
|
547
|
-
element: {
|
|
548
|
-
type: {
|
|
549
|
-
name: "Composite",
|
|
550
|
-
className: "ErrorAdditionalInfo",
|
|
551
|
-
},
|
|
552
|
-
},
|
|
553
|
-
},
|
|
554
|
-
},
|
|
555
|
-
},
|
|
556
|
-
},
|
|
557
|
-
};
|
|
558
|
-
const ErrorAdditionalInfo = {
|
|
559
|
-
type: {
|
|
560
|
-
name: "Composite",
|
|
561
|
-
className: "ErrorAdditionalInfo",
|
|
562
|
-
modelProperties: {
|
|
563
|
-
type: {
|
|
564
|
-
serializedName: "type",
|
|
565
|
-
readOnly: true,
|
|
566
|
-
type: {
|
|
567
|
-
name: "String",
|
|
568
|
-
},
|
|
569
|
-
},
|
|
570
|
-
info: {
|
|
571
|
-
serializedName: "info",
|
|
572
|
-
readOnly: true,
|
|
573
|
-
type: {
|
|
574
|
-
name: "Dictionary",
|
|
575
|
-
value: { type: { name: "any" } },
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
},
|
|
579
|
-
},
|
|
580
|
-
};
|
|
581
|
-
const DryrunPatch = {
|
|
582
|
-
type: {
|
|
583
|
-
name: "Composite",
|
|
584
|
-
className: "DryrunPatch",
|
|
585
|
-
modelProperties: {
|
|
586
|
-
parameters: {
|
|
587
|
-
serializedName: "properties.parameters",
|
|
588
|
-
type: {
|
|
589
|
-
name: "Composite",
|
|
590
|
-
className: "DryrunParameters",
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
prerequisiteResults: {
|
|
594
|
-
serializedName: "properties.prerequisiteResults",
|
|
595
|
-
readOnly: true,
|
|
596
|
-
type: {
|
|
597
|
-
name: "Sequence",
|
|
598
|
-
element: {
|
|
599
|
-
type: {
|
|
600
|
-
name: "Composite",
|
|
601
|
-
className: "DryrunPrerequisiteResult",
|
|
602
|
-
},
|
|
603
|
-
},
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
operationPreviews: {
|
|
607
|
-
serializedName: "properties.operationPreviews",
|
|
608
|
-
readOnly: true,
|
|
609
|
-
type: {
|
|
610
|
-
name: "Sequence",
|
|
611
|
-
element: {
|
|
612
|
-
type: {
|
|
613
|
-
name: "Composite",
|
|
614
|
-
className: "DryrunOperationPreview",
|
|
615
|
-
},
|
|
616
|
-
},
|
|
617
|
-
},
|
|
618
|
-
},
|
|
619
|
-
provisioningState: {
|
|
620
|
-
serializedName: "properties.provisioningState",
|
|
621
|
-
readOnly: true,
|
|
622
|
-
type: {
|
|
623
|
-
name: "String",
|
|
624
|
-
},
|
|
625
|
-
},
|
|
626
|
-
},
|
|
627
|
-
},
|
|
628
|
-
};
|
|
629
|
-
const ResourceList = {
|
|
630
|
-
type: {
|
|
631
|
-
name: "Composite",
|
|
632
|
-
className: "ResourceList",
|
|
633
|
-
modelProperties: {
|
|
634
|
-
nextLink: {
|
|
635
|
-
serializedName: "nextLink",
|
|
636
|
-
nullable: true,
|
|
637
|
-
type: {
|
|
638
|
-
name: "String",
|
|
639
|
-
},
|
|
640
|
-
},
|
|
641
|
-
value: {
|
|
642
|
-
serializedName: "value",
|
|
643
|
-
type: {
|
|
644
|
-
name: "Sequence",
|
|
645
|
-
element: {
|
|
646
|
-
type: {
|
|
647
|
-
name: "Composite",
|
|
648
|
-
className: "LinkerResource",
|
|
649
|
-
},
|
|
650
|
-
},
|
|
651
|
-
},
|
|
652
|
-
},
|
|
653
|
-
},
|
|
654
|
-
},
|
|
655
|
-
};
|
|
656
|
-
const LinkerProperties = {
|
|
657
|
-
type: {
|
|
658
|
-
name: "Composite",
|
|
659
|
-
className: "LinkerProperties",
|
|
660
|
-
modelProperties: {
|
|
661
|
-
targetService: {
|
|
662
|
-
serializedName: "targetService",
|
|
663
|
-
type: {
|
|
664
|
-
name: "Composite",
|
|
665
|
-
className: "TargetServiceBase",
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
|
-
authInfo: {
|
|
669
|
-
serializedName: "authInfo",
|
|
670
|
-
type: {
|
|
671
|
-
name: "Composite",
|
|
672
|
-
className: "AuthInfoBase",
|
|
673
|
-
},
|
|
674
|
-
},
|
|
675
|
-
clientType: {
|
|
676
|
-
serializedName: "clientType",
|
|
677
|
-
type: {
|
|
678
|
-
name: "String",
|
|
679
|
-
},
|
|
680
|
-
},
|
|
681
|
-
provisioningState: {
|
|
682
|
-
serializedName: "provisioningState",
|
|
683
|
-
readOnly: true,
|
|
684
|
-
type: {
|
|
685
|
-
name: "String",
|
|
686
|
-
},
|
|
687
|
-
},
|
|
688
|
-
vNetSolution: {
|
|
689
|
-
serializedName: "vNetSolution",
|
|
690
|
-
type: {
|
|
691
|
-
name: "Composite",
|
|
692
|
-
className: "VNetSolution",
|
|
693
|
-
},
|
|
694
|
-
},
|
|
695
|
-
secretStore: {
|
|
696
|
-
serializedName: "secretStore",
|
|
697
|
-
type: {
|
|
698
|
-
name: "Composite",
|
|
699
|
-
className: "SecretStore",
|
|
700
|
-
},
|
|
701
|
-
},
|
|
702
|
-
scope: {
|
|
703
|
-
serializedName: "scope",
|
|
704
|
-
nullable: true,
|
|
705
|
-
type: {
|
|
706
|
-
name: "String",
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
publicNetworkSolution: {
|
|
710
|
-
serializedName: "publicNetworkSolution",
|
|
711
|
-
type: {
|
|
712
|
-
name: "Composite",
|
|
713
|
-
className: "PublicNetworkSolution",
|
|
714
|
-
},
|
|
715
|
-
},
|
|
716
|
-
configurationInfo: {
|
|
717
|
-
serializedName: "configurationInfo",
|
|
718
|
-
type: {
|
|
719
|
-
name: "Composite",
|
|
720
|
-
className: "ConfigurationInfo",
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
},
|
|
724
|
-
},
|
|
725
|
-
};
|
|
726
|
-
const TargetServiceBase = {
|
|
727
|
-
type: {
|
|
728
|
-
name: "Composite",
|
|
729
|
-
className: "TargetServiceBase",
|
|
730
|
-
uberParent: "TargetServiceBase",
|
|
731
|
-
polymorphicDiscriminator: {
|
|
732
|
-
serializedName: "type",
|
|
733
|
-
clientName: "type",
|
|
734
|
-
},
|
|
735
|
-
modelProperties: {
|
|
736
|
-
type: {
|
|
737
|
-
serializedName: "type",
|
|
738
|
-
required: true,
|
|
739
|
-
type: {
|
|
740
|
-
name: "String",
|
|
741
|
-
},
|
|
742
|
-
},
|
|
743
|
-
},
|
|
744
|
-
},
|
|
745
|
-
};
|
|
746
|
-
const AuthInfoBase = {
|
|
747
|
-
type: {
|
|
748
|
-
name: "Composite",
|
|
749
|
-
className: "AuthInfoBase",
|
|
750
|
-
uberParent: "AuthInfoBase",
|
|
751
|
-
polymorphicDiscriminator: {
|
|
752
|
-
serializedName: "authType",
|
|
753
|
-
clientName: "authType",
|
|
754
|
-
},
|
|
755
|
-
modelProperties: {
|
|
756
|
-
authType: {
|
|
757
|
-
serializedName: "authType",
|
|
758
|
-
required: true,
|
|
759
|
-
type: {
|
|
760
|
-
name: "String",
|
|
761
|
-
},
|
|
762
|
-
},
|
|
763
|
-
authMode: {
|
|
764
|
-
serializedName: "authMode",
|
|
765
|
-
type: {
|
|
766
|
-
name: "String",
|
|
767
|
-
},
|
|
768
|
-
},
|
|
769
|
-
},
|
|
770
|
-
},
|
|
771
|
-
};
|
|
772
|
-
const VNetSolution = {
|
|
773
|
-
type: {
|
|
774
|
-
name: "Composite",
|
|
775
|
-
className: "VNetSolution",
|
|
776
|
-
modelProperties: {
|
|
777
|
-
type: {
|
|
778
|
-
serializedName: "type",
|
|
779
|
-
nullable: true,
|
|
780
|
-
type: {
|
|
781
|
-
name: "String",
|
|
782
|
-
},
|
|
783
|
-
},
|
|
784
|
-
deleteOrUpdateBehavior: {
|
|
785
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
786
|
-
type: {
|
|
787
|
-
name: "String",
|
|
788
|
-
},
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
},
|
|
792
|
-
};
|
|
793
|
-
const SecretStore = {
|
|
794
|
-
type: {
|
|
795
|
-
name: "Composite",
|
|
796
|
-
className: "SecretStore",
|
|
797
|
-
modelProperties: {
|
|
798
|
-
keyVaultId: {
|
|
799
|
-
serializedName: "keyVaultId",
|
|
800
|
-
nullable: true,
|
|
801
|
-
type: {
|
|
802
|
-
name: "String",
|
|
803
|
-
},
|
|
804
|
-
},
|
|
805
|
-
keyVaultSecretName: {
|
|
806
|
-
serializedName: "keyVaultSecretName",
|
|
807
|
-
nullable: true,
|
|
808
|
-
type: {
|
|
809
|
-
name: "String",
|
|
810
|
-
},
|
|
811
|
-
},
|
|
812
|
-
},
|
|
813
|
-
},
|
|
814
|
-
};
|
|
815
|
-
const PublicNetworkSolution = {
|
|
816
|
-
type: {
|
|
817
|
-
name: "Composite",
|
|
818
|
-
className: "PublicNetworkSolution",
|
|
819
|
-
modelProperties: {
|
|
820
|
-
deleteOrUpdateBehavior: {
|
|
821
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
822
|
-
type: {
|
|
823
|
-
name: "String",
|
|
824
|
-
},
|
|
825
|
-
},
|
|
826
|
-
action: {
|
|
827
|
-
serializedName: "action",
|
|
828
|
-
type: {
|
|
829
|
-
name: "String",
|
|
830
|
-
},
|
|
831
|
-
},
|
|
832
|
-
firewallRules: {
|
|
833
|
-
serializedName: "firewallRules",
|
|
834
|
-
type: {
|
|
835
|
-
name: "Composite",
|
|
836
|
-
className: "FirewallRules",
|
|
837
|
-
},
|
|
838
|
-
},
|
|
839
|
-
},
|
|
840
|
-
},
|
|
841
|
-
};
|
|
842
|
-
const FirewallRules = {
|
|
843
|
-
type: {
|
|
844
|
-
name: "Composite",
|
|
845
|
-
className: "FirewallRules",
|
|
846
|
-
modelProperties: {
|
|
847
|
-
ipRanges: {
|
|
848
|
-
serializedName: "ipRanges",
|
|
849
|
-
type: {
|
|
850
|
-
name: "Sequence",
|
|
851
|
-
element: {
|
|
852
|
-
type: {
|
|
853
|
-
name: "String",
|
|
854
|
-
},
|
|
855
|
-
},
|
|
856
|
-
},
|
|
857
|
-
},
|
|
858
|
-
azureServices: {
|
|
859
|
-
serializedName: "azureServices",
|
|
860
|
-
type: {
|
|
861
|
-
name: "String",
|
|
862
|
-
},
|
|
863
|
-
},
|
|
864
|
-
callerClientIP: {
|
|
865
|
-
serializedName: "callerClientIP",
|
|
866
|
-
type: {
|
|
867
|
-
name: "String",
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
},
|
|
872
|
-
};
|
|
873
|
-
const ConfigurationInfo = {
|
|
874
|
-
type: {
|
|
875
|
-
name: "Composite",
|
|
876
|
-
className: "ConfigurationInfo",
|
|
877
|
-
modelProperties: {
|
|
878
|
-
deleteOrUpdateBehavior: {
|
|
879
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
880
|
-
type: {
|
|
881
|
-
name: "String",
|
|
882
|
-
},
|
|
883
|
-
},
|
|
884
|
-
action: {
|
|
885
|
-
serializedName: "action",
|
|
886
|
-
type: {
|
|
887
|
-
name: "String",
|
|
888
|
-
},
|
|
889
|
-
},
|
|
890
|
-
customizedKeys: {
|
|
891
|
-
serializedName: "customizedKeys",
|
|
892
|
-
type: {
|
|
893
|
-
name: "Dictionary",
|
|
894
|
-
value: { type: { name: "String" } },
|
|
895
|
-
},
|
|
896
|
-
},
|
|
897
|
-
daprProperties: {
|
|
898
|
-
serializedName: "daprProperties",
|
|
899
|
-
type: {
|
|
900
|
-
name: "Composite",
|
|
901
|
-
className: "DaprProperties",
|
|
902
|
-
},
|
|
903
|
-
},
|
|
904
|
-
additionalConfigurations: {
|
|
905
|
-
serializedName: "additionalConfigurations",
|
|
906
|
-
type: {
|
|
907
|
-
name: "Dictionary",
|
|
908
|
-
value: { type: { name: "String" } },
|
|
909
|
-
},
|
|
910
|
-
},
|
|
911
|
-
additionalConnectionStringProperties: {
|
|
912
|
-
serializedName: "additionalConnectionStringProperties",
|
|
913
|
-
type: {
|
|
914
|
-
name: "Dictionary",
|
|
915
|
-
value: { type: { name: "String" } },
|
|
916
|
-
},
|
|
917
|
-
},
|
|
918
|
-
configurationStore: {
|
|
919
|
-
serializedName: "configurationStore",
|
|
920
|
-
type: {
|
|
921
|
-
name: "Composite",
|
|
922
|
-
className: "ConfigurationStore",
|
|
923
|
-
},
|
|
924
|
-
},
|
|
925
|
-
},
|
|
926
|
-
},
|
|
927
|
-
};
|
|
928
|
-
const DaprProperties = {
|
|
929
|
-
type: {
|
|
930
|
-
name: "Composite",
|
|
931
|
-
className: "DaprProperties",
|
|
932
|
-
modelProperties: {
|
|
933
|
-
version: {
|
|
934
|
-
serializedName: "version",
|
|
935
|
-
nullable: true,
|
|
936
|
-
type: {
|
|
937
|
-
name: "String",
|
|
938
|
-
},
|
|
939
|
-
},
|
|
940
|
-
componentType: {
|
|
941
|
-
serializedName: "componentType",
|
|
942
|
-
nullable: true,
|
|
943
|
-
type: {
|
|
944
|
-
name: "String",
|
|
945
|
-
},
|
|
946
|
-
},
|
|
947
|
-
secretStoreComponent: {
|
|
948
|
-
serializedName: "secretStoreComponent",
|
|
949
|
-
nullable: true,
|
|
950
|
-
type: {
|
|
951
|
-
name: "String",
|
|
952
|
-
},
|
|
953
|
-
},
|
|
954
|
-
metadata: {
|
|
955
|
-
serializedName: "metadata",
|
|
956
|
-
type: {
|
|
957
|
-
name: "Sequence",
|
|
958
|
-
element: {
|
|
959
|
-
type: {
|
|
960
|
-
name: "Composite",
|
|
961
|
-
className: "DaprMetadata",
|
|
962
|
-
},
|
|
963
|
-
},
|
|
964
|
-
},
|
|
965
|
-
},
|
|
966
|
-
scopes: {
|
|
967
|
-
serializedName: "scopes",
|
|
968
|
-
type: {
|
|
969
|
-
name: "Sequence",
|
|
970
|
-
element: {
|
|
971
|
-
type: {
|
|
972
|
-
name: "String",
|
|
973
|
-
},
|
|
974
|
-
},
|
|
975
|
-
},
|
|
976
|
-
},
|
|
977
|
-
runtimeVersion: {
|
|
978
|
-
serializedName: "runtimeVersion",
|
|
979
|
-
readOnly: true,
|
|
980
|
-
nullable: true,
|
|
981
|
-
type: {
|
|
982
|
-
name: "String",
|
|
983
|
-
},
|
|
984
|
-
},
|
|
985
|
-
bindingComponentDirection: {
|
|
986
|
-
serializedName: "bindingComponentDirection",
|
|
987
|
-
readOnly: true,
|
|
988
|
-
nullable: true,
|
|
989
|
-
type: {
|
|
990
|
-
name: "String",
|
|
991
|
-
},
|
|
992
|
-
},
|
|
993
|
-
},
|
|
994
|
-
},
|
|
995
|
-
};
|
|
996
|
-
const DaprMetadata = {
|
|
997
|
-
type: {
|
|
998
|
-
name: "Composite",
|
|
999
|
-
className: "DaprMetadata",
|
|
1000
|
-
modelProperties: {
|
|
1001
|
-
name: {
|
|
1002
|
-
serializedName: "name",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "String",
|
|
1005
|
-
},
|
|
1006
|
-
},
|
|
1007
|
-
value: {
|
|
1008
|
-
serializedName: "value",
|
|
1009
|
-
type: {
|
|
1010
|
-
name: "String",
|
|
1011
|
-
},
|
|
1012
|
-
},
|
|
1013
|
-
secretRef: {
|
|
1014
|
-
serializedName: "secretRef",
|
|
1015
|
-
type: {
|
|
1016
|
-
name: "String",
|
|
1017
|
-
},
|
|
1018
|
-
},
|
|
1019
|
-
description: {
|
|
1020
|
-
serializedName: "description",
|
|
1021
|
-
type: {
|
|
1022
|
-
name: "String",
|
|
1023
|
-
},
|
|
1024
|
-
},
|
|
1025
|
-
required: {
|
|
1026
|
-
serializedName: "required",
|
|
1027
|
-
type: {
|
|
1028
|
-
name: "String",
|
|
1029
|
-
},
|
|
1030
|
-
},
|
|
1031
|
-
},
|
|
1032
|
-
},
|
|
1033
|
-
};
|
|
1034
|
-
const ConfigurationStore = {
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "Composite",
|
|
1037
|
-
className: "ConfigurationStore",
|
|
1038
|
-
modelProperties: {
|
|
1039
|
-
appConfigurationId: {
|
|
1040
|
-
serializedName: "appConfigurationId",
|
|
1041
|
-
nullable: true,
|
|
1042
|
-
type: {
|
|
1043
|
-
name: "String",
|
|
1044
|
-
},
|
|
1045
|
-
},
|
|
1046
|
-
},
|
|
1047
|
-
},
|
|
1048
|
-
};
|
|
1049
|
-
const LinkerPatch = {
|
|
1050
|
-
type: {
|
|
1051
|
-
name: "Composite",
|
|
1052
|
-
className: "LinkerPatch",
|
|
1053
|
-
modelProperties: {
|
|
1054
|
-
targetService: {
|
|
1055
|
-
serializedName: "properties.targetService",
|
|
1056
|
-
type: {
|
|
1057
|
-
name: "Composite",
|
|
1058
|
-
className: "TargetServiceBase",
|
|
1059
|
-
},
|
|
1060
|
-
},
|
|
1061
|
-
authInfo: {
|
|
1062
|
-
serializedName: "properties.authInfo",
|
|
1063
|
-
type: {
|
|
1064
|
-
name: "Composite",
|
|
1065
|
-
className: "AuthInfoBase",
|
|
1066
|
-
},
|
|
1067
|
-
},
|
|
1068
|
-
clientType: {
|
|
1069
|
-
serializedName: "properties.clientType",
|
|
1070
|
-
type: {
|
|
1071
|
-
name: "String",
|
|
1072
|
-
},
|
|
1073
|
-
},
|
|
1074
|
-
provisioningState: {
|
|
1075
|
-
serializedName: "properties.provisioningState",
|
|
1076
|
-
readOnly: true,
|
|
1077
|
-
type: {
|
|
1078
|
-
name: "String",
|
|
1079
|
-
},
|
|
1080
|
-
},
|
|
1081
|
-
vNetSolution: {
|
|
1082
|
-
serializedName: "properties.vNetSolution",
|
|
1083
|
-
type: {
|
|
1084
|
-
name: "Composite",
|
|
1085
|
-
className: "VNetSolution",
|
|
1086
|
-
},
|
|
1087
|
-
},
|
|
1088
|
-
secretStore: {
|
|
1089
|
-
serializedName: "properties.secretStore",
|
|
1090
|
-
type: {
|
|
1091
|
-
name: "Composite",
|
|
1092
|
-
className: "SecretStore",
|
|
1093
|
-
},
|
|
1094
|
-
},
|
|
1095
|
-
scope: {
|
|
1096
|
-
serializedName: "properties.scope",
|
|
1097
|
-
nullable: true,
|
|
1098
|
-
type: {
|
|
1099
|
-
name: "String",
|
|
1100
|
-
},
|
|
1101
|
-
},
|
|
1102
|
-
publicNetworkSolution: {
|
|
1103
|
-
serializedName: "properties.publicNetworkSolution",
|
|
1104
|
-
type: {
|
|
1105
|
-
name: "Composite",
|
|
1106
|
-
className: "PublicNetworkSolution",
|
|
1107
|
-
},
|
|
1108
|
-
},
|
|
1109
|
-
configurationInfo: {
|
|
1110
|
-
serializedName: "properties.configurationInfo",
|
|
1111
|
-
type: {
|
|
1112
|
-
name: "Composite",
|
|
1113
|
-
className: "ConfigurationInfo",
|
|
1114
|
-
},
|
|
1115
|
-
},
|
|
1116
|
-
},
|
|
1117
|
-
},
|
|
1118
|
-
};
|
|
1119
|
-
const ValidateOperationResult = {
|
|
1120
|
-
type: {
|
|
1121
|
-
name: "Composite",
|
|
1122
|
-
className: "ValidateOperationResult",
|
|
1123
|
-
modelProperties: {
|
|
1124
|
-
resourceId: {
|
|
1125
|
-
serializedName: "resourceId",
|
|
1126
|
-
nullable: true,
|
|
1127
|
-
type: {
|
|
1128
|
-
name: "String",
|
|
1129
|
-
},
|
|
1130
|
-
},
|
|
1131
|
-
status: {
|
|
1132
|
-
serializedName: "status",
|
|
1133
|
-
nullable: true,
|
|
1134
|
-
type: {
|
|
1135
|
-
name: "String",
|
|
1136
|
-
},
|
|
1137
|
-
},
|
|
1138
|
-
linkerName: {
|
|
1139
|
-
serializedName: "properties.linkerName",
|
|
1140
|
-
nullable: true,
|
|
1141
|
-
type: {
|
|
1142
|
-
name: "String",
|
|
1143
|
-
},
|
|
1144
|
-
},
|
|
1145
|
-
isConnectionAvailable: {
|
|
1146
|
-
serializedName: "properties.isConnectionAvailable",
|
|
1147
|
-
nullable: true,
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Boolean",
|
|
1150
|
-
},
|
|
1151
|
-
},
|
|
1152
|
-
reportStartTimeUtc: {
|
|
1153
|
-
serializedName: "properties.reportStartTimeUtc",
|
|
1154
|
-
nullable: true,
|
|
1155
|
-
type: {
|
|
1156
|
-
name: "DateTime",
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
reportEndTimeUtc: {
|
|
1160
|
-
serializedName: "properties.reportEndTimeUtc",
|
|
1161
|
-
nullable: true,
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "DateTime",
|
|
1164
|
-
},
|
|
1165
|
-
},
|
|
1166
|
-
sourceId: {
|
|
1167
|
-
serializedName: "properties.sourceId",
|
|
1168
|
-
nullable: true,
|
|
1169
|
-
type: {
|
|
1170
|
-
name: "String",
|
|
1171
|
-
},
|
|
1172
|
-
},
|
|
1173
|
-
targetId: {
|
|
1174
|
-
serializedName: "properties.targetId",
|
|
1175
|
-
nullable: true,
|
|
1176
|
-
type: {
|
|
1177
|
-
name: "String",
|
|
1178
|
-
},
|
|
1179
|
-
},
|
|
1180
|
-
authType: {
|
|
1181
|
-
serializedName: "properties.authType",
|
|
1182
|
-
nullable: true,
|
|
1183
|
-
type: {
|
|
1184
|
-
name: "String",
|
|
1185
|
-
},
|
|
1186
|
-
},
|
|
1187
|
-
validationDetail: {
|
|
1188
|
-
serializedName: "properties.validationDetail",
|
|
1189
|
-
nullable: true,
|
|
1190
|
-
type: {
|
|
1191
|
-
name: "Sequence",
|
|
1192
|
-
element: {
|
|
1193
|
-
type: {
|
|
1194
|
-
name: "Composite",
|
|
1195
|
-
className: "ValidationResultItem",
|
|
1196
|
-
},
|
|
1197
|
-
},
|
|
1198
|
-
},
|
|
1199
|
-
},
|
|
1200
|
-
},
|
|
1201
|
-
},
|
|
1202
|
-
};
|
|
1203
|
-
const ValidationResultItem = {
|
|
1204
|
-
type: {
|
|
1205
|
-
name: "Composite",
|
|
1206
|
-
className: "ValidationResultItem",
|
|
1207
|
-
modelProperties: {
|
|
1208
|
-
name: {
|
|
1209
|
-
serializedName: "name",
|
|
1210
|
-
type: {
|
|
1211
|
-
name: "String",
|
|
1212
|
-
},
|
|
1213
|
-
},
|
|
1214
|
-
description: {
|
|
1215
|
-
serializedName: "description",
|
|
1216
|
-
nullable: true,
|
|
1217
|
-
type: {
|
|
1218
|
-
name: "String",
|
|
1219
|
-
},
|
|
1220
|
-
},
|
|
1221
|
-
result: {
|
|
1222
|
-
serializedName: "result",
|
|
1223
|
-
nullable: true,
|
|
1224
|
-
type: {
|
|
1225
|
-
name: "String",
|
|
1226
|
-
},
|
|
1227
|
-
},
|
|
1228
|
-
errorMessage: {
|
|
1229
|
-
serializedName: "errorMessage",
|
|
1230
|
-
nullable: true,
|
|
1231
|
-
type: {
|
|
1232
|
-
name: "String",
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
errorCode: {
|
|
1236
|
-
serializedName: "errorCode",
|
|
1237
|
-
nullable: true,
|
|
1238
|
-
type: {
|
|
1239
|
-
name: "String",
|
|
1240
|
-
},
|
|
1241
|
-
},
|
|
1242
|
-
},
|
|
1243
|
-
},
|
|
1244
|
-
};
|
|
1245
|
-
const ConfigurationResult = {
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "Composite",
|
|
1248
|
-
className: "ConfigurationResult",
|
|
1249
|
-
modelProperties: {
|
|
1250
|
-
configurations: {
|
|
1251
|
-
serializedName: "configurations",
|
|
1252
|
-
type: {
|
|
1253
|
-
name: "Sequence",
|
|
1254
|
-
element: {
|
|
1255
|
-
type: {
|
|
1256
|
-
name: "Composite",
|
|
1257
|
-
className: "SourceConfiguration",
|
|
1258
|
-
},
|
|
1259
|
-
},
|
|
1260
|
-
},
|
|
1261
|
-
},
|
|
1262
|
-
},
|
|
1263
|
-
},
|
|
1264
|
-
};
|
|
1265
|
-
const SourceConfiguration = {
|
|
1266
|
-
type: {
|
|
1267
|
-
name: "Composite",
|
|
1268
|
-
className: "SourceConfiguration",
|
|
1269
|
-
modelProperties: {
|
|
1270
|
-
name: {
|
|
1271
|
-
serializedName: "name",
|
|
1272
|
-
type: {
|
|
1273
|
-
name: "String",
|
|
1274
|
-
},
|
|
1275
|
-
},
|
|
1276
|
-
value: {
|
|
1277
|
-
serializedName: "value",
|
|
1278
|
-
nullable: true,
|
|
1279
|
-
type: {
|
|
1280
|
-
name: "String",
|
|
1281
|
-
},
|
|
1282
|
-
},
|
|
1283
|
-
configType: {
|
|
1284
|
-
serializedName: "configType",
|
|
1285
|
-
readOnly: true,
|
|
1286
|
-
type: {
|
|
1287
|
-
name: "String",
|
|
1288
|
-
},
|
|
1289
|
-
},
|
|
1290
|
-
keyVaultReferenceIdentity: {
|
|
1291
|
-
serializedName: "keyVaultReferenceIdentity",
|
|
1292
|
-
nullable: true,
|
|
1293
|
-
type: {
|
|
1294
|
-
name: "String",
|
|
1295
|
-
},
|
|
1296
|
-
},
|
|
1297
|
-
description: {
|
|
1298
|
-
serializedName: "description",
|
|
1299
|
-
nullable: true,
|
|
1300
|
-
type: {
|
|
1301
|
-
name: "String",
|
|
1302
|
-
},
|
|
1303
|
-
},
|
|
1304
|
-
},
|
|
1305
|
-
},
|
|
1306
|
-
};
|
|
1307
|
-
const OperationListResult = {
|
|
1308
|
-
type: {
|
|
1309
|
-
name: "Composite",
|
|
1310
|
-
className: "OperationListResult",
|
|
1311
|
-
modelProperties: {
|
|
1312
|
-
value: {
|
|
1313
|
-
serializedName: "value",
|
|
1314
|
-
readOnly: true,
|
|
1315
|
-
type: {
|
|
1316
|
-
name: "Sequence",
|
|
1317
|
-
element: {
|
|
1318
|
-
type: {
|
|
1319
|
-
name: "Composite",
|
|
1320
|
-
className: "Operation",
|
|
1321
|
-
},
|
|
1322
|
-
},
|
|
1323
|
-
},
|
|
1324
|
-
},
|
|
1325
|
-
nextLink: {
|
|
1326
|
-
serializedName: "nextLink",
|
|
1327
|
-
readOnly: true,
|
|
1328
|
-
type: {
|
|
1329
|
-
name: "String",
|
|
1330
|
-
},
|
|
1331
|
-
},
|
|
1332
|
-
},
|
|
1333
|
-
},
|
|
1334
|
-
};
|
|
1335
|
-
const Operation = {
|
|
1336
|
-
type: {
|
|
1337
|
-
name: "Composite",
|
|
1338
|
-
className: "Operation",
|
|
1339
|
-
modelProperties: {
|
|
1340
|
-
name: {
|
|
1341
|
-
serializedName: "name",
|
|
1342
|
-
readOnly: true,
|
|
1343
|
-
type: {
|
|
1344
|
-
name: "String",
|
|
1345
|
-
},
|
|
1346
|
-
},
|
|
1347
|
-
isDataAction: {
|
|
1348
|
-
serializedName: "isDataAction",
|
|
1349
|
-
readOnly: true,
|
|
1350
|
-
type: {
|
|
1351
|
-
name: "Boolean",
|
|
1352
|
-
},
|
|
1353
|
-
},
|
|
1354
|
-
display: {
|
|
1355
|
-
serializedName: "display",
|
|
1356
|
-
type: {
|
|
1357
|
-
name: "Composite",
|
|
1358
|
-
className: "OperationDisplay",
|
|
1359
|
-
},
|
|
1360
|
-
},
|
|
1361
|
-
origin: {
|
|
1362
|
-
serializedName: "origin",
|
|
1363
|
-
readOnly: true,
|
|
1364
|
-
type: {
|
|
1365
|
-
name: "String",
|
|
1366
|
-
},
|
|
1367
|
-
},
|
|
1368
|
-
actionType: {
|
|
1369
|
-
serializedName: "actionType",
|
|
1370
|
-
readOnly: true,
|
|
1371
|
-
type: {
|
|
1372
|
-
name: "String",
|
|
1373
|
-
},
|
|
1374
|
-
},
|
|
1375
|
-
},
|
|
1376
|
-
},
|
|
1377
|
-
};
|
|
1378
|
-
const OperationDisplay = {
|
|
1379
|
-
type: {
|
|
1380
|
-
name: "Composite",
|
|
1381
|
-
className: "OperationDisplay",
|
|
1382
|
-
modelProperties: {
|
|
1383
|
-
provider: {
|
|
1384
|
-
serializedName: "provider",
|
|
1385
|
-
readOnly: true,
|
|
1386
|
-
type: {
|
|
1387
|
-
name: "String",
|
|
1388
|
-
},
|
|
1389
|
-
},
|
|
1390
|
-
resource: {
|
|
1391
|
-
serializedName: "resource",
|
|
1392
|
-
readOnly: true,
|
|
1393
|
-
type: {
|
|
1394
|
-
name: "String",
|
|
1395
|
-
},
|
|
1396
|
-
},
|
|
1397
|
-
operation: {
|
|
1398
|
-
serializedName: "operation",
|
|
1399
|
-
readOnly: true,
|
|
1400
|
-
type: {
|
|
1401
|
-
name: "String",
|
|
1402
|
-
},
|
|
1403
|
-
},
|
|
1404
|
-
description: {
|
|
1405
|
-
serializedName: "description",
|
|
1406
|
-
readOnly: true,
|
|
1407
|
-
type: {
|
|
1408
|
-
name: "String",
|
|
1409
|
-
},
|
|
1410
|
-
},
|
|
1411
|
-
},
|
|
1412
|
-
},
|
|
1413
|
-
};
|
|
1414
|
-
const ConfigurationNameResult = {
|
|
1415
|
-
type: {
|
|
1416
|
-
name: "Composite",
|
|
1417
|
-
className: "ConfigurationNameResult",
|
|
1418
|
-
modelProperties: {
|
|
1419
|
-
value: {
|
|
1420
|
-
serializedName: "value",
|
|
1421
|
-
type: {
|
|
1422
|
-
name: "Sequence",
|
|
1423
|
-
element: {
|
|
1424
|
-
type: {
|
|
1425
|
-
name: "Composite",
|
|
1426
|
-
className: "ConfigurationNameItem",
|
|
1427
|
-
},
|
|
1428
|
-
},
|
|
1429
|
-
},
|
|
1430
|
-
},
|
|
1431
|
-
nextLink: {
|
|
1432
|
-
serializedName: "nextLink",
|
|
1433
|
-
readOnly: true,
|
|
1434
|
-
type: {
|
|
1435
|
-
name: "String",
|
|
1436
|
-
},
|
|
1437
|
-
},
|
|
1438
|
-
},
|
|
1439
|
-
},
|
|
1440
|
-
};
|
|
1441
|
-
const ConfigurationNameItem = {
|
|
1442
|
-
type: {
|
|
1443
|
-
name: "Composite",
|
|
1444
|
-
className: "ConfigurationNameItem",
|
|
1445
|
-
modelProperties: {
|
|
1446
|
-
targetService: {
|
|
1447
|
-
serializedName: "properties.targetService",
|
|
1448
|
-
nullable: true,
|
|
1449
|
-
type: {
|
|
1450
|
-
name: "String",
|
|
1451
|
-
},
|
|
1452
|
-
},
|
|
1453
|
-
clientType: {
|
|
1454
|
-
serializedName: "properties.clientType",
|
|
1455
|
-
nullable: true,
|
|
1456
|
-
type: {
|
|
1457
|
-
name: "String",
|
|
1458
|
-
},
|
|
1459
|
-
},
|
|
1460
|
-
authType: {
|
|
1461
|
-
serializedName: "properties.authType",
|
|
1462
|
-
nullable: true,
|
|
1463
|
-
type: {
|
|
1464
|
-
name: "String",
|
|
1465
|
-
},
|
|
1466
|
-
},
|
|
1467
|
-
secretType: {
|
|
1468
|
-
serializedName: "properties.secretType",
|
|
1469
|
-
nullable: true,
|
|
1470
|
-
type: {
|
|
1471
|
-
name: "String",
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
daprProperties: {
|
|
1475
|
-
serializedName: "properties.daprProperties",
|
|
1476
|
-
type: {
|
|
1477
|
-
name: "Composite",
|
|
1478
|
-
className: "DaprProperties",
|
|
1479
|
-
},
|
|
1480
|
-
},
|
|
1481
|
-
names: {
|
|
1482
|
-
serializedName: "properties.names",
|
|
1483
|
-
nullable: true,
|
|
1484
|
-
type: {
|
|
1485
|
-
name: "Sequence",
|
|
1486
|
-
element: {
|
|
1487
|
-
type: {
|
|
1488
|
-
name: "Composite",
|
|
1489
|
-
className: "ConfigurationName",
|
|
1490
|
-
},
|
|
1491
|
-
},
|
|
1492
|
-
},
|
|
1493
|
-
},
|
|
1494
|
-
},
|
|
1495
|
-
},
|
|
1496
|
-
};
|
|
1497
|
-
const ConfigurationName = {
|
|
1498
|
-
type: {
|
|
1499
|
-
name: "Composite",
|
|
1500
|
-
className: "ConfigurationName",
|
|
1501
|
-
modelProperties: {
|
|
1502
|
-
value: {
|
|
1503
|
-
serializedName: "value",
|
|
1504
|
-
type: {
|
|
1505
|
-
name: "String",
|
|
1506
|
-
},
|
|
1507
|
-
},
|
|
1508
|
-
description: {
|
|
1509
|
-
serializedName: "description",
|
|
1510
|
-
type: {
|
|
1511
|
-
name: "String",
|
|
1512
|
-
},
|
|
1513
|
-
},
|
|
1514
|
-
required: {
|
|
1515
|
-
serializedName: "required",
|
|
1516
|
-
type: {
|
|
1517
|
-
name: "Boolean",
|
|
1518
|
-
},
|
|
1519
|
-
},
|
|
1520
|
-
},
|
|
1521
|
-
},
|
|
1522
|
-
};
|
|
1523
|
-
const DaprConfigurationList = {
|
|
1524
|
-
type: {
|
|
1525
|
-
name: "Composite",
|
|
1526
|
-
className: "DaprConfigurationList",
|
|
1527
|
-
modelProperties: {
|
|
1528
|
-
value: {
|
|
1529
|
-
serializedName: "value",
|
|
1530
|
-
type: {
|
|
1531
|
-
name: "Sequence",
|
|
1532
|
-
element: {
|
|
1533
|
-
type: {
|
|
1534
|
-
name: "Composite",
|
|
1535
|
-
className: "DaprConfigurationResource",
|
|
1536
|
-
},
|
|
1537
|
-
},
|
|
1538
|
-
},
|
|
1539
|
-
},
|
|
1540
|
-
nextLink: {
|
|
1541
|
-
serializedName: "nextLink",
|
|
1542
|
-
readOnly: true,
|
|
1543
|
-
type: {
|
|
1544
|
-
name: "String",
|
|
1545
|
-
},
|
|
1546
|
-
},
|
|
1547
|
-
},
|
|
1548
|
-
},
|
|
1549
|
-
};
|
|
1550
|
-
const DaprConfigurationResource = {
|
|
1551
|
-
type: {
|
|
1552
|
-
name: "Composite",
|
|
1553
|
-
className: "DaprConfigurationResource",
|
|
1554
|
-
modelProperties: {
|
|
1555
|
-
targetType: {
|
|
1556
|
-
serializedName: "properties.targetType",
|
|
1557
|
-
type: {
|
|
1558
|
-
name: "String",
|
|
1559
|
-
},
|
|
1560
|
-
},
|
|
1561
|
-
authType: {
|
|
1562
|
-
serializedName: "properties.authType",
|
|
1563
|
-
type: {
|
|
1564
|
-
name: "String",
|
|
1565
|
-
},
|
|
1566
|
-
},
|
|
1567
|
-
daprProperties: {
|
|
1568
|
-
serializedName: "properties.daprProperties",
|
|
1569
|
-
type: {
|
|
1570
|
-
name: "Composite",
|
|
1571
|
-
className: "DaprProperties",
|
|
1572
|
-
},
|
|
1573
|
-
},
|
|
1574
|
-
},
|
|
1575
|
-
},
|
|
1576
|
-
};
|
|
1577
|
-
const AzureResourcePropertiesBase = {
|
|
1578
|
-
type: {
|
|
1579
|
-
name: "Composite",
|
|
1580
|
-
className: "AzureResourcePropertiesBase",
|
|
1581
|
-
uberParent: "AzureResourcePropertiesBase",
|
|
1582
|
-
polymorphicDiscriminator: {
|
|
1583
|
-
serializedName: "type",
|
|
1584
|
-
clientName: "type",
|
|
1585
|
-
},
|
|
1586
|
-
modelProperties: {
|
|
1587
|
-
type: {
|
|
1588
|
-
serializedName: "type",
|
|
1589
|
-
required: true,
|
|
1590
|
-
type: {
|
|
1591
|
-
name: "String",
|
|
1592
|
-
},
|
|
1593
|
-
},
|
|
1594
|
-
},
|
|
1595
|
-
},
|
|
1596
|
-
};
|
|
1597
|
-
const SecretInfoBase = {
|
|
1598
|
-
type: {
|
|
1599
|
-
name: "Composite",
|
|
1600
|
-
className: "SecretInfoBase",
|
|
1601
|
-
uberParent: "SecretInfoBase",
|
|
1602
|
-
polymorphicDiscriminator: {
|
|
1603
|
-
serializedName: "secretType",
|
|
1604
|
-
clientName: "secretType",
|
|
1605
|
-
},
|
|
1606
|
-
modelProperties: {
|
|
1607
|
-
secretType: {
|
|
1608
|
-
serializedName: "secretType",
|
|
1609
|
-
required: true,
|
|
1610
|
-
type: {
|
|
1611
|
-
name: "String",
|
|
1612
|
-
},
|
|
1613
|
-
},
|
|
1614
|
-
},
|
|
1615
|
-
},
|
|
1616
|
-
};
|
|
1617
|
-
const DatabaseAadAuthInfo = {
|
|
1618
|
-
type: {
|
|
1619
|
-
name: "Composite",
|
|
1620
|
-
className: "DatabaseAadAuthInfo",
|
|
1621
|
-
modelProperties: {
|
|
1622
|
-
userName: {
|
|
1623
|
-
serializedName: "userName",
|
|
1624
|
-
nullable: true,
|
|
1625
|
-
type: {
|
|
1626
|
-
name: "String",
|
|
1627
|
-
},
|
|
1628
|
-
},
|
|
1629
|
-
},
|
|
1630
|
-
},
|
|
1631
|
-
};
|
|
1632
|
-
const CreateOrUpdateDryrunParameters = {
|
|
1633
|
-
serializedName: "createOrUpdate",
|
|
1634
|
-
type: {
|
|
1635
|
-
name: "Composite",
|
|
1636
|
-
className: "CreateOrUpdateDryrunParameters",
|
|
1637
|
-
uberParent: "DryrunParameters",
|
|
1638
|
-
polymorphicDiscriminator: DryrunParameters.type.polymorphicDiscriminator,
|
|
1639
|
-
modelProperties: Object.assign(Object.assign({}, DryrunParameters.type.modelProperties), LinkerProperties.type.modelProperties),
|
|
1640
|
-
},
|
|
1641
|
-
};
|
|
1642
|
-
const BasicErrorDryrunPrerequisiteResult = {
|
|
1643
|
-
serializedName: "basicError",
|
|
1644
|
-
type: {
|
|
1645
|
-
name: "Composite",
|
|
1646
|
-
className: "BasicErrorDryrunPrerequisiteResult",
|
|
1647
|
-
uberParent: "DryrunPrerequisiteResult",
|
|
1648
|
-
polymorphicDiscriminator: DryrunPrerequisiteResult.type.polymorphicDiscriminator,
|
|
1649
|
-
modelProperties: Object.assign(Object.assign({}, DryrunPrerequisiteResult.type.modelProperties), { code: {
|
|
1650
|
-
serializedName: "code",
|
|
1651
|
-
type: {
|
|
1652
|
-
name: "String",
|
|
1653
|
-
},
|
|
1654
|
-
}, message: {
|
|
1655
|
-
serializedName: "message",
|
|
1656
|
-
type: {
|
|
1657
|
-
name: "String",
|
|
1658
|
-
},
|
|
1659
|
-
} }),
|
|
1660
|
-
},
|
|
1661
|
-
};
|
|
1662
|
-
const PermissionsMissingDryrunPrerequisiteResult = {
|
|
1663
|
-
serializedName: "permissionsMissing",
|
|
1664
|
-
type: {
|
|
1665
|
-
name: "Composite",
|
|
1666
|
-
className: "PermissionsMissingDryrunPrerequisiteResult",
|
|
1667
|
-
uberParent: "DryrunPrerequisiteResult",
|
|
1668
|
-
polymorphicDiscriminator: DryrunPrerequisiteResult.type.polymorphicDiscriminator,
|
|
1669
|
-
modelProperties: Object.assign(Object.assign({}, DryrunPrerequisiteResult.type.modelProperties), { scope: {
|
|
1670
|
-
serializedName: "scope",
|
|
1671
|
-
type: {
|
|
1672
|
-
name: "String",
|
|
1673
|
-
},
|
|
1674
|
-
}, permissions: {
|
|
1675
|
-
serializedName: "permissions",
|
|
1676
|
-
type: {
|
|
1677
|
-
name: "Sequence",
|
|
1678
|
-
element: {
|
|
1679
|
-
type: {
|
|
1680
|
-
name: "String",
|
|
1681
|
-
},
|
|
1682
|
-
},
|
|
1683
|
-
},
|
|
1684
|
-
}, recommendedRole: {
|
|
1685
|
-
serializedName: "recommendedRole",
|
|
1686
|
-
type: {
|
|
1687
|
-
name: "String",
|
|
1688
|
-
},
|
|
1689
|
-
} }),
|
|
1690
|
-
},
|
|
1691
|
-
};
|
|
1692
|
-
const ProxyResource = {
|
|
1693
|
-
type: {
|
|
1694
|
-
name: "Composite",
|
|
1695
|
-
className: "ProxyResource",
|
|
1696
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1697
|
-
},
|
|
1698
|
-
};
|
|
1699
|
-
const AzureResource = {
|
|
1700
|
-
serializedName: "AzureResource",
|
|
1701
|
-
type: {
|
|
1702
|
-
name: "Composite",
|
|
1703
|
-
className: "AzureResource",
|
|
1704
|
-
uberParent: "TargetServiceBase",
|
|
1705
|
-
polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator,
|
|
1706
|
-
modelProperties: Object.assign(Object.assign({}, TargetServiceBase.type.modelProperties), { id: {
|
|
1707
|
-
serializedName: "id",
|
|
1708
|
-
type: {
|
|
1709
|
-
name: "String",
|
|
1710
|
-
},
|
|
1711
|
-
}, resourceProperties: {
|
|
1712
|
-
serializedName: "resourceProperties",
|
|
1713
|
-
type: {
|
|
1714
|
-
name: "Composite",
|
|
1715
|
-
className: "AzureResourcePropertiesBase",
|
|
1716
|
-
},
|
|
1717
|
-
} }),
|
|
1718
|
-
},
|
|
1719
|
-
};
|
|
1720
|
-
const ConfluentBootstrapServer = {
|
|
1721
|
-
serializedName: "ConfluentBootstrapServer",
|
|
1722
|
-
type: {
|
|
1723
|
-
name: "Composite",
|
|
1724
|
-
className: "ConfluentBootstrapServer",
|
|
1725
|
-
uberParent: "TargetServiceBase",
|
|
1726
|
-
polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator,
|
|
1727
|
-
modelProperties: Object.assign(Object.assign({}, TargetServiceBase.type.modelProperties), { endpoint: {
|
|
1728
|
-
serializedName: "endpoint",
|
|
1729
|
-
type: {
|
|
1730
|
-
name: "String",
|
|
1731
|
-
},
|
|
1732
|
-
} }),
|
|
1733
|
-
},
|
|
1734
|
-
};
|
|
1735
|
-
const FabricPlatform = {
|
|
1736
|
-
serializedName: "FabricPlatform",
|
|
1737
|
-
type: {
|
|
1738
|
-
name: "Composite",
|
|
1739
|
-
className: "FabricPlatform",
|
|
1740
|
-
uberParent: "TargetServiceBase",
|
|
1741
|
-
polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator,
|
|
1742
|
-
modelProperties: Object.assign(Object.assign({}, TargetServiceBase.type.modelProperties), { endpoint: {
|
|
1743
|
-
serializedName: "endpoint",
|
|
1744
|
-
type: {
|
|
1745
|
-
name: "String",
|
|
1746
|
-
},
|
|
1747
|
-
} }),
|
|
1748
|
-
},
|
|
1749
|
-
};
|
|
1750
|
-
const SelfHostedServer = {
|
|
1751
|
-
serializedName: "SelfHostedServer",
|
|
1752
|
-
type: {
|
|
1753
|
-
name: "Composite",
|
|
1754
|
-
className: "SelfHostedServer",
|
|
1755
|
-
uberParent: "TargetServiceBase",
|
|
1756
|
-
polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator,
|
|
1757
|
-
modelProperties: Object.assign(Object.assign({}, TargetServiceBase.type.modelProperties), { endpoint: {
|
|
1758
|
-
serializedName: "endpoint",
|
|
1759
|
-
type: {
|
|
1760
|
-
name: "String",
|
|
1761
|
-
},
|
|
1762
|
-
} }),
|
|
1763
|
-
},
|
|
1764
|
-
};
|
|
1765
|
-
const ConfluentSchemaRegistry = {
|
|
1766
|
-
serializedName: "ConfluentSchemaRegistry",
|
|
1767
|
-
type: {
|
|
1768
|
-
name: "Composite",
|
|
1769
|
-
className: "ConfluentSchemaRegistry",
|
|
1770
|
-
uberParent: "TargetServiceBase",
|
|
1771
|
-
polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator,
|
|
1772
|
-
modelProperties: Object.assign(Object.assign({}, TargetServiceBase.type.modelProperties), { endpoint: {
|
|
1773
|
-
serializedName: "endpoint",
|
|
1774
|
-
type: {
|
|
1775
|
-
name: "String",
|
|
1776
|
-
},
|
|
1777
|
-
} }),
|
|
1778
|
-
},
|
|
1779
|
-
};
|
|
1780
|
-
const AccessKeyInfoBase = {
|
|
1781
|
-
serializedName: "accessKey",
|
|
1782
|
-
type: {
|
|
1783
|
-
name: "Composite",
|
|
1784
|
-
className: "AccessKeyInfoBase",
|
|
1785
|
-
uberParent: "AuthInfoBase",
|
|
1786
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1787
|
-
modelProperties: Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), { permissions: {
|
|
1788
|
-
serializedName: "permissions",
|
|
1789
|
-
type: {
|
|
1790
|
-
name: "Sequence",
|
|
1791
|
-
element: {
|
|
1792
|
-
type: {
|
|
1793
|
-
name: "String",
|
|
1794
|
-
},
|
|
1795
|
-
},
|
|
1796
|
-
},
|
|
1797
|
-
} }),
|
|
1798
|
-
},
|
|
1799
|
-
};
|
|
1800
|
-
const SecretAuthInfo = {
|
|
1801
|
-
serializedName: "secret",
|
|
1802
|
-
type: {
|
|
1803
|
-
name: "Composite",
|
|
1804
|
-
className: "SecretAuthInfo",
|
|
1805
|
-
uberParent: "AuthInfoBase",
|
|
1806
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1807
|
-
modelProperties: Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), { name: {
|
|
1808
|
-
serializedName: "name",
|
|
1809
|
-
nullable: true,
|
|
1810
|
-
type: {
|
|
1811
|
-
name: "String",
|
|
1812
|
-
},
|
|
1813
|
-
}, secretInfo: {
|
|
1814
|
-
serializedName: "secretInfo",
|
|
1815
|
-
type: {
|
|
1816
|
-
name: "Composite",
|
|
1817
|
-
className: "SecretInfoBase",
|
|
1818
|
-
},
|
|
1819
|
-
} }),
|
|
1820
|
-
},
|
|
1821
|
-
};
|
|
1822
|
-
const UserAssignedIdentityAuthInfo = {
|
|
1823
|
-
serializedName: "userAssignedIdentity",
|
|
1824
|
-
type: {
|
|
1825
|
-
name: "Composite",
|
|
1826
|
-
className: "UserAssignedIdentityAuthInfo",
|
|
1827
|
-
uberParent: "AuthInfoBase",
|
|
1828
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1829
|
-
modelProperties: Object.assign(Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), DatabaseAadAuthInfo.type.modelProperties), { clientId: {
|
|
1830
|
-
serializedName: "clientId",
|
|
1831
|
-
type: {
|
|
1832
|
-
name: "String",
|
|
1833
|
-
},
|
|
1834
|
-
}, subscriptionId: {
|
|
1835
|
-
serializedName: "subscriptionId",
|
|
1836
|
-
type: {
|
|
1837
|
-
name: "String",
|
|
1838
|
-
},
|
|
1839
|
-
}, deleteOrUpdateBehavior: {
|
|
1840
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
1841
|
-
type: {
|
|
1842
|
-
name: "String",
|
|
1843
|
-
},
|
|
1844
|
-
}, roles: {
|
|
1845
|
-
serializedName: "roles",
|
|
1846
|
-
type: {
|
|
1847
|
-
name: "Sequence",
|
|
1848
|
-
element: {
|
|
1849
|
-
type: {
|
|
1850
|
-
name: "String",
|
|
1851
|
-
},
|
|
1852
|
-
},
|
|
1853
|
-
},
|
|
1854
|
-
} }),
|
|
1855
|
-
},
|
|
1856
|
-
};
|
|
1857
|
-
const SystemAssignedIdentityAuthInfo = {
|
|
1858
|
-
serializedName: "systemAssignedIdentity",
|
|
1859
|
-
type: {
|
|
1860
|
-
name: "Composite",
|
|
1861
|
-
className: "SystemAssignedIdentityAuthInfo",
|
|
1862
|
-
uberParent: "AuthInfoBase",
|
|
1863
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1864
|
-
modelProperties: Object.assign(Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), DatabaseAadAuthInfo.type.modelProperties), { deleteOrUpdateBehavior: {
|
|
1865
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
1866
|
-
type: {
|
|
1867
|
-
name: "String",
|
|
1868
|
-
},
|
|
1869
|
-
}, roles: {
|
|
1870
|
-
serializedName: "roles",
|
|
1871
|
-
type: {
|
|
1872
|
-
name: "Sequence",
|
|
1873
|
-
element: {
|
|
1874
|
-
type: {
|
|
1875
|
-
name: "String",
|
|
1876
|
-
},
|
|
1877
|
-
},
|
|
1878
|
-
},
|
|
1879
|
-
} }),
|
|
1880
|
-
},
|
|
1881
|
-
};
|
|
1882
|
-
const ServicePrincipalSecretAuthInfo = {
|
|
1883
|
-
serializedName: "servicePrincipalSecret",
|
|
1884
|
-
type: {
|
|
1885
|
-
name: "Composite",
|
|
1886
|
-
className: "ServicePrincipalSecretAuthInfo",
|
|
1887
|
-
uberParent: "AuthInfoBase",
|
|
1888
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1889
|
-
modelProperties: Object.assign(Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), DatabaseAadAuthInfo.type.modelProperties), { clientId: {
|
|
1890
|
-
serializedName: "clientId",
|
|
1891
|
-
required: true,
|
|
1892
|
-
type: {
|
|
1893
|
-
name: "String",
|
|
1894
|
-
},
|
|
1895
|
-
}, principalId: {
|
|
1896
|
-
serializedName: "principalId",
|
|
1897
|
-
required: true,
|
|
1898
|
-
type: {
|
|
1899
|
-
name: "String",
|
|
1900
|
-
},
|
|
1901
|
-
}, secret: {
|
|
1902
|
-
serializedName: "secret",
|
|
1903
|
-
required: true,
|
|
1904
|
-
type: {
|
|
1905
|
-
name: "String",
|
|
1906
|
-
},
|
|
1907
|
-
}, deleteOrUpdateBehavior: {
|
|
1908
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
1909
|
-
type: {
|
|
1910
|
-
name: "String",
|
|
1911
|
-
},
|
|
1912
|
-
}, roles: {
|
|
1913
|
-
serializedName: "roles",
|
|
1914
|
-
type: {
|
|
1915
|
-
name: "Sequence",
|
|
1916
|
-
element: {
|
|
1917
|
-
type: {
|
|
1918
|
-
name: "String",
|
|
1919
|
-
},
|
|
1920
|
-
},
|
|
1921
|
-
},
|
|
1922
|
-
} }),
|
|
1923
|
-
},
|
|
1924
|
-
};
|
|
1925
|
-
const ServicePrincipalCertificateAuthInfo = {
|
|
1926
|
-
serializedName: "servicePrincipalCertificate",
|
|
1927
|
-
type: {
|
|
1928
|
-
name: "Composite",
|
|
1929
|
-
className: "ServicePrincipalCertificateAuthInfo",
|
|
1930
|
-
uberParent: "AuthInfoBase",
|
|
1931
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1932
|
-
modelProperties: Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), { clientId: {
|
|
1933
|
-
serializedName: "clientId",
|
|
1934
|
-
required: true,
|
|
1935
|
-
type: {
|
|
1936
|
-
name: "String",
|
|
1937
|
-
},
|
|
1938
|
-
}, principalId: {
|
|
1939
|
-
serializedName: "principalId",
|
|
1940
|
-
required: true,
|
|
1941
|
-
type: {
|
|
1942
|
-
name: "String",
|
|
1943
|
-
},
|
|
1944
|
-
}, certificate: {
|
|
1945
|
-
serializedName: "certificate",
|
|
1946
|
-
required: true,
|
|
1947
|
-
type: {
|
|
1948
|
-
name: "String",
|
|
1949
|
-
},
|
|
1950
|
-
}, deleteOrUpdateBehavior: {
|
|
1951
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
1952
|
-
type: {
|
|
1953
|
-
name: "String",
|
|
1954
|
-
},
|
|
1955
|
-
}, roles: {
|
|
1956
|
-
serializedName: "roles",
|
|
1957
|
-
type: {
|
|
1958
|
-
name: "Sequence",
|
|
1959
|
-
element: {
|
|
1960
|
-
type: {
|
|
1961
|
-
name: "String",
|
|
1962
|
-
},
|
|
1963
|
-
},
|
|
1964
|
-
},
|
|
1965
|
-
} }),
|
|
1966
|
-
},
|
|
1967
|
-
};
|
|
1968
|
-
const UserAccountAuthInfo = {
|
|
1969
|
-
serializedName: "userAccount",
|
|
1970
|
-
type: {
|
|
1971
|
-
name: "Composite",
|
|
1972
|
-
className: "UserAccountAuthInfo",
|
|
1973
|
-
uberParent: "AuthInfoBase",
|
|
1974
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
1975
|
-
modelProperties: Object.assign(Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), DatabaseAadAuthInfo.type.modelProperties), { principalId: {
|
|
1976
|
-
serializedName: "principalId",
|
|
1977
|
-
type: {
|
|
1978
|
-
name: "String",
|
|
1979
|
-
},
|
|
1980
|
-
}, deleteOrUpdateBehavior: {
|
|
1981
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
1982
|
-
type: {
|
|
1983
|
-
name: "String",
|
|
1984
|
-
},
|
|
1985
|
-
}, roles: {
|
|
1986
|
-
serializedName: "roles",
|
|
1987
|
-
type: {
|
|
1988
|
-
name: "Sequence",
|
|
1989
|
-
element: {
|
|
1990
|
-
type: {
|
|
1991
|
-
name: "String",
|
|
1992
|
-
},
|
|
1993
|
-
},
|
|
1994
|
-
},
|
|
1995
|
-
} }),
|
|
1996
|
-
},
|
|
1997
|
-
};
|
|
1998
|
-
const EasyAuthMicrosoftEntraIDAuthInfo = {
|
|
1999
|
-
serializedName: "easyAuthMicrosoftEntraID",
|
|
2000
|
-
type: {
|
|
2001
|
-
name: "Composite",
|
|
2002
|
-
className: "EasyAuthMicrosoftEntraIDAuthInfo",
|
|
2003
|
-
uberParent: "AuthInfoBase",
|
|
2004
|
-
polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator,
|
|
2005
|
-
modelProperties: Object.assign(Object.assign({}, AuthInfoBase.type.modelProperties), { clientId: {
|
|
2006
|
-
serializedName: "clientId",
|
|
2007
|
-
type: {
|
|
2008
|
-
name: "String",
|
|
2009
|
-
},
|
|
2010
|
-
}, secret: {
|
|
2011
|
-
serializedName: "secret",
|
|
2012
|
-
type: {
|
|
2013
|
-
name: "String",
|
|
2014
|
-
},
|
|
2015
|
-
}, deleteOrUpdateBehavior: {
|
|
2016
|
-
serializedName: "deleteOrUpdateBehavior",
|
|
2017
|
-
type: {
|
|
2018
|
-
name: "String",
|
|
2019
|
-
},
|
|
2020
|
-
} }),
|
|
2021
|
-
},
|
|
2022
|
-
};
|
|
2023
|
-
const AzureKeyVaultProperties = {
|
|
2024
|
-
serializedName: "KeyVault",
|
|
2025
|
-
type: {
|
|
2026
|
-
name: "Composite",
|
|
2027
|
-
className: "AzureKeyVaultProperties",
|
|
2028
|
-
uberParent: "AzureResourcePropertiesBase",
|
|
2029
|
-
polymorphicDiscriminator: AzureResourcePropertiesBase.type.polymorphicDiscriminator,
|
|
2030
|
-
modelProperties: Object.assign(Object.assign({}, AzureResourcePropertiesBase.type.modelProperties), { connectAsKubernetesCsiDriver: {
|
|
2031
|
-
serializedName: "connectAsKubernetesCsiDriver",
|
|
2032
|
-
nullable: true,
|
|
2033
|
-
type: {
|
|
2034
|
-
name: "Boolean",
|
|
2035
|
-
},
|
|
2036
|
-
} }),
|
|
2037
|
-
},
|
|
2038
|
-
};
|
|
2039
|
-
const AzureAppConfigProperties = {
|
|
2040
|
-
serializedName: "AppConfig",
|
|
2041
|
-
type: {
|
|
2042
|
-
name: "Composite",
|
|
2043
|
-
className: "AzureAppConfigProperties",
|
|
2044
|
-
uberParent: "AzureResourcePropertiesBase",
|
|
2045
|
-
polymorphicDiscriminator: AzureResourcePropertiesBase.type.polymorphicDiscriminator,
|
|
2046
|
-
modelProperties: Object.assign(Object.assign({}, AzureResourcePropertiesBase.type.modelProperties), { connectWithKubernetesExtension: {
|
|
2047
|
-
serializedName: "connectWithKubernetesExtension",
|
|
2048
|
-
nullable: true,
|
|
2049
|
-
type: {
|
|
2050
|
-
name: "Boolean",
|
|
2051
|
-
},
|
|
2052
|
-
} }),
|
|
2053
|
-
},
|
|
2054
|
-
};
|
|
2055
|
-
const ValueSecretInfo = {
|
|
2056
|
-
serializedName: "rawValue",
|
|
2057
|
-
type: {
|
|
2058
|
-
name: "Composite",
|
|
2059
|
-
className: "ValueSecretInfo",
|
|
2060
|
-
uberParent: "SecretInfoBase",
|
|
2061
|
-
polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator,
|
|
2062
|
-
modelProperties: Object.assign(Object.assign({}, SecretInfoBase.type.modelProperties), { value: {
|
|
2063
|
-
serializedName: "value",
|
|
2064
|
-
nullable: true,
|
|
2065
|
-
type: {
|
|
2066
|
-
name: "String",
|
|
2067
|
-
},
|
|
2068
|
-
} }),
|
|
2069
|
-
},
|
|
2070
|
-
};
|
|
2071
|
-
const KeyVaultSecretReferenceSecretInfo = {
|
|
2072
|
-
serializedName: "keyVaultSecretReference",
|
|
2073
|
-
type: {
|
|
2074
|
-
name: "Composite",
|
|
2075
|
-
className: "KeyVaultSecretReferenceSecretInfo",
|
|
2076
|
-
uberParent: "SecretInfoBase",
|
|
2077
|
-
polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator,
|
|
2078
|
-
modelProperties: Object.assign(Object.assign({}, SecretInfoBase.type.modelProperties), { name: {
|
|
2079
|
-
serializedName: "name",
|
|
2080
|
-
type: {
|
|
2081
|
-
name: "String",
|
|
2082
|
-
},
|
|
2083
|
-
}, version: {
|
|
2084
|
-
serializedName: "version",
|
|
2085
|
-
nullable: true,
|
|
2086
|
-
type: {
|
|
2087
|
-
name: "String",
|
|
2088
|
-
},
|
|
2089
|
-
} }),
|
|
2090
|
-
},
|
|
2091
|
-
};
|
|
2092
|
-
const KeyVaultSecretUriSecretInfo = {
|
|
2093
|
-
serializedName: "keyVaultSecretUri",
|
|
2094
|
-
type: {
|
|
2095
|
-
name: "Composite",
|
|
2096
|
-
className: "KeyVaultSecretUriSecretInfo",
|
|
2097
|
-
uberParent: "SecretInfoBase",
|
|
2098
|
-
polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator,
|
|
2099
|
-
modelProperties: Object.assign(Object.assign({}, SecretInfoBase.type.modelProperties), { value: {
|
|
2100
|
-
serializedName: "value",
|
|
2101
|
-
type: {
|
|
2102
|
-
name: "String",
|
|
2103
|
-
},
|
|
2104
|
-
} }),
|
|
2105
|
-
},
|
|
2106
|
-
};
|
|
2107
|
-
const DryrunResource = {
|
|
2108
|
-
type: {
|
|
2109
|
-
name: "Composite",
|
|
2110
|
-
className: "DryrunResource",
|
|
2111
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { parameters: {
|
|
2112
|
-
serializedName: "properties.parameters",
|
|
2113
|
-
type: {
|
|
2114
|
-
name: "Composite",
|
|
2115
|
-
className: "DryrunParameters",
|
|
2116
|
-
},
|
|
2117
|
-
}, prerequisiteResults: {
|
|
2118
|
-
serializedName: "properties.prerequisiteResults",
|
|
2119
|
-
readOnly: true,
|
|
2120
|
-
type: {
|
|
2121
|
-
name: "Sequence",
|
|
2122
|
-
element: {
|
|
2123
|
-
type: {
|
|
2124
|
-
name: "Composite",
|
|
2125
|
-
className: "DryrunPrerequisiteResult",
|
|
2126
|
-
},
|
|
2127
|
-
},
|
|
2128
|
-
},
|
|
2129
|
-
}, operationPreviews: {
|
|
2130
|
-
serializedName: "properties.operationPreviews",
|
|
2131
|
-
readOnly: true,
|
|
2132
|
-
type: {
|
|
2133
|
-
name: "Sequence",
|
|
2134
|
-
element: {
|
|
2135
|
-
type: {
|
|
2136
|
-
name: "Composite",
|
|
2137
|
-
className: "DryrunOperationPreview",
|
|
2138
|
-
},
|
|
2139
|
-
},
|
|
2140
|
-
},
|
|
2141
|
-
}, provisioningState: {
|
|
2142
|
-
serializedName: "properties.provisioningState",
|
|
2143
|
-
readOnly: true,
|
|
2144
|
-
type: {
|
|
2145
|
-
name: "String",
|
|
2146
|
-
},
|
|
2147
|
-
} }),
|
|
2148
|
-
},
|
|
2149
|
-
};
|
|
2150
|
-
const LinkerResource = {
|
|
2151
|
-
type: {
|
|
2152
|
-
name: "Composite",
|
|
2153
|
-
className: "LinkerResource",
|
|
2154
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { targetService: {
|
|
2155
|
-
serializedName: "properties.targetService",
|
|
2156
|
-
type: {
|
|
2157
|
-
name: "Composite",
|
|
2158
|
-
className: "TargetServiceBase",
|
|
2159
|
-
},
|
|
2160
|
-
}, authInfo: {
|
|
2161
|
-
serializedName: "properties.authInfo",
|
|
2162
|
-
type: {
|
|
2163
|
-
name: "Composite",
|
|
2164
|
-
className: "AuthInfoBase",
|
|
2165
|
-
},
|
|
2166
|
-
}, clientType: {
|
|
2167
|
-
serializedName: "properties.clientType",
|
|
2168
|
-
type: {
|
|
2169
|
-
name: "String",
|
|
2170
|
-
},
|
|
2171
|
-
}, provisioningState: {
|
|
2172
|
-
serializedName: "properties.provisioningState",
|
|
2173
|
-
readOnly: true,
|
|
2174
|
-
type: {
|
|
2175
|
-
name: "String",
|
|
2176
|
-
},
|
|
2177
|
-
}, vNetSolution: {
|
|
2178
|
-
serializedName: "properties.vNetSolution",
|
|
2179
|
-
type: {
|
|
2180
|
-
name: "Composite",
|
|
2181
|
-
className: "VNetSolution",
|
|
2182
|
-
},
|
|
2183
|
-
}, secretStore: {
|
|
2184
|
-
serializedName: "properties.secretStore",
|
|
2185
|
-
type: {
|
|
2186
|
-
name: "Composite",
|
|
2187
|
-
className: "SecretStore",
|
|
2188
|
-
},
|
|
2189
|
-
}, scope: {
|
|
2190
|
-
serializedName: "properties.scope",
|
|
2191
|
-
nullable: true,
|
|
2192
|
-
type: {
|
|
2193
|
-
name: "String",
|
|
2194
|
-
},
|
|
2195
|
-
}, publicNetworkSolution: {
|
|
2196
|
-
serializedName: "properties.publicNetworkSolution",
|
|
2197
|
-
type: {
|
|
2198
|
-
name: "Composite",
|
|
2199
|
-
className: "PublicNetworkSolution",
|
|
2200
|
-
},
|
|
2201
|
-
}, configurationInfo: {
|
|
2202
|
-
serializedName: "properties.configurationInfo",
|
|
2203
|
-
type: {
|
|
2204
|
-
name: "Composite",
|
|
2205
|
-
className: "ConfigurationInfo",
|
|
2206
|
-
},
|
|
2207
|
-
} }),
|
|
2208
|
-
},
|
|
2209
|
-
};
|
|
2210
|
-
let discriminators = {
|
|
2211
|
-
DryrunParameters: DryrunParameters,
|
|
2212
|
-
DryrunPrerequisiteResult: DryrunPrerequisiteResult,
|
|
2213
|
-
TargetServiceBase: TargetServiceBase,
|
|
2214
|
-
AuthInfoBase: AuthInfoBase,
|
|
2215
|
-
AzureResourcePropertiesBase: AzureResourcePropertiesBase,
|
|
2216
|
-
SecretInfoBase: SecretInfoBase,
|
|
2217
|
-
"DryrunParameters.createOrUpdate": CreateOrUpdateDryrunParameters,
|
|
2218
|
-
"DryrunPrerequisiteResult.basicError": BasicErrorDryrunPrerequisiteResult,
|
|
2219
|
-
"DryrunPrerequisiteResult.permissionsMissing": PermissionsMissingDryrunPrerequisiteResult,
|
|
2220
|
-
"TargetServiceBase.AzureResource": AzureResource,
|
|
2221
|
-
"TargetServiceBase.ConfluentBootstrapServer": ConfluentBootstrapServer,
|
|
2222
|
-
"TargetServiceBase.FabricPlatform": FabricPlatform,
|
|
2223
|
-
"TargetServiceBase.SelfHostedServer": SelfHostedServer,
|
|
2224
|
-
"TargetServiceBase.ConfluentSchemaRegistry": ConfluentSchemaRegistry,
|
|
2225
|
-
"AuthInfoBase.accessKey": AccessKeyInfoBase,
|
|
2226
|
-
"AuthInfoBase.secret": SecretAuthInfo,
|
|
2227
|
-
"AuthInfoBase.userAssignedIdentity": UserAssignedIdentityAuthInfo,
|
|
2228
|
-
"AuthInfoBase.systemAssignedIdentity": SystemAssignedIdentityAuthInfo,
|
|
2229
|
-
"AuthInfoBase.servicePrincipalSecret": ServicePrincipalSecretAuthInfo,
|
|
2230
|
-
"AuthInfoBase.servicePrincipalCertificate": ServicePrincipalCertificateAuthInfo,
|
|
2231
|
-
"AuthInfoBase.userAccount": UserAccountAuthInfo,
|
|
2232
|
-
"AuthInfoBase.easyAuthMicrosoftEntraID": EasyAuthMicrosoftEntraIDAuthInfo,
|
|
2233
|
-
"AzureResourcePropertiesBase.KeyVault": AzureKeyVaultProperties,
|
|
2234
|
-
"AzureResourcePropertiesBase.AppConfig": AzureAppConfigProperties,
|
|
2235
|
-
"SecretInfoBase.rawValue": ValueSecretInfo,
|
|
2236
|
-
"SecretInfoBase.keyVaultSecretReference": KeyVaultSecretReferenceSecretInfo,
|
|
2237
|
-
"SecretInfoBase.keyVaultSecretUri": KeyVaultSecretUriSecretInfo,
|
|
2238
|
-
};
|
|
2239
|
-
|
|
2240
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2241
|
-
__proto__: null,
|
|
2242
|
-
AccessKeyInfoBase: AccessKeyInfoBase,
|
|
2243
|
-
AuthInfoBase: AuthInfoBase,
|
|
2244
|
-
AzureAppConfigProperties: AzureAppConfigProperties,
|
|
2245
|
-
AzureKeyVaultProperties: AzureKeyVaultProperties,
|
|
2246
|
-
AzureResource: AzureResource,
|
|
2247
|
-
AzureResourcePropertiesBase: AzureResourcePropertiesBase,
|
|
2248
|
-
BasicErrorDryrunPrerequisiteResult: BasicErrorDryrunPrerequisiteResult,
|
|
2249
|
-
ConfigurationInfo: ConfigurationInfo,
|
|
2250
|
-
ConfigurationName: ConfigurationName,
|
|
2251
|
-
ConfigurationNameItem: ConfigurationNameItem,
|
|
2252
|
-
ConfigurationNameResult: ConfigurationNameResult,
|
|
2253
|
-
ConfigurationResult: ConfigurationResult,
|
|
2254
|
-
ConfigurationStore: ConfigurationStore,
|
|
2255
|
-
ConfluentBootstrapServer: ConfluentBootstrapServer,
|
|
2256
|
-
ConfluentSchemaRegistry: ConfluentSchemaRegistry,
|
|
2257
|
-
CreateOrUpdateDryrunParameters: CreateOrUpdateDryrunParameters,
|
|
2258
|
-
DaprConfigurationList: DaprConfigurationList,
|
|
2259
|
-
DaprConfigurationResource: DaprConfigurationResource,
|
|
2260
|
-
DaprMetadata: DaprMetadata,
|
|
2261
|
-
DaprProperties: DaprProperties,
|
|
2262
|
-
DatabaseAadAuthInfo: DatabaseAadAuthInfo,
|
|
2263
|
-
DryrunList: DryrunList,
|
|
2264
|
-
DryrunOperationPreview: DryrunOperationPreview,
|
|
2265
|
-
DryrunParameters: DryrunParameters,
|
|
2266
|
-
DryrunPatch: DryrunPatch,
|
|
2267
|
-
DryrunPrerequisiteResult: DryrunPrerequisiteResult,
|
|
2268
|
-
DryrunResource: DryrunResource,
|
|
2269
|
-
EasyAuthMicrosoftEntraIDAuthInfo: EasyAuthMicrosoftEntraIDAuthInfo,
|
|
2270
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2271
|
-
ErrorDetail: ErrorDetail,
|
|
2272
|
-
ErrorResponse: ErrorResponse,
|
|
2273
|
-
FabricPlatform: FabricPlatform,
|
|
2274
|
-
FirewallRules: FirewallRules,
|
|
2275
|
-
KeyVaultSecretReferenceSecretInfo: KeyVaultSecretReferenceSecretInfo,
|
|
2276
|
-
KeyVaultSecretUriSecretInfo: KeyVaultSecretUriSecretInfo,
|
|
2277
|
-
LinkerPatch: LinkerPatch,
|
|
2278
|
-
LinkerProperties: LinkerProperties,
|
|
2279
|
-
LinkerResource: LinkerResource,
|
|
2280
|
-
Operation: Operation,
|
|
2281
|
-
OperationDisplay: OperationDisplay,
|
|
2282
|
-
OperationListResult: OperationListResult,
|
|
2283
|
-
PermissionsMissingDryrunPrerequisiteResult: PermissionsMissingDryrunPrerequisiteResult,
|
|
2284
|
-
ProxyResource: ProxyResource,
|
|
2285
|
-
PublicNetworkSolution: PublicNetworkSolution,
|
|
2286
|
-
Resource: Resource,
|
|
2287
|
-
ResourceList: ResourceList,
|
|
2288
|
-
SecretAuthInfo: SecretAuthInfo,
|
|
2289
|
-
SecretInfoBase: SecretInfoBase,
|
|
2290
|
-
SecretStore: SecretStore,
|
|
2291
|
-
SelfHostedServer: SelfHostedServer,
|
|
2292
|
-
ServicePrincipalCertificateAuthInfo: ServicePrincipalCertificateAuthInfo,
|
|
2293
|
-
ServicePrincipalSecretAuthInfo: ServicePrincipalSecretAuthInfo,
|
|
2294
|
-
SourceConfiguration: SourceConfiguration,
|
|
2295
|
-
SystemAssignedIdentityAuthInfo: SystemAssignedIdentityAuthInfo,
|
|
2296
|
-
SystemData: SystemData,
|
|
2297
|
-
TargetServiceBase: TargetServiceBase,
|
|
2298
|
-
UserAccountAuthInfo: UserAccountAuthInfo,
|
|
2299
|
-
UserAssignedIdentityAuthInfo: UserAssignedIdentityAuthInfo,
|
|
2300
|
-
VNetSolution: VNetSolution,
|
|
2301
|
-
ValidateOperationResult: ValidateOperationResult,
|
|
2302
|
-
ValidationResultItem: ValidationResultItem,
|
|
2303
|
-
ValueSecretInfo: ValueSecretInfo,
|
|
2304
|
-
discriminators: discriminators
|
|
2305
|
-
});
|
|
2306
|
-
|
|
2307
|
-
/*
|
|
2308
|
-
* Copyright (c) Microsoft Corporation.
|
|
2309
|
-
* Licensed under the MIT License.
|
|
2310
|
-
*
|
|
2311
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2312
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2313
|
-
*/
|
|
2314
|
-
const accept = {
|
|
2315
|
-
parameterPath: "accept",
|
|
2316
|
-
mapper: {
|
|
2317
|
-
defaultValue: "application/json",
|
|
2318
|
-
isConstant: true,
|
|
2319
|
-
serializedName: "Accept",
|
|
2320
|
-
type: {
|
|
2321
|
-
name: "String",
|
|
2322
|
-
},
|
|
2323
|
-
},
|
|
2324
|
-
};
|
|
2325
|
-
const $host = {
|
|
2326
|
-
parameterPath: "$host",
|
|
2327
|
-
mapper: {
|
|
2328
|
-
serializedName: "$host",
|
|
2329
|
-
required: true,
|
|
2330
|
-
type: {
|
|
2331
|
-
name: "String",
|
|
2332
|
-
},
|
|
2333
|
-
},
|
|
2334
|
-
skipEncoding: true,
|
|
2335
|
-
};
|
|
2336
|
-
const subscriptionId = {
|
|
2337
|
-
parameterPath: "subscriptionId",
|
|
2338
|
-
mapper: {
|
|
2339
|
-
constraints: {
|
|
2340
|
-
MinLength: 1,
|
|
2341
|
-
},
|
|
2342
|
-
serializedName: "subscriptionId",
|
|
2343
|
-
required: true,
|
|
2344
|
-
type: {
|
|
2345
|
-
name: "String",
|
|
2346
|
-
},
|
|
2347
|
-
},
|
|
2348
|
-
};
|
|
2349
|
-
const resourceGroupName = {
|
|
2350
|
-
parameterPath: "resourceGroupName",
|
|
2351
|
-
mapper: {
|
|
2352
|
-
constraints: {
|
|
2353
|
-
MaxLength: 90,
|
|
2354
|
-
MinLength: 1,
|
|
2355
|
-
},
|
|
2356
|
-
serializedName: "resourceGroupName",
|
|
2357
|
-
required: true,
|
|
2358
|
-
type: {
|
|
2359
|
-
name: "String",
|
|
2360
|
-
},
|
|
2361
|
-
},
|
|
2362
|
-
};
|
|
2363
|
-
const location = {
|
|
2364
|
-
parameterPath: "location",
|
|
2365
|
-
mapper: {
|
|
2366
|
-
constraints: {
|
|
2367
|
-
MinLength: 1,
|
|
2368
|
-
},
|
|
2369
|
-
serializedName: "location",
|
|
2370
|
-
required: true,
|
|
2371
|
-
type: {
|
|
2372
|
-
name: "String",
|
|
2373
|
-
},
|
|
2374
|
-
},
|
|
2375
|
-
};
|
|
2376
|
-
const apiVersion = {
|
|
2377
|
-
parameterPath: "apiVersion",
|
|
2378
|
-
mapper: {
|
|
2379
|
-
defaultValue: "2024-07-01-preview",
|
|
2380
|
-
isConstant: true,
|
|
2381
|
-
serializedName: "api-version",
|
|
2382
|
-
type: {
|
|
2383
|
-
name: "String",
|
|
2384
|
-
},
|
|
2385
|
-
},
|
|
2386
|
-
};
|
|
2387
|
-
const dryrunName = {
|
|
2388
|
-
parameterPath: "dryrunName",
|
|
2389
|
-
mapper: {
|
|
2390
|
-
serializedName: "dryrunName",
|
|
2391
|
-
required: true,
|
|
2392
|
-
type: {
|
|
2393
|
-
name: "String",
|
|
2394
|
-
},
|
|
2395
|
-
},
|
|
2396
|
-
};
|
|
2397
|
-
const contentType = {
|
|
2398
|
-
parameterPath: ["options", "contentType"],
|
|
2399
|
-
mapper: {
|
|
2400
|
-
defaultValue: "application/json",
|
|
2401
|
-
isConstant: true,
|
|
2402
|
-
serializedName: "Content-Type",
|
|
2403
|
-
type: {
|
|
2404
|
-
name: "String",
|
|
2405
|
-
},
|
|
2406
|
-
},
|
|
2407
|
-
};
|
|
2408
|
-
const parameters = {
|
|
2409
|
-
parameterPath: "parameters",
|
|
2410
|
-
mapper: DryrunResource,
|
|
2411
|
-
};
|
|
2412
|
-
const parameters1 = {
|
|
2413
|
-
parameterPath: "parameters",
|
|
2414
|
-
mapper: DryrunPatch,
|
|
2415
|
-
};
|
|
2416
|
-
const connectorName = {
|
|
2417
|
-
parameterPath: "connectorName",
|
|
2418
|
-
mapper: {
|
|
2419
|
-
serializedName: "connectorName",
|
|
2420
|
-
required: true,
|
|
2421
|
-
type: {
|
|
2422
|
-
name: "String",
|
|
2423
|
-
},
|
|
2424
|
-
},
|
|
2425
|
-
};
|
|
2426
|
-
const parameters2 = {
|
|
2427
|
-
parameterPath: "parameters",
|
|
2428
|
-
mapper: LinkerResource,
|
|
2429
|
-
};
|
|
2430
|
-
const parameters3 = {
|
|
2431
|
-
parameterPath: "parameters",
|
|
2432
|
-
mapper: LinkerPatch,
|
|
2433
|
-
};
|
|
2434
|
-
const parameters4 = {
|
|
2435
|
-
parameterPath: ["options", "parameters"],
|
|
2436
|
-
mapper: ConfigurationInfo,
|
|
2437
|
-
};
|
|
2438
|
-
const nextLink = {
|
|
2439
|
-
parameterPath: "nextLink",
|
|
2440
|
-
mapper: {
|
|
2441
|
-
serializedName: "nextLink",
|
|
2442
|
-
required: true,
|
|
2443
|
-
type: {
|
|
2444
|
-
name: "String",
|
|
2445
|
-
},
|
|
2446
|
-
},
|
|
2447
|
-
skipEncoding: true,
|
|
2448
|
-
};
|
|
2449
|
-
const resourceUri = {
|
|
2450
|
-
parameterPath: "resourceUri",
|
|
2451
|
-
mapper: {
|
|
2452
|
-
serializedName: "resourceUri",
|
|
2453
|
-
required: true,
|
|
2454
|
-
type: {
|
|
2455
|
-
name: "String",
|
|
2456
|
-
},
|
|
2457
|
-
},
|
|
2458
|
-
skipEncoding: true,
|
|
2459
|
-
};
|
|
2460
|
-
const linkerName = {
|
|
2461
|
-
parameterPath: "linkerName",
|
|
2462
|
-
mapper: {
|
|
2463
|
-
serializedName: "linkerName",
|
|
2464
|
-
required: true,
|
|
2465
|
-
type: {
|
|
2466
|
-
name: "String",
|
|
2467
|
-
},
|
|
2468
|
-
},
|
|
2469
|
-
};
|
|
2470
|
-
const filter = {
|
|
2471
|
-
parameterPath: ["options", "filter"],
|
|
2472
|
-
mapper: {
|
|
2473
|
-
serializedName: "$filter",
|
|
2474
|
-
type: {
|
|
2475
|
-
name: "String",
|
|
2476
|
-
},
|
|
2477
|
-
},
|
|
2478
|
-
};
|
|
2479
|
-
const skipToken = {
|
|
2480
|
-
parameterPath: ["options", "skipToken"],
|
|
2481
|
-
mapper: {
|
|
2482
|
-
serializedName: "$skipToken",
|
|
2483
|
-
type: {
|
|
2484
|
-
name: "String",
|
|
2485
|
-
},
|
|
2486
|
-
},
|
|
2487
|
-
};
|
|
2488
|
-
|
|
2489
|
-
/*
|
|
2490
|
-
* Copyright (c) Microsoft Corporation.
|
|
2491
|
-
* Licensed under the MIT License.
|
|
2492
|
-
*
|
|
2493
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2494
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2495
|
-
*/
|
|
2496
|
-
function createLroSpec(inputs) {
|
|
2497
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2498
|
-
return {
|
|
2499
|
-
requestMethod: spec.httpMethod,
|
|
2500
|
-
requestPath: spec.path,
|
|
2501
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2502
|
-
sendPollRequest: (path, options) => {
|
|
2503
|
-
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2504
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2505
|
-
},
|
|
2506
|
-
};
|
|
2507
|
-
}
|
|
2508
|
-
|
|
2509
|
-
/*
|
|
2510
|
-
* Copyright (c) Microsoft Corporation.
|
|
2511
|
-
* Licensed under the MIT License.
|
|
2512
|
-
*
|
|
2513
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2514
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2515
|
-
*/
|
|
2516
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2517
|
-
/** Class containing Connector operations. */
|
|
2518
|
-
class ConnectorImpl {
|
|
2519
|
-
/**
|
|
2520
|
-
* Initialize a new instance of the class Connector class.
|
|
2521
|
-
* @param client Reference to the service client
|
|
2522
|
-
*/
|
|
2523
|
-
constructor(client) {
|
|
2524
|
-
this.client = client;
|
|
2525
|
-
}
|
|
2526
|
-
/**
|
|
2527
|
-
* list dryrun jobs
|
|
2528
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2529
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2530
|
-
* @param location The name of Azure region.
|
|
2531
|
-
* @param options The options parameters.
|
|
2532
|
-
*/
|
|
2533
|
-
listDryrun(subscriptionId, resourceGroupName, location, options) {
|
|
2534
|
-
const iter = this.listDryrunPagingAll(subscriptionId, resourceGroupName, location, options);
|
|
2535
|
-
return {
|
|
2536
|
-
next() {
|
|
2537
|
-
return iter.next();
|
|
2538
|
-
},
|
|
2539
|
-
[Symbol.asyncIterator]() {
|
|
2540
|
-
return this;
|
|
2541
|
-
},
|
|
2542
|
-
byPage: (settings) => {
|
|
2543
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2544
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2545
|
-
}
|
|
2546
|
-
return this.listDryrunPagingPage(subscriptionId, resourceGroupName, location, options, settings);
|
|
2547
|
-
},
|
|
2548
|
-
};
|
|
2549
|
-
}
|
|
2550
|
-
listDryrunPagingPage(subscriptionId, resourceGroupName, location, options, settings) {
|
|
2551
|
-
return tslib.__asyncGenerator(this, arguments, function* listDryrunPagingPage_1() {
|
|
2552
|
-
let result;
|
|
2553
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2554
|
-
if (!continuationToken) {
|
|
2555
|
-
result = yield tslib.__await(this._listDryrun(subscriptionId, resourceGroupName, location, options));
|
|
2556
|
-
let page = result.value || [];
|
|
2557
|
-
continuationToken = result.nextLink;
|
|
2558
|
-
setContinuationToken(page, continuationToken);
|
|
2559
|
-
yield yield tslib.__await(page);
|
|
2560
|
-
}
|
|
2561
|
-
while (continuationToken) {
|
|
2562
|
-
result = yield tslib.__await(this._listDryrunNext(subscriptionId, resourceGroupName, location, continuationToken, options));
|
|
2563
|
-
continuationToken = result.nextLink;
|
|
2564
|
-
let page = result.value || [];
|
|
2565
|
-
setContinuationToken(page, continuationToken);
|
|
2566
|
-
yield yield tslib.__await(page);
|
|
2567
|
-
}
|
|
2568
|
-
});
|
|
2569
|
-
}
|
|
2570
|
-
listDryrunPagingAll(subscriptionId, resourceGroupName, location, options) {
|
|
2571
|
-
return tslib.__asyncGenerator(this, arguments, function* listDryrunPagingAll_1() {
|
|
2572
|
-
var _a, e_1, _b, _c;
|
|
2573
|
-
try {
|
|
2574
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listDryrunPagingPage(subscriptionId, resourceGroupName, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2575
|
-
_c = _f.value;
|
|
2576
|
-
_d = false;
|
|
2577
|
-
const page = _c;
|
|
2578
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2582
|
-
finally {
|
|
2583
|
-
try {
|
|
2584
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2585
|
-
}
|
|
2586
|
-
finally { if (e_1) throw e_1.error; }
|
|
2587
|
-
}
|
|
2588
|
-
});
|
|
2589
|
-
}
|
|
2590
|
-
/**
|
|
2591
|
-
* Returns list of connector which connects to the resource, which supports to config the target
|
|
2592
|
-
* service during the resource provision.
|
|
2593
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2594
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2595
|
-
* @param location The name of Azure region.
|
|
2596
|
-
* @param options The options parameters.
|
|
2597
|
-
*/
|
|
2598
|
-
list(subscriptionId, resourceGroupName, location, options) {
|
|
2599
|
-
const iter = this.listPagingAll(subscriptionId, resourceGroupName, location, options);
|
|
2600
|
-
return {
|
|
2601
|
-
next() {
|
|
2602
|
-
return iter.next();
|
|
2603
|
-
},
|
|
2604
|
-
[Symbol.asyncIterator]() {
|
|
2605
|
-
return this;
|
|
2606
|
-
},
|
|
2607
|
-
byPage: (settings) => {
|
|
2608
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2609
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2610
|
-
}
|
|
2611
|
-
return this.listPagingPage(subscriptionId, resourceGroupName, location, options, settings);
|
|
2612
|
-
},
|
|
2613
|
-
};
|
|
2614
|
-
}
|
|
2615
|
-
listPagingPage(subscriptionId, resourceGroupName, location, options, settings) {
|
|
2616
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2617
|
-
let result;
|
|
2618
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2619
|
-
if (!continuationToken) {
|
|
2620
|
-
result = yield tslib.__await(this._list(subscriptionId, resourceGroupName, location, options));
|
|
2621
|
-
let page = result.value || [];
|
|
2622
|
-
continuationToken = result.nextLink;
|
|
2623
|
-
setContinuationToken(page, continuationToken);
|
|
2624
|
-
yield yield tslib.__await(page);
|
|
2625
|
-
}
|
|
2626
|
-
while (continuationToken) {
|
|
2627
|
-
result = yield tslib.__await(this._listNext(subscriptionId, resourceGroupName, location, continuationToken, options));
|
|
2628
|
-
continuationToken = result.nextLink;
|
|
2629
|
-
let page = result.value || [];
|
|
2630
|
-
setContinuationToken(page, continuationToken);
|
|
2631
|
-
yield yield tslib.__await(page);
|
|
2632
|
-
}
|
|
2633
|
-
});
|
|
2634
|
-
}
|
|
2635
|
-
listPagingAll(subscriptionId, resourceGroupName, location, options) {
|
|
2636
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2637
|
-
var _a, e_2, _b, _c;
|
|
2638
|
-
try {
|
|
2639
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, resourceGroupName, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2640
|
-
_c = _f.value;
|
|
2641
|
-
_d = false;
|
|
2642
|
-
const page = _c;
|
|
2643
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2644
|
-
}
|
|
2645
|
-
}
|
|
2646
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2647
|
-
finally {
|
|
2648
|
-
try {
|
|
2649
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2650
|
-
}
|
|
2651
|
-
finally { if (e_2) throw e_2.error; }
|
|
2652
|
-
}
|
|
2653
|
-
});
|
|
2654
|
-
}
|
|
2655
|
-
/**
|
|
2656
|
-
* list dryrun jobs
|
|
2657
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2658
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2659
|
-
* @param location The name of Azure region.
|
|
2660
|
-
* @param options The options parameters.
|
|
2661
|
-
*/
|
|
2662
|
-
_listDryrun(subscriptionId, resourceGroupName, location, options) {
|
|
2663
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, options }, listDryrunOperationSpec$1);
|
|
2664
|
-
}
|
|
2665
|
-
/**
|
|
2666
|
-
* get a dryrun job
|
|
2667
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2668
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2669
|
-
* @param location The name of Azure region.
|
|
2670
|
-
* @param dryrunName The name of dryrun.
|
|
2671
|
-
* @param options The options parameters.
|
|
2672
|
-
*/
|
|
2673
|
-
getDryrun(subscriptionId, resourceGroupName, location, dryrunName, options) {
|
|
2674
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, dryrunName, options }, getDryrunOperationSpec$1);
|
|
2675
|
-
}
|
|
2676
|
-
/**
|
|
2677
|
-
* create a dryrun job to do necessary check before actual creation
|
|
2678
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2679
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2680
|
-
* @param location The name of Azure region.
|
|
2681
|
-
* @param dryrunName The name of dryrun.
|
|
2682
|
-
* @param parameters dryrun resource.
|
|
2683
|
-
* @param options The options parameters.
|
|
2684
|
-
*/
|
|
2685
|
-
beginCreateDryrun(subscriptionId, resourceGroupName, location, dryrunName, parameters, options) {
|
|
2686
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2687
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2688
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2689
|
-
});
|
|
2690
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2691
|
-
var _a;
|
|
2692
|
-
let currentRawResponse = undefined;
|
|
2693
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2694
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2695
|
-
currentRawResponse = rawResponse;
|
|
2696
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2697
|
-
};
|
|
2698
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2699
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2700
|
-
return {
|
|
2701
|
-
flatResponse,
|
|
2702
|
-
rawResponse: {
|
|
2703
|
-
statusCode: currentRawResponse.status,
|
|
2704
|
-
body: currentRawResponse.parsedBody,
|
|
2705
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2706
|
-
},
|
|
2707
|
-
};
|
|
2708
|
-
});
|
|
2709
|
-
const lro = createLroSpec({
|
|
2710
|
-
sendOperationFn,
|
|
2711
|
-
args: {
|
|
2712
|
-
subscriptionId,
|
|
2713
|
-
resourceGroupName,
|
|
2714
|
-
location,
|
|
2715
|
-
dryrunName,
|
|
2716
|
-
parameters,
|
|
2717
|
-
options,
|
|
2718
|
-
},
|
|
2719
|
-
spec: createDryrunOperationSpec$1,
|
|
2720
|
-
});
|
|
2721
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2722
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2723
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2724
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2725
|
-
});
|
|
2726
|
-
yield poller.poll();
|
|
2727
|
-
return poller;
|
|
2728
|
-
});
|
|
2729
|
-
}
|
|
2730
|
-
/**
|
|
2731
|
-
* create a dryrun job to do necessary check before actual creation
|
|
2732
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2733
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2734
|
-
* @param location The name of Azure region.
|
|
2735
|
-
* @param dryrunName The name of dryrun.
|
|
2736
|
-
* @param parameters dryrun resource.
|
|
2737
|
-
* @param options The options parameters.
|
|
2738
|
-
*/
|
|
2739
|
-
beginCreateDryrunAndWait(subscriptionId, resourceGroupName, location, dryrunName, parameters, options) {
|
|
2740
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2741
|
-
const poller = yield this.beginCreateDryrun(subscriptionId, resourceGroupName, location, dryrunName, parameters, options);
|
|
2742
|
-
return poller.pollUntilDone();
|
|
2743
|
-
});
|
|
2744
|
-
}
|
|
2745
|
-
/**
|
|
2746
|
-
* update a dryrun job to do necessary check before actual creation
|
|
2747
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2748
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2749
|
-
* @param location The name of Azure region.
|
|
2750
|
-
* @param dryrunName The name of dryrun.
|
|
2751
|
-
* @param parameters dryrun resource.
|
|
2752
|
-
* @param options The options parameters.
|
|
2753
|
-
*/
|
|
2754
|
-
beginUpdateDryrun(subscriptionId, resourceGroupName, location, dryrunName, parameters, options) {
|
|
2755
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2756
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2757
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2758
|
-
});
|
|
2759
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2760
|
-
var _a;
|
|
2761
|
-
let currentRawResponse = undefined;
|
|
2762
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2763
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2764
|
-
currentRawResponse = rawResponse;
|
|
2765
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2766
|
-
};
|
|
2767
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2768
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2769
|
-
return {
|
|
2770
|
-
flatResponse,
|
|
2771
|
-
rawResponse: {
|
|
2772
|
-
statusCode: currentRawResponse.status,
|
|
2773
|
-
body: currentRawResponse.parsedBody,
|
|
2774
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2775
|
-
},
|
|
2776
|
-
};
|
|
2777
|
-
});
|
|
2778
|
-
const lro = createLroSpec({
|
|
2779
|
-
sendOperationFn,
|
|
2780
|
-
args: {
|
|
2781
|
-
subscriptionId,
|
|
2782
|
-
resourceGroupName,
|
|
2783
|
-
location,
|
|
2784
|
-
dryrunName,
|
|
2785
|
-
parameters,
|
|
2786
|
-
options,
|
|
2787
|
-
},
|
|
2788
|
-
spec: updateDryrunOperationSpec$1,
|
|
2789
|
-
});
|
|
2790
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2791
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2792
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2793
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2794
|
-
});
|
|
2795
|
-
yield poller.poll();
|
|
2796
|
-
return poller;
|
|
2797
|
-
});
|
|
2798
|
-
}
|
|
2799
|
-
/**
|
|
2800
|
-
* update a dryrun job to do necessary check before actual creation
|
|
2801
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2802
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2803
|
-
* @param location The name of Azure region.
|
|
2804
|
-
* @param dryrunName The name of dryrun.
|
|
2805
|
-
* @param parameters dryrun resource.
|
|
2806
|
-
* @param options The options parameters.
|
|
2807
|
-
*/
|
|
2808
|
-
beginUpdateDryrunAndWait(subscriptionId, resourceGroupName, location, dryrunName, parameters, options) {
|
|
2809
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2810
|
-
const poller = yield this.beginUpdateDryrun(subscriptionId, resourceGroupName, location, dryrunName, parameters, options);
|
|
2811
|
-
return poller.pollUntilDone();
|
|
2812
|
-
});
|
|
2813
|
-
}
|
|
2814
|
-
/**
|
|
2815
|
-
* delete a dryrun job
|
|
2816
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2817
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2818
|
-
* @param location The name of Azure region.
|
|
2819
|
-
* @param dryrunName The name of dryrun.
|
|
2820
|
-
* @param options The options parameters.
|
|
2821
|
-
*/
|
|
2822
|
-
deleteDryrun(subscriptionId, resourceGroupName, location, dryrunName, options) {
|
|
2823
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, dryrunName, options }, deleteDryrunOperationSpec$1);
|
|
2824
|
-
}
|
|
2825
|
-
/**
|
|
2826
|
-
* Returns list of connector which connects to the resource, which supports to config the target
|
|
2827
|
-
* service during the resource provision.
|
|
2828
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2829
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2830
|
-
* @param location The name of Azure region.
|
|
2831
|
-
* @param options The options parameters.
|
|
2832
|
-
*/
|
|
2833
|
-
_list(subscriptionId, resourceGroupName, location, options) {
|
|
2834
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, options }, listOperationSpec$3);
|
|
2835
|
-
}
|
|
2836
|
-
/**
|
|
2837
|
-
* Returns Connector resource for a given name.
|
|
2838
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2839
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2840
|
-
* @param location The name of Azure region.
|
|
2841
|
-
* @param connectorName The name of resource.
|
|
2842
|
-
* @param options The options parameters.
|
|
2843
|
-
*/
|
|
2844
|
-
get(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
2845
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, connectorName, options }, getOperationSpec$1);
|
|
2846
|
-
}
|
|
2847
|
-
/**
|
|
2848
|
-
* Create or update Connector resource.
|
|
2849
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2850
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2851
|
-
* @param location The name of Azure region.
|
|
2852
|
-
* @param connectorName The name of resource.
|
|
2853
|
-
* @param parameters Connector details.
|
|
2854
|
-
* @param options The options parameters.
|
|
2855
|
-
*/
|
|
2856
|
-
beginCreateOrUpdate(subscriptionId, resourceGroupName, location, connectorName, parameters, options) {
|
|
2857
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2858
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2859
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2860
|
-
});
|
|
2861
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2862
|
-
var _a;
|
|
2863
|
-
let currentRawResponse = undefined;
|
|
2864
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2865
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2866
|
-
currentRawResponse = rawResponse;
|
|
2867
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2868
|
-
};
|
|
2869
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2870
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2871
|
-
return {
|
|
2872
|
-
flatResponse,
|
|
2873
|
-
rawResponse: {
|
|
2874
|
-
statusCode: currentRawResponse.status,
|
|
2875
|
-
body: currentRawResponse.parsedBody,
|
|
2876
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2877
|
-
},
|
|
2878
|
-
};
|
|
2879
|
-
});
|
|
2880
|
-
const lro = createLroSpec({
|
|
2881
|
-
sendOperationFn,
|
|
2882
|
-
args: {
|
|
2883
|
-
subscriptionId,
|
|
2884
|
-
resourceGroupName,
|
|
2885
|
-
location,
|
|
2886
|
-
connectorName,
|
|
2887
|
-
parameters,
|
|
2888
|
-
options,
|
|
2889
|
-
},
|
|
2890
|
-
spec: createOrUpdateOperationSpec$1,
|
|
2891
|
-
});
|
|
2892
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2893
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2894
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2895
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2896
|
-
});
|
|
2897
|
-
yield poller.poll();
|
|
2898
|
-
return poller;
|
|
2899
|
-
});
|
|
2900
|
-
}
|
|
2901
|
-
/**
|
|
2902
|
-
* Create or update Connector resource.
|
|
2903
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2904
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2905
|
-
* @param location The name of Azure region.
|
|
2906
|
-
* @param connectorName The name of resource.
|
|
2907
|
-
* @param parameters Connector details.
|
|
2908
|
-
* @param options The options parameters.
|
|
2909
|
-
*/
|
|
2910
|
-
beginCreateOrUpdateAndWait(subscriptionId, resourceGroupName, location, connectorName, parameters, options) {
|
|
2911
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2912
|
-
const poller = yield this.beginCreateOrUpdate(subscriptionId, resourceGroupName, location, connectorName, parameters, options);
|
|
2913
|
-
return poller.pollUntilDone();
|
|
2914
|
-
});
|
|
2915
|
-
}
|
|
2916
|
-
/**
|
|
2917
|
-
* Delete a Connector.
|
|
2918
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2919
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2920
|
-
* @param location The name of Azure region.
|
|
2921
|
-
* @param connectorName The name of resource.
|
|
2922
|
-
* @param options The options parameters.
|
|
2923
|
-
*/
|
|
2924
|
-
beginDelete(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
2925
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2926
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2927
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2928
|
-
});
|
|
2929
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2930
|
-
var _a;
|
|
2931
|
-
let currentRawResponse = undefined;
|
|
2932
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2933
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2934
|
-
currentRawResponse = rawResponse;
|
|
2935
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2936
|
-
};
|
|
2937
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2938
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2939
|
-
return {
|
|
2940
|
-
flatResponse,
|
|
2941
|
-
rawResponse: {
|
|
2942
|
-
statusCode: currentRawResponse.status,
|
|
2943
|
-
body: currentRawResponse.parsedBody,
|
|
2944
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2945
|
-
},
|
|
2946
|
-
};
|
|
2947
|
-
});
|
|
2948
|
-
const lro = createLroSpec({
|
|
2949
|
-
sendOperationFn,
|
|
2950
|
-
args: {
|
|
2951
|
-
subscriptionId,
|
|
2952
|
-
resourceGroupName,
|
|
2953
|
-
location,
|
|
2954
|
-
connectorName,
|
|
2955
|
-
options,
|
|
2956
|
-
},
|
|
2957
|
-
spec: deleteOperationSpec$1,
|
|
2958
|
-
});
|
|
2959
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2960
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2961
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2962
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2963
|
-
});
|
|
2964
|
-
yield poller.poll();
|
|
2965
|
-
return poller;
|
|
2966
|
-
});
|
|
2967
|
-
}
|
|
2968
|
-
/**
|
|
2969
|
-
* Delete a Connector.
|
|
2970
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2971
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2972
|
-
* @param location The name of Azure region.
|
|
2973
|
-
* @param connectorName The name of resource.
|
|
2974
|
-
* @param options The options parameters.
|
|
2975
|
-
*/
|
|
2976
|
-
beginDeleteAndWait(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
2977
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2978
|
-
const poller = yield this.beginDelete(subscriptionId, resourceGroupName, location, connectorName, options);
|
|
2979
|
-
return poller.pollUntilDone();
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
/**
|
|
2983
|
-
* Operation to update an existing Connector.
|
|
2984
|
-
* @param subscriptionId The ID of the target subscription.
|
|
2985
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2986
|
-
* @param location The name of Azure region.
|
|
2987
|
-
* @param connectorName The name of resource.
|
|
2988
|
-
* @param parameters Connector details.
|
|
2989
|
-
* @param options The options parameters.
|
|
2990
|
-
*/
|
|
2991
|
-
beginUpdate(subscriptionId, resourceGroupName, location, connectorName, parameters, options) {
|
|
2992
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2993
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2994
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2995
|
-
});
|
|
2996
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2997
|
-
var _a;
|
|
2998
|
-
let currentRawResponse = undefined;
|
|
2999
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3000
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3001
|
-
currentRawResponse = rawResponse;
|
|
3002
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3003
|
-
};
|
|
3004
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3005
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3006
|
-
return {
|
|
3007
|
-
flatResponse,
|
|
3008
|
-
rawResponse: {
|
|
3009
|
-
statusCode: currentRawResponse.status,
|
|
3010
|
-
body: currentRawResponse.parsedBody,
|
|
3011
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3012
|
-
},
|
|
3013
|
-
};
|
|
3014
|
-
});
|
|
3015
|
-
const lro = createLroSpec({
|
|
3016
|
-
sendOperationFn,
|
|
3017
|
-
args: {
|
|
3018
|
-
subscriptionId,
|
|
3019
|
-
resourceGroupName,
|
|
3020
|
-
location,
|
|
3021
|
-
connectorName,
|
|
3022
|
-
parameters,
|
|
3023
|
-
options,
|
|
3024
|
-
},
|
|
3025
|
-
spec: updateOperationSpec$1,
|
|
3026
|
-
});
|
|
3027
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3028
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3029
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3030
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3031
|
-
});
|
|
3032
|
-
yield poller.poll();
|
|
3033
|
-
return poller;
|
|
3034
|
-
});
|
|
3035
|
-
}
|
|
3036
|
-
/**
|
|
3037
|
-
* Operation to update an existing Connector.
|
|
3038
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3039
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3040
|
-
* @param location The name of Azure region.
|
|
3041
|
-
* @param connectorName The name of resource.
|
|
3042
|
-
* @param parameters Connector details.
|
|
3043
|
-
* @param options The options parameters.
|
|
3044
|
-
*/
|
|
3045
|
-
beginUpdateAndWait(subscriptionId, resourceGroupName, location, connectorName, parameters, options) {
|
|
3046
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3047
|
-
const poller = yield this.beginUpdate(subscriptionId, resourceGroupName, location, connectorName, parameters, options);
|
|
3048
|
-
return poller.pollUntilDone();
|
|
3049
|
-
});
|
|
3050
|
-
}
|
|
3051
|
-
/**
|
|
3052
|
-
* Validate a Connector.
|
|
3053
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3054
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3055
|
-
* @param location The name of Azure region.
|
|
3056
|
-
* @param connectorName The name of resource.
|
|
3057
|
-
* @param options The options parameters.
|
|
3058
|
-
*/
|
|
3059
|
-
beginValidate(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
3060
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3061
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3062
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3063
|
-
});
|
|
3064
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3065
|
-
var _a;
|
|
3066
|
-
let currentRawResponse = undefined;
|
|
3067
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3068
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3069
|
-
currentRawResponse = rawResponse;
|
|
3070
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3071
|
-
};
|
|
3072
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3073
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3074
|
-
return {
|
|
3075
|
-
flatResponse,
|
|
3076
|
-
rawResponse: {
|
|
3077
|
-
statusCode: currentRawResponse.status,
|
|
3078
|
-
body: currentRawResponse.parsedBody,
|
|
3079
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3080
|
-
},
|
|
3081
|
-
};
|
|
3082
|
-
});
|
|
3083
|
-
const lro = createLroSpec({
|
|
3084
|
-
sendOperationFn,
|
|
3085
|
-
args: {
|
|
3086
|
-
subscriptionId,
|
|
3087
|
-
resourceGroupName,
|
|
3088
|
-
location,
|
|
3089
|
-
connectorName,
|
|
3090
|
-
options,
|
|
3091
|
-
},
|
|
3092
|
-
spec: validateOperationSpec$1,
|
|
3093
|
-
});
|
|
3094
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3095
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3096
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3097
|
-
resourceLocationConfig: "location",
|
|
3098
|
-
});
|
|
3099
|
-
yield poller.poll();
|
|
3100
|
-
return poller;
|
|
3101
|
-
});
|
|
3102
|
-
}
|
|
3103
|
-
/**
|
|
3104
|
-
* Validate a Connector.
|
|
3105
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3106
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3107
|
-
* @param location The name of Azure region.
|
|
3108
|
-
* @param connectorName The name of resource.
|
|
3109
|
-
* @param options The options parameters.
|
|
3110
|
-
*/
|
|
3111
|
-
beginValidateAndWait(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
3112
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3113
|
-
const poller = yield this.beginValidate(subscriptionId, resourceGroupName, location, connectorName, options);
|
|
3114
|
-
return poller.pollUntilDone();
|
|
3115
|
-
});
|
|
3116
|
-
}
|
|
3117
|
-
/**
|
|
3118
|
-
* Generate configurations for a Connector.
|
|
3119
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3120
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3121
|
-
* @param location The name of Azure region.
|
|
3122
|
-
* @param connectorName The name of resource.
|
|
3123
|
-
* @param options The options parameters.
|
|
3124
|
-
*/
|
|
3125
|
-
generateConfigurations(subscriptionId, resourceGroupName, location, connectorName, options) {
|
|
3126
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, connectorName, options }, generateConfigurationsOperationSpec$1);
|
|
3127
|
-
}
|
|
3128
|
-
/**
|
|
3129
|
-
* ListDryrunNext
|
|
3130
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3131
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3132
|
-
* @param location The name of Azure region.
|
|
3133
|
-
* @param nextLink The nextLink from the previous successful call to the ListDryrun method.
|
|
3134
|
-
* @param options The options parameters.
|
|
3135
|
-
*/
|
|
3136
|
-
_listDryrunNext(subscriptionId, resourceGroupName, location, nextLink, options) {
|
|
3137
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, nextLink, options }, listDryrunNextOperationSpec$1);
|
|
3138
|
-
}
|
|
3139
|
-
/**
|
|
3140
|
-
* ListNext
|
|
3141
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3142
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3143
|
-
* @param location The name of Azure region.
|
|
3144
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3145
|
-
* @param options The options parameters.
|
|
3146
|
-
*/
|
|
3147
|
-
_listNext(subscriptionId, resourceGroupName, location, nextLink, options) {
|
|
3148
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, location, nextLink, options }, listNextOperationSpec$3);
|
|
3149
|
-
}
|
|
3150
|
-
}
|
|
3151
|
-
// Operation Specifications
|
|
3152
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3153
|
-
const listDryrunOperationSpec$1 = {
|
|
3154
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns",
|
|
3155
|
-
httpMethod: "GET",
|
|
3156
|
-
responses: {
|
|
3157
|
-
200: {
|
|
3158
|
-
bodyMapper: DryrunList,
|
|
3159
|
-
},
|
|
3160
|
-
default: {
|
|
3161
|
-
bodyMapper: ErrorResponse,
|
|
3162
|
-
},
|
|
3163
|
-
},
|
|
3164
|
-
queryParameters: [apiVersion],
|
|
3165
|
-
urlParameters: [
|
|
3166
|
-
$host,
|
|
3167
|
-
subscriptionId,
|
|
3168
|
-
resourceGroupName,
|
|
3169
|
-
location,
|
|
3170
|
-
],
|
|
3171
|
-
headerParameters: [accept],
|
|
3172
|
-
serializer: serializer$4,
|
|
3173
|
-
};
|
|
3174
|
-
const getDryrunOperationSpec$1 = {
|
|
3175
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
|
|
3176
|
-
httpMethod: "GET",
|
|
3177
|
-
responses: {
|
|
3178
|
-
200: {
|
|
3179
|
-
bodyMapper: DryrunResource,
|
|
3180
|
-
},
|
|
3181
|
-
default: {
|
|
3182
|
-
bodyMapper: ErrorResponse,
|
|
3183
|
-
},
|
|
3184
|
-
},
|
|
3185
|
-
queryParameters: [apiVersion],
|
|
3186
|
-
urlParameters: [
|
|
3187
|
-
$host,
|
|
3188
|
-
subscriptionId,
|
|
3189
|
-
resourceGroupName,
|
|
3190
|
-
location,
|
|
3191
|
-
dryrunName,
|
|
3192
|
-
],
|
|
3193
|
-
headerParameters: [accept],
|
|
3194
|
-
serializer: serializer$4,
|
|
3195
|
-
};
|
|
3196
|
-
const createDryrunOperationSpec$1 = {
|
|
3197
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
|
|
3198
|
-
httpMethod: "PUT",
|
|
3199
|
-
responses: {
|
|
3200
|
-
200: {
|
|
3201
|
-
bodyMapper: DryrunResource,
|
|
3202
|
-
},
|
|
3203
|
-
201: {
|
|
3204
|
-
bodyMapper: DryrunResource,
|
|
3205
|
-
},
|
|
3206
|
-
202: {
|
|
3207
|
-
bodyMapper: DryrunResource,
|
|
3208
|
-
},
|
|
3209
|
-
204: {
|
|
3210
|
-
bodyMapper: DryrunResource,
|
|
3211
|
-
},
|
|
3212
|
-
default: {
|
|
3213
|
-
bodyMapper: ErrorResponse,
|
|
3214
|
-
},
|
|
3215
|
-
},
|
|
3216
|
-
requestBody: parameters,
|
|
3217
|
-
queryParameters: [apiVersion],
|
|
3218
|
-
urlParameters: [
|
|
3219
|
-
$host,
|
|
3220
|
-
subscriptionId,
|
|
3221
|
-
resourceGroupName,
|
|
3222
|
-
location,
|
|
3223
|
-
dryrunName,
|
|
3224
|
-
],
|
|
3225
|
-
headerParameters: [accept, contentType],
|
|
3226
|
-
mediaType: "json",
|
|
3227
|
-
serializer: serializer$4,
|
|
3228
|
-
};
|
|
3229
|
-
const updateDryrunOperationSpec$1 = {
|
|
3230
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
|
|
3231
|
-
httpMethod: "PATCH",
|
|
3232
|
-
responses: {
|
|
3233
|
-
200: {
|
|
3234
|
-
bodyMapper: DryrunResource,
|
|
3235
|
-
},
|
|
3236
|
-
201: {
|
|
3237
|
-
bodyMapper: DryrunResource,
|
|
3238
|
-
},
|
|
3239
|
-
202: {
|
|
3240
|
-
bodyMapper: DryrunResource,
|
|
3241
|
-
},
|
|
3242
|
-
204: {
|
|
3243
|
-
bodyMapper: DryrunResource,
|
|
3244
|
-
},
|
|
3245
|
-
default: {
|
|
3246
|
-
bodyMapper: ErrorResponse,
|
|
3247
|
-
},
|
|
3248
|
-
},
|
|
3249
|
-
requestBody: parameters1,
|
|
3250
|
-
queryParameters: [apiVersion],
|
|
3251
|
-
urlParameters: [
|
|
3252
|
-
$host,
|
|
3253
|
-
subscriptionId,
|
|
3254
|
-
resourceGroupName,
|
|
3255
|
-
location,
|
|
3256
|
-
dryrunName,
|
|
3257
|
-
],
|
|
3258
|
-
headerParameters: [accept, contentType],
|
|
3259
|
-
mediaType: "json",
|
|
3260
|
-
serializer: serializer$4,
|
|
3261
|
-
};
|
|
3262
|
-
const deleteDryrunOperationSpec$1 = {
|
|
3263
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
|
|
3264
|
-
httpMethod: "DELETE",
|
|
3265
|
-
responses: {
|
|
3266
|
-
200: {},
|
|
3267
|
-
204: {},
|
|
3268
|
-
default: {
|
|
3269
|
-
bodyMapper: ErrorResponse,
|
|
3270
|
-
},
|
|
3271
|
-
},
|
|
3272
|
-
queryParameters: [apiVersion],
|
|
3273
|
-
urlParameters: [
|
|
3274
|
-
$host,
|
|
3275
|
-
subscriptionId,
|
|
3276
|
-
resourceGroupName,
|
|
3277
|
-
location,
|
|
3278
|
-
dryrunName,
|
|
3279
|
-
],
|
|
3280
|
-
headerParameters: [accept],
|
|
3281
|
-
serializer: serializer$4,
|
|
3282
|
-
};
|
|
3283
|
-
const listOperationSpec$3 = {
|
|
3284
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors",
|
|
3285
|
-
httpMethod: "GET",
|
|
3286
|
-
responses: {
|
|
3287
|
-
200: {
|
|
3288
|
-
bodyMapper: ResourceList,
|
|
3289
|
-
},
|
|
3290
|
-
default: {
|
|
3291
|
-
bodyMapper: ErrorResponse,
|
|
3292
|
-
},
|
|
3293
|
-
},
|
|
3294
|
-
queryParameters: [apiVersion],
|
|
3295
|
-
urlParameters: [
|
|
3296
|
-
$host,
|
|
3297
|
-
subscriptionId,
|
|
3298
|
-
resourceGroupName,
|
|
3299
|
-
location,
|
|
3300
|
-
],
|
|
3301
|
-
headerParameters: [accept],
|
|
3302
|
-
serializer: serializer$4,
|
|
3303
|
-
};
|
|
3304
|
-
const getOperationSpec$1 = {
|
|
3305
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
|
|
3306
|
-
httpMethod: "GET",
|
|
3307
|
-
responses: {
|
|
3308
|
-
200: {
|
|
3309
|
-
bodyMapper: LinkerResource,
|
|
3310
|
-
},
|
|
3311
|
-
default: {
|
|
3312
|
-
bodyMapper: ErrorResponse,
|
|
3313
|
-
},
|
|
3314
|
-
},
|
|
3315
|
-
queryParameters: [apiVersion],
|
|
3316
|
-
urlParameters: [
|
|
3317
|
-
$host,
|
|
3318
|
-
subscriptionId,
|
|
3319
|
-
resourceGroupName,
|
|
3320
|
-
location,
|
|
3321
|
-
connectorName,
|
|
3322
|
-
],
|
|
3323
|
-
headerParameters: [accept],
|
|
3324
|
-
serializer: serializer$4,
|
|
3325
|
-
};
|
|
3326
|
-
const createOrUpdateOperationSpec$1 = {
|
|
3327
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
|
|
3328
|
-
httpMethod: "PUT",
|
|
3329
|
-
responses: {
|
|
3330
|
-
200: {
|
|
3331
|
-
bodyMapper: LinkerResource,
|
|
3332
|
-
},
|
|
3333
|
-
201: {
|
|
3334
|
-
bodyMapper: LinkerResource,
|
|
3335
|
-
},
|
|
3336
|
-
202: {
|
|
3337
|
-
bodyMapper: LinkerResource,
|
|
3338
|
-
},
|
|
3339
|
-
204: {
|
|
3340
|
-
bodyMapper: LinkerResource,
|
|
3341
|
-
},
|
|
3342
|
-
default: {
|
|
3343
|
-
bodyMapper: ErrorResponse,
|
|
3344
|
-
},
|
|
3345
|
-
},
|
|
3346
|
-
requestBody: parameters2,
|
|
3347
|
-
queryParameters: [apiVersion],
|
|
3348
|
-
urlParameters: [
|
|
3349
|
-
$host,
|
|
3350
|
-
subscriptionId,
|
|
3351
|
-
resourceGroupName,
|
|
3352
|
-
location,
|
|
3353
|
-
connectorName,
|
|
3354
|
-
],
|
|
3355
|
-
headerParameters: [accept, contentType],
|
|
3356
|
-
mediaType: "json",
|
|
3357
|
-
serializer: serializer$4,
|
|
3358
|
-
};
|
|
3359
|
-
const deleteOperationSpec$1 = {
|
|
3360
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
|
|
3361
|
-
httpMethod: "DELETE",
|
|
3362
|
-
responses: {
|
|
3363
|
-
200: {},
|
|
3364
|
-
201: {},
|
|
3365
|
-
202: {},
|
|
3366
|
-
204: {},
|
|
3367
|
-
default: {
|
|
3368
|
-
bodyMapper: ErrorResponse,
|
|
3369
|
-
},
|
|
3370
|
-
},
|
|
3371
|
-
queryParameters: [apiVersion],
|
|
3372
|
-
urlParameters: [
|
|
3373
|
-
$host,
|
|
3374
|
-
subscriptionId,
|
|
3375
|
-
resourceGroupName,
|
|
3376
|
-
location,
|
|
3377
|
-
connectorName,
|
|
3378
|
-
],
|
|
3379
|
-
headerParameters: [accept],
|
|
3380
|
-
serializer: serializer$4,
|
|
3381
|
-
};
|
|
3382
|
-
const updateOperationSpec$1 = {
|
|
3383
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
|
|
3384
|
-
httpMethod: "PATCH",
|
|
3385
|
-
responses: {
|
|
3386
|
-
200: {
|
|
3387
|
-
bodyMapper: LinkerResource,
|
|
3388
|
-
},
|
|
3389
|
-
201: {
|
|
3390
|
-
bodyMapper: LinkerResource,
|
|
3391
|
-
},
|
|
3392
|
-
202: {
|
|
3393
|
-
bodyMapper: LinkerResource,
|
|
3394
|
-
},
|
|
3395
|
-
204: {
|
|
3396
|
-
bodyMapper: LinkerResource,
|
|
3397
|
-
},
|
|
3398
|
-
default: {
|
|
3399
|
-
bodyMapper: ErrorResponse,
|
|
3400
|
-
},
|
|
3401
|
-
},
|
|
3402
|
-
requestBody: parameters3,
|
|
3403
|
-
queryParameters: [apiVersion],
|
|
3404
|
-
urlParameters: [
|
|
3405
|
-
$host,
|
|
3406
|
-
subscriptionId,
|
|
3407
|
-
resourceGroupName,
|
|
3408
|
-
location,
|
|
3409
|
-
connectorName,
|
|
3410
|
-
],
|
|
3411
|
-
headerParameters: [accept, contentType],
|
|
3412
|
-
mediaType: "json",
|
|
3413
|
-
serializer: serializer$4,
|
|
3414
|
-
};
|
|
3415
|
-
const validateOperationSpec$1 = {
|
|
3416
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate",
|
|
3417
|
-
httpMethod: "POST",
|
|
3418
|
-
responses: {
|
|
3419
|
-
200: {
|
|
3420
|
-
bodyMapper: ValidateOperationResult,
|
|
3421
|
-
},
|
|
3422
|
-
201: {
|
|
3423
|
-
bodyMapper: ValidateOperationResult,
|
|
3424
|
-
},
|
|
3425
|
-
202: {
|
|
3426
|
-
bodyMapper: ValidateOperationResult,
|
|
3427
|
-
},
|
|
3428
|
-
204: {
|
|
3429
|
-
bodyMapper: ValidateOperationResult,
|
|
3430
|
-
},
|
|
3431
|
-
default: {
|
|
3432
|
-
bodyMapper: ErrorResponse,
|
|
3433
|
-
},
|
|
3434
|
-
},
|
|
3435
|
-
queryParameters: [apiVersion],
|
|
3436
|
-
urlParameters: [
|
|
3437
|
-
$host,
|
|
3438
|
-
subscriptionId,
|
|
3439
|
-
resourceGroupName,
|
|
3440
|
-
location,
|
|
3441
|
-
connectorName,
|
|
3442
|
-
],
|
|
3443
|
-
headerParameters: [accept],
|
|
3444
|
-
serializer: serializer$4,
|
|
3445
|
-
};
|
|
3446
|
-
const generateConfigurationsOperationSpec$1 = {
|
|
3447
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations",
|
|
3448
|
-
httpMethod: "POST",
|
|
3449
|
-
responses: {
|
|
3450
|
-
200: {
|
|
3451
|
-
bodyMapper: ConfigurationResult,
|
|
3452
|
-
},
|
|
3453
|
-
default: {
|
|
3454
|
-
bodyMapper: ErrorResponse,
|
|
3455
|
-
},
|
|
3456
|
-
},
|
|
3457
|
-
requestBody: parameters4,
|
|
3458
|
-
queryParameters: [apiVersion],
|
|
3459
|
-
urlParameters: [
|
|
3460
|
-
$host,
|
|
3461
|
-
subscriptionId,
|
|
3462
|
-
resourceGroupName,
|
|
3463
|
-
location,
|
|
3464
|
-
connectorName,
|
|
3465
|
-
],
|
|
3466
|
-
headerParameters: [accept, contentType],
|
|
3467
|
-
mediaType: "json",
|
|
3468
|
-
serializer: serializer$4,
|
|
3469
|
-
};
|
|
3470
|
-
const listDryrunNextOperationSpec$1 = {
|
|
3471
|
-
path: "{nextLink}",
|
|
3472
|
-
httpMethod: "GET",
|
|
3473
|
-
responses: {
|
|
3474
|
-
200: {
|
|
3475
|
-
bodyMapper: DryrunList,
|
|
3476
|
-
},
|
|
3477
|
-
default: {
|
|
3478
|
-
bodyMapper: ErrorResponse,
|
|
3479
|
-
},
|
|
3480
|
-
},
|
|
3481
|
-
urlParameters: [
|
|
3482
|
-
$host,
|
|
3483
|
-
subscriptionId,
|
|
3484
|
-
resourceGroupName,
|
|
3485
|
-
location,
|
|
3486
|
-
nextLink,
|
|
3487
|
-
],
|
|
3488
|
-
headerParameters: [accept],
|
|
3489
|
-
serializer: serializer$4,
|
|
3490
|
-
};
|
|
3491
|
-
const listNextOperationSpec$3 = {
|
|
3492
|
-
path: "{nextLink}",
|
|
3493
|
-
httpMethod: "GET",
|
|
3494
|
-
responses: {
|
|
3495
|
-
200: {
|
|
3496
|
-
bodyMapper: ResourceList,
|
|
3497
|
-
},
|
|
3498
|
-
default: {
|
|
3499
|
-
bodyMapper: ErrorResponse,
|
|
3500
|
-
},
|
|
3501
|
-
},
|
|
3502
|
-
urlParameters: [
|
|
3503
|
-
$host,
|
|
3504
|
-
subscriptionId,
|
|
3505
|
-
resourceGroupName,
|
|
3506
|
-
location,
|
|
3507
|
-
nextLink,
|
|
3508
|
-
],
|
|
3509
|
-
headerParameters: [accept],
|
|
3510
|
-
serializer: serializer$4,
|
|
3511
|
-
};
|
|
3512
|
-
|
|
3513
|
-
/*
|
|
3514
|
-
* Copyright (c) Microsoft Corporation.
|
|
3515
|
-
* Licensed under the MIT License.
|
|
3516
|
-
*
|
|
3517
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3518
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3519
|
-
*/
|
|
3520
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3521
|
-
/** Class containing Linker operations. */
|
|
3522
|
-
class LinkerImpl {
|
|
3523
|
-
/**
|
|
3524
|
-
* Initialize a new instance of the class Linker class.
|
|
3525
|
-
* @param client Reference to the service client
|
|
3526
|
-
*/
|
|
3527
|
-
constructor(client) {
|
|
3528
|
-
this.client = client;
|
|
3529
|
-
}
|
|
3530
|
-
/**
|
|
3531
|
-
* Returns list of Linkers which connects to the resource. which supports to config both application
|
|
3532
|
-
* and target service during the resource provision.
|
|
3533
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3534
|
-
* connected.
|
|
3535
|
-
* @param options The options parameters.
|
|
3536
|
-
*/
|
|
3537
|
-
list(resourceUri, options) {
|
|
3538
|
-
const iter = this.listPagingAll(resourceUri, options);
|
|
3539
|
-
return {
|
|
3540
|
-
next() {
|
|
3541
|
-
return iter.next();
|
|
3542
|
-
},
|
|
3543
|
-
[Symbol.asyncIterator]() {
|
|
3544
|
-
return this;
|
|
3545
|
-
},
|
|
3546
|
-
byPage: (settings) => {
|
|
3547
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3548
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3549
|
-
}
|
|
3550
|
-
return this.listPagingPage(resourceUri, options, settings);
|
|
3551
|
-
},
|
|
3552
|
-
};
|
|
3553
|
-
}
|
|
3554
|
-
listPagingPage(resourceUri, options, settings) {
|
|
3555
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3556
|
-
let result;
|
|
3557
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3558
|
-
if (!continuationToken) {
|
|
3559
|
-
result = yield tslib.__await(this._list(resourceUri, options));
|
|
3560
|
-
let page = result.value || [];
|
|
3561
|
-
continuationToken = result.nextLink;
|
|
3562
|
-
setContinuationToken(page, continuationToken);
|
|
3563
|
-
yield yield tslib.__await(page);
|
|
3564
|
-
}
|
|
3565
|
-
while (continuationToken) {
|
|
3566
|
-
result = yield tslib.__await(this._listNext(resourceUri, continuationToken, options));
|
|
3567
|
-
continuationToken = result.nextLink;
|
|
3568
|
-
let page = result.value || [];
|
|
3569
|
-
setContinuationToken(page, continuationToken);
|
|
3570
|
-
yield yield tslib.__await(page);
|
|
3571
|
-
}
|
|
3572
|
-
});
|
|
3573
|
-
}
|
|
3574
|
-
listPagingAll(resourceUri, options) {
|
|
3575
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3576
|
-
var _a, e_1, _b, _c;
|
|
3577
|
-
try {
|
|
3578
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3579
|
-
_c = _f.value;
|
|
3580
|
-
_d = false;
|
|
3581
|
-
const page = _c;
|
|
3582
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3583
|
-
}
|
|
3584
|
-
}
|
|
3585
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3586
|
-
finally {
|
|
3587
|
-
try {
|
|
3588
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3589
|
-
}
|
|
3590
|
-
finally { if (e_1) throw e_1.error; }
|
|
3591
|
-
}
|
|
3592
|
-
});
|
|
3593
|
-
}
|
|
3594
|
-
/**
|
|
3595
|
-
* Returns list of Linkers which connects to the resource. which supports to config both application
|
|
3596
|
-
* and target service during the resource provision.
|
|
3597
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3598
|
-
* connected.
|
|
3599
|
-
* @param options The options parameters.
|
|
3600
|
-
*/
|
|
3601
|
-
_list(resourceUri, options) {
|
|
3602
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$2);
|
|
3603
|
-
}
|
|
3604
|
-
/**
|
|
3605
|
-
* Returns Linker resource for a given name.
|
|
3606
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3607
|
-
* connected.
|
|
3608
|
-
* @param linkerName The name Linker resource.
|
|
3609
|
-
* @param options The options parameters.
|
|
3610
|
-
*/
|
|
3611
|
-
get(resourceUri, linkerName, options) {
|
|
3612
|
-
return this.client.sendOperationRequest({ resourceUri, linkerName, options }, getOperationSpec);
|
|
3613
|
-
}
|
|
3614
|
-
/**
|
|
3615
|
-
* Create or update Linker resource.
|
|
3616
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3617
|
-
* connected.
|
|
3618
|
-
* @param linkerName The name Linker resource.
|
|
3619
|
-
* @param parameters Linker details.
|
|
3620
|
-
* @param options The options parameters.
|
|
3621
|
-
*/
|
|
3622
|
-
beginCreateOrUpdate(resourceUri, linkerName, parameters, options) {
|
|
3623
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3624
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3625
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3626
|
-
});
|
|
3627
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3628
|
-
var _a;
|
|
3629
|
-
let currentRawResponse = undefined;
|
|
3630
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3631
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3632
|
-
currentRawResponse = rawResponse;
|
|
3633
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3634
|
-
};
|
|
3635
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3636
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3637
|
-
return {
|
|
3638
|
-
flatResponse,
|
|
3639
|
-
rawResponse: {
|
|
3640
|
-
statusCode: currentRawResponse.status,
|
|
3641
|
-
body: currentRawResponse.parsedBody,
|
|
3642
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3643
|
-
},
|
|
3644
|
-
};
|
|
3645
|
-
});
|
|
3646
|
-
const lro = createLroSpec({
|
|
3647
|
-
sendOperationFn,
|
|
3648
|
-
args: { resourceUri, linkerName, parameters, options },
|
|
3649
|
-
spec: createOrUpdateOperationSpec,
|
|
3650
|
-
});
|
|
3651
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3652
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3653
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3654
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3655
|
-
});
|
|
3656
|
-
yield poller.poll();
|
|
3657
|
-
return poller;
|
|
3658
|
-
});
|
|
3659
|
-
}
|
|
3660
|
-
/**
|
|
3661
|
-
* Create or update Linker resource.
|
|
3662
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3663
|
-
* connected.
|
|
3664
|
-
* @param linkerName The name Linker resource.
|
|
3665
|
-
* @param parameters Linker details.
|
|
3666
|
-
* @param options The options parameters.
|
|
3667
|
-
*/
|
|
3668
|
-
beginCreateOrUpdateAndWait(resourceUri, linkerName, parameters, options) {
|
|
3669
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3670
|
-
const poller = yield this.beginCreateOrUpdate(resourceUri, linkerName, parameters, options);
|
|
3671
|
-
return poller.pollUntilDone();
|
|
3672
|
-
});
|
|
3673
|
-
}
|
|
3674
|
-
/**
|
|
3675
|
-
* Delete a Linker.
|
|
3676
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3677
|
-
* connected.
|
|
3678
|
-
* @param linkerName The name Linker resource.
|
|
3679
|
-
* @param options The options parameters.
|
|
3680
|
-
*/
|
|
3681
|
-
beginDelete(resourceUri, linkerName, options) {
|
|
3682
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3683
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3684
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3685
|
-
});
|
|
3686
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3687
|
-
var _a;
|
|
3688
|
-
let currentRawResponse = undefined;
|
|
3689
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3690
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3691
|
-
currentRawResponse = rawResponse;
|
|
3692
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3693
|
-
};
|
|
3694
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3695
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3696
|
-
return {
|
|
3697
|
-
flatResponse,
|
|
3698
|
-
rawResponse: {
|
|
3699
|
-
statusCode: currentRawResponse.status,
|
|
3700
|
-
body: currentRawResponse.parsedBody,
|
|
3701
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3702
|
-
},
|
|
3703
|
-
};
|
|
3704
|
-
});
|
|
3705
|
-
const lro = createLroSpec({
|
|
3706
|
-
sendOperationFn,
|
|
3707
|
-
args: { resourceUri, linkerName, options },
|
|
3708
|
-
spec: deleteOperationSpec,
|
|
3709
|
-
});
|
|
3710
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3711
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3712
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3713
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3714
|
-
});
|
|
3715
|
-
yield poller.poll();
|
|
3716
|
-
return poller;
|
|
3717
|
-
});
|
|
3718
|
-
}
|
|
3719
|
-
/**
|
|
3720
|
-
* Delete a Linker.
|
|
3721
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3722
|
-
* connected.
|
|
3723
|
-
* @param linkerName The name Linker resource.
|
|
3724
|
-
* @param options The options parameters.
|
|
3725
|
-
*/
|
|
3726
|
-
beginDeleteAndWait(resourceUri, linkerName, options) {
|
|
3727
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3728
|
-
const poller = yield this.beginDelete(resourceUri, linkerName, options);
|
|
3729
|
-
return poller.pollUntilDone();
|
|
3730
|
-
});
|
|
3731
|
-
}
|
|
3732
|
-
/**
|
|
3733
|
-
* Operation to update an existing Linker.
|
|
3734
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3735
|
-
* connected.
|
|
3736
|
-
* @param linkerName The name Linker resource.
|
|
3737
|
-
* @param parameters Linker details.
|
|
3738
|
-
* @param options The options parameters.
|
|
3739
|
-
*/
|
|
3740
|
-
beginUpdate(resourceUri, linkerName, parameters, options) {
|
|
3741
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3742
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3743
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3744
|
-
});
|
|
3745
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3746
|
-
var _a;
|
|
3747
|
-
let currentRawResponse = undefined;
|
|
3748
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3749
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3750
|
-
currentRawResponse = rawResponse;
|
|
3751
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3752
|
-
};
|
|
3753
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3754
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3755
|
-
return {
|
|
3756
|
-
flatResponse,
|
|
3757
|
-
rawResponse: {
|
|
3758
|
-
statusCode: currentRawResponse.status,
|
|
3759
|
-
body: currentRawResponse.parsedBody,
|
|
3760
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3761
|
-
},
|
|
3762
|
-
};
|
|
3763
|
-
});
|
|
3764
|
-
const lro = createLroSpec({
|
|
3765
|
-
sendOperationFn,
|
|
3766
|
-
args: { resourceUri, linkerName, parameters, options },
|
|
3767
|
-
spec: updateOperationSpec,
|
|
3768
|
-
});
|
|
3769
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3770
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3771
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3772
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3773
|
-
});
|
|
3774
|
-
yield poller.poll();
|
|
3775
|
-
return poller;
|
|
3776
|
-
});
|
|
3777
|
-
}
|
|
3778
|
-
/**
|
|
3779
|
-
* Operation to update an existing Linker.
|
|
3780
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3781
|
-
* connected.
|
|
3782
|
-
* @param linkerName The name Linker resource.
|
|
3783
|
-
* @param parameters Linker details.
|
|
3784
|
-
* @param options The options parameters.
|
|
3785
|
-
*/
|
|
3786
|
-
beginUpdateAndWait(resourceUri, linkerName, parameters, options) {
|
|
3787
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3788
|
-
const poller = yield this.beginUpdate(resourceUri, linkerName, parameters, options);
|
|
3789
|
-
return poller.pollUntilDone();
|
|
3790
|
-
});
|
|
3791
|
-
}
|
|
3792
|
-
/**
|
|
3793
|
-
* Validate a Linker.
|
|
3794
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3795
|
-
* connected.
|
|
3796
|
-
* @param linkerName The name Linker resource.
|
|
3797
|
-
* @param options The options parameters.
|
|
3798
|
-
*/
|
|
3799
|
-
beginValidate(resourceUri, linkerName, options) {
|
|
3800
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3801
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3802
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3803
|
-
});
|
|
3804
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3805
|
-
var _a;
|
|
3806
|
-
let currentRawResponse = undefined;
|
|
3807
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3808
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3809
|
-
currentRawResponse = rawResponse;
|
|
3810
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3811
|
-
};
|
|
3812
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3813
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3814
|
-
return {
|
|
3815
|
-
flatResponse,
|
|
3816
|
-
rawResponse: {
|
|
3817
|
-
statusCode: currentRawResponse.status,
|
|
3818
|
-
body: currentRawResponse.parsedBody,
|
|
3819
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3820
|
-
},
|
|
3821
|
-
};
|
|
3822
|
-
});
|
|
3823
|
-
const lro = createLroSpec({
|
|
3824
|
-
sendOperationFn,
|
|
3825
|
-
args: { resourceUri, linkerName, options },
|
|
3826
|
-
spec: validateOperationSpec,
|
|
3827
|
-
});
|
|
3828
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3829
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3830
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3831
|
-
resourceLocationConfig: "location",
|
|
3832
|
-
});
|
|
3833
|
-
yield poller.poll();
|
|
3834
|
-
return poller;
|
|
3835
|
-
});
|
|
3836
|
-
}
|
|
3837
|
-
/**
|
|
3838
|
-
* Validate a Linker.
|
|
3839
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3840
|
-
* connected.
|
|
3841
|
-
* @param linkerName The name Linker resource.
|
|
3842
|
-
* @param options The options parameters.
|
|
3843
|
-
*/
|
|
3844
|
-
beginValidateAndWait(resourceUri, linkerName, options) {
|
|
3845
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3846
|
-
const poller = yield this.beginValidate(resourceUri, linkerName, options);
|
|
3847
|
-
return poller.pollUntilDone();
|
|
3848
|
-
});
|
|
3849
|
-
}
|
|
3850
|
-
/**
|
|
3851
|
-
* list source configurations for a Linker.
|
|
3852
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3853
|
-
* connected.
|
|
3854
|
-
* @param linkerName The name Linker resource.
|
|
3855
|
-
* @param options The options parameters.
|
|
3856
|
-
*/
|
|
3857
|
-
listConfigurations(resourceUri, linkerName, options) {
|
|
3858
|
-
return this.client.sendOperationRequest({ resourceUri, linkerName, options }, listConfigurationsOperationSpec);
|
|
3859
|
-
}
|
|
3860
|
-
/**
|
|
3861
|
-
* ListNext
|
|
3862
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
3863
|
-
* connected.
|
|
3864
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3865
|
-
* @param options The options parameters.
|
|
3866
|
-
*/
|
|
3867
|
-
_listNext(resourceUri, nextLink, options) {
|
|
3868
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec$2);
|
|
3869
|
-
}
|
|
3870
|
-
}
|
|
3871
|
-
// Operation Specifications
|
|
3872
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3873
|
-
const listOperationSpec$2 = {
|
|
3874
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers",
|
|
3875
|
-
httpMethod: "GET",
|
|
3876
|
-
responses: {
|
|
3877
|
-
200: {
|
|
3878
|
-
bodyMapper: ResourceList,
|
|
3879
|
-
},
|
|
3880
|
-
default: {
|
|
3881
|
-
bodyMapper: ErrorResponse,
|
|
3882
|
-
},
|
|
3883
|
-
},
|
|
3884
|
-
queryParameters: [apiVersion],
|
|
3885
|
-
urlParameters: [$host, resourceUri],
|
|
3886
|
-
headerParameters: [accept],
|
|
3887
|
-
serializer: serializer$3,
|
|
3888
|
-
};
|
|
3889
|
-
const getOperationSpec = {
|
|
3890
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}",
|
|
3891
|
-
httpMethod: "GET",
|
|
3892
|
-
responses: {
|
|
3893
|
-
200: {
|
|
3894
|
-
bodyMapper: LinkerResource,
|
|
3895
|
-
},
|
|
3896
|
-
default: {
|
|
3897
|
-
bodyMapper: ErrorResponse,
|
|
3898
|
-
},
|
|
3899
|
-
},
|
|
3900
|
-
queryParameters: [apiVersion],
|
|
3901
|
-
urlParameters: [
|
|
3902
|
-
$host,
|
|
3903
|
-
resourceUri,
|
|
3904
|
-
linkerName,
|
|
3905
|
-
],
|
|
3906
|
-
headerParameters: [accept],
|
|
3907
|
-
serializer: serializer$3,
|
|
3908
|
-
};
|
|
3909
|
-
const createOrUpdateOperationSpec = {
|
|
3910
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}",
|
|
3911
|
-
httpMethod: "PUT",
|
|
3912
|
-
responses: {
|
|
3913
|
-
200: {
|
|
3914
|
-
bodyMapper: LinkerResource,
|
|
3915
|
-
},
|
|
3916
|
-
201: {
|
|
3917
|
-
bodyMapper: LinkerResource,
|
|
3918
|
-
},
|
|
3919
|
-
202: {
|
|
3920
|
-
bodyMapper: LinkerResource,
|
|
3921
|
-
},
|
|
3922
|
-
204: {
|
|
3923
|
-
bodyMapper: LinkerResource,
|
|
3924
|
-
},
|
|
3925
|
-
default: {
|
|
3926
|
-
bodyMapper: ErrorResponse,
|
|
3927
|
-
},
|
|
3928
|
-
},
|
|
3929
|
-
requestBody: parameters2,
|
|
3930
|
-
queryParameters: [apiVersion],
|
|
3931
|
-
urlParameters: [
|
|
3932
|
-
$host,
|
|
3933
|
-
resourceUri,
|
|
3934
|
-
linkerName,
|
|
3935
|
-
],
|
|
3936
|
-
headerParameters: [accept, contentType],
|
|
3937
|
-
mediaType: "json",
|
|
3938
|
-
serializer: serializer$3,
|
|
3939
|
-
};
|
|
3940
|
-
const deleteOperationSpec = {
|
|
3941
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}",
|
|
3942
|
-
httpMethod: "DELETE",
|
|
3943
|
-
responses: {
|
|
3944
|
-
200: {},
|
|
3945
|
-
201: {},
|
|
3946
|
-
202: {},
|
|
3947
|
-
204: {},
|
|
3948
|
-
default: {
|
|
3949
|
-
bodyMapper: ErrorResponse,
|
|
3950
|
-
},
|
|
3951
|
-
},
|
|
3952
|
-
queryParameters: [apiVersion],
|
|
3953
|
-
urlParameters: [
|
|
3954
|
-
$host,
|
|
3955
|
-
resourceUri,
|
|
3956
|
-
linkerName,
|
|
3957
|
-
],
|
|
3958
|
-
headerParameters: [accept],
|
|
3959
|
-
serializer: serializer$3,
|
|
3960
|
-
};
|
|
3961
|
-
const updateOperationSpec = {
|
|
3962
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}",
|
|
3963
|
-
httpMethod: "PATCH",
|
|
3964
|
-
responses: {
|
|
3965
|
-
200: {
|
|
3966
|
-
bodyMapper: LinkerResource,
|
|
3967
|
-
},
|
|
3968
|
-
201: {
|
|
3969
|
-
bodyMapper: LinkerResource,
|
|
3970
|
-
},
|
|
3971
|
-
202: {
|
|
3972
|
-
bodyMapper: LinkerResource,
|
|
3973
|
-
},
|
|
3974
|
-
204: {
|
|
3975
|
-
bodyMapper: LinkerResource,
|
|
3976
|
-
},
|
|
3977
|
-
default: {
|
|
3978
|
-
bodyMapper: ErrorResponse,
|
|
3979
|
-
},
|
|
3980
|
-
},
|
|
3981
|
-
requestBody: parameters3,
|
|
3982
|
-
queryParameters: [apiVersion],
|
|
3983
|
-
urlParameters: [
|
|
3984
|
-
$host,
|
|
3985
|
-
resourceUri,
|
|
3986
|
-
linkerName,
|
|
3987
|
-
],
|
|
3988
|
-
headerParameters: [accept, contentType],
|
|
3989
|
-
mediaType: "json",
|
|
3990
|
-
serializer: serializer$3,
|
|
3991
|
-
};
|
|
3992
|
-
const validateOperationSpec = {
|
|
3993
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker",
|
|
3994
|
-
httpMethod: "POST",
|
|
3995
|
-
responses: {
|
|
3996
|
-
200: {
|
|
3997
|
-
bodyMapper: ValidateOperationResult,
|
|
3998
|
-
},
|
|
3999
|
-
201: {
|
|
4000
|
-
bodyMapper: ValidateOperationResult,
|
|
4001
|
-
},
|
|
4002
|
-
202: {
|
|
4003
|
-
bodyMapper: ValidateOperationResult,
|
|
4004
|
-
},
|
|
4005
|
-
204: {
|
|
4006
|
-
bodyMapper: ValidateOperationResult,
|
|
4007
|
-
},
|
|
4008
|
-
default: {
|
|
4009
|
-
bodyMapper: ErrorResponse,
|
|
4010
|
-
},
|
|
4011
|
-
},
|
|
4012
|
-
queryParameters: [apiVersion],
|
|
4013
|
-
urlParameters: [
|
|
4014
|
-
$host,
|
|
4015
|
-
resourceUri,
|
|
4016
|
-
linkerName,
|
|
4017
|
-
],
|
|
4018
|
-
headerParameters: [accept],
|
|
4019
|
-
serializer: serializer$3,
|
|
4020
|
-
};
|
|
4021
|
-
const listConfigurationsOperationSpec = {
|
|
4022
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations",
|
|
4023
|
-
httpMethod: "POST",
|
|
4024
|
-
responses: {
|
|
4025
|
-
200: {
|
|
4026
|
-
bodyMapper: ConfigurationResult,
|
|
4027
|
-
},
|
|
4028
|
-
default: {
|
|
4029
|
-
bodyMapper: ErrorResponse,
|
|
4030
|
-
},
|
|
4031
|
-
},
|
|
4032
|
-
queryParameters: [apiVersion],
|
|
4033
|
-
urlParameters: [
|
|
4034
|
-
$host,
|
|
4035
|
-
resourceUri,
|
|
4036
|
-
linkerName,
|
|
4037
|
-
],
|
|
4038
|
-
headerParameters: [accept],
|
|
4039
|
-
serializer: serializer$3,
|
|
4040
|
-
};
|
|
4041
|
-
const listNextOperationSpec$2 = {
|
|
4042
|
-
path: "{nextLink}",
|
|
4043
|
-
httpMethod: "GET",
|
|
4044
|
-
responses: {
|
|
4045
|
-
200: {
|
|
4046
|
-
bodyMapper: ResourceList,
|
|
4047
|
-
},
|
|
4048
|
-
default: {
|
|
4049
|
-
bodyMapper: ErrorResponse,
|
|
4050
|
-
},
|
|
4051
|
-
},
|
|
4052
|
-
urlParameters: [
|
|
4053
|
-
$host,
|
|
4054
|
-
nextLink,
|
|
4055
|
-
resourceUri,
|
|
4056
|
-
],
|
|
4057
|
-
headerParameters: [accept],
|
|
4058
|
-
serializer: serializer$3,
|
|
4059
|
-
};
|
|
4060
|
-
|
|
4061
|
-
/*
|
|
4062
|
-
* Copyright (c) Microsoft Corporation.
|
|
4063
|
-
* Licensed under the MIT License.
|
|
4064
|
-
*
|
|
4065
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4066
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4067
|
-
*/
|
|
4068
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4069
|
-
/** Class containing Linkers operations. */
|
|
4070
|
-
class LinkersImpl {
|
|
4071
|
-
/**
|
|
4072
|
-
* Initialize a new instance of the class Linkers class.
|
|
4073
|
-
* @param client Reference to the service client
|
|
4074
|
-
*/
|
|
4075
|
-
constructor(client) {
|
|
4076
|
-
this.client = client;
|
|
4077
|
-
}
|
|
4078
|
-
/**
|
|
4079
|
-
* list dryrun jobs
|
|
4080
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4081
|
-
* connected.
|
|
4082
|
-
* @param options The options parameters.
|
|
4083
|
-
*/
|
|
4084
|
-
listDryrun(resourceUri, options) {
|
|
4085
|
-
const iter = this.listDryrunPagingAll(resourceUri, options);
|
|
4086
|
-
return {
|
|
4087
|
-
next() {
|
|
4088
|
-
return iter.next();
|
|
4089
|
-
},
|
|
4090
|
-
[Symbol.asyncIterator]() {
|
|
4091
|
-
return this;
|
|
4092
|
-
},
|
|
4093
|
-
byPage: (settings) => {
|
|
4094
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4095
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4096
|
-
}
|
|
4097
|
-
return this.listDryrunPagingPage(resourceUri, options, settings);
|
|
4098
|
-
},
|
|
4099
|
-
};
|
|
4100
|
-
}
|
|
4101
|
-
listDryrunPagingPage(resourceUri, options, settings) {
|
|
4102
|
-
return tslib.__asyncGenerator(this, arguments, function* listDryrunPagingPage_1() {
|
|
4103
|
-
let result;
|
|
4104
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4105
|
-
if (!continuationToken) {
|
|
4106
|
-
result = yield tslib.__await(this._listDryrun(resourceUri, options));
|
|
4107
|
-
let page = result.value || [];
|
|
4108
|
-
continuationToken = result.nextLink;
|
|
4109
|
-
setContinuationToken(page, continuationToken);
|
|
4110
|
-
yield yield tslib.__await(page);
|
|
4111
|
-
}
|
|
4112
|
-
while (continuationToken) {
|
|
4113
|
-
result = yield tslib.__await(this._listDryrunNext(resourceUri, continuationToken, options));
|
|
4114
|
-
continuationToken = result.nextLink;
|
|
4115
|
-
let page = result.value || [];
|
|
4116
|
-
setContinuationToken(page, continuationToken);
|
|
4117
|
-
yield yield tslib.__await(page);
|
|
4118
|
-
}
|
|
4119
|
-
});
|
|
4120
|
-
}
|
|
4121
|
-
listDryrunPagingAll(resourceUri, options) {
|
|
4122
|
-
return tslib.__asyncGenerator(this, arguments, function* listDryrunPagingAll_1() {
|
|
4123
|
-
var _a, e_1, _b, _c;
|
|
4124
|
-
try {
|
|
4125
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listDryrunPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4126
|
-
_c = _f.value;
|
|
4127
|
-
_d = false;
|
|
4128
|
-
const page = _c;
|
|
4129
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4130
|
-
}
|
|
4131
|
-
}
|
|
4132
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4133
|
-
finally {
|
|
4134
|
-
try {
|
|
4135
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4136
|
-
}
|
|
4137
|
-
finally { if (e_1) throw e_1.error; }
|
|
4138
|
-
}
|
|
4139
|
-
});
|
|
4140
|
-
}
|
|
4141
|
-
/**
|
|
4142
|
-
* List the dapr configuration supported by Service Connector.
|
|
4143
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4144
|
-
* connected.
|
|
4145
|
-
* @param options The options parameters.
|
|
4146
|
-
*/
|
|
4147
|
-
listDaprConfigurations(resourceUri, options) {
|
|
4148
|
-
const iter = this.listDaprConfigurationsPagingAll(resourceUri, options);
|
|
4149
|
-
return {
|
|
4150
|
-
next() {
|
|
4151
|
-
return iter.next();
|
|
4152
|
-
},
|
|
4153
|
-
[Symbol.asyncIterator]() {
|
|
4154
|
-
return this;
|
|
4155
|
-
},
|
|
4156
|
-
byPage: (settings) => {
|
|
4157
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4158
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4159
|
-
}
|
|
4160
|
-
return this.listDaprConfigurationsPagingPage(resourceUri, options, settings);
|
|
4161
|
-
},
|
|
4162
|
-
};
|
|
4163
|
-
}
|
|
4164
|
-
listDaprConfigurationsPagingPage(resourceUri, options, settings) {
|
|
4165
|
-
return tslib.__asyncGenerator(this, arguments, function* listDaprConfigurationsPagingPage_1() {
|
|
4166
|
-
let result;
|
|
4167
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4168
|
-
if (!continuationToken) {
|
|
4169
|
-
result = yield tslib.__await(this._listDaprConfigurations(resourceUri, options));
|
|
4170
|
-
let page = result.value || [];
|
|
4171
|
-
continuationToken = result.nextLink;
|
|
4172
|
-
setContinuationToken(page, continuationToken);
|
|
4173
|
-
yield yield tslib.__await(page);
|
|
4174
|
-
}
|
|
4175
|
-
while (continuationToken) {
|
|
4176
|
-
result = yield tslib.__await(this._listDaprConfigurationsNext(resourceUri, continuationToken, options));
|
|
4177
|
-
continuationToken = result.nextLink;
|
|
4178
|
-
let page = result.value || [];
|
|
4179
|
-
setContinuationToken(page, continuationToken);
|
|
4180
|
-
yield yield tslib.__await(page);
|
|
4181
|
-
}
|
|
4182
|
-
});
|
|
4183
|
-
}
|
|
4184
|
-
listDaprConfigurationsPagingAll(resourceUri, options) {
|
|
4185
|
-
return tslib.__asyncGenerator(this, arguments, function* listDaprConfigurationsPagingAll_1() {
|
|
4186
|
-
var _a, e_2, _b, _c;
|
|
4187
|
-
try {
|
|
4188
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listDaprConfigurationsPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4189
|
-
_c = _f.value;
|
|
4190
|
-
_d = false;
|
|
4191
|
-
const page = _c;
|
|
4192
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4193
|
-
}
|
|
4194
|
-
}
|
|
4195
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
4196
|
-
finally {
|
|
4197
|
-
try {
|
|
4198
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4199
|
-
}
|
|
4200
|
-
finally { if (e_2) throw e_2.error; }
|
|
4201
|
-
}
|
|
4202
|
-
});
|
|
4203
|
-
}
|
|
4204
|
-
/**
|
|
4205
|
-
* list dryrun jobs
|
|
4206
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4207
|
-
* connected.
|
|
4208
|
-
* @param options The options parameters.
|
|
4209
|
-
*/
|
|
4210
|
-
_listDryrun(resourceUri, options) {
|
|
4211
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listDryrunOperationSpec);
|
|
4212
|
-
}
|
|
4213
|
-
/**
|
|
4214
|
-
* get a dryrun job
|
|
4215
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4216
|
-
* connected.
|
|
4217
|
-
* @param dryrunName The name of dryrun.
|
|
4218
|
-
* @param options The options parameters.
|
|
4219
|
-
*/
|
|
4220
|
-
getDryrun(resourceUri, dryrunName, options) {
|
|
4221
|
-
return this.client.sendOperationRequest({ resourceUri, dryrunName, options }, getDryrunOperationSpec);
|
|
4222
|
-
}
|
|
4223
|
-
/**
|
|
4224
|
-
* create a dryrun job to do necessary check before actual creation
|
|
4225
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4226
|
-
* connected.
|
|
4227
|
-
* @param dryrunName The name of dryrun.
|
|
4228
|
-
* @param parameters dryrun resource.
|
|
4229
|
-
* @param options The options parameters.
|
|
4230
|
-
*/
|
|
4231
|
-
beginCreateDryrun(resourceUri, dryrunName, parameters, options) {
|
|
4232
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4233
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4234
|
-
return this.client.sendOperationRequest(args, spec);
|
|
4235
|
-
});
|
|
4236
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4237
|
-
var _a;
|
|
4238
|
-
let currentRawResponse = undefined;
|
|
4239
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4240
|
-
const callback = (rawResponse, flatResponse) => {
|
|
4241
|
-
currentRawResponse = rawResponse;
|
|
4242
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4243
|
-
};
|
|
4244
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4245
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4246
|
-
return {
|
|
4247
|
-
flatResponse,
|
|
4248
|
-
rawResponse: {
|
|
4249
|
-
statusCode: currentRawResponse.status,
|
|
4250
|
-
body: currentRawResponse.parsedBody,
|
|
4251
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
4252
|
-
},
|
|
4253
|
-
};
|
|
4254
|
-
});
|
|
4255
|
-
const lro = createLroSpec({
|
|
4256
|
-
sendOperationFn,
|
|
4257
|
-
args: { resourceUri, dryrunName, parameters, options },
|
|
4258
|
-
spec: createDryrunOperationSpec,
|
|
4259
|
-
});
|
|
4260
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4261
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4262
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4263
|
-
resourceLocationConfig: "azure-async-operation",
|
|
4264
|
-
});
|
|
4265
|
-
yield poller.poll();
|
|
4266
|
-
return poller;
|
|
4267
|
-
});
|
|
4268
|
-
}
|
|
4269
|
-
/**
|
|
4270
|
-
* create a dryrun job to do necessary check before actual creation
|
|
4271
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4272
|
-
* connected.
|
|
4273
|
-
* @param dryrunName The name of dryrun.
|
|
4274
|
-
* @param parameters dryrun resource.
|
|
4275
|
-
* @param options The options parameters.
|
|
4276
|
-
*/
|
|
4277
|
-
beginCreateDryrunAndWait(resourceUri, dryrunName, parameters, options) {
|
|
4278
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4279
|
-
const poller = yield this.beginCreateDryrun(resourceUri, dryrunName, parameters, options);
|
|
4280
|
-
return poller.pollUntilDone();
|
|
4281
|
-
});
|
|
4282
|
-
}
|
|
4283
|
-
/**
|
|
4284
|
-
* add a dryrun job to do necessary check before actual creation
|
|
4285
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4286
|
-
* connected.
|
|
4287
|
-
* @param dryrunName The name of dryrun.
|
|
4288
|
-
* @param parameters dryrun resource.
|
|
4289
|
-
* @param options The options parameters.
|
|
4290
|
-
*/
|
|
4291
|
-
beginUpdateDryrun(resourceUri, dryrunName, parameters, options) {
|
|
4292
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4293
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4294
|
-
return this.client.sendOperationRequest(args, spec);
|
|
4295
|
-
});
|
|
4296
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4297
|
-
var _a;
|
|
4298
|
-
let currentRawResponse = undefined;
|
|
4299
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4300
|
-
const callback = (rawResponse, flatResponse) => {
|
|
4301
|
-
currentRawResponse = rawResponse;
|
|
4302
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4303
|
-
};
|
|
4304
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4305
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4306
|
-
return {
|
|
4307
|
-
flatResponse,
|
|
4308
|
-
rawResponse: {
|
|
4309
|
-
statusCode: currentRawResponse.status,
|
|
4310
|
-
body: currentRawResponse.parsedBody,
|
|
4311
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
4312
|
-
},
|
|
4313
|
-
};
|
|
4314
|
-
});
|
|
4315
|
-
const lro = createLroSpec({
|
|
4316
|
-
sendOperationFn,
|
|
4317
|
-
args: { resourceUri, dryrunName, parameters, options },
|
|
4318
|
-
spec: updateDryrunOperationSpec,
|
|
4319
|
-
});
|
|
4320
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4321
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4322
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4323
|
-
resourceLocationConfig: "azure-async-operation",
|
|
4324
|
-
});
|
|
4325
|
-
yield poller.poll();
|
|
4326
|
-
return poller;
|
|
4327
|
-
});
|
|
4328
|
-
}
|
|
4329
|
-
/**
|
|
4330
|
-
* add a dryrun job to do necessary check before actual creation
|
|
4331
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4332
|
-
* connected.
|
|
4333
|
-
* @param dryrunName The name of dryrun.
|
|
4334
|
-
* @param parameters dryrun resource.
|
|
4335
|
-
* @param options The options parameters.
|
|
4336
|
-
*/
|
|
4337
|
-
beginUpdateDryrunAndWait(resourceUri, dryrunName, parameters, options) {
|
|
4338
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4339
|
-
const poller = yield this.beginUpdateDryrun(resourceUri, dryrunName, parameters, options);
|
|
4340
|
-
return poller.pollUntilDone();
|
|
4341
|
-
});
|
|
4342
|
-
}
|
|
4343
|
-
/**
|
|
4344
|
-
* delete a dryrun job
|
|
4345
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4346
|
-
* connected.
|
|
4347
|
-
* @param dryrunName The name of dryrun.
|
|
4348
|
-
* @param options The options parameters.
|
|
4349
|
-
*/
|
|
4350
|
-
deleteDryrun(resourceUri, dryrunName, options) {
|
|
4351
|
-
return this.client.sendOperationRequest({ resourceUri, dryrunName, options }, deleteDryrunOperationSpec);
|
|
4352
|
-
}
|
|
4353
|
-
/**
|
|
4354
|
-
* Generate configurations for a Linker.
|
|
4355
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4356
|
-
* connected.
|
|
4357
|
-
* @param linkerName The name Linker resource.
|
|
4358
|
-
* @param options The options parameters.
|
|
4359
|
-
*/
|
|
4360
|
-
generateConfigurations(resourceUri, linkerName, options) {
|
|
4361
|
-
return this.client.sendOperationRequest({ resourceUri, linkerName, options }, generateConfigurationsOperationSpec);
|
|
4362
|
-
}
|
|
4363
|
-
/**
|
|
4364
|
-
* List the dapr configuration supported by Service Connector.
|
|
4365
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4366
|
-
* connected.
|
|
4367
|
-
* @param options The options parameters.
|
|
4368
|
-
*/
|
|
4369
|
-
_listDaprConfigurations(resourceUri, options) {
|
|
4370
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listDaprConfigurationsOperationSpec);
|
|
4371
|
-
}
|
|
4372
|
-
/**
|
|
4373
|
-
* ListDryrunNext
|
|
4374
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4375
|
-
* connected.
|
|
4376
|
-
* @param nextLink The nextLink from the previous successful call to the ListDryrun method.
|
|
4377
|
-
* @param options The options parameters.
|
|
4378
|
-
*/
|
|
4379
|
-
_listDryrunNext(resourceUri, nextLink, options) {
|
|
4380
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listDryrunNextOperationSpec);
|
|
4381
|
-
}
|
|
4382
|
-
/**
|
|
4383
|
-
* ListDaprConfigurationsNext
|
|
4384
|
-
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
|
|
4385
|
-
* connected.
|
|
4386
|
-
* @param nextLink The nextLink from the previous successful call to the ListDaprConfigurations method.
|
|
4387
|
-
* @param options The options parameters.
|
|
4388
|
-
*/
|
|
4389
|
-
_listDaprConfigurationsNext(resourceUri, nextLink, options) {
|
|
4390
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listDaprConfigurationsNextOperationSpec);
|
|
4391
|
-
}
|
|
4392
|
-
}
|
|
4393
|
-
// Operation Specifications
|
|
4394
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4395
|
-
const listDryrunOperationSpec = {
|
|
4396
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns",
|
|
4397
|
-
httpMethod: "GET",
|
|
4398
|
-
responses: {
|
|
4399
|
-
200: {
|
|
4400
|
-
bodyMapper: DryrunList,
|
|
4401
|
-
},
|
|
4402
|
-
default: {
|
|
4403
|
-
bodyMapper: ErrorResponse,
|
|
4404
|
-
},
|
|
4405
|
-
},
|
|
4406
|
-
queryParameters: [apiVersion],
|
|
4407
|
-
urlParameters: [$host, resourceUri],
|
|
4408
|
-
headerParameters: [accept],
|
|
4409
|
-
serializer: serializer$2,
|
|
4410
|
-
};
|
|
4411
|
-
const getDryrunOperationSpec = {
|
|
4412
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}",
|
|
4413
|
-
httpMethod: "GET",
|
|
4414
|
-
responses: {
|
|
4415
|
-
200: {
|
|
4416
|
-
bodyMapper: DryrunResource,
|
|
4417
|
-
},
|
|
4418
|
-
default: {
|
|
4419
|
-
bodyMapper: ErrorResponse,
|
|
4420
|
-
},
|
|
4421
|
-
},
|
|
4422
|
-
queryParameters: [apiVersion],
|
|
4423
|
-
urlParameters: [
|
|
4424
|
-
$host,
|
|
4425
|
-
dryrunName,
|
|
4426
|
-
resourceUri,
|
|
4427
|
-
],
|
|
4428
|
-
headerParameters: [accept],
|
|
4429
|
-
serializer: serializer$2,
|
|
4430
|
-
};
|
|
4431
|
-
const createDryrunOperationSpec = {
|
|
4432
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}",
|
|
4433
|
-
httpMethod: "PUT",
|
|
4434
|
-
responses: {
|
|
4435
|
-
200: {
|
|
4436
|
-
bodyMapper: DryrunResource,
|
|
4437
|
-
},
|
|
4438
|
-
201: {
|
|
4439
|
-
bodyMapper: DryrunResource,
|
|
4440
|
-
},
|
|
4441
|
-
202: {
|
|
4442
|
-
bodyMapper: DryrunResource,
|
|
4443
|
-
},
|
|
4444
|
-
204: {
|
|
4445
|
-
bodyMapper: DryrunResource,
|
|
4446
|
-
},
|
|
4447
|
-
default: {
|
|
4448
|
-
bodyMapper: ErrorResponse,
|
|
4449
|
-
},
|
|
4450
|
-
},
|
|
4451
|
-
requestBody: parameters,
|
|
4452
|
-
queryParameters: [apiVersion],
|
|
4453
|
-
urlParameters: [
|
|
4454
|
-
$host,
|
|
4455
|
-
dryrunName,
|
|
4456
|
-
resourceUri,
|
|
4457
|
-
],
|
|
4458
|
-
headerParameters: [accept, contentType],
|
|
4459
|
-
mediaType: "json",
|
|
4460
|
-
serializer: serializer$2,
|
|
4461
|
-
};
|
|
4462
|
-
const updateDryrunOperationSpec = {
|
|
4463
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}",
|
|
4464
|
-
httpMethod: "PATCH",
|
|
4465
|
-
responses: {
|
|
4466
|
-
200: {
|
|
4467
|
-
bodyMapper: DryrunResource,
|
|
4468
|
-
},
|
|
4469
|
-
201: {
|
|
4470
|
-
bodyMapper: DryrunResource,
|
|
4471
|
-
},
|
|
4472
|
-
202: {
|
|
4473
|
-
bodyMapper: DryrunResource,
|
|
4474
|
-
},
|
|
4475
|
-
204: {
|
|
4476
|
-
bodyMapper: DryrunResource,
|
|
4477
|
-
},
|
|
4478
|
-
default: {
|
|
4479
|
-
bodyMapper: ErrorResponse,
|
|
4480
|
-
},
|
|
4481
|
-
},
|
|
4482
|
-
requestBody: parameters1,
|
|
4483
|
-
queryParameters: [apiVersion],
|
|
4484
|
-
urlParameters: [
|
|
4485
|
-
$host,
|
|
4486
|
-
dryrunName,
|
|
4487
|
-
resourceUri,
|
|
4488
|
-
],
|
|
4489
|
-
headerParameters: [accept, contentType],
|
|
4490
|
-
mediaType: "json",
|
|
4491
|
-
serializer: serializer$2,
|
|
4492
|
-
};
|
|
4493
|
-
const deleteDryrunOperationSpec = {
|
|
4494
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}",
|
|
4495
|
-
httpMethod: "DELETE",
|
|
4496
|
-
responses: {
|
|
4497
|
-
200: {},
|
|
4498
|
-
204: {},
|
|
4499
|
-
default: {
|
|
4500
|
-
bodyMapper: ErrorResponse,
|
|
4501
|
-
},
|
|
4502
|
-
},
|
|
4503
|
-
queryParameters: [apiVersion],
|
|
4504
|
-
urlParameters: [
|
|
4505
|
-
$host,
|
|
4506
|
-
dryrunName,
|
|
4507
|
-
resourceUri,
|
|
4508
|
-
],
|
|
4509
|
-
headerParameters: [accept],
|
|
4510
|
-
serializer: serializer$2,
|
|
4511
|
-
};
|
|
4512
|
-
const generateConfigurationsOperationSpec = {
|
|
4513
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/generateConfigurations",
|
|
4514
|
-
httpMethod: "POST",
|
|
4515
|
-
responses: {
|
|
4516
|
-
200: {
|
|
4517
|
-
bodyMapper: ConfigurationResult,
|
|
4518
|
-
},
|
|
4519
|
-
default: {
|
|
4520
|
-
bodyMapper: ErrorResponse,
|
|
4521
|
-
},
|
|
4522
|
-
},
|
|
4523
|
-
requestBody: parameters4,
|
|
4524
|
-
queryParameters: [apiVersion],
|
|
4525
|
-
urlParameters: [
|
|
4526
|
-
$host,
|
|
4527
|
-
resourceUri,
|
|
4528
|
-
linkerName,
|
|
4529
|
-
],
|
|
4530
|
-
headerParameters: [accept, contentType],
|
|
4531
|
-
mediaType: "json",
|
|
4532
|
-
serializer: serializer$2,
|
|
4533
|
-
};
|
|
4534
|
-
const listDaprConfigurationsOperationSpec = {
|
|
4535
|
-
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/daprConfigurations",
|
|
4536
|
-
httpMethod: "GET",
|
|
4537
|
-
responses: {
|
|
4538
|
-
200: {
|
|
4539
|
-
bodyMapper: DaprConfigurationList,
|
|
4540
|
-
},
|
|
4541
|
-
default: {
|
|
4542
|
-
bodyMapper: ErrorResponse,
|
|
4543
|
-
},
|
|
4544
|
-
},
|
|
4545
|
-
queryParameters: [apiVersion],
|
|
4546
|
-
urlParameters: [$host, resourceUri],
|
|
4547
|
-
headerParameters: [accept],
|
|
4548
|
-
serializer: serializer$2,
|
|
4549
|
-
};
|
|
4550
|
-
const listDryrunNextOperationSpec = {
|
|
4551
|
-
path: "{nextLink}",
|
|
4552
|
-
httpMethod: "GET",
|
|
4553
|
-
responses: {
|
|
4554
|
-
200: {
|
|
4555
|
-
bodyMapper: DryrunList,
|
|
4556
|
-
},
|
|
4557
|
-
default: {
|
|
4558
|
-
bodyMapper: ErrorResponse,
|
|
4559
|
-
},
|
|
4560
|
-
},
|
|
4561
|
-
urlParameters: [
|
|
4562
|
-
$host,
|
|
4563
|
-
nextLink,
|
|
4564
|
-
resourceUri,
|
|
4565
|
-
],
|
|
4566
|
-
headerParameters: [accept],
|
|
4567
|
-
serializer: serializer$2,
|
|
4568
|
-
};
|
|
4569
|
-
const listDaprConfigurationsNextOperationSpec = {
|
|
4570
|
-
path: "{nextLink}",
|
|
4571
|
-
httpMethod: "GET",
|
|
4572
|
-
responses: {
|
|
4573
|
-
200: {
|
|
4574
|
-
bodyMapper: DaprConfigurationList,
|
|
4575
|
-
},
|
|
4576
|
-
default: {
|
|
4577
|
-
bodyMapper: ErrorResponse,
|
|
4578
|
-
},
|
|
4579
|
-
},
|
|
4580
|
-
urlParameters: [
|
|
4581
|
-
$host,
|
|
4582
|
-
nextLink,
|
|
4583
|
-
resourceUri,
|
|
4584
|
-
],
|
|
4585
|
-
headerParameters: [accept],
|
|
4586
|
-
serializer: serializer$2,
|
|
4587
|
-
};
|
|
4588
|
-
|
|
4589
|
-
/*
|
|
4590
|
-
* Copyright (c) Microsoft Corporation.
|
|
4591
|
-
* Licensed under the MIT License.
|
|
4592
|
-
*
|
|
4593
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4594
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4595
|
-
*/
|
|
4596
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4597
|
-
/** Class containing Operations operations. */
|
|
4598
|
-
class OperationsImpl {
|
|
4599
|
-
/**
|
|
4600
|
-
* Initialize a new instance of the class Operations class.
|
|
4601
|
-
* @param client Reference to the service client
|
|
4602
|
-
*/
|
|
4603
|
-
constructor(client) {
|
|
4604
|
-
this.client = client;
|
|
4605
|
-
}
|
|
4606
|
-
/**
|
|
4607
|
-
* Lists the available ServiceLinker REST API operations.
|
|
4608
|
-
* @param options The options parameters.
|
|
4609
|
-
*/
|
|
4610
|
-
list(options) {
|
|
4611
|
-
const iter = this.listPagingAll(options);
|
|
4612
|
-
return {
|
|
4613
|
-
next() {
|
|
4614
|
-
return iter.next();
|
|
4615
|
-
},
|
|
4616
|
-
[Symbol.asyncIterator]() {
|
|
4617
|
-
return this;
|
|
4618
|
-
},
|
|
4619
|
-
byPage: (settings) => {
|
|
4620
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4621
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4622
|
-
}
|
|
4623
|
-
return this.listPagingPage(options, settings);
|
|
4624
|
-
},
|
|
4625
|
-
};
|
|
4626
|
-
}
|
|
4627
|
-
listPagingPage(options, settings) {
|
|
4628
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4629
|
-
let result;
|
|
4630
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4631
|
-
if (!continuationToken) {
|
|
4632
|
-
result = yield tslib.__await(this._list(options));
|
|
4633
|
-
let page = result.value || [];
|
|
4634
|
-
continuationToken = result.nextLink;
|
|
4635
|
-
setContinuationToken(page, continuationToken);
|
|
4636
|
-
yield yield tslib.__await(page);
|
|
4637
|
-
}
|
|
4638
|
-
while (continuationToken) {
|
|
4639
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
4640
|
-
continuationToken = result.nextLink;
|
|
4641
|
-
let page = result.value || [];
|
|
4642
|
-
setContinuationToken(page, continuationToken);
|
|
4643
|
-
yield yield tslib.__await(page);
|
|
4644
|
-
}
|
|
4645
|
-
});
|
|
4646
|
-
}
|
|
4647
|
-
listPagingAll(options) {
|
|
4648
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4649
|
-
var _a, e_1, _b, _c;
|
|
4650
|
-
try {
|
|
4651
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4652
|
-
_c = _f.value;
|
|
4653
|
-
_d = false;
|
|
4654
|
-
const page = _c;
|
|
4655
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4656
|
-
}
|
|
4657
|
-
}
|
|
4658
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4659
|
-
finally {
|
|
4660
|
-
try {
|
|
4661
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4662
|
-
}
|
|
4663
|
-
finally { if (e_1) throw e_1.error; }
|
|
4664
|
-
}
|
|
4665
|
-
});
|
|
4666
|
-
}
|
|
4667
|
-
/**
|
|
4668
|
-
* Lists the available ServiceLinker REST API operations.
|
|
4669
|
-
* @param options The options parameters.
|
|
4670
|
-
*/
|
|
4671
|
-
_list(options) {
|
|
4672
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
4673
|
-
}
|
|
4674
|
-
/**
|
|
4675
|
-
* ListNext
|
|
4676
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
4677
|
-
* @param options The options parameters.
|
|
4678
|
-
*/
|
|
4679
|
-
_listNext(nextLink, options) {
|
|
4680
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
4681
|
-
}
|
|
4682
|
-
}
|
|
4683
|
-
// Operation Specifications
|
|
4684
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4685
|
-
const listOperationSpec$1 = {
|
|
4686
|
-
path: "/providers/Microsoft.ServiceLinker/operations",
|
|
4687
|
-
httpMethod: "GET",
|
|
4688
|
-
responses: {
|
|
4689
|
-
200: {
|
|
4690
|
-
bodyMapper: OperationListResult,
|
|
4691
|
-
},
|
|
4692
|
-
default: {
|
|
4693
|
-
bodyMapper: ErrorResponse,
|
|
4694
|
-
},
|
|
4695
|
-
},
|
|
4696
|
-
queryParameters: [apiVersion],
|
|
4697
|
-
urlParameters: [$host],
|
|
4698
|
-
headerParameters: [accept],
|
|
4699
|
-
serializer: serializer$1,
|
|
4700
|
-
};
|
|
4701
|
-
const listNextOperationSpec$1 = {
|
|
4702
|
-
path: "{nextLink}",
|
|
4703
|
-
httpMethod: "GET",
|
|
4704
|
-
responses: {
|
|
4705
|
-
200: {
|
|
4706
|
-
bodyMapper: OperationListResult,
|
|
4707
|
-
},
|
|
4708
|
-
default: {
|
|
4709
|
-
bodyMapper: ErrorResponse,
|
|
4710
|
-
},
|
|
4711
|
-
},
|
|
4712
|
-
urlParameters: [$host, nextLink],
|
|
4713
|
-
headerParameters: [accept],
|
|
4714
|
-
serializer: serializer$1,
|
|
4715
|
-
};
|
|
4716
|
-
|
|
4717
|
-
/*
|
|
4718
|
-
* Copyright (c) Microsoft Corporation.
|
|
4719
|
-
* Licensed under the MIT License.
|
|
4720
|
-
*
|
|
4721
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4722
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4723
|
-
*/
|
|
4724
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4725
|
-
/** Class containing ConfigurationNames operations. */
|
|
4726
|
-
class ConfigurationNamesImpl {
|
|
4727
|
-
/**
|
|
4728
|
-
* Initialize a new instance of the class ConfigurationNames class.
|
|
4729
|
-
* @param client Reference to the service client
|
|
4730
|
-
*/
|
|
4731
|
-
constructor(client) {
|
|
4732
|
-
this.client = client;
|
|
4733
|
-
}
|
|
4734
|
-
/**
|
|
4735
|
-
* Lists the configuration names generated by Service Connector for all target, client types, auth
|
|
4736
|
-
* types.
|
|
4737
|
-
* @param options The options parameters.
|
|
4738
|
-
*/
|
|
4739
|
-
list(options) {
|
|
4740
|
-
const iter = this.listPagingAll(options);
|
|
4741
|
-
return {
|
|
4742
|
-
next() {
|
|
4743
|
-
return iter.next();
|
|
4744
|
-
},
|
|
4745
|
-
[Symbol.asyncIterator]() {
|
|
4746
|
-
return this;
|
|
4747
|
-
},
|
|
4748
|
-
byPage: (settings) => {
|
|
4749
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4750
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4751
|
-
}
|
|
4752
|
-
return this.listPagingPage(options, settings);
|
|
4753
|
-
},
|
|
4754
|
-
};
|
|
4755
|
-
}
|
|
4756
|
-
listPagingPage(options, settings) {
|
|
4757
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4758
|
-
let result;
|
|
4759
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4760
|
-
if (!continuationToken) {
|
|
4761
|
-
result = yield tslib.__await(this._list(options));
|
|
4762
|
-
let page = result.value || [];
|
|
4763
|
-
continuationToken = result.nextLink;
|
|
4764
|
-
setContinuationToken(page, continuationToken);
|
|
4765
|
-
yield yield tslib.__await(page);
|
|
4766
|
-
}
|
|
4767
|
-
while (continuationToken) {
|
|
4768
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
4769
|
-
continuationToken = result.nextLink;
|
|
4770
|
-
let page = result.value || [];
|
|
4771
|
-
setContinuationToken(page, continuationToken);
|
|
4772
|
-
yield yield tslib.__await(page);
|
|
4773
|
-
}
|
|
4774
|
-
});
|
|
4775
|
-
}
|
|
4776
|
-
listPagingAll(options) {
|
|
4777
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4778
|
-
var _a, e_1, _b, _c;
|
|
4779
|
-
try {
|
|
4780
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4781
|
-
_c = _f.value;
|
|
4782
|
-
_d = false;
|
|
4783
|
-
const page = _c;
|
|
4784
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4785
|
-
}
|
|
4786
|
-
}
|
|
4787
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4788
|
-
finally {
|
|
4789
|
-
try {
|
|
4790
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4791
|
-
}
|
|
4792
|
-
finally { if (e_1) throw e_1.error; }
|
|
4793
|
-
}
|
|
4794
|
-
});
|
|
4795
|
-
}
|
|
4796
|
-
/**
|
|
4797
|
-
* Lists the configuration names generated by Service Connector for all target, client types, auth
|
|
4798
|
-
* types.
|
|
4799
|
-
* @param options The options parameters.
|
|
4800
|
-
*/
|
|
4801
|
-
_list(options) {
|
|
4802
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
4803
|
-
}
|
|
4804
|
-
/**
|
|
4805
|
-
* ListNext
|
|
4806
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
4807
|
-
* @param options The options parameters.
|
|
4808
|
-
*/
|
|
4809
|
-
_listNext(nextLink, options) {
|
|
4810
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
4811
|
-
}
|
|
4812
|
-
}
|
|
4813
|
-
// Operation Specifications
|
|
4814
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4815
|
-
const listOperationSpec = {
|
|
4816
|
-
path: "/providers/Microsoft.ServiceLinker/configurationNames",
|
|
4817
|
-
httpMethod: "GET",
|
|
4818
|
-
responses: {
|
|
4819
|
-
200: {
|
|
4820
|
-
bodyMapper: ConfigurationNameResult,
|
|
4821
|
-
},
|
|
4822
|
-
default: {
|
|
4823
|
-
bodyMapper: ErrorResponse,
|
|
4824
|
-
},
|
|
4825
|
-
},
|
|
4826
|
-
queryParameters: [
|
|
4827
|
-
apiVersion,
|
|
4828
|
-
filter,
|
|
4829
|
-
skipToken,
|
|
4830
|
-
],
|
|
4831
|
-
urlParameters: [$host],
|
|
4832
|
-
headerParameters: [accept],
|
|
4833
|
-
serializer,
|
|
4834
|
-
};
|
|
4835
|
-
const listNextOperationSpec = {
|
|
4836
|
-
path: "{nextLink}",
|
|
4837
|
-
httpMethod: "GET",
|
|
4838
|
-
responses: {
|
|
4839
|
-
200: {
|
|
4840
|
-
bodyMapper: ConfigurationNameResult,
|
|
4841
|
-
},
|
|
4842
|
-
default: {
|
|
4843
|
-
bodyMapper: ErrorResponse,
|
|
4844
|
-
},
|
|
4845
|
-
},
|
|
4846
|
-
urlParameters: [$host, nextLink],
|
|
4847
|
-
headerParameters: [accept],
|
|
4848
|
-
serializer,
|
|
4849
|
-
};
|
|
4850
|
-
|
|
4851
|
-
/*
|
|
4852
|
-
* Copyright (c) Microsoft Corporation.
|
|
4853
|
-
* Licensed under the MIT License.
|
|
4854
|
-
*
|
|
4855
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4856
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4857
|
-
*/
|
|
4858
|
-
class ServiceLinkerManagementClient extends coreClient__namespace.ServiceClient {
|
|
4859
|
-
/**
|
|
4860
|
-
* Initializes a new instance of the ServiceLinkerManagementClient class.
|
|
4861
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
4862
|
-
* @param options The parameter options
|
|
4863
|
-
*/
|
|
4864
|
-
constructor(credentials, options) {
|
|
4865
|
-
var _a, _b, _c;
|
|
4866
|
-
if (credentials === undefined) {
|
|
4867
|
-
throw new Error("'credentials' cannot be null");
|
|
4868
|
-
}
|
|
4869
|
-
// Initializing default values for options
|
|
4870
|
-
if (!options) {
|
|
4871
|
-
options = {};
|
|
4872
|
-
}
|
|
4873
|
-
const defaults = {
|
|
4874
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4875
|
-
credential: credentials,
|
|
4876
|
-
};
|
|
4877
|
-
const packageDetails = `azsdk-js-arm-servicelinker/2.2.0-beta.1`;
|
|
4878
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4879
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4880
|
-
: `${packageDetails}`;
|
|
4881
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4882
|
-
userAgentPrefix,
|
|
4883
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4884
|
-
super(optionsWithDefaults);
|
|
4885
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4886
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4887
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4888
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4889
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4890
|
-
}
|
|
4891
|
-
if (!options ||
|
|
4892
|
-
!options.pipeline ||
|
|
4893
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4894
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4895
|
-
this.pipeline.removePolicy({
|
|
4896
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4897
|
-
});
|
|
4898
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4899
|
-
credential: credentials,
|
|
4900
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4901
|
-
challengeCallbacks: {
|
|
4902
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4903
|
-
},
|
|
4904
|
-
}));
|
|
4905
|
-
}
|
|
4906
|
-
// Assigning values to Constant parameters
|
|
4907
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4908
|
-
this.apiVersion = options.apiVersion || "2024-07-01-preview";
|
|
4909
|
-
this.connector = new ConnectorImpl(this);
|
|
4910
|
-
this.linker = new LinkerImpl(this);
|
|
4911
|
-
this.linkers = new LinkersImpl(this);
|
|
4912
|
-
this.operations = new OperationsImpl(this);
|
|
4913
|
-
this.configurationNames = new ConfigurationNamesImpl(this);
|
|
4914
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4915
|
-
}
|
|
4916
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4917
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4918
|
-
if (!apiVersion) {
|
|
4919
|
-
return;
|
|
4920
|
-
}
|
|
4921
|
-
const apiVersionPolicy = {
|
|
4922
|
-
name: "CustomApiVersionPolicy",
|
|
4923
|
-
sendRequest(request, next) {
|
|
4924
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4925
|
-
const param = request.url.split("?");
|
|
4926
|
-
if (param.length > 1) {
|
|
4927
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4928
|
-
if (item.indexOf("api-version") > -1) {
|
|
4929
|
-
return "api-version=" + apiVersion;
|
|
4930
|
-
}
|
|
4931
|
-
else {
|
|
4932
|
-
return item;
|
|
4933
|
-
}
|
|
4934
|
-
});
|
|
4935
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4936
|
-
}
|
|
4937
|
-
return next(request);
|
|
4938
|
-
});
|
|
4939
|
-
},
|
|
4940
|
-
};
|
|
4941
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4942
|
-
}
|
|
4943
|
-
}
|
|
4944
|
-
|
|
4945
|
-
exports.ServiceLinkerManagementClient = ServiceLinkerManagementClient;
|
|
4946
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4947
|
-
//# sourceMappingURL=index.js.map
|