diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml
index d927449b20d..d77bac151bc 100644
--- a/common/config/rush/pnpm-lock.yaml
+++ b/common/config/rush/pnpm-lock.yaml
@@ -24,6 +24,7 @@ specifiers:
'@rush-temp/arm-changeanalysis': file:./projects/arm-changeanalysis.tgz
'@rush-temp/arm-cognitiveservices': file:./projects/arm-cognitiveservices.tgz
'@rush-temp/arm-compute': file:./projects/arm-compute.tgz
+ '@rush-temp/arm-confluent': file:./projects/arm-confluent.tgz
'@rush-temp/arm-consumption': file:./projects/arm-consumption.tgz
'@rush-temp/arm-containerinstance': file:./projects/arm-containerinstance.tgz
'@rush-temp/arm-containerregistry': file:./projects/arm-containerregistry.tgz
@@ -205,6 +206,7 @@ dependencies:
'@rush-temp/arm-changeanalysis': file:projects/arm-changeanalysis.tgz
'@rush-temp/arm-cognitiveservices': file:projects/arm-cognitiveservices.tgz
'@rush-temp/arm-compute': file:projects/arm-compute.tgz
+ '@rush-temp/arm-confluent': file:projects/arm-confluent.tgz
'@rush-temp/arm-consumption': file:projects/arm-consumption.tgz
'@rush-temp/arm-containerinstance': file:projects/arm-containerinstance.tgz
'@rush-temp/arm-containerregistry': file:projects/arm-containerregistry.tgz
@@ -694,7 +696,7 @@ packages:
resolution: {integrity: sha512-nvo2Wc4EKZGN6eFu9n3U7OXmASmL8VxoPIH7xaD6OlQqi44bouF0YIi9ID5rEsKLiAU59IYx6M297nqWVMWPDg==}
engines: {node: '>=12.0.0'}
dependencies:
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
tslib: 2.3.1
dev: false
@@ -702,7 +704,7 @@ packages:
resolution: {integrity: sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==}
engines: {node: '>=12.0.0'}
dependencies:
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
tslib: 2.3.1
dev: false
@@ -862,11 +864,11 @@ packages:
engines: {node: '>=12.0.0'}
dependencies:
'@azure/core-http': 2.2.2
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.3
'@opentelemetry/semantic-conventions': 0.22.0
- '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.3
tslib: 2.3.1
dev: false
@@ -1339,13 +1341,13 @@ packages:
engines: {node: '>=6.0'}
dev: false
- /@opentelemetry/api-metrics/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/api-metrics/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-hrErhb+JphdErB1WuBwpCnO1FjiKfKzO9DjhvquzzM8SYL2bBpYEvTpBTU9cenRnRHUbUAfHI1X384vm37HKeQ==}
engines: {node: '>=8.0.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
dev: false
/@opentelemetry/api/0.10.2:
@@ -1360,18 +1362,18 @@ packages:
engines: {node: '>=8.0.0'}
dev: false
- /@opentelemetry/api/1.0.4:
- resolution: {integrity: sha512-BuJuXRSJNQ3QoKA6GWWDyuLpOUck+9hAXNMCnrloc1aWVoy6Xq6t9PUV08aBZ4Lutqq2LEHM486bpZqoViScog==}
+ /@opentelemetry/api/1.0.3:
+ resolution: {integrity: sha512-puWxACExDe9nxbBB3lOymQFrLYml2dVOrd7USiVRnSbgXE+KwBu+HxFvxrzfqsiSda9IWsXJG1ef7C1O2/GmKQ==}
engines: {node: '>=8.0.0'}
dev: false
- /@opentelemetry/context-async-hooks/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/context-async-hooks/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-JakZ9NJCiaf8FJ6lcR2Fle9xkBKxSFbXK4mk9gZ14totNh9SOTiUBUk08bAnATWUINrQlN8/5hpGKi5gs+FUxQ==}
engines: {node: '>=8.1.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
dev: false
/@opentelemetry/context-base/0.10.2:
@@ -1379,39 +1381,39 @@ packages:
engines: {node: '>=8.0.0'}
dev: false
- /@opentelemetry/core/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/core/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-x6JxuQ4rY2x39GEXJSqMgyf8XZPNNiZrGcCMhZSrtypq/WXlsJuxMNnUAl2hj2rpSGGukhhWn5cMpCmMJJz1hw==}
engines: {node: '>=8.5.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
'@opentelemetry/semantic-conventions': 0.22.0
semver: 7.3.5
dev: false
- /@opentelemetry/instrumentation-http/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/instrumentation-http/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-vqM1hqgYtcO8Upq8pl4I+YW0bnodHlUSSKYuOH7m9Aujbi571pU3zFctpiU5pNhj9eLEJ/r7aOTV6O4hCxqOjQ==}
engines: {node: '>=8.0.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/instrumentation': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/instrumentation': 0.22.0_@opentelemetry+api@1.0.3
'@opentelemetry/semantic-conventions': 0.22.0
semver: 7.3.5
transitivePeerDependencies:
- supports-color
dev: false
- /@opentelemetry/instrumentation/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/instrumentation/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-/NT3+mZO9Bll6UZPjqemrD2VhkI7wRrMto884+wKGK8LIC+EKlg5EKk9y9ym4Vtnlis8/hVxNrFSeaS29N2NLw==}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/api-metrics': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/api-metrics': 0.22.0_@opentelemetry+api@1.0.3
require-in-the-middle: 5.1.0
semver: 7.3.5
shimmer: 1.2.1
@@ -1419,50 +1421,49 @@ packages:
- supports-color
dev: false
- /@opentelemetry/node/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/node/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-+HhGbDruQ7cwejVOIYyxRa28uosnG8W95NiQZ6qE8PXXPsDSyGeftAPbtYpGit0H2f5hrVcMlwmWHeAo9xkSLA==}
engines: {node: '>=8.0.0'}
- deprecated: Package renamed to @opentelemetry/sdk-trace-node
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/context-async-hooks': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/propagator-b3': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/propagator-jaeger': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/context-async-hooks': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/propagator-b3': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/propagator-jaeger': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.3
semver: 7.3.5
dev: false
- /@opentelemetry/propagator-b3/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/propagator-b3/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-7UESJWUUmInXrlux9whSjoIMfpmajKbu2UBU/ux7TVkLTeaJwebLHoqDhuUTS4dbmvg3fnkpfmocyUgby16NwQ==}
engines: {node: '>=8.0.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
dev: false
- /@opentelemetry/propagator-jaeger/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/propagator-jaeger/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-Xclq+eLfc0Zk1UAbY6clYjoCZqikk4SzvG8C/ODJ6LfDHnqMr/fKXaHHhh/DdHdi6d73o9S8ytblryc+CaTkrw==}
engines: {node: '>=8.5.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
dev: false
- /@opentelemetry/resources/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/resources/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-LiX6/JyuD2eHi7Ewrq/PUP79azDqshd0r2oksNTJ+VwgbGfMlq79ykd4FhiEEk23fFbajGt+9ginadXoRk17dg==}
engines: {node: '>=8.0.0'}
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
'@opentelemetry/semantic-conventions': 0.22.0
dev: false
@@ -1476,16 +1477,16 @@ packages:
engines: {node: '>=8.0.0'}
dev: false
- /@opentelemetry/tracing/0.22.0_@opentelemetry+api@1.0.4:
+ /@opentelemetry/tracing/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-EFrKTFndiEdh/KnzwDgo/EcphG/5z/NyLck8oiUUY+YMP7hskXNYHjTWSAv9UxtYe1MzgLbjmAateTuMmFIVNw==}
engines: {node: '>=8.0.0'}
deprecated: Package renamed to @opentelemetry/sdk-trace-base
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.3
'@opentelemetry/semantic-conventions': 0.22.0
lodash.merge: 4.6.2
dev: false
@@ -1658,7 +1659,7 @@ packages:
resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
dependencies:
'@types/connect': 3.4.35
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/chai-as-promised/7.1.4:
@@ -1684,14 +1685,14 @@ packages:
/@types/concurrently/6.4.0:
resolution: {integrity: sha512-CYU1eyFHsIa2IZIsb8gfUOdiewfnZcyM2Hg1Zaq95xnmB0Ix/bTRM8SttqZ2Cjy6JGPZLttHjZewVsDg1yvnJg==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
chalk: 4.1.2
dev: false
/@types/connect/3.4.35:
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/cookie/0.4.1:
@@ -1726,7 +1727,7 @@ packages:
/@types/express-serve-static-core/4.17.26:
resolution: {integrity: sha512-zeu3tpouA043RHxW0gzRxwCHchMgftE8GArRsvYT0ByDMbn19olQHx5jLue0LxWY6iYtXb7rXmuVtSkhy9YZvQ==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
'@types/qs': 6.9.7
'@types/range-parser': 1.2.4
dev: false
@@ -1743,20 +1744,20 @@ packages:
/@types/fs-extra/8.1.2:
resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/glob/7.2.0:
resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}
dependencies:
'@types/minimatch': 3.0.5
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/is-buffer/2.0.0:
resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/json-schema/7.0.9:
@@ -1770,13 +1771,13 @@ packages:
/@types/jsonwebtoken/8.5.6:
resolution: {integrity: sha512-+P3O/xC7nzVizIi5VbF34YtqSonFsdnbXBnWUCYRiKOi1f9gA4sEFvXkrGr/QVV23IbMYvcoerI7nnhDUiWXRQ==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/jws/3.2.4:
resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/jwt-decode/2.2.1:
@@ -1790,7 +1791,7 @@ packages:
/@types/md5/2.3.1:
resolution: {integrity: sha512-OK3oe+ALIoPSo262lnhAYwpqFNXbiwH2a+0+Z5YBnkQEwWD8fk5+PIeRhYA48PzvX9I4SGNpWy+9bLj8qz92RQ==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/mime/1.3.2:
@@ -1812,13 +1813,13 @@ packages:
/@types/mock-fs/4.13.1:
resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/mock-require/2.0.0:
resolution: {integrity: sha512-nOgjoE5bBiDeiA+z41i95makyHUSMWQMOPocP+J67Pqx/68HAXaeWN1NFtrAYYV6LrISIZZ8vKHm/a50k0f6Sg==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/ms/0.7.31:
@@ -1832,7 +1833,7 @@ packages:
/@types/node-fetch/2.5.12:
resolution: {integrity: sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
form-data: 3.0.1
dev: false
@@ -1840,12 +1841,12 @@ packages:
resolution: {integrity: sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==}
dev: false
- /@types/node/12.20.38:
- resolution: {integrity: sha512-NxmtBRGipjx1B225OeMdI+CQmLbYqvvmYbukDTJGDgzIDgPQ1EcjGmYxGhOk5hTBqeB558S6RgHSpq2iiqifAQ==}
+ /@types/node/12.20.40:
+ resolution: {integrity: sha512-RX6hFa0hxkFuktu5629zJEkWK5e0HreW4vpNSLn4nWkOui7CTGCjtKiKpvtZ4QwCZ2Am5uhrb5ULHKNyunYYqg==}
dev: false
- /@types/node/17.0.3:
- resolution: {integrity: sha512-bAKB1GcA28FR/D8HHQ5U4FYk7nvoZdp7TZSy9oIyQ8gpYCzpeESa3LCK2TbeocXic7GwIXCkCItJg0DttO3ZaQ==}
+ /@types/node/17.0.1:
+ resolution: {integrity: sha512-NXKvBVUzIbs6ylBwmOwHFkZS2EXCcjnqr8ZCRNaXBkHAf+3mn/rPcJxwrzuc6movh8fxQAsUUfYklJ/EG+hZqQ==}
dev: false
/@types/prettier/2.4.2:
@@ -1867,7 +1868,7 @@ packages:
/@types/resolve/1.17.1:
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/semaphore/1.1.1:
@@ -1878,7 +1879,7 @@ packages:
resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==}
dependencies:
'@types/mime': 1.3.2
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/sinon/9.0.11:
@@ -1894,7 +1895,7 @@ packages:
/@types/stoppable/1.1.1:
resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/tough-cookie/4.0.1:
@@ -1904,13 +1905,13 @@ packages:
/@types/tunnel/0.0.1:
resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/tunnel/0.0.3:
resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/underscore/1.11.4:
@@ -1924,26 +1925,26 @@ packages:
/@types/ws/7.4.7:
resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/ws/8.2.2:
resolution: {integrity: sha512-NOn5eIcgWLOo6qW8AcuLZ7G8PycXu0xTxxkS6Q18VWFxgPUSOwV0pBj2a/4viNZVu25i7RIB7GttdkAIUUXOOg==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/xml2js/0.4.9:
resolution: {integrity: sha512-CHiCKIihl1pychwR2RNX5mAYmJDACgFVCMT5OArMaO3erzwXVcBqPcusr+Vl8yeeXukxZqtF8mZioqX+mpjjdw==}
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
/@types/yauzl/2.9.2:
resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==}
requiresBuild: true
dependencies:
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
dev: false
optional: true
@@ -2453,8 +2454,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
- caniuse-lite: 1.0.30001292
- electron-to-chromium: 1.4.27
+ caniuse-lite: 1.0.30001291
+ electron-to-chromium: 1.4.24
escalade: 3.1.1
node-releases: 2.0.1
picocolors: 1.0.0
@@ -2528,8 +2529,8 @@ packages:
engines: {node: '>=6'}
dev: false
- /caniuse-lite/1.0.30001292:
- resolution: {integrity: sha512-jnT4Tq0Q4ma+6nncYQVe7d73kmDmE9C3OGTx3MvW7lBM/eY1S1DZTMBON7dqV481RhNiS5OxD7k9JQvmDOTirw==}
+ /caniuse-lite/1.0.30001291:
+ resolution: {integrity: sha512-roMV5V0HNGgJ88s42eE70sstqGW/gwFndosYrikHthw98N5tLnOTxFqMLQjZVRxTWFlJ4rn+MsgXrR7MDPY4jA==}
dev: false
/chai-as-promised/7.1.1_chai@4.3.4:
@@ -3123,8 +3124,8 @@ packages:
resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=}
dev: false
- /electron-to-chromium/1.4.27:
- resolution: {integrity: sha512-uZ95szi3zUbzRDx1zx/xnsCG+2xgZyy57pDOeaeO4r8zx5Dqe8Jv1ti8cunvBwJHVI5LzPuw8umKwZb3WKYxSQ==}
+ /electron-to-chromium/1.4.24:
+ resolution: {integrity: sha512-erwx5r69B/WFfFuF2jcNN0817BfDBdC4765kQ6WltOMuwsimlQo3JTEq0Cle+wpHralwdeX3OfAtw/mHxPK0Wg==}
dev: false
/emoji-regex/7.0.3:
@@ -3159,7 +3160,7 @@ packages:
dependencies:
'@types/cookie': 0.4.1
'@types/cors': 2.8.12
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
accepts: 1.3.7
base64id: 2.0.0
cookie: 0.4.1
@@ -6285,7 +6286,7 @@ packages:
hasBin: true
dependencies:
'@types/estree': 0.0.50
- '@types/node': 17.0.3
+ '@types/node': 17.0.1
acorn: 7.4.1
dev: false
@@ -6977,7 +6978,7 @@ packages:
hasBin: true
dev: false
- /ts-node/10.4.0_4fe1422f97fb5532e479af9ef3415b51:
+ /ts-node/10.4.0_28670484a221c7e896c5d6b821a5cbb7:
resolution: {integrity: sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==}
hasBin: true
peerDependencies:
@@ -6996,7 +6997,7 @@ packages:
'@tsconfig/node12': 1.0.9
'@tsconfig/node14': 1.0.1
'@tsconfig/node16': 1.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
acorn: 8.6.0
acorn-walk: 8.2.0
arg: 4.1.3
@@ -7007,7 +7008,7 @@ packages:
yn: 3.1.1
dev: false
- /ts-node/10.4.0_7f2373c5ac54a83613ed296cbc642f51:
+ /ts-node/10.4.0_f9f9f28f986ed7ad377c75abc9f416f4:
resolution: {integrity: sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==}
hasBin: true
peerDependencies:
@@ -7026,7 +7027,7 @@ packages:
'@tsconfig/node12': 1.0.9
'@tsconfig/node14': 1.0.1
'@tsconfig/node16': 1.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
acorn: 8.6.0
acorn-walk: 8.2.0
arg: 4.1.3
@@ -7441,8 +7442,8 @@ packages:
optional: true
dev: false
- /ws/8.4.0:
- resolution: {integrity: sha512-IHVsKe2pjajSUIl4KYMQOdlyliovpEPquKkqbwswulszzI7r0SfQrxnXdWAEqOlDCLrVSJzo+O1hAwdog2sKSQ==}
+ /ws/8.3.0:
+ resolution: {integrity: sha512-Gs5EZtpqZzLvmIM59w4igITU57lrtYVFneaa434VROv4thzJyV6UjIL3D42lslWlI+D4KzLYnxSwtfuiO79sNw==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -7607,7 +7608,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
downlevel-dts: 0.4.0
@@ -7629,7 +7630,7 @@ packages:
prettier: 2.5.1
rimraf: 3.0.2
rollup: 1.32.1
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -7651,7 +7652,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -7696,7 +7697,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
csv-parse: 5.0.3
@@ -7739,7 +7740,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -7783,7 +7784,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -7829,7 +7830,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -7857,7 +7858,7 @@ packages:
rollup: 1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -7870,7 +7871,7 @@ packages:
dev: false
file:projects/ai-text-analytics.tgz:
- resolution: {integrity: sha512-jtmB3h5FHJ0UPES2laHyCEe+agMLA/5VXSu3DsxVS4/a0pHzu5fN5SOT29kR/x2h3vKhjZnFSPybABvav1Ygww==, tarball: file:projects/ai-text-analytics.tgz}
+ resolution: {integrity: sha512-CgeLVCZwfspweQBHcNd4/2uI/rEvbU60GAjFDSUwGnXFVywaMqd6i1jPcZlkCGNitvctyEsQDnJc0PiIN4pRXw==, tarball: file:projects/ai-text-analytics.tgz}
name: '@rush-temp/ai-text-analytics'
version: 0.0.0
dependencies:
@@ -7879,7 +7880,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -7908,7 +7909,7 @@ packages:
rollup: 1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -7936,7 +7937,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -7965,7 +7966,7 @@ packages:
rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
rollup-plugin-terser: 5.3.1_rollup@1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uglify-js: 3.14.5
@@ -8290,6 +8291,27 @@ packages:
uglify-js: 3.14.5
dev: false
+ file:projects/arm-confluent.tgz:
+ resolution: {integrity: sha512-jXenjQsBBnIV0WeP9lGHDgrWpTQBr0nOQF4RCcTKTA9tD8f6B/DhYy6m+fgc1ejTXlZqIfp20kTKc3vOI0FIBQ==, tarball: file:projects/arm-confluent.tgz}
+ name: '@rush-temp/arm-confluent'
+ version: 0.0.0
+ dependencies:
+ '@microsoft/api-extractor': 7.19.2
+ '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1
+ '@rollup/plugin-json': 4.1.0_rollup@1.32.1
+ '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1
+ '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1
+ cross-env: 7.0.3
+ mkdirp: 1.0.4
+ mocha: 7.2.0
+ rimraf: 3.0.2
+ rollup: 1.32.1
+ rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
+ tslib: 2.3.1
+ typescript: 4.2.4
+ uglify-js: 3.14.5
+ dev: false
+
file:projects/arm-consumption.tgz:
resolution: {integrity: sha512-m+tcI8203C8X1l/+HsD9meTIpK7WFovm3PIq8aPtplYANgJya1BCr/a8aFHJGlLx5SRquHceWeAZeP0Iqn6jTQ==, tarball: file:projects/arm-consumption.tgz}
name: '@rush-temp/arm-consumption'
@@ -9454,7 +9476,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
buffer: 6.0.3
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -9487,7 +9509,7 @@ packages:
rollup: 1.32.1
safe-buffer: 5.2.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -9516,7 +9538,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -9576,7 +9598,7 @@ packages:
'@types/chai-as-promised': 7.1.4
'@types/jwt-decode': 2.2.1
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -9630,7 +9652,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -9686,7 +9708,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -9741,7 +9763,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -9796,7 +9818,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -9851,7 +9873,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -9900,7 +9922,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -9945,7 +9967,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
cross-env: 7.0.3
@@ -9996,7 +10018,7 @@ packages:
'@types/chai': 4.3.0
'@types/debug': 4.1.7
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/ws': 7.4.7
buffer: 6.0.3
@@ -10025,12 +10047,12 @@ packages:
rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
rollup-plugin-terser: 5.3.1_rollup@1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
url: 0.11.0
util: 0.12.4
- ws: 8.4.0
+ ws: 8.3.0
transitivePeerDependencies:
- '@swc/core'
- '@swc/wasm'
@@ -10044,7 +10066,7 @@ packages:
name: '@rush-temp/core-asynciterator-polyfill'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
eslint: 7.32.0
prettier: 2.5.1
typescript: 4.2.4
@@ -10060,7 +10082,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
downlevel-dts: 0.4.0
@@ -10087,7 +10109,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -10111,7 +10133,7 @@ packages:
rimraf: 3.0.2
rollup: 1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -10133,7 +10155,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
eslint: 7.32.0
@@ -10174,7 +10196,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
eslint: 7.32.0
@@ -10214,7 +10236,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -10258,7 +10280,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -10299,12 +10321,12 @@ packages:
'@azure/core-tracing': 1.0.0-preview.13
'@azure/logger-js': 1.3.2
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
'@types/chai': 4.3.0
'@types/express': 4.17.13
'@types/glob': 7.2.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/node-fetch': 2.5.12
'@types/sinon': 9.0.11
'@types/tough-cookie': 4.0.1
@@ -10342,7 +10364,7 @@ packages:
shx: 0.3.3
sinon: 9.2.4
tough-cookie: 4.0.0
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
tunnel: 0.0.6
typescript: 4.2.4
@@ -10368,7 +10390,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
eslint: 7.32.0
@@ -10390,7 +10412,7 @@ packages:
prettier: 2.5.1
rimraf: 3.0.2
rollup: 1.32.1
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uglify-js: 3.14.5
@@ -10411,7 +10433,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
downlevel-dts: 0.4.0
eslint: 7.32.0
@@ -10447,10 +10469,10 @@ packages:
dependencies:
'@azure/core-tracing': 1.0.0-preview.13
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -10496,11 +10518,11 @@ packages:
version: 0.0.0
dependencies:
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.3
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -10541,7 +10563,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -10583,7 +10605,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/xml2js': 0.4.9
chai: 4.3.4
@@ -10629,7 +10651,7 @@ packages:
'@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1
'@types/debug': 4.1.7
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/priorityqueuejs': 1.0.1
'@types/semaphore': 1.1.1
'@types/sinon': 9.0.11
@@ -10657,7 +10679,7 @@ packages:
sinon: 9.2.4
snap-shot-it: 7.9.6
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
universal-user-agent: 6.0.0
@@ -10683,7 +10705,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -10714,7 +10736,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -10743,7 +10765,7 @@ packages:
'@types/fs-extra': 8.1.2
'@types/minimist': 1.2.2
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/prettier': 2.4.2
builtin-modules: 3.2.0
chai: 4.3.4
@@ -10760,7 +10782,7 @@ packages:
rollup: 1.32.1
rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
- ts-node: 10.4.0_4fe1422f97fb5532e479af9ef3415b51
+ ts-node: 10.4.0_28670484a221c7e896c5d6b821a5cbb7
tslib: 2.3.1
typescript: 4.4.4
yaml: 1.10.2
@@ -10779,7 +10801,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -10829,7 +10851,7 @@ packages:
'@types/glob': 7.2.0
'@types/json-schema': 7.0.9
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@typescript-eslint/eslint-plugin': 4.19.0_359354e87b989469ccdce12bde18eddc
'@typescript-eslint/experimental-utils': 4.19.0_eslint@7.32.0+typescript@4.2.4
'@typescript-eslint/parser': 4.19.0_eslint@7.32.0+typescript@4.2.4
@@ -10874,7 +10896,7 @@ packages:
'@types/debug': 4.1.7
'@types/long': 4.0.1
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
'@types/ws': 7.4.7
@@ -10917,11 +10939,11 @@ packages:
rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
rollup-plugin-terser: 5.3.1_rollup@1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
- ws: 8.4.0
+ ws: 8.3.0
transitivePeerDependencies:
- '@swc/core'
- '@swc/wasm'
@@ -10946,7 +10968,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -10979,7 +11001,7 @@ packages:
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -11005,7 +11027,7 @@ packages:
'@types/chai-string': 1.4.2
'@types/debug': 4.1.7
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
chai-string: 1.5.0_chai@4.3.4
@@ -11034,7 +11056,7 @@ packages:
prettier: 2.5.1
rimraf: 3.0.2
rollup: 1.32.1
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -11059,7 +11081,7 @@ packages:
'@types/chai-string': 1.4.2
'@types/debug': 4.1.7
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
chai-string: 1.5.0_chai@4.3.4
@@ -11087,7 +11109,7 @@ packages:
prettier: 2.5.1
rimraf: 3.0.2
rollup: 1.32.1
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -11109,7 +11131,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/jws': 3.2.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/qs': 6.9.7
'@types/sinon': 9.0.11
cross-env: 7.0.3
@@ -11142,7 +11164,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/jws': 3.2.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/qs': 6.9.7
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
@@ -11181,7 +11203,7 @@ packages:
'@types/chai': 4.3.0
'@types/jws': 3.2.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/stoppable': 1.1.1
'@types/uuid': 8.3.3
@@ -11228,7 +11250,7 @@ packages:
dependencies:
'@azure/core-tracing': 1.0.0-preview.13
'@microsoft/api-extractor': 7.19.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
cross-env: 7.0.3
dotenv: 8.6.0
@@ -11260,7 +11282,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -11289,7 +11311,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -11313,7 +11335,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -11352,7 +11374,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -11420,7 +11442,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -11476,7 +11498,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -11527,7 +11549,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -11553,7 +11575,7 @@ packages:
rimraf: 3.0.2
rollup: 1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11575,7 +11597,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
cross-env: 7.0.3
@@ -11621,7 +11643,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -11663,7 +11685,7 @@ packages:
name: '@rush-temp/mock-hub'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
@@ -11681,16 +11703,16 @@ packages:
version: 0.0.0
dependencies:
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/instrumentation': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/instrumentation-http': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/node': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/instrumentation': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/instrumentation-http': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/node': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.3
'@opentelemetry/semantic-conventions': 0.24.0
- '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.3
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
eslint-plugin-node: 11.1.0_eslint@7.32.0
@@ -11702,7 +11724,7 @@ packages:
rimraf: 3.0.2
rollup: 1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11719,13 +11741,13 @@ packages:
'@azure/core-tracing': 1.0.0-preview.13
'@azure/monitor-opentelemetry-exporter': 1.0.0-beta.4
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
- '@opentelemetry/node': 0.22.0_@opentelemetry+api@1.0.4
- '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.4
+ '@opentelemetry/api': 1.0.3
+ '@opentelemetry/node': 0.22.0_@opentelemetry+api@1.0.3
+ '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.3
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
cross-env: 7.0.3
@@ -11769,12 +11791,12 @@ packages:
version: 0.0.0
dependencies:
'@azure/ai-form-recognizer': 3.1.0-beta.3
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11789,12 +11811,12 @@ packages:
version: 0.0.0
dependencies:
'@azure/ai-metrics-advisor': 1.0.0-beta.3
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11809,12 +11831,12 @@ packages:
version: 0.0.0
dependencies:
'@azure/ai-text-analytics': 5.1.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11828,13 +11850,13 @@ packages:
name: '@rush-temp/perf-app-configuration'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -11850,7 +11872,7 @@ packages:
version: 0.0.0
dependencies:
'@azure/container-registry': 1.0.0-beta.4
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
@@ -11867,13 +11889,13 @@ packages:
name: '@rush-temp/perf-core-rest-pipeline'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11888,13 +11910,13 @@ packages:
version: 0.0.0
dependencies:
'@azure/data-tables': 12.1.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -11910,14 +11932,14 @@ packages:
version: 0.0.0
dependencies:
'@azure/event-hubs': 5.6.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
moment: 2.29.1
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -11932,12 +11954,12 @@ packages:
name: '@rush-temp/perf-eventgrid'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11951,13 +11973,13 @@ packages:
name: '@rush-temp/perf-identity'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -11972,13 +11994,13 @@ packages:
version: 0.0.0
dependencies:
'@azure/keyvault-certificates': 4.3.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -11994,13 +12016,13 @@ packages:
version: 0.0.0
dependencies:
'@azure/keyvault-keys': 4.3.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12015,13 +12037,13 @@ packages:
name: '@rush-temp/perf-keyvault-secrets'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12036,12 +12058,12 @@ packages:
name: '@rush-temp/perf-monitor-query'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -12055,12 +12077,12 @@ packages:
name: '@rush-temp/perf-search-documents'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
transitivePeerDependencies:
@@ -12075,13 +12097,13 @@ packages:
version: 0.0.0
dependencies:
'@azure/service-bus': 7.4.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12096,7 +12118,7 @@ packages:
name: '@rush-temp/perf-storage-blob'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/node-fetch': 2.5.12
'@types/uuid': 8.3.3
dotenv: 8.6.0
@@ -12104,7 +12126,7 @@ packages:
node-fetch: 2.6.6
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12119,13 +12141,13 @@ packages:
name: '@rush-temp/perf-storage-file-datalake'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12140,13 +12162,13 @@ packages:
name: '@rush-temp/perf-storage-file-share'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12161,13 +12183,13 @@ packages:
name: '@rush-temp/perf-template'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
dotenv: 8.6.0
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uuid: 8.3.2
@@ -12187,7 +12209,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12232,7 +12254,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12277,7 +12299,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12322,7 +12344,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12368,7 +12390,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -12418,7 +12440,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
avsc: 5.7.3
buffer: 6.0.3
chai: 4.3.4
@@ -12467,7 +12489,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
cross-env: 7.0.3
@@ -12511,7 +12533,7 @@ packages:
'@microsoft/api-extractor': 7.19.2
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -12539,7 +12561,7 @@ packages:
rimraf: 3.0.2
rollup: 1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12566,7 +12588,7 @@ packages:
'@types/is-buffer': 2.0.0
'@types/long': 4.0.1
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/ws': 7.4.7
buffer: 6.0.3
@@ -12608,10 +12630,10 @@ packages:
rimraf: 3.0.2
rollup: 1.32.1
sinon: 9.2.4
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
- ws: 8.4.0
+ ws: 8.3.0
transitivePeerDependencies:
- '@swc/core'
- '@swc/wasm'
@@ -12634,7 +12656,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cross-env: 7.0.3
@@ -12671,7 +12693,7 @@ packages:
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12698,7 +12720,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/node-fetch': 2.5.12
chai: 4.3.4
cross-env: 7.0.3
@@ -12734,7 +12756,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12761,7 +12783,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12797,7 +12819,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12823,7 +12845,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12858,7 +12880,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12883,7 +12905,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
dotenv: 8.6.0
downlevel-dts: 0.4.0
@@ -12916,7 +12938,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12942,7 +12964,7 @@ packages:
'@rollup/plugin-replace': 2.4.2_rollup@1.32.1
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
cross-env: 7.0.3
dotenv: 8.6.0
@@ -12976,7 +12998,7 @@ packages:
rollup-plugin-terser: 5.3.1_rollup@1.32.1
rollup-plugin-visualizer: 4.2.2_rollup@1.32.1
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
util: 0.12.4
@@ -12999,7 +13021,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -13028,7 +13050,7 @@ packages:
rollup: 1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uglify-js: 3.14.5
@@ -13052,7 +13074,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/uuid': 8.3.3
chai: 4.3.4
@@ -13082,7 +13104,7 @@ packages:
rollup: 1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uglify-js: 3.14.5
@@ -13106,7 +13128,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -13135,7 +13157,7 @@ packages:
rollup: 1.32.1
sinon: 9.2.4
source-map-support: 0.5.21
- ts-node: 10.4.0_7f2373c5ac54a83613ed296cbc642f51
+ ts-node: 10.4.0_f9f9f28f986ed7ad377c75abc9f416f4
tslib: 2.3.1
typescript: 4.2.4
uglify-js: 3.14.5
@@ -13268,7 +13290,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
cross-env: 7.0.3
@@ -13311,7 +13333,7 @@ packages:
name: '@rush-temp/test-credential'
version: 0.0.0
dependencies:
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
eslint: 7.32.0
prettier: 2.5.1
rimraf: 3.0.2
@@ -13338,7 +13360,7 @@ packages:
'@types/mock-fs': 4.13.1
'@types/mock-require': 2.0.0
'@types/nise': 1.4.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
chai: 4.3.4
concurrently: 6.5.1
@@ -13401,7 +13423,7 @@ packages:
'@types/mock-fs': 4.13.1
'@types/mock-require': 2.0.0
'@types/nise': 1.4.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
chai: 4.3.4
dotenv: 8.6.0
eslint: 7.32.0
@@ -13451,7 +13473,7 @@ packages:
version: 0.0.0
dependencies:
'@types/minimist': 1.2.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/node-fetch': 2.5.12
eslint: 7.32.0
karma: 6.3.9
@@ -13479,10 +13501,10 @@ packages:
dependencies:
'@azure/core-tracing': 1.0.0-preview.13
'@microsoft/api-extractor': 7.19.2
- '@opentelemetry/api': 1.0.4
+ '@opentelemetry/api': 1.0.3
'@types/chai': 4.3.0
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -13519,7 +13541,7 @@ packages:
'@types/mock-fs': 4.13.1
'@types/mock-require': 2.0.0
'@types/nise': 1.4.0
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/uuid': 8.3.3
chai: 4.3.4
dotenv: 8.6.0
@@ -13566,7 +13588,7 @@ packages:
'@types/chai': 4.3.0
'@types/chai-as-promised': 7.1.4
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
azure-iothub: 1.14.6
chai: 4.3.4
chai-as-promised: 7.1.1_chai@4.3.4
@@ -13613,7 +13635,7 @@ packages:
'@types/express-serve-static-core': 4.17.26
'@types/jsonwebtoken': 8.5.6
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
chai: 4.3.4
cloudevents: 4.0.3
@@ -13662,7 +13684,7 @@ packages:
'@types/chai': 4.3.0
'@types/jsonwebtoken': 8.5.6
'@types/mocha': 7.0.2
- '@types/node': 12.20.38
+ '@types/node': 12.20.40
'@types/sinon': 9.0.11
'@types/ws': 8.2.2
chai: 4.3.4
@@ -13695,7 +13717,7 @@ packages:
source-map-support: 0.5.21
tslib: 2.3.1
typescript: 4.2.4
- ws: 8.4.0
+ ws: 8.3.0
transitivePeerDependencies:
- bufferutil
- debug
diff --git a/eng/ignore-links.txt b/eng/ignore-links.txt
index 9d554c51dc5..48442fcc336 100644
--- a/eng/ignore-links.txt
+++ b/eng/ignore-links.txt
@@ -17,3 +17,4 @@ https://docs.microsoft.com/javascript/api/@azure/arm-attestation
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation
https://docs.microsoft.com/javascript/api/@azure/arm-changeanalysis
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/changeanalysis/arm-changeanalysis
+https://docs.microsoft.com/javascript/api/@azure/arm-confluent?view=azure-node-preview
diff --git a/rush.json b/rush.json
index 66a9aa13703..979caf63e5d 100644
--- a/rush.json
+++ b/rush.json
@@ -1215,6 +1215,11 @@
"packageName": "@azure/arm-containerinstance",
"projectFolder": "sdk/containerinstance/arm-containerinstance",
"versionPolicyName": "management"
+ },
+ {
+ "packageName": "@azure/arm-confluent",
+ "projectFolder": "sdk/confluent/arm-confluent",
+ "versionPolicyName": "management"
}
]
}
\ No newline at end of file
diff --git a/sdk/confluent/arm-confluent/CHANGELOG.md b/sdk/confluent/arm-confluent/CHANGELOG.md
new file mode 100644
index 00000000000..a5217bbd6a0
--- /dev/null
+++ b/sdk/confluent/arm-confluent/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Release History
+
+## 3.0.0-beta.1 (2022-01-05)
+
+The package of @azure/arm-confluent is using our next generation design principles since version 3.0.0-beta.1, which contains breaking changes.
+
+To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
+
+To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
+
+To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
diff --git a/sdk/confluent/arm-confluent/LICENSE.txt b/sdk/confluent/arm-confluent/LICENSE
similarity index 96%
rename from sdk/confluent/arm-confluent/LICENSE.txt
rename to sdk/confluent/arm-confluent/LICENSE
index 2d316374531..5d1d36e0af8 100644
--- a/sdk/confluent/arm-confluent/LICENSE.txt
+++ b/sdk/confluent/arm-confluent/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2021 Microsoft
+Copyright (c) 2022 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+SOFTWARE.
\ No newline at end of file
diff --git a/sdk/confluent/arm-confluent/README.md b/sdk/confluent/arm-confluent/README.md
index 41008e2f9e0..b750367426f 100644
--- a/sdk/confluent/arm-confluent/README.md
+++ b/sdk/confluent/arm-confluent/README.md
@@ -1,109 +1,98 @@
-## Azure ConfluentManagementClient SDK for JavaScript
+# Azure ConfluentManagement client library for JavaScript
-This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ConfluentManagementClient.
+This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ConfluentManagement client.
+
+
+
+[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confluent/arm-confluent) |
+[Package (NPM)](https://www.npmjs.com/package/@azure/arm-confluent) |
+[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-confluent?view=azure-node-preview) |
+[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
+
+## Getting started
### Currently supported environments
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
-- Latest versions of Safari, Chrome, Edge, and Firefox.
+- Latest versions of Safari, Chrome, Edge and Firefox.
### Prerequisites
-You must have an [Azure subscription](https://azure.microsoft.com/free/).
+- An [Azure subscription][azure_sub].
-### How to install
+### Install the `@azure/arm-confluent` package
-To use this SDK in your project, you will need to install two packages.
-- `@azure/arm-confluent` that contains the client.
-- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
+Install the Azure ConfluentManagement client library for JavaScript with `npm`:
-Install both packages using the below command:
```bash
-npm install --save @azure/arm-confluent @azure/identity
+npm install @azure/arm-confluent
```
-> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
-If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
+### Create and authenticate a `ConfluentManagementClient`
-### How to use
+To create a client object to access the Azure ConfluentManagement API, you will need the `endpoint` of your Azure ConfluentManagement resource and a `credential`. The Azure ConfluentManagement client can use Azure Active Directory credentials to authenticate.
+You can find the endpoint for your Azure ConfluentManagement resource in the [Azure Portal][azure_portal].
-- If you are writing a client side browser application,
- - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
- - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
-- If you are writing a server side application,
- - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
- - Complete the set up steps required by the credential if any.
- - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
+You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
-In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
-Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
+To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
-#### nodejs - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript.
+```bash
+npm install @azure/identity
+```
-##### Sample code
+You will also need to **register a new AAD application and grant access to Azure ConfluentManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
+Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
+
+For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
```javascript
-const { DefaultAzureCredential } = require("@azure/identity");
const { ConfluentManagementClient } = require("@azure/arm-confluent");
-const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-
-// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
-// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
-const creds = new DefaultAzureCredential();
-const client = new ConfluentManagementClient(creds, subscriptionId);
-
-client.marketplaceAgreements.list().then((result) => {
- console.log("The result is:");
- console.log(result);
-}).catch((err) => {
- console.log("An error occurred:");
- console.error(err);
-});
+const { DefaultAzureCredential } = require("@azure/identity");
+const subscriptionId = "00000000-0000-0000-0000-000000000000";
+const client = new ConfluentManagementClient(new DefaultAzureCredential(), subscriptionId);
```
-#### browser - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript.
-In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
- - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
- - Note down the client Id from the previous step and use it in the browser sample below.
+### JavaScript Bundle
+To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
-##### Sample code
+## Key concepts
-- index.html
+### ConfluentManagementClient
-```html
-
-
-
- @azure/arm-confluent sample
-
-
-
-
-
-
-
+`ConfluentManagementClient` is the primary interface for developers using the Azure ConfluentManagement client library. Explore the methods on this client object to understand the different features of the Azure ConfluentManagement service that you can access.
+
+## Troubleshooting
+
+### Logging
+
+Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
+
+```javascript
+const { setLogLevel } = require("@azure/logger");
+setLogLevel("info");
```
+For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
+
+## Next steps
+
+Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
+
+## Contributing
+
+If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
+
## Related projects
-- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
-![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/confluent/arm-confluent/README.png)
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fconfluent%2Farm-confluent%2FREADME.png)
+
+[azure_cli]: https://docs.microsoft.com/cli/azure
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_portal]: https://portal.azure.com
+[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
+[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
diff --git a/sdk/confluent/arm-confluent/_meta.json b/sdk/confluent/arm-confluent/_meta.json
new file mode 100644
index 00000000000..a9efb167063
--- /dev/null
+++ b/sdk/confluent/arm-confluent/_meta.json
@@ -0,0 +1,7 @@
+{
+ "commit": "c2820d17c45444d200e701e5dbb631f49befe2dc",
+ "readme": "specification/confluent/resource-manager/readme.md",
+ "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/confluent/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1",
+ "repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
+ "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
+}
\ No newline at end of file
diff --git a/sdk/confluent/arm-confluent/api-extractor.json b/sdk/confluent/arm-confluent/api-extractor.json
new file mode 100644
index 00000000000..0f154ad4e4f
--- /dev/null
+++ b/sdk/confluent/arm-confluent/api-extractor.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
+ "mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
+ "docModel": { "enabled": true },
+ "apiReport": { "enabled": true, "reportFolder": "./review" },
+ "dtsRollup": {
+ "enabled": true,
+ "untrimmedFilePath": "",
+ "publicTrimmedFilePath": "./types/arm-confluent.d.ts"
+ },
+ "messages": {
+ "tsdocMessageReporting": { "default": { "logLevel": "none" } },
+ "extractorMessageReporting": {
+ "ae-missing-release-tag": { "logLevel": "none" },
+ "ae-unresolved-link": { "logLevel": "none" }
+ }
+ }
+}
diff --git a/sdk/confluent/arm-confluent/package.json b/sdk/confluent/arm-confluent/package.json
index da71fa1ac32..4b7f33d20db 100644
--- a/sdk/confluent/arm-confluent/package.json
+++ b/sdk/confluent/arm-confluent/package.json
@@ -1,58 +1,91 @@
{
"name": "@azure/arm-confluent",
+ "sdk-type": "mgmt",
"author": "Microsoft Corporation",
- "description": "ConfluentManagementClient Library with typescript type definitions for node.js and browser.",
- "version": "2.1.0",
+ "description": "A generated SDK for ConfluentManagementClient.",
+ "version": "3.0.0-beta.1",
+ "engines": { "node": ">=12.0.0" },
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.1.0",
- "@azure/ms-rest-js": "^2.2.0",
- "@azure/core-auth": "^1.1.4",
- "tslib": "^1.10.0"
+ "@azure/core-lro": "^2.2.0",
+ "@azure/abort-controller": "^1.0.0",
+ "@azure/core-paging": "^1.2.0",
+ "@azure/core-client": "^1.0.0",
+ "@azure/core-auth": "^1.3.0",
+ "@azure/core-rest-pipeline": "^1.1.0",
+ "tslib": "^2.2.0"
},
- "keywords": [
- "node",
- "azure",
- "typescript",
- "browser",
- "isomorphic"
- ],
+ "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
- "main": "./dist/arm-confluent.js",
- "module": "./esm/confluentManagementClient.js",
- "types": "./esm/confluentManagementClient.d.ts",
+ "main": "./dist/index.js",
+ "module": "./dist-esm/src/index.js",
+ "types": "./types/arm-confluent.d.ts",
"devDependencies": {
- "typescript": "^3.6.0",
- "rollup": "^1.18.0",
- "rollup-plugin-node-resolve": "^5.2.0",
+ "@microsoft/api-extractor": "^7.18.11",
+ "@rollup/plugin-commonjs": "11.0.2",
+ "@rollup/plugin-json": "^4.0.0",
+ "@rollup/plugin-multi-entry": "^3.0.0",
+ "@rollup/plugin-node-resolve": "^8.0.0",
+ "mkdirp": "^1.0.4",
+ "rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
- "uglify-js": "^3.6.0"
+ "typescript": "~4.2.0",
+ "uglify-js": "^3.4.9",
+ "rimraf": "^3.0.0",
+ "@azure/identity": "^2.0.1",
+ "@azure-tools/test-recorder": "^1.0.0",
+ "mocha": "^7.1.1",
+ "cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confluent/arm-confluent",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
- "bugs": {
- "url": "https://github.com/Azure/azure-sdk-for-js/issues"
- },
+ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
- "esm/**/*.js",
- "esm/**/*.js.map",
- "esm/**/*.d.ts",
- "esm/**/*.d.ts.map",
+ "dist-esm/**/*.js",
+ "dist-esm/**/*.js.map",
+ "dist-esm/**/*.d.ts",
+ "dist-esm/**/*.d.ts.map",
"src/**/*.ts",
"README.md",
+ "LICENSE",
"rollup.config.js",
- "tsconfig.json"
+ "tsconfig.json",
+ "review/*",
+ "CHANGELOG.md",
+ "types/*"
],
"scripts": {
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-confluent.js.map'\" -o ./dist/arm-confluent.min.js ./dist/arm-confluent.js",
- "prepack": "npm install && npm run build"
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
+ "prepack": "npm run build",
+ "pack": "npm pack 2>&1",
+ "extract-api": "api-extractor run --local",
+ "lint": "echo skipped",
+ "audit": "echo skipped",
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
+ "build:node": "echo skipped",
+ "build:browser": "echo skipped",
+ "build:test": "echo skipped",
+ "build:samples": "echo skipped.",
+ "check-format": "echo skipped",
+ "execute:samples": "echo skipped",
+ "format": "echo skipped",
+ "test": "npm run integration-test",
+ "test:node": "echo skipped",
+ "test:browser": "echo skipped",
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
+ "unit-test:browser": "echo skipped",
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
+ "integration-test:browser": "echo skipped",
+ "docs": "echo skipped"
},
"sideEffects": false,
"autoPublish": true
diff --git a/sdk/confluent/arm-confluent/recordings/node/my_test/recording_sample_test.js b/sdk/confluent/arm-confluent/recordings/node/my_test/recording_sample_test.js
new file mode 100644
index 00000000000..0f6ecb857ac
--- /dev/null
+++ b/sdk/confluent/arm-confluent/recordings/node/my_test/recording_sample_test.js
@@ -0,0 +1,5 @@
+let nock = require('nock');
+
+module.exports.hash = "7a6be38bb8cb644d64b4094802301751";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
diff --git a/sdk/confluent/arm-confluent/review/arm-confluent.api.md b/sdk/confluent/arm-confluent/review/arm-confluent.api.md
new file mode 100644
index 00000000000..68152a7c9de
--- /dev/null
+++ b/sdk/confluent/arm-confluent/review/arm-confluent.api.md
@@ -0,0 +1,352 @@
+## API Report File for "@azure/arm-confluent"
+
+> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
+
+```ts
+
+import * as coreAuth from '@azure/core-auth';
+import * as coreClient from '@azure/core-client';
+import { PagedAsyncIterableIterator } from '@azure/core-paging';
+import { PollerLike } from '@azure/core-lro';
+import { PollOperationState } from '@azure/core-lro';
+
+// @public
+export interface ConfluentAgreementResource {
+ accepted?: boolean;
+ readonly id?: string;
+ licenseTextLink?: string;
+ readonly name?: string;
+ plan?: string;
+ privacyPolicyLink?: string;
+ product?: string;
+ publisher?: string;
+ retrieveDatetime?: Date;
+ signature?: string;
+ readonly systemData?: SystemData;
+ readonly type?: string;
+}
+
+// @public
+export interface ConfluentAgreementResourceListResponse {
+ nextLink?: string;
+ value?: ConfluentAgreementResource[];
+}
+
+// @public (undocumented)
+export class ConfluentManagementClient extends coreClient.ServiceClient {
+ // (undocumented)
+ $host: string;
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfluentManagementClientOptionalParams);
+ // (undocumented)
+ apiVersion: string;
+ // (undocumented)
+ marketplaceAgreements: MarketplaceAgreements;
+ // (undocumented)
+ organization: Organization;
+ // (undocumented)
+ organizationOperations: OrganizationOperations;
+ // (undocumented)
+ subscriptionId: string;
+ // (undocumented)
+ validations: Validations;
+}
+
+// @public
+export interface ConfluentManagementClientOptionalParams extends coreClient.ServiceClientOptions {
+ $host?: string;
+ apiVersion?: string;
+ endpoint?: string;
+}
+
+// @public
+export type CreatedByType = string;
+
+// @public
+export interface ErrorResponseBody {
+ readonly code?: string;
+ readonly details?: ErrorResponseBody[];
+ readonly message?: string;
+ readonly target?: string;
+}
+
+// @public
+export enum KnownCreatedByType {
+ // (undocumented)
+ Application = "Application",
+ // (undocumented)
+ Key = "Key",
+ // (undocumented)
+ ManagedIdentity = "ManagedIdentity",
+ // (undocumented)
+ User = "User"
+}
+
+// @public
+export enum KnownProvisionState {
+ // (undocumented)
+ Accepted = "Accepted",
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleted = "Deleted",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ NotSpecified = "NotSpecified",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownSaaSOfferStatus {
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ InProgress = "InProgress",
+ // (undocumented)
+ PendingFulfillmentStart = "PendingFulfillmentStart",
+ // (undocumented)
+ Reinstated = "Reinstated",
+ // (undocumented)
+ Started = "Started",
+ // (undocumented)
+ Subscribed = "Subscribed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Suspended = "Suspended",
+ // (undocumented)
+ Unsubscribed = "Unsubscribed",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export interface MarketplaceAgreements {
+ create(options?: MarketplaceAgreementsCreateOptionalParams): Promise;
+ list(options?: MarketplaceAgreementsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface MarketplaceAgreementsCreateOptionalParams extends coreClient.OperationOptions {
+ body?: ConfluentAgreementResource;
+}
+
+// @public
+export type MarketplaceAgreementsCreateResponse = ConfluentAgreementResource;
+
+// @public
+export interface MarketplaceAgreementsListNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type MarketplaceAgreementsListNextResponse = ConfluentAgreementResourceListResponse;
+
+// @public
+export interface MarketplaceAgreementsListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type MarketplaceAgreementsListResponse = ConfluentAgreementResourceListResponse;
+
+// @public
+export interface OfferDetail {
+ id: string;
+ planId: string;
+ planName: string;
+ publisherId: string;
+ readonly status?: SaaSOfferStatus;
+ termUnit: string;
+}
+
+// @public
+export interface OperationDisplay {
+ description?: string;
+ operation?: string;
+ provider?: string;
+ resource?: string;
+}
+
+// @public
+export interface OperationListResult {
+ nextLink?: string;
+ value?: OperationResult[];
+}
+
+// @public
+export interface OperationResult {
+ display?: OperationDisplay;
+ isDataAction?: boolean;
+ name?: string;
+}
+
+// @public
+export interface Organization {
+ beginCreate(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise, OrganizationCreateResponse>>;
+ beginCreateAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, organizationName: string, options?: OrganizationGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: OrganizationListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: OrganizationListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ update(resourceGroupName: string, organizationName: string, options?: OrganizationUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface OrganizationCreateOptionalParams extends coreClient.OperationOptions {
+ body?: OrganizationResource;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type OrganizationCreateResponse = OrganizationResource;
+
+// @public
+export interface OrganizationDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface OrganizationGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationGetResponse = OrganizationResource;
+
+// @public
+export interface OrganizationListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationListByResourceGroupNextResponse = OrganizationResourceListResult;
+
+// @public
+export interface OrganizationListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationListByResourceGroupResponse = OrganizationResourceListResult;
+
+// @public
+export interface OrganizationListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationListBySubscriptionNextResponse = OrganizationResourceListResult;
+
+// @public
+export interface OrganizationListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationListBySubscriptionResponse = OrganizationResourceListResult;
+
+// @public
+export interface OrganizationOperations {
+ list(options?: OrganizationOperationsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface OrganizationOperationsListNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationOperationsListNextResponse = OperationListResult;
+
+// @public
+export interface OrganizationOperationsListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OrganizationOperationsListResponse = OperationListResult;
+
+// @public
+export interface OrganizationResource {
+ readonly createdTime?: Date;
+ readonly id?: string;
+ location?: string;
+ readonly name?: string;
+ offerDetail: OfferDetail;
+ readonly organizationId?: string;
+ readonly provisioningState?: ProvisionState;
+ readonly ssoUrl?: string;
+ readonly systemData?: SystemData;
+ tags?: {
+ [propertyName: string]: string;
+ };
+ readonly type?: string;
+ userDetail: UserDetail;
+}
+
+// @public
+export interface OrganizationResourceListResult {
+ nextLink?: string;
+ value?: OrganizationResource[];
+}
+
+// @public
+export interface OrganizationResourceUpdate {
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export interface OrganizationUpdateOptionalParams extends coreClient.OperationOptions {
+ body?: OrganizationResourceUpdate;
+}
+
+// @public
+export type OrganizationUpdateResponse = OrganizationResource;
+
+// @public
+export type ProvisionState = string;
+
+// @public
+export interface ResourceProviderDefaultErrorResponse {
+ readonly error?: ErrorResponseBody;
+}
+
+// @public
+export type SaaSOfferStatus = string;
+
+// @public
+export interface SystemData {
+ createdAt?: Date;
+ createdBy?: string;
+ createdByType?: CreatedByType;
+ lastModifiedAt?: Date;
+ lastModifiedBy?: string;
+ lastModifiedByType?: CreatedByType;
+}
+
+// @public
+export interface UserDetail {
+ emailAddress: string;
+ firstName?: string;
+ lastName?: string;
+}
+
+// @public
+export interface Validations {
+ validateOrganization(resourceGroupName: string, organizationName: string, body: OrganizationResource, options?: ValidationsValidateOrganizationOptionalParams): Promise;
+}
+
+// @public
+export interface ValidationsValidateOrganizationOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ValidationsValidateOrganizationResponse = OrganizationResource;
+
+// (No @packageDocumentation comment for this package)
+
+```
diff --git a/sdk/confluent/arm-confluent/rollup.config.js b/sdk/confluent/arm-confluent/rollup.config.js
index 1a686a0a4a8..9be1955eb7f 100644
--- a/sdk/confluent/arm-confluent/rollup.config.js
+++ b/sdk/confluent/arm-confluent/rollup.config.js
@@ -1,37 +1,188 @@
-import rollup from "rollup";
-import nodeResolve from "rollup-plugin-node-resolve";
-import sourcemaps from "rollup-plugin-sourcemaps";
-
-/**
- * @type {rollup.RollupFileOptions}
- */
-const config = {
- input: "./esm/confluentManagementClient.js",
- external: [
- "@azure/ms-rest-js",
- "@azure/ms-rest-azure-js"
- ],
- output: {
- file: "./dist/arm-confluent.js",
- format: "umd",
- name: "Azure.ArmConfluent",
- sourcemap: true,
- globals: {
- "@azure/ms-rest-js": "msRest",
- "@azure/ms-rest-azure-js": "msRestAzure"
- },
- banner: `/*
+/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */`
- },
- plugins: [
- nodeResolve({ mainFields: ['module', 'main'] }),
- sourcemaps()
- ]
+ */
+
+import nodeResolve from "@rollup/plugin-node-resolve";
+import cjs from "@rollup/plugin-commonjs";
+import sourcemaps from "rollup-plugin-sourcemaps";
+import multiEntry from "@rollup/plugin-multi-entry";
+import json from "@rollup/plugin-json";
+
+import nodeBuiltins from "builtin-modules";
+
+/**
+ * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
+ *
+ * NOTE: this manual configuration is only needed because OpenTelemetry uses an
+ * __exportStar downleveled helper function to declare its exports which confuses
+ * rollup's automatic discovery mechanism.
+ *
+ * @returns an object reference that can be `...`'d into your cjs() configuration.
+ */
+export function openTelemetryCommonJs() {
+ const namedExports = {};
+
+ for (const key of [
+ "@opentelemetry/api",
+ "@azure/core-tracing/node_modules/@opentelemetry/api"
+ ]) {
+ namedExports[key] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "SpanStatusCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
+
+ for (const version of releasedOpenTelemetryVersions) {
+ namedExports[
+ // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
+ `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
+ ] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "StatusCode",
+ "CanonicalCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ return namedExports;
+}
+
+// #region Warning Handler
+
+/**
+ * A function that can determine whether a rollupwarning should be ignored. If
+ * the function returns `true`, then the warning will not be displayed.
+ */
+
+function ignoreNiseSinonEvalWarnings(warning) {
+ return (
+ warning.code === "EVAL" &&
+ warning.id &&
+ (warning.id.includes("node_modules/nise") ||
+ warning.id.includes("node_modules/sinon")) === true
+ );
+}
+
+function ignoreChaiCircularDependencyWarnings(warning) {
+ return (
+ warning.code === "CIRCULAR_DEPENDENCY" &&
+ warning.importer && warning.importer.includes("node_modules/chai") === true
+ );
+}
+
+const warningInhibitors = [
+ ignoreChaiCircularDependencyWarnings,
+ ignoreNiseSinonEvalWarnings
+];
+
+/**
+ * Construct a warning handler for the shared rollup configuration
+ * that ignores certain warnings that are not relevant to testing.
+ */
+function makeOnWarnForTesting() {
+ return (warning, warn) => {
+ // If every inhibitor returns false (i.e. no inhibitors), then show the warning
+ if (warningInhibitors.every((inhib) => !inhib(warning))) {
+ warn(warning);
+ }
+ };
+}
+
+// #endregion
+
+function makeBrowserTestConfig() {
+ const config = {
+ input: {
+ include: ["dist-esm/test/**/*.spec.js"],
+ exclude: ["dist-esm/test/**/node/**"]
+ },
+ output: {
+ file: `dist-test/index.browser.js`,
+ format: "umd",
+ sourcemap: true
+ },
+ preserveSymlinks: false,
+ plugins: [
+ multiEntry({ exports: false }),
+ nodeResolve({
+ mainFields: ["module", "browser"]
+ }),
+ cjs({
+ namedExports: {
+ // Chai's strange internal architecture makes it impossible to statically
+ // analyze its exports.
+ chai: [
+ "version",
+ "use",
+ "util",
+ "config",
+ "expect",
+ "should",
+ "assert"
+ ],
+ ...openTelemetryCommonJs()
+ }
+ }),
+ json(),
+ sourcemaps()
+ //viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
+ ],
+ onwarn: makeOnWarnForTesting(),
+ // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
+ // rollup started respecting the "sideEffects" field in package.json. Since
+ // our package.json sets "sideEffects=false", this also applies to test
+ // code, which causes all tests to be removed by tree-shaking.
+ treeshake: false
+ };
+
+ return config;
+}
+
+const defaultConfigurationOptions = {
+ disableBrowserBundle: false
};
-export default config;
+export function makeConfig(pkg, options) {
+ options = {
+ ...defaultConfigurationOptions,
+ ...(options || {})
+ };
+
+ const baseConfig = {
+ // Use the package's module field if it has one
+ input: pkg["module"] || "dist-esm/src/index.js",
+ external: [
+ ...nodeBuiltins,
+ ...Object.keys(pkg.dependencies),
+ ...Object.keys(pkg.devDependencies)
+ ],
+ output: { file: "dist/index.js", format: "cjs", sourcemap: true },
+ preserveSymlinks: false,
+ plugins: [sourcemaps(), nodeResolve(), cjs()]
+ };
+
+ const config = [baseConfig];
+
+ if (!options.disableBrowserBundle) {
+ config.push(makeBrowserTestConfig());
+ }
+
+ return config;
+}
+
+export default makeConfig(require("./package.json"));
diff --git a/sdk/confluent/arm-confluent/src/confluentManagementClient.ts b/sdk/confluent/arm-confluent/src/confluentManagementClient.ts
index fc7af6cbdb4..3bf659bb44b 100644
--- a/sdk/confluent/arm-confluent/src/confluentManagementClient.ts
+++ b/sdk/confluent/arm-confluent/src/confluentManagementClient.ts
@@ -3,54 +3,89 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import { TokenCredential } from "@azure/core-auth";
-import * as Models from "./models";
-import * as Mappers from "./models/mappers";
-import * as operations from "./operations";
-import { ConfluentManagementClientContext } from "./confluentManagementClientContext";
+import * as coreClient from "@azure/core-client";
+import * as coreAuth from "@azure/core-auth";
+import {
+ MarketplaceAgreementsImpl,
+ OrganizationOperationsImpl,
+ OrganizationImpl,
+ ValidationsImpl
+} from "./operations";
+import {
+ MarketplaceAgreements,
+ OrganizationOperations,
+ Organization,
+ Validations
+} from "./operationsInterfaces";
+import { ConfluentManagementClientOptionalParams } from "./models";
-class ConfluentManagementClient extends ConfluentManagementClientContext {
- // Operation groups
- marketplaceAgreements: operations.MarketplaceAgreements;
- organizationOperations: operations.OrganizationOperations;
- organization: operations.Organization;
- validations: operations.Validations;
+export class ConfluentManagementClient extends coreClient.ServiceClient {
+ $host: string;
+ apiVersion: string;
+ subscriptionId: string;
/**
* Initializes a new instance of the ConfluentManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
- * more information about these credentials, see
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
- * @azure/ms-rest-browserauth are also supported.
+ * @param credentials Subscription credentials which uniquely identify client subscription.
* @param subscriptionId Microsoft Azure subscription id
- * @param [options] The parameter options
+ * @param options The parameter options
*/
constructor(
- credentials: msRest.ServiceClientCredentials | TokenCredential,
+ credentials: coreAuth.TokenCredential,
subscriptionId: string,
- options?: Models.ConfluentManagementClientOptions
+ options?: ConfluentManagementClientOptionalParams
) {
- super(credentials, subscriptionId, options);
- this.marketplaceAgreements = new operations.MarketplaceAgreements(this);
- this.organizationOperations = new operations.OrganizationOperations(this);
- this.organization = new operations.Organization(this);
- this.validations = new operations.Validations(this);
+ if (credentials === undefined) {
+ throw new Error("'credentials' cannot be null");
+ }
+ if (subscriptionId === undefined) {
+ throw new Error("'subscriptionId' cannot be null");
+ }
+
+ // Initializing default values for options
+ if (!options) {
+ options = {};
+ }
+ const defaults: ConfluentManagementClientOptionalParams = {
+ requestContentType: "application/json; charset=utf-8",
+ credential: credentials
+ };
+
+ const packageDetails = `azsdk-js-arm-confluent/3.0.0-beta.1`;
+ const userAgentPrefix =
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
+ : `${packageDetails}`;
+
+ if (!options.credentialScopes) {
+ options.credentialScopes = ["https://management.azure.com/.default"];
+ }
+ const optionsWithDefaults = {
+ ...defaults,
+ ...options,
+ userAgentOptions: {
+ userAgentPrefix
+ },
+ baseUri: options.endpoint || "https://management.azure.com"
+ };
+ super(optionsWithDefaults);
+ // Parameter assignments
+ this.subscriptionId = subscriptionId;
+
+ // Assigning values to Constant parameters
+ this.$host = options.$host || "https://management.azure.com";
+ this.apiVersion = options.apiVersion || "2021-09-01-preview";
+ this.marketplaceAgreements = new MarketplaceAgreementsImpl(this);
+ this.organizationOperations = new OrganizationOperationsImpl(this);
+ this.organization = new OrganizationImpl(this);
+ this.validations = new ValidationsImpl(this);
}
+
+ marketplaceAgreements: MarketplaceAgreements;
+ organizationOperations: OrganizationOperations;
+ organization: Organization;
+ validations: Validations;
}
-
-// Operation Specifications
-
-export {
- ConfluentManagementClient,
- ConfluentManagementClientContext,
- Models as ConfluentManagementModels,
- Mappers as ConfluentManagementMappers
-};
-export * from "./operations";
diff --git a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts b/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts
deleted file mode 100644
index e40c2e8002a..00000000000
--- a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
- */
-
-import * as Models from "./models";
-import * as msRest from "@azure/ms-rest-js";
-import { TokenCredential } from "@azure/core-auth";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-
-const packageName = "@azure/arm-confluent";
-const packageVersion = "2.1.0";
-
-export class ConfluentManagementClientContext extends msRestAzure.AzureServiceClient {
- credentials: msRest.ServiceClientCredentials | TokenCredential;
- apiVersion?: string;
- subscriptionId: string;
-
- /**
- * Initializes a new instance of the ConfluentManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
- * more information about these credentials, see
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
- * @azure/ms-rest-browserauth are also supported.
- * @param subscriptionId Microsoft Azure subscription id
- * @param [options] The parameter options
- */
- constructor(
- credentials: msRest.ServiceClientCredentials | TokenCredential,
- subscriptionId: string,
- options?: Models.ConfluentManagementClientOptions
- ) {
- if (credentials == undefined) {
- throw new Error("'credentials' cannot be null.");
- }
- if (subscriptionId == undefined) {
- throw new Error("'subscriptionId' cannot be null.");
- }
-
- if (!options) {
- options = {};
- }
- if (!options.userAgent) {
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
- }
-
- super(credentials, options);
-
- this.apiVersion = "2021-03-01-preview";
- this.acceptLanguage = "en-US";
- this.longRunningOperationRetryTimeout = 30;
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
- this.requestContentType = "application/json; charset=utf-8";
- this.credentials = credentials;
- this.subscriptionId = subscriptionId;
-
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
- this.acceptLanguage = options.acceptLanguage;
- }
- if (
- options.longRunningOperationRetryTimeout !== null &&
- options.longRunningOperationRetryTimeout !== undefined
- ) {
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
- }
- }
-}
diff --git a/sdk/confluent/arm-confluent/src/models/validationsMappers.ts b/sdk/confluent/arm-confluent/src/index.ts
similarity index 52%
rename from sdk/confluent/arm-confluent/src/models/validationsMappers.ts
rename to sdk/confluent/arm-confluent/src/index.ts
index 0e323068c0f..64e20674e89 100644
--- a/sdk/confluent/arm-confluent/src/models/validationsMappers.ts
+++ b/sdk/confluent/arm-confluent/src/index.ts
@@ -6,13 +6,7 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-export {
- BaseResource,
- ConfluentAgreementResource,
- ErrorResponseBody,
- OfferDetail,
- OrganizationResource,
- ResourceProviderDefaultErrorResponse,
- SystemData,
- UserDetail
-} from "../models/mappers";
+///
+export * from "./models";
+export { ConfluentManagementClient } from "./confluentManagementClient";
+export * from "./operationsInterfaces";
diff --git a/sdk/confluent/arm-confluent/src/lroImpl.ts b/sdk/confluent/arm-confluent/src/lroImpl.ts
new file mode 100644
index 00000000000..518d5f053b4
--- /dev/null
+++ b/sdk/confluent/arm-confluent/src/lroImpl.ts
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { LongRunningOperation, LroResponse } from "@azure/core-lro";
+
+export class LroImpl implements LongRunningOperation {
+ constructor(
+ private sendOperationFn: (args: any, spec: any) => Promise>,
+ private args: Record,
+ private spec: {
+ readonly requestBody?: unknown;
+ readonly path?: string;
+ readonly httpMethod: string;
+ } & Record,
+ public requestPath: string = spec.path!,
+ public requestMethod: string = spec.httpMethod
+ ) {}
+ public async sendInitialRequest(): Promise> {
+ return this.sendOperationFn(this.args, this.spec);
+ }
+ public async sendPollRequest(path: string): Promise> {
+ const { requestBody, ...restSpec } = this.spec;
+ return this.sendOperationFn(this.args, {
+ ...restSpec,
+ path,
+ httpMethod: "GET"
+ });
+ }
+}
diff --git a/sdk/confluent/arm-confluent/src/models/index.ts b/sdk/confluent/arm-confluent/src/models/index.ts
index 8553b11ca30..e0c358962f7 100644
--- a/sdk/confluent/arm-confluent/src/models/index.ts
+++ b/sdk/confluent/arm-confluent/src/models/index.ts
@@ -6,707 +6,432 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
+import * as coreClient from "@azure/core-client";
-export { BaseResource, CloudError };
-
-/**
- * Metadata pertaining to creation and last modification of the resource.
- */
-export interface SystemData {
- /**
- * The identity that created the resource.
- */
- createdBy?: string;
- /**
- * The type of identity that created the resource. Possible values include: 'User',
- * 'Application', 'ManagedIdentity', 'Key'
- */
- createdByType?: CreatedByType;
- /**
- * The timestamp of resource creation (UTC).
- */
- createdAt?: Date;
- /**
- * The identity that last modified the resource.
- */
- lastModifiedBy?: string;
- /**
- * The type of identity that last modified the resource. Possible values include: 'User',
- * 'Application', 'ManagedIdentity', 'Key'
- */
- lastModifiedByType?: CreatedByType;
- /**
- * The timestamp of resource last modification (UTC)
- */
- lastModifiedAt?: Date;
+/** Response of a list operation. */
+export interface ConfluentAgreementResourceListResponse {
+ /** Results of a list operation. */
+ value?: ConfluentAgreementResource[];
+ /** Link to the next set of results, if any. */
+ nextLink?: string;
}
-/**
- * Agreement Terms definition
- */
-export interface ConfluentAgreementResource extends BaseResource {
+/** Agreement Terms definition */
+export interface ConfluentAgreementResource {
/**
* The ARM id of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The name of the agreement.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The type of the agreement.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* Metadata pertaining to creation and last modification of the resource
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
- /**
- * Publisher identifier string.
- */
+ /** Publisher identifier string. */
publisher?: string;
- /**
- * Product identifier string.
- */
+ /** Product identifier string. */
product?: string;
- /**
- * Plan identifier string.
- */
+ /** Plan identifier string. */
plan?: string;
- /**
- * Link to HTML with Microsoft and Publisher terms.
- */
+ /** Link to HTML with Microsoft and Publisher terms. */
licenseTextLink?: string;
- /**
- * Link to the privacy policy of the publisher.
- */
+ /** Link to the privacy policy of the publisher. */
privacyPolicyLink?: string;
- /**
- * Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
- */
+ /** Date and time in UTC of when the terms were accepted. This is empty if Accepted is false. */
retrieveDatetime?: Date;
- /**
- * Terms signature.
- */
+ /** Terms signature. */
signature?: string;
- /**
- * If any version of the terms have been accepted, otherwise false.
- */
+ /** If any version of the terms have been accepted, otherwise false. */
accepted?: boolean;
}
-/**
- * The object that represents the operation.
- */
-export interface OperationDisplay {
- /**
- * Service provider: Microsoft.Confluent
- */
- provider?: string;
- /**
- * Type on which the operation is performed, e.g., 'clusters'.
- */
- resource?: string;
- /**
- * Operation type, e.g., read, write, delete, etc.
- */
- operation?: string;
- /**
- * Description of the operation, e.g., 'Write confluent'.
- */
- description?: string;
+/** Metadata pertaining to creation and last modification of the resource. */
+export interface SystemData {
+ /** The identity that created the resource. */
+ createdBy?: string;
+ /** The type of identity that created the resource. */
+ createdByType?: CreatedByType;
+ /** The timestamp of resource creation (UTC). */
+ createdAt?: Date;
+ /** The identity that last modified the resource. */
+ lastModifiedBy?: string;
+ /** The type of identity that last modified the resource. */
+ lastModifiedByType?: CreatedByType;
+ /** The timestamp of resource last modification (UTC) */
+ lastModifiedAt?: Date;
}
-/**
- * An Confluent REST API operation.
- */
-export interface OperationResult {
- /**
- * Operation name: {provider}/{resource}/{operation}
- */
- name?: string;
- /**
- * The object that represents the operation.
- */
- display?: OperationDisplay;
- /**
- * Indicates whether the operation is a data action
- */
- isDataAction?: boolean;
-}
-
-/**
- * Response body of Error
- * @summary ErrorResponseBody
- */
-export interface ErrorResponseBody {
- /**
- * Error code
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly code?: string;
- /**
- * Error message
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly message?: string;
- /**
- * Error target
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly target?: string;
- /**
- * Error detail
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly details?: ErrorResponseBody[];
-}
-
-/**
- * Default error response for resource provider
- * @summary ResourceProviderDefaultErrorResponse
- */
+/** Default error response for resource provider */
export interface ResourceProviderDefaultErrorResponse {
/**
* Response body of Error
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly error?: ErrorResponseBody;
}
-/**
- * Confluent Offer detail
- */
-export interface OfferDetail {
+/** Response body of Error */
+export interface ErrorResponseBody {
/**
- * Publisher Id
+ * Error code
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- publisherId: string;
+ readonly code?: string;
/**
- * Offer Id
+ * Error message
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- id: string;
+ readonly message?: string;
/**
- * Offer Plan Id
+ * Error target
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- planId: string;
+ readonly target?: string;
/**
- * Offer Plan Name
+ * Error detail
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- planName: string;
- /**
- * Offer Plan Term unit
- */
- termUnit: string;
- /**
- * SaaS Offer Status. Possible values include: 'Started', 'PendingFulfillmentStart',
- * 'InProgress', 'Subscribed', 'Suspended', 'Reinstated', 'Succeeded', 'Failed', 'Unsubscribed',
- * 'Updating'
- */
- status?: SaaSOfferStatus;
+ readonly details?: ErrorResponseBody[];
}
-/**
- * Subscriber detail
- */
-export interface UserDetail {
- /**
- * First name
- */
- firstName?: string;
- /**
- * Last name
- */
- lastName?: string;
- /**
- * Email address
- */
- emailAddress: string;
+/** Result of GET request to list Confluent operations. */
+export interface OperationListResult {
+ /** List of Confluent operations supported by the Microsoft.Confluent provider. */
+ value?: OperationResult[];
+ /** URL to get the next set of operation list results if there are any. */
+ nextLink?: string;
}
-/**
- * Organization resource.
- */
-export interface OrganizationResource extends BaseResource {
+/** An Confluent REST API operation. */
+export interface OperationResult {
+ /** Operation name: {provider}/{resource}/{operation} */
+ name?: string;
+ /** The object that represents the operation. */
+ display?: OperationDisplay;
+ /** Indicates whether the operation is a data action */
+ isDataAction?: boolean;
+}
+
+/** The object that represents the operation. */
+export interface OperationDisplay {
+ /** Service provider: Microsoft.Confluent */
+ provider?: string;
+ /** Type on which the operation is performed, e.g., 'clusters'. */
+ resource?: string;
+ /** Operation type, e.g., read, write, delete, etc. */
+ operation?: string;
+ /** Description of the operation, e.g., 'Write confluent'. */
+ description?: string;
+}
+
+/** The response of a list operation. */
+export interface OrganizationResourceListResult {
+ /** Result of a list operation. */
+ value?: OrganizationResource[];
+ /** Link to the next set of results, if any. */
+ nextLink?: string;
+}
+
+/** Organization resource. */
+export interface OrganizationResource {
/**
* The ARM id of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The name of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The type of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* Metadata pertaining to creation and last modification of the resource
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
+ /** Organization resource tags */
+ tags?: { [propertyName: string]: string };
+ /** Location of Organization resource */
+ location?: string;
/**
* The creation time of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly createdTime?: Date;
/**
- * Provision states for confluent RP. Possible values include: 'Accepted', 'Creating',
- * 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Provision states for confluent RP
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ProvisionState;
/**
* Id of the Confluent organization.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly organizationId?: string;
/**
* SSO url for the Confluent organization.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly ssoUrl?: string;
- /**
- * Confluent offer detail
- */
+ /** Confluent offer detail */
offerDetail: OfferDetail;
- /**
- * Subscriber detail
- */
+ /** Subscriber detail */
userDetail: UserDetail;
- /**
- * Organization resource tags
- */
- tags?: { [propertyName: string]: string };
- /**
- * Location of Organization resource
- */
- location?: string;
}
-/**
- * Organization Resource update
- */
+/** Confluent Offer detail */
+export interface OfferDetail {
+ /** Publisher Id */
+ publisherId: string;
+ /** Offer Id */
+ id: string;
+ /** Offer Plan Id */
+ planId: string;
+ /** Offer Plan Name */
+ planName: string;
+ /** Offer Plan Term unit */
+ termUnit: string;
+ /**
+ * SaaS Offer Status
+ * NOTE: This property will not be serialized. It can only be populated by the server.
+ */
+ readonly status?: SaaSOfferStatus;
+}
+
+/** Subscriber detail */
+export interface UserDetail {
+ /** First name */
+ firstName?: string;
+ /** Last name */
+ lastName?: string;
+ /** Email address */
+ emailAddress: string;
+}
+
+/** Organization Resource update */
export interface OrganizationResourceUpdate {
- /**
- * ARM resource tags
- */
+ /** ARM resource tags */
tags?: { [propertyName: string]: string };
}
+/** Known values of {@link CreatedByType} that the service accepts. */
+export enum KnownCreatedByType {
+ User = "User",
+ Application = "Application",
+ ManagedIdentity = "ManagedIdentity",
+ Key = "Key"
+}
+
/**
- * Optional Parameters.
+ * Defines values for CreatedByType. \
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **User** \
+ * **Application** \
+ * **ManagedIdentity** \
+ * **Key**
*/
-export interface MarketplaceAgreementsCreateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Confluent Marketplace Agreement resource
- */
+export type CreatedByType = string;
+
+/** Known values of {@link ProvisionState} that the service accepts. */
+export enum KnownProvisionState {
+ Accepted = "Accepted",
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Failed = "Failed",
+ Canceled = "Canceled",
+ Deleted = "Deleted",
+ NotSpecified = "NotSpecified"
+}
+
+/**
+ * Defines values for ProvisionState. \
+ * {@link KnownProvisionState} can be used interchangeably with ProvisionState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Accepted** \
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Failed** \
+ * **Canceled** \
+ * **Deleted** \
+ * **NotSpecified**
+ */
+export type ProvisionState = string;
+
+/** Known values of {@link SaaSOfferStatus} that the service accepts. */
+export enum KnownSaaSOfferStatus {
+ Started = "Started",
+ PendingFulfillmentStart = "PendingFulfillmentStart",
+ InProgress = "InProgress",
+ Subscribed = "Subscribed",
+ Suspended = "Suspended",
+ Reinstated = "Reinstated",
+ Succeeded = "Succeeded",
+ Failed = "Failed",
+ Unsubscribed = "Unsubscribed",
+ Updating = "Updating"
+}
+
+/**
+ * Defines values for SaaSOfferStatus. \
+ * {@link KnownSaaSOfferStatus} can be used interchangeably with SaaSOfferStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Started** \
+ * **PendingFulfillmentStart** \
+ * **InProgress** \
+ * **Subscribed** \
+ * **Suspended** \
+ * **Reinstated** \
+ * **Succeeded** \
+ * **Failed** \
+ * **Unsubscribed** \
+ * **Updating**
+ */
+export type SaaSOfferStatus = string;
+
+/** Optional parameters. */
+export interface MarketplaceAgreementsListOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the list operation. */
+export type MarketplaceAgreementsListResponse = ConfluentAgreementResourceListResponse;
+
+/** Optional parameters. */
+export interface MarketplaceAgreementsCreateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Confluent Marketplace Agreement resource */
body?: ConfluentAgreementResource;
}
-/**
- * Optional Parameters.
- */
-export interface OrganizationCreateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Organization resource model
- */
+/** Contains response data for the create operation. */
+export type MarketplaceAgreementsCreateResponse = ConfluentAgreementResource;
+
+/** Optional parameters. */
+export interface MarketplaceAgreementsListNextOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listNext operation. */
+export type MarketplaceAgreementsListNextResponse = ConfluentAgreementResourceListResponse;
+
+/** Optional parameters. */
+export interface OrganizationOperationsListOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the list operation. */
+export type OrganizationOperationsListResponse = OperationListResult;
+
+/** Optional parameters. */
+export interface OrganizationOperationsListNextOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listNext operation. */
+export type OrganizationOperationsListNextResponse = OperationListResult;
+
+/** Optional parameters. */
+export interface OrganizationListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listBySubscription operation. */
+export type OrganizationListBySubscriptionResponse = OrganizationResourceListResult;
+
+/** Optional parameters. */
+export interface OrganizationListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listByResourceGroup operation. */
+export type OrganizationListByResourceGroupResponse = OrganizationResourceListResult;
+
+/** Optional parameters. */
+export interface OrganizationGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type OrganizationGetResponse = OrganizationResource;
+
+/** Optional parameters. */
+export interface OrganizationCreateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Organization resource model */
body?: OrganizationResource;
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * Optional Parameters.
- */
-export interface OrganizationUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Updated Organization resource
- */
+/** Contains response data for the create operation. */
+export type OrganizationCreateResponse = OrganizationResource;
+
+/** Optional parameters. */
+export interface OrganizationUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Updated Organization resource */
body?: OrganizationResourceUpdate;
}
-/**
- * Optional Parameters.
- */
-export interface OrganizationBeginCreateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Organization resource model
- */
- body?: OrganizationResource;
+/** Contains response data for the update operation. */
+export type OrganizationUpdateResponse = OrganizationResource;
+
+/** Optional parameters. */
+export interface OrganizationDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * An interface representing ConfluentManagementClientOptions.
- */
-export interface ConfluentManagementClientOptions extends AzureServiceClientOptions {
- baseUri?: string;
+/** Optional parameters. */
+export interface OrganizationListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listBySubscriptionNext operation. */
+export type OrganizationListBySubscriptionNextResponse = OrganizationResourceListResult;
+
+/** Optional parameters. */
+export interface OrganizationListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listByResourceGroupNext operation. */
+export type OrganizationListByResourceGroupNextResponse = OrganizationResourceListResult;
+
+/** Optional parameters. */
+export interface ValidationsValidateOrganizationOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the validateOrganization operation. */
+export type ValidationsValidateOrganizationResponse = OrganizationResource;
+
+/** Optional parameters. */
+export interface ConfluentManagementClientOptionalParams
+ extends coreClient.ServiceClientOptions {
+ /** server parameter */
+ $host?: string;
+ /** Api Version */
+ apiVersion?: string;
+ /** Overrides client endpoint. */
+ endpoint?: string;
}
-
-/**
- * @interface
- * Response of a list operation.
- * @extends Array
- */
-export interface ConfluentAgreementResourceListResponse extends Array {
- /**
- * Link to the next set of results, if any.
- */
- nextLink?: string;
-}
-
-/**
- * @interface
- * Result of GET request to list Confluent operations.
- * @extends Array
- */
-export interface OperationListResult extends Array {
- /**
- * URL to get the next set of operation list results if there are any.
- */
- nextLink?: string;
-}
-
-/**
- * @interface
- * The response of a list operation.
- * @extends Array
- */
-export interface OrganizationResourceListResult extends Array {
- /**
- * Link to the next set of results, if any.
- */
- nextLink?: string;
-}
-
-/**
- * Defines values for CreatedByType.
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
- * @readonly
- * @enum {string}
- */
-export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
-
-/**
- * Defines values for ProvisionState.
- * Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
- * 'Canceled', 'Deleted', 'NotSpecified'
- * @readonly
- * @enum {string}
- */
-export type ProvisionState =
- | "Accepted"
- | "Creating"
- | "Updating"
- | "Deleting"
- | "Succeeded"
- | "Failed"
- | "Canceled"
- | "Deleted"
- | "NotSpecified";
-
-/**
- * Defines values for SaaSOfferStatus.
- * Possible values include: 'Started', 'PendingFulfillmentStart', 'InProgress', 'Subscribed',
- * 'Suspended', 'Reinstated', 'Succeeded', 'Failed', 'Unsubscribed', 'Updating'
- * @readonly
- * @enum {string}
- */
-export type SaaSOfferStatus =
- | "Started"
- | "PendingFulfillmentStart"
- | "InProgress"
- | "Subscribed"
- | "Suspended"
- | "Reinstated"
- | "Succeeded"
- | "Failed"
- | "Unsubscribed"
- | "Updating";
-
-/**
- * Contains response data for the list operation.
- */
-export type MarketplaceAgreementsListResponse = ConfluentAgreementResourceListResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ConfluentAgreementResourceListResponse;
- };
-};
-
-/**
- * Contains response data for the create operation.
- */
-export type MarketplaceAgreementsCreateResponse = ConfluentAgreementResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ConfluentAgreementResource;
- };
-};
-
-/**
- * Contains response data for the listNext operation.
- */
-export type MarketplaceAgreementsListNextResponse = ConfluentAgreementResourceListResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ConfluentAgreementResourceListResponse;
- };
-};
-
-/**
- * Contains response data for the list operation.
- */
-export type OrganizationOperationsListResponse = OperationListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationListResult;
- };
-};
-
-/**
- * Contains response data for the listNext operation.
- */
-export type OrganizationOperationsListNextResponse = OperationListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationListResult;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type OrganizationListBySubscriptionResponse = OrganizationResourceListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResourceListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type OrganizationListByResourceGroupResponse = OrganizationResourceListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResourceListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type OrganizationGetResponse = OrganizationResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResource;
- };
-};
-
-/**
- * Contains response data for the create operation.
- */
-export type OrganizationCreateResponse = OrganizationResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResource;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type OrganizationUpdateResponse = OrganizationResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResource;
- };
-};
-
-/**
- * Contains response data for the beginCreate operation.
- */
-export type OrganizationBeginCreateResponse = OrganizationResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResource;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type OrganizationListBySubscriptionNextResponse = OrganizationResourceListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResourceListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type OrganizationListByResourceGroupNextResponse = OrganizationResourceListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResourceListResult;
- };
-};
-
-/**
- * Contains response data for the validateOrganization operation.
- */
-export type ValidationsValidateOrganizationResponse = OrganizationResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OrganizationResource;
- };
-};
diff --git a/sdk/confluent/arm-confluent/src/models/mappers.ts b/sdk/confluent/arm-confluent/src/models/mappers.ts
index 970d72114b8..7fbaf2733eb 100644
--- a/sdk/confluent/arm-confluent/src/models/mappers.ts
+++ b/sdk/confluent/arm-confluent/src/models/mappers.ts
@@ -6,87 +6,62 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
+import * as coreClient from "@azure/core-client";
-export const CloudError = CloudErrorMapper;
-export const BaseResource = BaseResourceMapper;
-
-export const SystemData: msRest.CompositeMapper = {
- serializedName: "systemData",
+export const ConfluentAgreementResourceListResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SystemData",
+ className: "ConfluentAgreementResourceListResponse",
modelProperties: {
- createdBy: {
- serializedName: "createdBy",
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ConfluentAgreementResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
- },
- createdByType: {
- serializedName: "createdByType",
- type: {
- name: "String"
- }
- },
- createdAt: {
- serializedName: "createdAt",
- type: {
- name: "DateTime"
- }
- },
- lastModifiedBy: {
- serializedName: "lastModifiedBy",
- type: {
- name: "String"
- }
- },
- lastModifiedByType: {
- serializedName: "lastModifiedByType",
- type: {
- name: "String"
- }
- },
- lastModifiedAt: {
- serializedName: "lastModifiedAt",
- type: {
- name: "DateTime"
- }
}
}
}
};
-export const ConfluentAgreementResource: msRest.CompositeMapper = {
- serializedName: "ConfluentAgreementResource",
+export const ConfluentAgreementResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "ConfluentAgreementResource",
modelProperties: {
id: {
- readOnly: true,
serializedName: "id",
+ readOnly: true,
type: {
name: "String"
}
},
name: {
- readOnly: true,
serializedName: "name",
+ readOnly: true,
type: {
name: "String"
}
},
type: {
- readOnly: true,
serializedName: "type",
+ readOnly: true,
type: {
name: "String"
}
},
systemData: {
- readOnly: true,
serializedName: "systemData",
type: {
name: "Composite",
@@ -145,8 +120,166 @@ export const ConfluentAgreementResource: msRest.CompositeMapper = {
}
};
-export const OperationDisplay: msRest.CompositeMapper = {
- serializedName: "OperationDisplay",
+export const SystemData: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "SystemData",
+ modelProperties: {
+ createdBy: {
+ serializedName: "createdBy",
+ type: {
+ name: "String"
+ }
+ },
+ createdByType: {
+ serializedName: "createdByType",
+ type: {
+ name: "String"
+ }
+ },
+ createdAt: {
+ serializedName: "createdAt",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedBy: {
+ serializedName: "lastModifiedBy",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedByType: {
+ serializedName: "lastModifiedByType",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedAt: {
+ serializedName: "lastModifiedAt",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
+export const ResourceProviderDefaultErrorResponse: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ResourceProviderDefaultErrorResponse",
+ modelProperties: {
+ error: {
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ErrorResponseBody"
+ }
+ }
+ }
+ }
+};
+
+export const ErrorResponseBody: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ErrorResponseBody",
+ modelProperties: {
+ code: {
+ serializedName: "code",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ target: {
+ serializedName: "target",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ details: {
+ serializedName: "details",
+ readOnly: true,
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ErrorResponseBody"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const OperationListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OperationListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OperationResult"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const OperationResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OperationResult",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ display: {
+ serializedName: "display",
+ type: {
+ name: "Composite",
+ className: "OperationDisplay"
+ }
+ },
+ isDataAction: {
+ serializedName: "isDataAction",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const OperationDisplay: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "OperationDisplay",
@@ -179,386 +312,13 @@ export const OperationDisplay: msRest.CompositeMapper = {
}
};
-export const OperationResult: msRest.CompositeMapper = {
- serializedName: "OperationResult",
- type: {
- name: "Composite",
- className: "OperationResult",
- modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- display: {
- serializedName: "display",
- type: {
- name: "Composite",
- className: "OperationDisplay"
- }
- },
- isDataAction: {
- serializedName: "isDataAction",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const ErrorResponseBody: msRest.CompositeMapper = {
- serializedName: "ErrorResponseBody",
- type: {
- name: "Composite",
- className: "ErrorResponseBody",
- modelProperties: {
- code: {
- readOnly: true,
- serializedName: "code",
- type: {
- name: "String"
- }
- },
- message: {
- readOnly: true,
- serializedName: "message",
- type: {
- name: "String"
- }
- },
- target: {
- readOnly: true,
- serializedName: "target",
- type: {
- name: "String"
- }
- },
- details: {
- readOnly: true,
- serializedName: "details",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ErrorResponseBody"
- }
- }
- }
- }
- }
- }
-};
-
-export const ResourceProviderDefaultErrorResponse: msRest.CompositeMapper = {
- serializedName: "ResourceProviderDefaultErrorResponse",
- type: {
- name: "Composite",
- className: "ResourceProviderDefaultErrorResponse",
- modelProperties: {
- error: {
- readOnly: true,
- serializedName: "error",
- type: {
- name: "Composite",
- className: "ErrorResponseBody"
- }
- }
- }
- }
-};
-
-export const OfferDetail: msRest.CompositeMapper = {
- serializedName: "OfferDetail",
- type: {
- name: "Composite",
- className: "OfferDetail",
- modelProperties: {
- publisherId: {
- required: true,
- serializedName: "publisherId",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- id: {
- required: true,
- serializedName: "id",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- planId: {
- required: true,
- serializedName: "planId",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- planName: {
- required: true,
- serializedName: "planName",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- termUnit: {
- required: true,
- serializedName: "termUnit",
- constraints: {
- MaxLength: 25
- },
- type: {
- name: "String"
- }
- },
- status: {
- serializedName: "status",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const UserDetail: msRest.CompositeMapper = {
- serializedName: "UserDetail",
- type: {
- name: "Composite",
- className: "UserDetail",
- modelProperties: {
- firstName: {
- serializedName: "firstName",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- lastName: {
- serializedName: "lastName",
- constraints: {
- MaxLength: 50
- },
- type: {
- name: "String"
- }
- },
- emailAddress: {
- required: true,
- serializedName: "emailAddress",
- constraints: {
- Pattern: /^\S+@\S+\.\S+$/
- },
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OrganizationResource: msRest.CompositeMapper = {
- serializedName: "OrganizationResource",
- type: {
- name: "Composite",
- className: "OrganizationResource",
- modelProperties: {
- id: {
- readOnly: true,
- serializedName: "id",
- type: {
- name: "String"
- }
- },
- name: {
- readOnly: true,
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- type: {
- readOnly: true,
- serializedName: "type",
- type: {
- name: "String"
- }
- },
- systemData: {
- readOnly: true,
- serializedName: "systemData",
- type: {
- name: "Composite",
- className: "SystemData"
- }
- },
- createdTime: {
- readOnly: true,
- serializedName: "properties.createdTime",
- type: {
- name: "DateTime"
- }
- },
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
- type: {
- name: "String"
- }
- },
- organizationId: {
- readOnly: true,
- serializedName: "properties.organizationId",
- type: {
- name: "String"
- }
- },
- ssoUrl: {
- readOnly: true,
- serializedName: "properties.ssoUrl",
- type: {
- name: "String"
- }
- },
- offerDetail: {
- required: true,
- serializedName: "properties.offerDetail",
- type: {
- name: "Composite",
- className: "OfferDetail"
- }
- },
- userDetail: {
- required: true,
- serializedName: "properties.userDetail",
- type: {
- name: "Composite",
- className: "UserDetail"
- }
- },
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- location: {
- serializedName: "location",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OrganizationResourceUpdate: msRest.CompositeMapper = {
- serializedName: "OrganizationResourceUpdate",
- type: {
- name: "Composite",
- className: "OrganizationResourceUpdate",
- modelProperties: {
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- }
- }
- }
-};
-
-export const ConfluentAgreementResourceListResponse: msRest.CompositeMapper = {
- serializedName: "ConfluentAgreementResourceListResponse",
- type: {
- name: "Composite",
- className: "ConfluentAgreementResourceListResponse",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ConfluentAgreementResource"
- }
- }
- }
- },
- nextLink: {
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OperationListResult: msRest.CompositeMapper = {
- serializedName: "OperationListResult",
- type: {
- name: "Composite",
- className: "OperationListResult",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "OperationResult"
- }
- }
- }
- },
- nextLink: {
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OrganizationResourceListResult: msRest.CompositeMapper = {
- serializedName: "OrganizationResourceListResult",
+export const OrganizationResourceListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "OrganizationResourceListResult",
modelProperties: {
value: {
- serializedName: "",
+ serializedName: "value",
type: {
name: "Sequence",
element: {
@@ -578,3 +338,214 @@ export const OrganizationResourceListResult: msRest.CompositeMapper = {
}
}
};
+
+export const OrganizationResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OrganizationResource",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ createdTime: {
+ serializedName: "properties.createdTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ organizationId: {
+ serializedName: "properties.organizationId",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ ssoUrl: {
+ serializedName: "properties.ssoUrl",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ offerDetail: {
+ serializedName: "properties.offerDetail",
+ type: {
+ name: "Composite",
+ className: "OfferDetail"
+ }
+ },
+ userDetail: {
+ serializedName: "properties.userDetail",
+ type: {
+ name: "Composite",
+ className: "UserDetail"
+ }
+ }
+ }
+ }
+};
+
+export const OfferDetail: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OfferDetail",
+ modelProperties: {
+ publisherId: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "publisherId",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ id: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "id",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ planId: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "planId",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ planName: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "planName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ termUnit: {
+ constraints: {
+ MaxLength: 25
+ },
+ serializedName: "termUnit",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ status: {
+ serializedName: "status",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const UserDetail: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "UserDetail",
+ modelProperties: {
+ firstName: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "firstName",
+ type: {
+ name: "String"
+ }
+ },
+ lastName: {
+ constraints: {
+ MaxLength: 50
+ },
+ serializedName: "lastName",
+ type: {
+ name: "String"
+ }
+ },
+ emailAddress: {
+ constraints: {
+ Pattern: new RegExp("^\\S+@\\S+\\.\\S+$")
+ },
+ serializedName: "emailAddress",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const OrganizationResourceUpdate: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OrganizationResourceUpdate",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
+ }
+ }
+};
diff --git a/sdk/confluent/arm-confluent/src/models/marketplaceAgreementsMappers.ts b/sdk/confluent/arm-confluent/src/models/marketplaceAgreementsMappers.ts
deleted file mode 100644
index bc4fb3c96c8..00000000000
--- a/sdk/confluent/arm-confluent/src/models/marketplaceAgreementsMappers.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- BaseResource,
- ConfluentAgreementResource,
- ConfluentAgreementResourceListResponse,
- ErrorResponseBody,
- OfferDetail,
- OrganizationResource,
- ResourceProviderDefaultErrorResponse,
- SystemData,
- UserDetail
-} from "../models/mappers";
diff --git a/sdk/confluent/arm-confluent/src/models/organizationMappers.ts b/sdk/confluent/arm-confluent/src/models/organizationMappers.ts
deleted file mode 100644
index 9576270e942..00000000000
--- a/sdk/confluent/arm-confluent/src/models/organizationMappers.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- BaseResource,
- ConfluentAgreementResource,
- ErrorResponseBody,
- OfferDetail,
- OrganizationResource,
- OrganizationResourceListResult,
- OrganizationResourceUpdate,
- ResourceProviderDefaultErrorResponse,
- SystemData,
- UserDetail
-} from "../models/mappers";
diff --git a/sdk/confluent/arm-confluent/src/models/parameters.ts b/sdk/confluent/arm-confluent/src/models/parameters.ts
index 046187c4686..c193a5fea58 100644
--- a/sdk/confluent/arm-confluent/src/models/parameters.ts
+++ b/sdk/confluent/arm-confluent/src/models/parameters.ts
@@ -3,72 +3,129 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
+import {
+ OperationParameter,
+ OperationURLParameter,
+ OperationQueryParameter
+} from "@azure/core-client";
+import {
+ ConfluentAgreementResource as ConfluentAgreementResourceMapper,
+ OrganizationResource as OrganizationResourceMapper,
+ OrganizationResourceUpdate as OrganizationResourceUpdateMapper
+} from "../models/mappers";
-export const acceptLanguage: msRest.OperationParameter = {
- parameterPath: "acceptLanguage",
+export const accept: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- serializedName: "accept-language",
- defaultValue: "en-US",
- type: {
- name: "String"
- }
- }
-};
-export const apiVersion: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
- mapper: {
- required: true,
+ defaultValue: "application/json",
isConstant: true,
- serializedName: "api-version",
- defaultValue: "2021-03-01-preview",
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const nextPageLink: msRest.OperationURLParameter = {
- parameterPath: "nextPageLink",
+
+export const $host: OperationURLParameter = {
+ parameterPath: "$host",
mapper: {
+ serializedName: "$host",
required: true,
- serializedName: "nextLink",
type: {
name: "String"
}
},
skipEncoding: true
};
-export const organizationName: msRest.OperationURLParameter = {
- parameterPath: "organizationName",
+
+export const apiVersion: OperationQueryParameter = {
+ parameterPath: "apiVersion",
mapper: {
- required: true,
- serializedName: "organizationName",
+ defaultValue: "2021-09-01-preview",
+ isConstant: true,
+ serializedName: "api-version",
type: {
name: "String"
}
}
};
-export const resourceGroupName: msRest.OperationURLParameter = {
- parameterPath: "resourceGroupName",
- mapper: {
- required: true,
- serializedName: "resourceGroupName",
- type: {
- name: "String"
- }
- }
-};
-export const subscriptionId: msRest.OperationURLParameter = {
+
+export const subscriptionId: OperationURLParameter = {
parameterPath: "subscriptionId",
mapper: {
- required: true,
serializedName: "subscriptionId",
+ required: true,
type: {
name: "String"
}
}
};
+
+export const contentType: OperationParameter = {
+ parameterPath: ["options", "contentType"],
+ mapper: {
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Content-Type",
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const body: OperationParameter = {
+ parameterPath: ["options", "body"],
+ mapper: ConfluentAgreementResourceMapper
+};
+
+export const nextLink: OperationURLParameter = {
+ parameterPath: "nextLink",
+ mapper: {
+ serializedName: "nextLink",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ skipEncoding: true
+};
+
+export const resourceGroupName: OperationURLParameter = {
+ parameterPath: "resourceGroupName",
+ mapper: {
+ serializedName: "resourceGroupName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const organizationName: OperationURLParameter = {
+ parameterPath: "organizationName",
+ mapper: {
+ serializedName: "organizationName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const body1: OperationParameter = {
+ parameterPath: ["options", "body"],
+ mapper: OrganizationResourceMapper
+};
+
+export const body2: OperationParameter = {
+ parameterPath: ["options", "body"],
+ mapper: OrganizationResourceUpdateMapper
+};
+
+export const body3: OperationParameter = {
+ parameterPath: "body",
+ mapper: OrganizationResourceMapper
+};
diff --git a/sdk/confluent/arm-confluent/src/operations/index.ts b/sdk/confluent/arm-confluent/src/operations/index.ts
index f174c0734f1..a7ad709bf42 100644
--- a/sdk/confluent/arm-confluent/src/operations/index.ts
+++ b/sdk/confluent/arm-confluent/src/operations/index.ts
@@ -3,8 +3,7 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
export * from "./marketplaceAgreements";
diff --git a/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts b/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts
index bfbbb70b5fe..076ae8120cd 100644
--- a/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts
+++ b/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts
@@ -3,150 +3,122 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/marketplaceAgreementsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { MarketplaceAgreements } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
+import { ConfluentManagementClient } from "../confluentManagementClient";
+import {
+ ConfluentAgreementResource,
+ MarketplaceAgreementsListNextOptionalParams,
+ MarketplaceAgreementsListOptionalParams,
+ MarketplaceAgreementsListResponse,
+ MarketplaceAgreementsCreateOptionalParams,
+ MarketplaceAgreementsCreateResponse,
+ MarketplaceAgreementsListNextResponse
+} from "../models";
-/** Class representing a MarketplaceAgreements. */
-export class MarketplaceAgreements {
- private readonly client: ConfluentManagementClientContext;
+///
+/** Class containing MarketplaceAgreements operations. */
+export class MarketplaceAgreementsImpl implements MarketplaceAgreements {
+ private readonly client: ConfluentManagementClient;
/**
- * Create a MarketplaceAgreements.
- * @param {ConfluentManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class MarketplaceAgreements class.
+ * @param client Reference to the service client
*/
- constructor(client: ConfluentManagementClientContext) {
+ constructor(client: ConfluentManagementClient) {
this.client = client;
}
/**
- * @summary List Confluent marketplace agreements in the subscription.
- * @param [options] The optional parameters
- * @returns Promise
+ * List Confluent marketplace agreements in the subscription.
+ * @param options The options parameters.
*/
- list(options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param callback The callback
- */
- list(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- list(
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- list(
- options?:
- | msRest.RequestOptionsBase
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- options
+ public list(
+ options?: MarketplaceAgreementsListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(options);
+ return {
+ next() {
+ return iter.next();
},
- listOperationSpec,
- callback
- ) as Promise;
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
+ options?: MarketplaceAgreementsListOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._list(options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listNext(continuationToken, options);
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listPagingAll(
+ options?: MarketplaceAgreementsListOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listPagingPage(options)) {
+ yield* page;
+ }
}
/**
- * @summary Create Confluent Marketplace agreement in the subscription.
- * @param [options] The optional parameters
- * @returns Promise
+ * List Confluent marketplace agreements in the subscription.
+ * @param options The options parameters.
*/
- create(
- options?: Models.MarketplaceAgreementsCreateOptionalParams
- ): Promise;
- /**
- * @param callback The callback
- */
- create(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- create(
- options: Models.MarketplaceAgreementsCreateOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- create(
- options?:
- | Models.MarketplaceAgreementsCreateOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- options
- },
- createOperationSpec,
- callback
- ) as Promise;
+ private _list(
+ options?: MarketplaceAgreementsListOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
- * @summary List Confluent marketplace agreements in the subscription.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * Create Confluent Marketplace agreement in the subscription.
+ * @param options The options parameters.
*/
- listNext(
- nextPageLink: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
+ create(
+ options?: MarketplaceAgreementsCreateOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest({ options }, createOperationSpec);
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
+ * ListNext
+ * @param nextLink The nextLink from the previous successful call to the List method.
+ * @param options The options parameters.
*/
- listNext(
- nextPageLink: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listNext(
- nextPageLink: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- listNext(
- nextPageLink: string,
- options?:
- | msRest.RequestOptionsBase
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ private _listNext(
+ nextLink: string,
+ options?: MarketplaceAgreementsListNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback
- ) as Promise;
+ { nextLink, options },
+ listNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const listOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements",
httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements",
- urlParameters: [Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
responses: {
200: {
bodyMapper: Mappers.ConfluentAgreementResourceListResponse
@@ -155,19 +127,15 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const createOperationSpec: msRest.OperationSpec = {
+const createOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default",
httpMethod: "PUT",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default",
- urlParameters: [Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: ["options", "body"],
- mapper: Mappers.ConfluentAgreementResource
- },
responses: {
200: {
bodyMapper: Mappers.ConfluentAgreementResource
@@ -176,16 +144,16 @@ const createOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ requestBody: Parameters.body,
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
+ headerParameters: [Parameters.accept, Parameters.contentType],
+ mediaType: "json",
serializer
};
-
-const listNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [Parameters.nextPageLink],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ConfluentAgreementResourceListResponse
@@ -194,5 +162,12 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/confluent/arm-confluent/src/operations/organization.ts b/sdk/confluent/arm-confluent/src/operations/organization.ts
index 4fbf507348e..4577623e283 100644
--- a/sdk/confluent/arm-confluent/src/operations/organization.ts
+++ b/sdk/confluent/arm-confluent/src/operations/organization.ts
@@ -3,276 +3,412 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as Models from "../models";
-import * as Mappers from "../models/organizationMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { Organization } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
+import { ConfluentManagementClient } from "../confluentManagementClient";
+import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
+import { LroImpl } from "../lroImpl";
+import {
+ OrganizationResource,
+ OrganizationListBySubscriptionNextOptionalParams,
+ OrganizationListBySubscriptionOptionalParams,
+ OrganizationListByResourceGroupNextOptionalParams,
+ OrganizationListByResourceGroupOptionalParams,
+ OrganizationListBySubscriptionResponse,
+ OrganizationListByResourceGroupResponse,
+ OrganizationGetOptionalParams,
+ OrganizationGetResponse,
+ OrganizationCreateOptionalParams,
+ OrganizationCreateResponse,
+ OrganizationUpdateOptionalParams,
+ OrganizationUpdateResponse,
+ OrganizationDeleteOptionalParams,
+ OrganizationListBySubscriptionNextResponse,
+ OrganizationListByResourceGroupNextResponse
+} from "../models";
-/** Class representing a Organization. */
-export class Organization {
- private readonly client: ConfluentManagementClientContext;
+///
+/** Class containing Organization operations. */
+export class OrganizationImpl implements Organization {
+ private readonly client: ConfluentManagementClient;
/**
- * Create a Organization.
- * @param {ConfluentManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class Organization class.
+ * @param client Reference to the service client
*/
- constructor(client: ConfluentManagementClientContext) {
+ constructor(client: ConfluentManagementClient) {
this.client = client;
}
/**
- * @summary List all organizations under the specified subscription.
- * @param [options] The optional parameters
- * @returns Promise
+ * List all organizations under the specified subscription.
+ * @param options The options parameters.
*/
- listBySubscription(options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param callback The callback
- */
- listBySubscription(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- options
+ public listBySubscription(
+ options?: OrganizationListBySubscriptionOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listBySubscriptionPagingAll(options);
+ return {
+ next() {
+ return iter.next();
},
- listBySubscriptionOperationSpec,
- callback) as Promise;
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listBySubscriptionPagingPage(options);
+ }
+ };
+ }
+
+ private async *listBySubscriptionPagingPage(
+ options?: OrganizationListBySubscriptionOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listBySubscription(options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listBySubscriptionNext(continuationToken, options);
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listBySubscriptionPagingAll(
+ options?: OrganizationListBySubscriptionOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
+ yield* page;
+ }
}
/**
- * @summary List all Organizations under the specified resource group.
+ * List all Organizations under the specified resource group.
* @param resourceGroupName Resource group name
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName Resource group name
- * @param callback The callback
- */
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName Resource group name
- * @param options The optional parameters
- * @param callback The callback
- */
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
+ public listByResourceGroup(
+ resourceGroupName: string,
+ options?: OrganizationListByResourceGroupOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listByResourceGroupPagingPage(
+ resourceGroupName: string,
+ options?: OrganizationListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listByResourceGroup(resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listByResourceGroupNext(
resourceGroupName,
+ continuationToken,
options
- },
- listByResourceGroupOperationSpec,
- callback) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listByResourceGroupPagingAll(
+ resourceGroupName: string,
+ options?: OrganizationListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listByResourceGroupPagingPage(
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
}
/**
- * @summary Get the properties of a specific Organization resource.
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
+ * List all organizations under the specified subscription.
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, organizationName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param callback The callback
- */
- get(resourceGroupName: string, organizationName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param options The optional parameters
- * @param callback The callback
- */
- get(resourceGroupName: string, organizationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, organizationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listBySubscription(
+ options?: OrganizationListBySubscriptionOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- organizationName,
- options
- },
- getOperationSpec,
- callback) as Promise;
+ { options },
+ listBySubscriptionOperationSpec
+ );
}
/**
- * @summary Create Organization resource
+ * List all Organizations under the specified resource group.
* @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- create(resourceGroupName: string, organizationName: string, options?: Models.OrganizationCreateOptionalParams): Promise {
- return this.beginCreate(resourceGroupName,organizationName,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
- }
-
- /**
- * @summary Update Organization resource
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
- */
- update(resourceGroupName: string, organizationName: string, options?: Models.OrganizationUpdateOptionalParams): Promise;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param callback The callback
- */
- update(resourceGroupName: string, organizationName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param options The optional parameters
- * @param callback The callback
- */
- update(resourceGroupName: string, organizationName: string, options: Models.OrganizationUpdateOptionalParams, callback: msRest.ServiceCallback): void;
- update(resourceGroupName: string, organizationName: string, options?: Models.OrganizationUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listByResourceGroup(
+ resourceGroupName: string,
+ options?: OrganizationListByResourceGroupOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- organizationName,
- options
- },
- updateOperationSpec,
- callback) as Promise;
+ { resourceGroupName, options },
+ listByResourceGroupOperationSpec
+ );
}
/**
- * @summary Delete Organization resource
+ * Get the properties of a specific Organization resource.
* @param resourceGroupName Resource group name
* @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- deleteMethod(resourceGroupName: string, organizationName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.beginDeleteMethod(resourceGroupName,organizationName,options)
- .then(lroPoller => lroPoller.pollUntilFinished());
- }
-
- /**
- * @summary Create Organization resource
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginCreate(resourceGroupName: string, organizationName: string, options?: Models.OrganizationBeginCreateOptionalParams): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- organizationName,
- options
- },
- beginCreateOperationSpec,
- options);
- }
-
- /**
- * @summary Delete Organization resource
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginDeleteMethod(resourceGroupName: string, organizationName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- organizationName,
- options
- },
- beginDeleteMethodOperationSpec,
- options);
- }
-
- /**
- * @summary List all organizations under the specified subscription.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listBySubscriptionNextOperationSpec,
- callback) as Promise;
+ { resourceGroupName, organizationName, options },
+ getOperationSpec
+ );
}
/**
- * @summary List all Organizations under the specified resource group.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * Create Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
*/
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ async beginCreate(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationCreateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ OrganizationCreateResponse
+ >
+ > {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
+
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, organizationName, options },
+ createOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs,
+ lroResourceLocationConfig: "azure-async-operation"
+ });
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
+ * Create Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
*/
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ async beginCreateAndWait(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationCreateOptionalParams
+ ): Promise {
+ const poller = await this.beginCreate(
+ resourceGroupName,
+ organizationName,
+ options
+ );
+ return poller.pollUntilDone();
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * Update Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
*/
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ update(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationUpdateOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listByResourceGroupNextOperationSpec,
- callback) as Promise;
+ { resourceGroupName, organizationName, options },
+ updateOperationSpec
+ );
+ }
+
+ /**
+ * Delete Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ async beginDelete(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationDeleteOptionalParams
+ ): Promise, void>> {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
+
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, organizationName, options },
+ deleteOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs,
+ lroResourceLocationConfig: "location"
+ });
+ }
+
+ /**
+ * Delete Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ async beginDeleteAndWait(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationDeleteOptionalParams
+ ): Promise {
+ const poller = await this.beginDelete(
+ resourceGroupName,
+ organizationName,
+ options
+ );
+ return poller.pollUntilDone();
+ }
+
+ /**
+ * ListBySubscriptionNext
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
+ * @param options The options parameters.
+ */
+ private _listBySubscriptionNext(
+ nextLink: string,
+ options?: OrganizationListBySubscriptionNextOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { nextLink, options },
+ listBySubscriptionNextOperationSpec
+ );
+ }
+
+ /**
+ * ListByResourceGroupNext
+ * @param resourceGroupName Resource group name
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
+ * @param options The options parameters.
+ */
+ private _listByResourceGroupNext(
+ resourceGroupName: string,
+ nextLink: string,
+ options?: OrganizationListByResourceGroupNextOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, nextLink, options },
+ listByResourceGroupNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listBySubscriptionOperationSpec: msRest.OperationSpec = {
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
- urlParameters: [
- Parameters.subscriptionId
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
responses: {
200: {
bodyMapper: Mappers.OrganizationResourceListResult
@@ -281,47 +417,36 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listByResourceGroupOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OrganizationResourceListResult
+ },
+ default: {
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
+ }
+ },
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- responses: {
- 200: {
- bodyMapper: Mappers.OrganizationResourceListResult
- },
- default: {
- bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
- }
- },
+ headerParameters: [Parameters.accept],
serializer
};
-
-const getOperationSpec: msRest.OperationSpec = {
+const getOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.organizationName
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
responses: {
200: {
bodyMapper: Mappers.OrganizationResource
@@ -330,62 +455,20 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
- serializer
-};
-
-const updateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PATCH",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.organizationName
],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- requestBody: {
- parameterPath: [
- "options",
- "body"
- ],
- mapper: Mappers.OrganizationResourceUpdate
- },
- responses: {
- 200: {
- bodyMapper: Mappers.OrganizationResource
- },
- default: {
- bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
- }
- },
+ headerParameters: [Parameters.accept],
serializer
};
-
-const beginCreateOperationSpec: msRest.OperationSpec = {
+const createOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
httpMethod: "PUT",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.organizationName
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- requestBody: {
- parameterPath: [
- "options",
- "body"
- ],
- mapper: Mappers.OrganizationResource
- },
responses: {
200: {
bodyMapper: Mappers.OrganizationResource
@@ -393,51 +476,78 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
201: {
bodyMapper: Mappers.OrganizationResource
},
+ 202: {
+ bodyMapper: Mappers.OrganizationResource
+ },
+ 204: {
+ bodyMapper: Mappers.OrganizationResource
+ },
default: {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
- serializer
-};
-
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
- httpMethod: "DELETE",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
+ requestBody: Parameters.body1,
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.organizationName
],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
+ headerParameters: [Parameters.accept, Parameters.contentType],
+ mediaType: "json",
+ serializer
+};
+const updateOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
+ httpMethod: "PATCH",
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OrganizationResource
+ },
+ default: {
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
+ }
+ },
+ requestBody: Parameters.body2,
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.organizationName
],
+ headerParameters: [Parameters.accept, Parameters.contentType],
+ mediaType: "json",
+ serializer
+};
+const deleteOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
+ httpMethod: "DELETE",
responses: {
200: {},
+ 201: {},
202: {},
204: {},
default: {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.organizationName
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.OrganizationResourceListResult
@@ -446,22 +556,18 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.OrganizationResourceListResult
@@ -470,5 +576,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.nextLink,
+ Parameters.resourceGroupName
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/confluent/arm-confluent/src/operations/organizationOperations.ts b/sdk/confluent/arm-confluent/src/operations/organizationOperations.ts
index bc0aa99f748..fbf260c199c 100644
--- a/sdk/confluent/arm-confluent/src/operations/organizationOperations.ts
+++ b/sdk/confluent/arm-confluent/src/operations/organizationOperations.ts
@@ -3,116 +3,109 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/organizationOperationsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { OrganizationOperations } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
+import { ConfluentManagementClient } from "../confluentManagementClient";
+import {
+ OperationResult,
+ OrganizationOperationsListNextOptionalParams,
+ OrganizationOperationsListOptionalParams,
+ OrganizationOperationsListResponse,
+ OrganizationOperationsListNextResponse
+} from "../models";
-/** Class representing a OrganizationOperations. */
-export class OrganizationOperations {
- private readonly client: ConfluentManagementClientContext;
+///
+/** Class containing OrganizationOperations operations. */
+export class OrganizationOperationsImpl implements OrganizationOperations {
+ private readonly client: ConfluentManagementClient;
/**
- * Create a OrganizationOperations.
- * @param {ConfluentManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class OrganizationOperations class.
+ * @param client Reference to the service client
*/
- constructor(client: ConfluentManagementClientContext) {
+ constructor(client: ConfluentManagementClient) {
this.client = client;
}
/**
- * @summary List all operations provided by Microsoft.Confluent.
- * @param [options] The optional parameters
- * @returns Promise
+ * List all operations provided by Microsoft.Confluent.
+ * @param options The options parameters.
*/
- list(options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param callback The callback
- */
- list(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- options
+ public list(
+ options?: OrganizationOperationsListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(options);
+ return {
+ next() {
+ return iter.next();
},
- listOperationSpec,
- callback) as Promise;
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
+ options?: OrganizationOperationsListOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._list(options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listNext(continuationToken, options);
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listPagingAll(
+ options?: OrganizationOperationsListOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listPagingPage(options)) {
+ yield* page;
+ }
}
/**
- * @summary List all operations provided by Microsoft.Confluent.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * List all operations provided by Microsoft.Confluent.
+ * @param options The options parameters.
*/
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ private _list(
+ options?: OrganizationOperationsListOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
+ * ListNext
+ * @param nextLink The nextLink from the previous successful call to the List method.
+ * @param options The options parameters.
*/
- listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listNext(
+ nextLink: string,
+ options?: OrganizationOperationsListNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback) as Promise;
+ { nextLink, options },
+ listNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "providers/Microsoft.Confluent/operations",
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- responses: {
- 200: {
- bodyMapper: Mappers.OperationListResult
- },
- default: {
- bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
- }
- },
- serializer
-};
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
-const listNextOperationSpec: msRest.OperationSpec = {
+const listOperationSpec: coreClient.OperationSpec = {
+ path: "/providers/Microsoft.Confluent/operations",
httpMethod: "GET",
- baseUrl: "https://management.azure.com",
- path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
responses: {
200: {
bodyMapper: Mappers.OperationListResult
@@ -121,5 +114,24 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [Parameters.$host],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const listNextOperationSpec: coreClient.OperationSpec = {
+ path: "{nextLink}",
+ httpMethod: "GET",
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationListResult
+ },
+ default: {
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
+ }
+ },
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [Parameters.$host, Parameters.nextLink],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/confluent/arm-confluent/src/operations/validations.ts b/sdk/confluent/arm-confluent/src/operations/validations.ts
index deef4932c60..7e90c7a6bfd 100644
--- a/sdk/confluent/arm-confluent/src/operations/validations.ts
+++ b/sdk/confluent/arm-confluent/src/operations/validations.ts
@@ -3,108 +3,58 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/validationsMappers";
+import { Validations } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { ConfluentManagementClientContext } from "../confluentManagementClientContext";
+import { ConfluentManagementClient } from "../confluentManagementClient";
+import {
+ OrganizationResource,
+ ValidationsValidateOrganizationOptionalParams,
+ ValidationsValidateOrganizationResponse
+} from "../models";
-/** Class representing a Validations. */
-export class Validations {
- private readonly client: ConfluentManagementClientContext;
+/** Class containing Validations operations. */
+export class ValidationsImpl implements Validations {
+ private readonly client: ConfluentManagementClient;
/**
- * Create a Validations.
- * @param {ConfluentManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class Validations class.
+ * @param client Reference to the service client
*/
- constructor(client: ConfluentManagementClientContext) {
+ constructor(client: ConfluentManagementClient) {
this.client = client;
}
/**
- * @summary Organization Validate proxy resource
+ * Organization Validate proxy resource
* @param resourceGroupName Resource group name
* @param organizationName Organization resource name
* @param body Organization resource model
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
validateOrganization(
resourceGroupName: string,
organizationName: string,
- body: Models.OrganizationResource,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param body Organization resource model
- * @param callback The callback
- */
- validateOrganization(
- resourceGroupName: string,
- organizationName: string,
- body: Models.OrganizationResource,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName Resource group name
- * @param organizationName Organization resource name
- * @param body Organization resource model
- * @param options The optional parameters
- * @param callback The callback
- */
- validateOrganization(
- resourceGroupName: string,
- organizationName: string,
- body: Models.OrganizationResource,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- validateOrganization(
- resourceGroupName: string,
- organizationName: string,
- body: Models.OrganizationResource,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ body: OrganizationResource,
+ options?: ValidationsValidateOrganizationOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- organizationName,
- body,
- options
- },
- validateOrganizationOperationSpec,
- callback
- ) as Promise;
+ { resourceGroupName, organizationName, body, options },
+ validateOrganizationOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const validateOrganizationOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const validateOrganizationOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.organizationName
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.OrganizationResource,
- required: true
- }
- },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
+ httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.OrganizationResource
@@ -113,5 +63,15 @@ const validateOrganizationOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
}
},
+ requestBody: Parameters.body3,
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.organizationName
+ ],
+ headerParameters: [Parameters.accept, Parameters.contentType],
+ mediaType: "json",
serializer
};
diff --git a/sdk/confluent/arm-confluent/src/models/organizationOperationsMappers.ts b/sdk/confluent/arm-confluent/src/operationsInterfaces/index.ts
similarity index 59%
rename from sdk/confluent/arm-confluent/src/models/organizationOperationsMappers.ts
rename to sdk/confluent/arm-confluent/src/operationsInterfaces/index.ts
index 672b22024b3..a7ad709bf42 100644
--- a/sdk/confluent/arm-confluent/src/models/organizationOperationsMappers.ts
+++ b/sdk/confluent/arm-confluent/src/operationsInterfaces/index.ts
@@ -6,10 +6,7 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-export {
- ErrorResponseBody,
- OperationDisplay,
- OperationListResult,
- OperationResult,
- ResourceProviderDefaultErrorResponse
-} from "../models/mappers";
+export * from "./marketplaceAgreements";
+export * from "./organizationOperations";
+export * from "./organization";
+export * from "./validations";
diff --git a/sdk/confluent/arm-confluent/src/operationsInterfaces/marketplaceAgreements.ts b/sdk/confluent/arm-confluent/src/operationsInterfaces/marketplaceAgreements.ts
new file mode 100644
index 00000000000..8a1c45da778
--- /dev/null
+++ b/sdk/confluent/arm-confluent/src/operationsInterfaces/marketplaceAgreements.ts
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import {
+ ConfluentAgreementResource,
+ MarketplaceAgreementsListOptionalParams,
+ MarketplaceAgreementsCreateOptionalParams,
+ MarketplaceAgreementsCreateResponse
+} from "../models";
+
+///
+/** Interface representing a MarketplaceAgreements. */
+export interface MarketplaceAgreements {
+ /**
+ * List Confluent marketplace agreements in the subscription.
+ * @param options The options parameters.
+ */
+ list(
+ options?: MarketplaceAgreementsListOptionalParams
+ ): PagedAsyncIterableIterator;
+ /**
+ * Create Confluent Marketplace agreement in the subscription.
+ * @param options The options parameters.
+ */
+ create(
+ options?: MarketplaceAgreementsCreateOptionalParams
+ ): Promise;
+}
diff --git a/sdk/confluent/arm-confluent/src/operationsInterfaces/organization.ts b/sdk/confluent/arm-confluent/src/operationsInterfaces/organization.ts
new file mode 100644
index 00000000000..9c8532f7140
--- /dev/null
+++ b/sdk/confluent/arm-confluent/src/operationsInterfaces/organization.ts
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { PollerLike, PollOperationState } from "@azure/core-lro";
+import {
+ OrganizationResource,
+ OrganizationListBySubscriptionOptionalParams,
+ OrganizationListByResourceGroupOptionalParams,
+ OrganizationGetOptionalParams,
+ OrganizationGetResponse,
+ OrganizationCreateOptionalParams,
+ OrganizationCreateResponse,
+ OrganizationUpdateOptionalParams,
+ OrganizationUpdateResponse,
+ OrganizationDeleteOptionalParams
+} from "../models";
+
+///
+/** Interface representing a Organization. */
+export interface Organization {
+ /**
+ * List all organizations under the specified subscription.
+ * @param options The options parameters.
+ */
+ listBySubscription(
+ options?: OrganizationListBySubscriptionOptionalParams
+ ): PagedAsyncIterableIterator;
+ /**
+ * List all Organizations under the specified resource group.
+ * @param resourceGroupName Resource group name
+ * @param options The options parameters.
+ */
+ listByResourceGroup(
+ resourceGroupName: string,
+ options?: OrganizationListByResourceGroupOptionalParams
+ ): PagedAsyncIterableIterator;
+ /**
+ * Get the properties of a specific Organization resource.
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ get(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationGetOptionalParams
+ ): Promise;
+ /**
+ * Create Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ beginCreate(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationCreateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ OrganizationCreateResponse
+ >
+ >;
+ /**
+ * Create Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ beginCreateAndWait(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationCreateOptionalParams
+ ): Promise;
+ /**
+ * Update Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ update(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationUpdateOptionalParams
+ ): Promise;
+ /**
+ * Delete Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ beginDelete(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationDeleteOptionalParams
+ ): Promise, void>>;
+ /**
+ * Delete Organization resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param options The options parameters.
+ */
+ beginDeleteAndWait(
+ resourceGroupName: string,
+ organizationName: string,
+ options?: OrganizationDeleteOptionalParams
+ ): Promise;
+}
diff --git a/sdk/confluent/arm-confluent/src/operationsInterfaces/organizationOperations.ts b/sdk/confluent/arm-confluent/src/operationsInterfaces/organizationOperations.ts
new file mode 100644
index 00000000000..40d4e1173bf
--- /dev/null
+++ b/sdk/confluent/arm-confluent/src/operationsInterfaces/organizationOperations.ts
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import {
+ OperationResult,
+ OrganizationOperationsListOptionalParams
+} from "../models";
+
+///
+/** Interface representing a OrganizationOperations. */
+export interface OrganizationOperations {
+ /**
+ * List all operations provided by Microsoft.Confluent.
+ * @param options The options parameters.
+ */
+ list(
+ options?: OrganizationOperationsListOptionalParams
+ ): PagedAsyncIterableIterator;
+}
diff --git a/sdk/confluent/arm-confluent/src/operationsInterfaces/validations.ts b/sdk/confluent/arm-confluent/src/operationsInterfaces/validations.ts
new file mode 100644
index 00000000000..4fca9a5c01a
--- /dev/null
+++ b/sdk/confluent/arm-confluent/src/operationsInterfaces/validations.ts
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import {
+ OrganizationResource,
+ ValidationsValidateOrganizationOptionalParams,
+ ValidationsValidateOrganizationResponse
+} from "../models";
+
+/** Interface representing a Validations. */
+export interface Validations {
+ /**
+ * Organization Validate proxy resource
+ * @param resourceGroupName Resource group name
+ * @param organizationName Organization resource name
+ * @param body Organization resource model
+ * @param options The options parameters.
+ */
+ validateOrganization(
+ resourceGroupName: string,
+ organizationName: string,
+ body: OrganizationResource,
+ options?: ValidationsValidateOrganizationOptionalParams
+ ): Promise;
+}
diff --git a/sdk/confluent/arm-confluent/test/sampleTest.ts b/sdk/confluent/arm-confluent/test/sampleTest.ts
new file mode 100644
index 00000000000..7ed89b043e1
--- /dev/null
+++ b/sdk/confluent/arm-confluent/test/sampleTest.ts
@@ -0,0 +1,48 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import {
+ env,
+ record,
+ RecorderEnvironmentSetup,
+ Recorder
+} from "@azure-tools/test-recorder";
+import * as assert from "assert";
+
+const recorderEnvSetup: RecorderEnvironmentSetup = {
+ replaceableVariables: {
+ AZURE_CLIENT_ID: "azure_client_id",
+ AZURE_CLIENT_SECRET: "azure_client_secret",
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
+ SUBSCRIPTION_ID: "azure_subscription_id"
+ },
+ customizationsOnRecordings: [
+ (recording: any): any =>
+ recording.replace(
+ /"access_token":"[^"]*"/g,
+ `"access_token":"access_token"`
+ )
+ ],
+ queryParametersToSkip: []
+};
+
+describe("My test", () => {
+ let recorder: Recorder;
+
+ beforeEach(async function() {
+ recorder = record(this, recorderEnvSetup);
+ });
+
+ afterEach(async function() {
+ await recorder.stop();
+ });
+
+ it("sample test", async function() {
+ console.log("Hi, I'm a test!");
+ });
+});
diff --git a/sdk/confluent/arm-confluent/tsconfig.json b/sdk/confluent/arm-confluent/tsconfig.json
index 422b584abd5..6e325119411 100644
--- a/sdk/confluent/arm-confluent/tsconfig.json
+++ b/sdk/confluent/arm-confluent/tsconfig.json
@@ -3,7 +3,7 @@
"module": "es6",
"moduleResolution": "node",
"strict": true,
- "target": "es5",
+ "target": "es6",
"sourceMap": true,
"declarationMap": true,
"esModuleInterop": true,
@@ -11,9 +11,9 @@
"forceConsistentCasingInFileNames": true,
"lib": ["es6", "dom"],
"declaration": true,
- "outDir": "./esm",
+ "outDir": "./dist-esm",
"importHelpers": true
},
- "include": ["./src/**/*.ts"],
+ "include": ["./src/**/*.ts", "./test/**/*.ts"],
"exclude": ["node_modules"]
}
diff --git a/sdk/confluent/ci.yml b/sdk/confluent/ci.yml
new file mode 100644
index 00000000000..7433956a340
--- /dev/null
+++ b/sdk/confluent/ci.yml
@@ -0,0 +1,29 @@
+# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
+trigger:
+ branches:
+ include:
+ - main
+ - release/*
+ - hotfix/*
+ paths:
+ include:
+ - sdk/confluent/
+
+pr:
+ branches:
+ include:
+ - main
+ - release/*
+ - hotfix/*
+ paths:
+ include:
+ - sdk/confluent/
+
+extends:
+ template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
+ parameters:
+ ServiceDirectory: confluent
+ Artifacts:
+ - name: azure-arm-confluent
+ safeName: azurearmconfluent
+
\ No newline at end of file