diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 020084aaae77..3872c9770a6a 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2409,17 +2409,13 @@ packages: /@types/chai-as-promised/7.1.5: resolution: {integrity: sha512-jStwss93SITGBwt/niYrkf2C+/1KTeZCZl1LaeezTlqppAKeoQC7jxyqYuP72sxBGKCIbw7oHgbYssIRzT5FCQ==} dependencies: - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 dev: false /@types/chai-string/1.4.2: resolution: {integrity: sha512-ld/1hV5qcPRGuwlPdvRfvM3Ka/iofOk2pH4VkasK4b1JJP1LjNmWWn0LsISf6RRzyhVOvs93rb9tM09e+UuF8Q==} dependencies: - '@types/chai': 4.3.5 - dev: false - - /@types/chai/4.3.5: - resolution: {integrity: sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==} + '@types/chai': 4.3.6 dev: false /@types/chai/4.3.6: @@ -9137,7 +9133,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -9177,7 +9173,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -9222,7 +9218,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -9267,7 +9263,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -9312,7 +9308,7 @@ packages: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/prettier': 2.6.4 @@ -9360,7 +9356,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -9408,7 +9404,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/decompress': 4.2.4 '@types/mocha': 7.0.2 @@ -9482,7 +9478,7 @@ packages: '@azure/core-http-compat': 1.3.0 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -9526,7 +9522,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -9569,7 +9565,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -9615,7 +9611,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -9659,7 +9655,7 @@ packages: dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/inquirer': 8.2.6 '@types/mocha': 7.0.2 '@types/mustache': 4.2.2 @@ -9703,7 +9699,7 @@ packages: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mime': 3.0.1 '@types/mocha': 7.0.2 '@types/mustache': 4.2.2 @@ -9754,7 +9750,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -9805,7 +9801,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9836,7 +9832,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9866,7 +9862,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9896,7 +9892,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9924,7 +9920,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9955,7 +9951,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -9985,7 +9981,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10016,7 +10012,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10047,7 +10043,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10077,7 +10073,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10108,7 +10104,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10139,7 +10135,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10166,7 +10162,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -10213,7 +10209,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10243,7 +10239,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10274,7 +10270,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10305,7 +10301,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10336,7 +10332,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10367,7 +10363,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10398,7 +10394,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10428,7 +10424,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10458,7 +10454,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10488,7 +10484,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10520,7 +10516,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10551,7 +10547,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10581,7 +10577,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10611,7 +10607,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10642,7 +10638,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10672,7 +10668,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10702,7 +10698,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10733,7 +10729,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10764,7 +10760,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10795,7 +10791,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10826,7 +10822,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10856,7 +10852,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10886,7 +10882,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10918,7 +10914,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10949,7 +10945,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -10978,7 +10974,7 @@ packages: '@azure/arm-network': 26.0.0 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -11025,7 +11021,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11056,7 +11052,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11086,7 +11082,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11117,7 +11113,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11148,7 +11144,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11179,7 +11175,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11210,7 +11206,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11238,7 +11234,7 @@ packages: '@azure-rest/core-client': 1.0.0-beta.10 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -11285,7 +11281,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11316,7 +11312,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11347,7 +11343,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11378,7 +11374,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11409,7 +11405,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11439,7 +11435,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11470,7 +11466,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11501,7 +11497,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11532,7 +11528,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11562,7 +11558,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11592,7 +11588,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11622,7 +11618,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11652,7 +11648,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11683,7 +11679,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11713,7 +11709,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11743,7 +11739,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11774,7 +11770,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11805,7 +11801,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11835,7 +11831,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11866,7 +11862,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11897,7 +11893,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11928,7 +11924,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11959,7 +11955,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -11990,7 +11986,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12020,7 +12016,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12050,7 +12046,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12081,7 +12077,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12112,7 +12108,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12142,7 +12138,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12173,7 +12169,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12203,7 +12199,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12234,7 +12230,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12265,7 +12261,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12296,7 +12292,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12327,7 +12323,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12358,7 +12354,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12391,7 +12387,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12422,7 +12418,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12453,7 +12449,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12483,7 +12479,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12514,7 +12510,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12545,7 +12541,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12576,7 +12572,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12606,7 +12602,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12636,7 +12632,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12667,7 +12663,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12698,7 +12694,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12728,7 +12724,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12758,7 +12754,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12788,7 +12784,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12819,7 +12815,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12850,7 +12846,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12881,7 +12877,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12911,7 +12907,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12942,7 +12938,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -12973,7 +12969,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13004,7 +13000,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13035,7 +13031,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13066,7 +13062,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13097,7 +13093,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13128,7 +13124,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13159,7 +13155,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13189,7 +13185,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13220,7 +13216,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13251,7 +13247,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13281,7 +13277,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13312,7 +13308,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13342,7 +13338,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13372,7 +13368,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13403,7 +13399,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13421,7 +13417,7 @@ packages: dev: false file:projects/arm-managedapplications.tgz: - resolution: {integrity: sha512-l+pncXDhFwTze0AYcleRnD0vjlPpyRmwtCDgpmVDSa3L/7UFMKJN8sSusWW9fzn3Y7Aigl0xIW/vYNgyUr7rTw==, tarball: file:projects/arm-managedapplications.tgz} + resolution: {integrity: sha512-bZfHTmMJ4hSePfpZHiSQXWPSi2DV2IgD8UkV3iTQiTagER29E18/F0hSqQz944gn6Hyg2N7N8zVDRmVReBcicQ==, tarball: file:projects/arm-managedapplications.tgz} name: '@rush-temp/arm-managedapplications' version: 0.0.0 dependencies: @@ -13431,11 +13427,12 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 - mkdirp: 1.0.4 + dotenv: 16.3.1 + mkdirp: 2.1.6 mocha: 7.2.0 rimraf: 3.0.2 rollup: 2.79.1 @@ -13461,7 +13458,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13492,7 +13489,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13522,7 +13519,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13553,7 +13550,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13584,7 +13581,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13614,7 +13611,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13646,7 +13643,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13677,7 +13674,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13708,7 +13705,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13738,7 +13735,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13769,7 +13766,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13803,7 +13800,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13834,7 +13831,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13865,7 +13862,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13896,7 +13893,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13926,7 +13923,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13957,7 +13954,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -13988,7 +13985,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14016,7 +14013,7 @@ packages: '@azure-rest/core-client': 1.0.0-beta.10 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -14063,7 +14060,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14094,7 +14091,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14124,7 +14121,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14155,7 +14152,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14186,7 +14183,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14216,7 +14213,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14246,7 +14243,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14277,7 +14274,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14307,7 +14304,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14338,7 +14335,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14369,7 +14366,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14399,7 +14396,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14430,7 +14427,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14461,7 +14458,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14492,7 +14489,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14523,7 +14520,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14554,7 +14551,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14584,7 +14581,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14615,7 +14612,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14645,7 +14642,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14676,7 +14673,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14706,7 +14703,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14737,7 +14734,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14768,7 +14765,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14798,7 +14795,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14828,7 +14825,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14859,7 +14856,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14891,7 +14888,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14922,7 +14919,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14953,7 +14950,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -14984,7 +14981,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15015,7 +15012,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15046,7 +15043,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15076,7 +15073,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15107,7 +15104,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15137,7 +15134,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15168,7 +15165,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15199,7 +15196,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15230,7 +15227,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15261,7 +15258,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15292,7 +15289,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15322,7 +15319,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15353,7 +15350,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15384,7 +15381,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15415,7 +15412,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15446,7 +15443,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15476,7 +15473,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15507,7 +15504,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15534,7 +15531,7 @@ packages: '@azure-rest/core-client': 1.0.0-beta.10 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -15581,7 +15578,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15612,7 +15609,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15643,7 +15640,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15674,7 +15671,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15705,7 +15702,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15736,7 +15733,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15767,7 +15764,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15798,7 +15795,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15829,7 +15826,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15860,7 +15857,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15891,7 +15888,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15922,7 +15919,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15953,7 +15950,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -15984,7 +15981,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16014,7 +16011,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16044,7 +16041,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16074,7 +16071,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16104,7 +16101,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16135,7 +16132,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16165,7 +16162,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16196,7 +16193,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16227,7 +16224,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16257,7 +16254,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16288,7 +16285,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16319,7 +16316,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16349,7 +16346,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16380,7 +16377,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16411,7 +16408,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16442,7 +16439,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16472,7 +16469,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16503,7 +16500,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 chai: 4.3.8 cross-env: 7.0.3 @@ -16529,7 +16526,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -16583,7 +16580,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16626,7 +16623,7 @@ packages: dependencies: '@azure/communication-common': 2.2.1 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16676,7 +16673,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/communication-signaling': 1.0.0-beta.20 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16725,7 +16722,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -16773,7 +16770,7 @@ packages: dependencies: '@azure/communication-common': 2.2.1 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/uuid': 8.3.4 @@ -16818,7 +16815,7 @@ packages: '@azure/identity': 2.1.0 '@azure/msal-node': 1.18.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16866,7 +16863,7 @@ packages: dependencies: '@azure/communication-common': 2.2.1 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16916,7 +16913,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -16963,7 +16960,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17010,7 +17007,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17056,7 +17053,7 @@ packages: dependencies: '@azure/communication-common': 2.2.1 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17094,7 +17091,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17141,7 +17138,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17189,7 +17186,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17236,7 +17233,7 @@ packages: '@azure/communication-common': 2.2.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17281,7 +17278,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -17310,7 +17307,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -17359,7 +17356,7 @@ packages: '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 '@rollup/plugin-replace': 5.0.2_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/debug': 4.1.8 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -17408,7 +17405,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -17436,7 +17433,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17478,7 +17475,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17543,7 +17540,7 @@ packages: '@azure/logger-js': 1.3.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@opentelemetry/api': 1.4.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/express': 4.17.17 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -17640,7 +17637,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -17678,7 +17675,7 @@ packages: dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@opentelemetry/api': 1.4.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -17771,7 +17768,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -17812,7 +17809,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -17856,7 +17853,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/trusted-types': 2.0.3 @@ -17949,7 +17946,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -18001,7 +17998,7 @@ packages: '@rollup/plugin-json': 6.0.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/decompress': 4.2.4 '@types/fs-extra': 9.0.13 @@ -18059,7 +18056,7 @@ packages: '@azure-rest/core-client': 1.0.0-beta.10 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/node': 14.18.56 autorest: 3.6.3 chai: 4.3.8 @@ -18102,7 +18099,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -18165,7 +18162,7 @@ packages: name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/eslint': 8.4.10 '@types/estree': 1.0.1 '@types/json-schema': 7.0.12 @@ -18214,7 +18211,7 @@ packages: '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 '@rollup/plugin-replace': 5.0.2_rollup@2.79.1 '@types/async-lock': 1.4.0 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/chai-string': 1.4.2 '@types/debug': 4.1.8 @@ -18278,7 +18275,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -18324,7 +18321,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/chai-string': 1.4.2 '@types/debug': 4.1.8 @@ -18373,7 +18370,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/chai-string': 1.4.2 '@types/debug': 4.1.8 @@ -18423,7 +18420,7 @@ packages: '@azure/functions': 3.5.1 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -18469,7 +18466,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -18513,7 +18510,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -18633,7 +18630,7 @@ packages: '@azure/msal-common': 13.3.0 '@azure/msal-node': 1.18.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/jsonwebtoken': 9.0.2 '@types/jws': 3.2.5 '@types/mocha': 7.0.2 @@ -18690,7 +18687,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/uuid': 8.3.4 @@ -18734,7 +18731,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -18982,7 +18979,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/uuid': 8.3.4 @@ -19027,7 +19024,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -19092,7 +19089,7 @@ packages: '@azure/identity': 2.1.0 '@azure/maps-common': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -19138,7 +19135,7 @@ packages: '@azure/identity': 2.1.0 '@azure/maps-common': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -19184,7 +19181,7 @@ packages: '@azure/identity': 2.1.0 '@azure/maps-common': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -19230,7 +19227,7 @@ packages: '@azure/identity': 2.1.0 '@azure/maps-common': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -19273,7 +19270,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -19317,7 +19314,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -19385,7 +19382,7 @@ packages: '@azure/identity': 2.1.0 '@azure/monitor-query': 1.1.1 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/pako': 2.0.0 @@ -19519,7 +19516,7 @@ packages: '@opentelemetry/api': 1.4.1 '@opentelemetry/sdk-trace-base': 1.15.2_@opentelemetry+api@1.4.1 '@opentelemetry/sdk-trace-node': 1.15.2_@opentelemetry+api@1.4.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -19570,7 +19567,7 @@ packages: '@rollup/plugin-node-resolve': 15.2.1_rollup@3.28.1 '@rollup/plugin-replace': 5.0.2_rollup@3.28.1 '@rollup/plugin-typescript': 11.1.3_aspx4n6cpebr6gimxg32e6glfq - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -19665,7 +19662,7 @@ packages: '@opentelemetry/instrumentation': 0.41.2_@opentelemetry+api@1.4.1 '@opentelemetry/sdk-trace-base': 1.15.2_@opentelemetry+api@1.4.1 '@opentelemetry/sdk-trace-node': 1.15.2_@opentelemetry+api@1.4.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20199,7 +20196,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -20242,7 +20239,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -20285,7 +20282,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -20328,7 +20325,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -20372,7 +20369,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 autorest: 3.6.3 @@ -20416,7 +20413,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20464,7 +20461,7 @@ packages: '@microsoft/api-extractor': 7.36.4_@types+node@16.18.46 '@rollup/plugin-commonjs': 24.1.0_rollup@2.79.1 '@rollup/plugin-inject': 5.0.3_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 16.18.46 @@ -20609,7 +20606,7 @@ packages: '@azure/core-http-compat': 1.3.0 '@azure/openai': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20663,7 +20660,7 @@ packages: '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 '@rollup/plugin-replace': 5.0.2_rollup@2.79.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/debug': 4.1.8 '@types/is-buffer': 2.0.0 @@ -20730,7 +20727,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20783,7 +20780,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/node-fetch': 2.6.4 @@ -20835,7 +20832,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20887,7 +20884,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/sinon': 10.0.16 @@ -20939,7 +20936,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -20986,7 +20983,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 '@types/uuid': 8.3.4 @@ -21035,7 +21032,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21082,7 +21079,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21132,7 +21129,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21180,7 +21177,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21247,7 +21244,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21290,7 +21287,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -21335,7 +21332,7 @@ packages: dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/mocha': 7.0.2 '@types/node': 14.18.56 chai: 4.3.8 @@ -21398,7 +21395,7 @@ packages: name: '@rush-temp/test-recorder' version: 0.0.0 dependencies: - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/express': 4.17.17 '@types/fs-extra': 8.1.2 '@types/mocha': 7.0.2 @@ -21476,7 +21473,7 @@ packages: dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 '@opentelemetry/api': 1.4.1 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 '@types/node': 14.18.56 @@ -21513,7 +21510,7 @@ packages: dependencies: '@azure/web-pubsub-client': 1.0.0-beta.2 '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/express': 4.17.17 '@types/express-serve-static-core': 4.17.36 @@ -21574,7 +21571,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/chai-as-promised': 7.1.5 '@types/express': 4.17.17 '@types/express-serve-static-core': 4.17.36 @@ -21631,7 +21628,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/express': 4.17.17 '@types/express-serve-static-core': 4.17.36 '@types/jsonwebtoken': 9.0.2 @@ -21670,7 +21667,7 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.36.4_@types+node@14.18.56 - '@types/chai': 4.3.5 + '@types/chai': 4.3.6 '@types/jsonwebtoken': 9.0.2 '@types/mocha': 7.0.2 '@types/node': 14.18.56 diff --git a/sdk/managedapplications/arm-managedapplications/CHANGELOG.md b/sdk/managedapplications/arm-managedapplications/CHANGELOG.md index 8f5d6f78bcbc..8c343fdeece5 100644 --- a/sdk/managedapplications/arm-managedapplications/CHANGELOG.md +++ b/sdk/managedapplications/arm-managedapplications/CHANGELOG.md @@ -1,15 +1,189 @@ # Release History + +## 3.0.0 (2023-09-06) + +**Features** -## 2.1.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group JitRequests + - Added operation ApplicationDefinitions.createOrUpdate + - Added operation ApplicationDefinitions.createOrUpdateById + - Added operation ApplicationDefinitions.delete + - Added operation ApplicationDefinitions.deleteById + - Added operation ApplicationDefinitions.listBySubscription + - Added operation ApplicationDefinitions.update + - Added operation ApplicationDefinitions.updateById + - Added operation Applications.beginRefreshPermissions + - Added operation Applications.beginRefreshPermissionsAndWait + - Added operation Applications.beginUpdate + - Added operation Applications.beginUpdateAccess + - Added operation Applications.beginUpdateAccessAndWait + - Added operation Applications.beginUpdateAndWait + - Added operation Applications.beginUpdateById + - Added operation Applications.beginUpdateByIdAndWait + - Added operation Applications.listAllowedUpgradePlans + - Added operation Applications.listTokens + - Added Interface AllowedUpgradePlansResult + - Added Interface ApplicationAuthorization + - Added Interface ApplicationBillingDetailsDefinition + - Added Interface ApplicationClientDetails + - Added Interface ApplicationDefinitionArtifact + - Added Interface ApplicationDefinitionPatchable + - Added Interface ApplicationDefinitionsListBySubscriptionNextOptionalParams + - Added Interface ApplicationDefinitionsListBySubscriptionOptionalParams + - Added Interface ApplicationDefinitionsUpdateByIdOptionalParams + - Added Interface ApplicationDefinitionsUpdateOptionalParams + - Added Interface ApplicationDeploymentPolicy + - Added Interface ApplicationJitAccessPolicy + - Added Interface ApplicationManagementPolicy + - Added Interface ApplicationNotificationEndpoint + - Added Interface ApplicationNotificationPolicy + - Added Interface ApplicationPackageContact + - Added Interface ApplicationPackageLockingPolicyDefinition + - Added Interface ApplicationPackageSupportUrls + - Added Interface ApplicationPolicy + - Added Interface ApplicationsListAllowedUpgradePlansOptionalParams + - Added Interface ApplicationsListTokensOptionalParams + - Added Interface ApplicationsRefreshPermissionsOptionalParams + - Added Interface ApplicationsUpdateAccessOptionalParams + - Added Interface ErrorAdditionalInfo + - Added Interface ErrorDetail + - Added Interface JitApproverDefinition + - Added Interface JitAuthorizationPolicies + - Added Interface JitRequestDefinition + - Added Interface JitRequestDefinitionListResult + - Added Interface JitRequestMetadata + - Added Interface JitRequestPatchable + - Added Interface JitRequestsCreateOrUpdateOptionalParams + - Added Interface JitRequestsDeleteOptionalParams + - Added Interface JitRequestsGetOptionalParams + - Added Interface JitRequestsListByResourceGroupOptionalParams + - Added Interface JitRequestsListBySubscriptionOptionalParams + - Added Interface JitRequestsUpdateOptionalParams + - Added Interface JitSchedulingPolicy + - Added Interface ListTokenRequest + - Added Interface ManagedIdentityToken + - Added Interface ManagedIdentityTokenResult + - Added Interface SystemData + - Added Interface UpdateAccessDefinition + - Added Interface UserAssignedResourceIdentity + - Added Type Alias ActionType + - Added Type Alias ApplicationArtifactName + - Added Type Alias ApplicationDefinitionArtifactName + - Added Type Alias ApplicationDefinitionsListBySubscriptionNextResponse + - Added Type Alias ApplicationDefinitionsListBySubscriptionResponse + - Added Type Alias ApplicationDefinitionsUpdateByIdResponse + - Added Type Alias ApplicationDefinitionsUpdateResponse + - Added Type Alias ApplicationManagementMode + - Added Type Alias ApplicationsListAllowedUpgradePlansResponse + - Added Type Alias ApplicationsListTokensResponse + - Added Type Alias CreatedByType + - Added Type Alias DeploymentMode + - Added Type Alias JitApprovalMode + - Added Type Alias JitApproverType + - Added Type Alias JitRequestsCreateOrUpdateResponse + - Added Type Alias JitRequestsGetResponse + - Added Type Alias JitRequestsListByResourceGroupResponse + - Added Type Alias JitRequestsListBySubscriptionResponse + - Added Type Alias JitRequestState + - Added Type Alias JitRequestsUpdateResponse + - Added Type Alias JitSchedulingType + - Added Type Alias Origin + - Added Type Alias ResourceIdentityType + - Added Type Alias Status + - Added Type Alias Substatus + - Interface Application has a new optional parameter artifacts + - Interface Application has a new optional parameter authorizations + - Interface Application has a new optional parameter billingDetails + - Interface Application has a new optional parameter createdBy + - Interface Application has a new optional parameter customerSupport + - Interface Application has a new optional parameter identity + - Interface Application has a new optional parameter jitAccessPolicy + - Interface Application has a new optional parameter managementMode + - Interface Application has a new optional parameter publisherTenantId + - Interface Application has a new optional parameter supportUrls + - Interface Application has a new optional parameter updatedBy + - Interface ApplicationDefinition has a new optional parameter deploymentPolicy + - Interface ApplicationDefinition has a new optional parameter lockingPolicy + - Interface ApplicationDefinition has a new optional parameter managementPolicy + - Interface ApplicationDefinition has a new optional parameter notificationPolicy + - Interface ApplicationDefinition has a new optional parameter policies + - Interface ApplicationDefinition has a new optional parameter storageAccountId + - Interface ApplicationPatchable has a new optional parameter artifacts + - Interface ApplicationPatchable has a new optional parameter authorizations + - Interface ApplicationPatchable has a new optional parameter billingDetails + - Interface ApplicationPatchable has a new optional parameter createdBy + - Interface ApplicationPatchable has a new optional parameter customerSupport + - Interface ApplicationPatchable has a new optional parameter identity + - Interface ApplicationPatchable has a new optional parameter jitAccessPolicy + - Interface ApplicationPatchable has a new optional parameter managementMode + - Interface ApplicationPatchable has a new optional parameter publisherTenantId + - Interface ApplicationPatchable has a new optional parameter supportUrls + - Interface ApplicationPatchable has a new optional parameter updatedBy + - Interface ApplicationsUpdateByIdOptionalParams has a new optional parameter resumeFrom + - Interface ApplicationsUpdateByIdOptionalParams has a new optional parameter updateIntervalInMs + - Interface ApplicationsUpdateOptionalParams has a new optional parameter resumeFrom + - Interface ApplicationsUpdateOptionalParams has a new optional parameter updateIntervalInMs + - Interface ErrorResponse has a new optional parameter error + - Interface Identity has a new optional parameter userAssignedIdentities + - Interface Operation has a new optional parameter actionType + - Interface Operation has a new optional parameter isDataAction + - Interface Operation has a new optional parameter origin + - Interface OperationDisplay has a new optional parameter description + - Interface Resource has a new optional parameter systemData + - Added Enum KnownActionType + - Added Enum KnownApplicationArtifactName + - Added Enum KnownApplicationDefinitionArtifactName + - Added Enum KnownApplicationManagementMode + - Added Enum KnownCreatedByType + - Added Enum KnownDeploymentMode + - Added Enum KnownJitApprovalMode + - Added Enum KnownJitApproverType + - Added Enum KnownJitRequestState + - Added Enum KnownJitSchedulingType + - Added Enum KnownOrigin + - Added Enum KnownStatus + - Added Enum KnownSubstatus + - Enum KnownProvisioningState has a new value NotSpecified -### Other Changes +**Breaking Changes** + - Removed operation ApplicationDefinitions.beginCreateOrUpdate + - Removed operation ApplicationDefinitions.beginCreateOrUpdateAndWait + - Removed operation ApplicationDefinitions.beginCreateOrUpdateById + - Removed operation ApplicationDefinitions.beginCreateOrUpdateByIdAndWait + - Removed operation ApplicationDefinitions.beginDelete + - Removed operation ApplicationDefinitions.beginDeleteAndWait + - Removed operation ApplicationDefinitions.beginDeleteById + - Removed operation ApplicationDefinitions.beginDeleteByIdAndWait + - Removed operation Applications.update + - Removed operation Applications.updateById + - Class ApplicationClient has a new signature + - Interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams no longer has parameter resumeFrom + - Interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams no longer has parameter updateIntervalInMs + - Interface ApplicationDefinitionsCreateOrUpdateOptionalParams no longer has parameter resumeFrom + - Interface ApplicationDefinitionsCreateOrUpdateOptionalParams no longer has parameter updateIntervalInMs + - Interface ApplicationDefinitionsDeleteByIdOptionalParams no longer has parameter resumeFrom + - Interface ApplicationDefinitionsDeleteByIdOptionalParams no longer has parameter updateIntervalInMs + - Interface ApplicationDefinitionsDeleteOptionalParams no longer has parameter resumeFrom + - Interface ApplicationDefinitionsDeleteOptionalParams no longer has parameter updateIntervalInMs + - Interface ErrorResponse no longer has parameter errorCode + - Interface ErrorResponse no longer has parameter errorMessage + - Interface ErrorResponse no longer has parameter httpStatus + - Interface GenericResource no longer has parameter identity + - Parameter name of interface ApplicationArtifact is now required + - Parameter type of interface ApplicationArtifact is now required + - Parameter uri of interface ApplicationArtifact is now required + - Type of parameter name of interface ApplicationArtifact is changed from string to ApplicationArtifactName + - Type of parameter artifacts of interface ApplicationDefinition is changed from ApplicationArtifact[] to ApplicationDefinitionArtifact[] + - Type of parameter authorizations of interface ApplicationDefinition is changed from ApplicationProviderAuthorization[] to ApplicationAuthorization[] + - Type of parameter isEnabled of interface ApplicationDefinition is changed from string to boolean + - Type of parameter parameters of interface ApplicationsUpdateByIdOptionalParams is changed from Application to ApplicationPatchable + - Type of parameter type of interface Identity is changed from "SystemAssigned" to ResourceIdentityType + - Enum KnownProvisioningState no longer has value Created + - Enum KnownProvisioningState no longer has value Creating + - Enum KnownProvisioningState no longer has value Ready + + ## 2.1.0 (2022-11-22) **Features** diff --git a/sdk/managedapplications/arm-managedapplications/LICENSE b/sdk/managedapplications/arm-managedapplications/LICENSE index 5d1d36e0af80..3a1d9b6f24f7 100644 --- a/sdk/managedapplications/arm-managedapplications/LICENSE +++ b/sdk/managedapplications/arm-managedapplications/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Microsoft +Copyright (c) 2023 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 diff --git a/sdk/managedapplications/arm-managedapplications/_meta.json b/sdk/managedapplications/arm-managedapplications/_meta.json index c7ad3e56f301..3062e18d7028 100644 --- a/sdk/managedapplications/arm-managedapplications/_meta.json +++ b/sdk/managedapplications/arm-managedapplications/_meta.json @@ -1,8 +1,8 @@ { - "commit": "a42f1b58607091c4f255ead152a8ef323fa0b280", - "readme": "specification/resources/resource-manager/readme.md", - "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\resources\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true", + "commit": "d86cf2b256801bd4f879da16edde04aa9c765243", + "readme": "specification/solutions/resource-manager/readme.md", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/solutions/resource-manager/readme.md --use=@autorest/typescript@^6.0.4", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.2", - "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.2", + "use": "@autorest/typescript@^6.0.4" } \ No newline at end of file diff --git a/sdk/managedapplications/arm-managedapplications/package.json b/sdk/managedapplications/arm-managedapplications/package.json index 801674429685..24edcabc9ba9 100644 --- a/sdk/managedapplications/arm-managedapplications/package.json +++ b/sdk/managedapplications/arm-managedapplications/package.json @@ -3,17 +3,17 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ApplicationClient.", - "version": "2.1.1", + "version": "3.0.0", "engines": { "node": ">=14.0.0" }, "dependencies": { - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.6.1", + "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.8.0", + "@azure/core-rest-pipeline": "^1.12.0", "tslib": "^2.2.0" }, "keywords": [ @@ -33,12 +33,13 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-multi-entry": "^6.0.0", "@rollup/plugin-node-resolve": "^13.1.3", - "mkdirp": "^1.0.4", + "mkdirp": "^2.1.2", "rollup": "^2.66.1", "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~5.0.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", + "dotenv": "^16.0.0", "@azure/identity": "^2.0.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.0.0", @@ -47,10 +48,9 @@ "chai": "^4.2.0", "cross-env": "^7.0.2", "@types/node": "^14.0.0", - "@azure/dev-tool": "^1.0.0", - "ts-node": "^10.0.0" + "ts-node": "^10.0.0", + "@azure/dev-tool": "^1.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managedapplications/arm-managedapplications", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" @@ -112,12 +112,5 @@ ] }, "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-managedapplications?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managedapplications/arm-managedapplications" +} \ No newline at end of file diff --git a/sdk/managedapplications/arm-managedapplications/review/arm-managedapplications.api.md b/sdk/managedapplications/arm-managedapplications/review/arm-managedapplications.api.md index f7731713e577..1d237eded796 100644 --- a/sdk/managedapplications/arm-managedapplications/review/arm-managedapplications.api.md +++ b/sdk/managedapplications/arm-managedapplications/review/arm-managedapplications.api.md @@ -6,45 +6,88 @@ import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; +import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; -import { PollerLike } from '@azure/core-lro'; -import { PollOperationState } from '@azure/core-lro'; +import { SimplePollerLike } from '@azure/core-lro'; + +// @public +export type ActionType = string; + +// @public +export interface AllowedUpgradePlansResult { + value?: Plan[]; +} // @public export interface Application extends GenericResource { applicationDefinitionId?: string; + readonly artifacts?: ApplicationArtifact[]; + readonly authorizations?: ApplicationAuthorization[]; + readonly billingDetails?: ApplicationBillingDetailsDefinition; + readonly createdBy?: ApplicationClientDetails; + readonly customerSupport?: ApplicationPackageContact; + identity?: Identity; + jitAccessPolicy?: ApplicationJitAccessPolicy; kind: string; - managedResourceGroupId: string; + managedResourceGroupId?: string; + readonly managementMode?: ApplicationManagementMode; readonly outputs?: Record; parameters?: Record; plan?: Plan; readonly provisioningState?: ProvisioningState; + readonly publisherTenantId?: string; + readonly supportUrls?: ApplicationPackageSupportUrls; + readonly updatedBy?: ApplicationClientDetails; } // @public export interface ApplicationArtifact { - name?: string; - type?: ApplicationArtifactType; - uri?: string; + name: ApplicationArtifactName; + type: ApplicationArtifactType; + uri: string; +} + +// @public +export type ApplicationArtifactName = string; + +// @public +export type ApplicationArtifactType = "NotSpecified" | "Template" | "Custom"; + +// @public +export interface ApplicationAuthorization { + principalId: string; + roleDefinitionId: string; } // @public -export type ApplicationArtifactType = "Template" | "Custom"; +export interface ApplicationBillingDetailsDefinition { + resourceUsageId?: string; +} // @public (undocumented) export class ApplicationClient extends coreClient.ServiceClient { // (undocumented) $host: string; constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationClientOptionalParams); + constructor(credentials: coreAuth.TokenCredential, options?: ApplicationClientOptionalParams); // (undocumented) apiVersion: string; // (undocumented) applicationDefinitions: ApplicationDefinitions; // (undocumented) applications: Applications; + // (undocumented) + jitRequests: JitRequests; listOperations(options?: ListOperationsOptionalParams): PagedAsyncIterableIterator; // (undocumented) - subscriptionId: string; + subscriptionId?: string; +} + +// @public +export interface ApplicationClientDetails { + applicationId?: string; + oid?: string; + puid?: string; } // @public @@ -56,42 +99,62 @@ export interface ApplicationClientOptionalParams extends coreClient.ServiceClien // @public export interface ApplicationDefinition extends GenericResource { - artifacts?: ApplicationArtifact[]; - authorizations: ApplicationProviderAuthorization[]; + artifacts?: ApplicationDefinitionArtifact[]; + authorizations?: ApplicationAuthorization[]; createUiDefinition?: Record; + deploymentPolicy?: ApplicationDeploymentPolicy; description?: string; displayName?: string; - isEnabled?: string; + isEnabled?: boolean; + lockingPolicy?: ApplicationPackageLockingPolicyDefinition; lockLevel: ApplicationLockLevel; mainTemplate?: Record; + managementPolicy?: ApplicationManagementPolicy; + notificationPolicy?: ApplicationNotificationPolicy; packageFileUri?: string; + policies?: ApplicationPolicy[]; + storageAccountId?: string; } +// @public +export interface ApplicationDefinitionArtifact { + name: ApplicationDefinitionArtifactName; + type: ApplicationArtifactType; + uri: string; +} + +// @public +export type ApplicationDefinitionArtifactName = string; + // @public export interface ApplicationDefinitionListResult { nextLink?: string; value?: ApplicationDefinition[]; } +// @public +export interface ApplicationDefinitionPatchable { + tags?: { + [propertyName: string]: string; + }; +} + // @public export interface ApplicationDefinitions { - beginCreateOrUpdate(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams): Promise, ApplicationDefinitionsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams): Promise; - beginCreateOrUpdateById(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams): Promise, ApplicationDefinitionsCreateOrUpdateByIdResponse>>; - beginCreateOrUpdateByIdAndWait(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams): Promise; - beginDelete(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams): Promise; - beginDeleteById(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams): Promise, void>>; - beginDeleteByIdAndWait(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams): Promise; + createOrUpdateById(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams): Promise; + delete(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams): Promise; + deleteById(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams): Promise; get(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsGetOptionalParams): Promise; getById(resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsGetByIdOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: ApplicationDefinitionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: ApplicationDefinitionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; + update(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinitionPatchable, options?: ApplicationDefinitionsUpdateOptionalParams): Promise; + updateById(resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinitionPatchable, options?: ApplicationDefinitionsUpdateByIdOptionalParams): Promise; } // @public export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } // @public @@ -99,8 +162,6 @@ export type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefini // @public export interface ApplicationDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } // @public @@ -108,14 +169,10 @@ export type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition // @public export interface ApplicationDefinitionsDeleteByIdOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } // @public export interface ApplicationDefinitionsDeleteOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } // @public @@ -146,6 +203,47 @@ export interface ApplicationDefinitionsListByResourceGroupOptionalParams extends // @public export type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult; +// @public +export interface ApplicationDefinitionsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationDefinitionsListBySubscriptionNextResponse = ApplicationDefinitionListResult; + +// @public +export interface ApplicationDefinitionsListBySubscriptionOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationDefinitionsListBySubscriptionResponse = ApplicationDefinitionListResult; + +// @public +export interface ApplicationDefinitionsUpdateByIdOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationDefinitionsUpdateByIdResponse = ApplicationDefinition; + +// @public +export interface ApplicationDefinitionsUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationDefinitionsUpdateResponse = ApplicationDefinition; + +// @public +export interface ApplicationDeploymentPolicy { + deploymentMode: DeploymentMode; +} + +// @public +export interface ApplicationJitAccessPolicy { + jitAccessEnabled: boolean; + jitApprovalMode?: JitApprovalMode; + jitApprovers?: JitApproverDefinition[]; + maximumJitAccessDuration?: string; +} + // @public export interface ApplicationListResult { nextLink?: string; @@ -155,39 +253,96 @@ export interface ApplicationListResult { // @public export type ApplicationLockLevel = "CanNotDelete" | "ReadOnly" | "None"; +// @public +export type ApplicationManagementMode = string; + +// @public +export interface ApplicationManagementPolicy { + mode?: ApplicationManagementMode; +} + +// @public +export interface ApplicationNotificationEndpoint { + uri: string; +} + +// @public +export interface ApplicationNotificationPolicy { + notificationEndpoints: ApplicationNotificationEndpoint[]; +} + +// @public +export interface ApplicationPackageContact { + contactName?: string; + email: string; + phone: string; +} + +// @public +export interface ApplicationPackageLockingPolicyDefinition { + allowedActions?: string[]; + allowedDataActions?: string[]; +} + +// @public +export interface ApplicationPackageSupportUrls { + governmentCloud?: string; + publicAzure?: string; +} + // @public export interface ApplicationPatchable extends GenericResource { applicationDefinitionId?: string; + readonly artifacts?: ApplicationArtifact[]; + readonly authorizations?: ApplicationAuthorization[]; + readonly billingDetails?: ApplicationBillingDetailsDefinition; + readonly createdBy?: ApplicationClientDetails; + readonly customerSupport?: ApplicationPackageContact; + identity?: Identity; + jitAccessPolicy?: ApplicationJitAccessPolicy; kind?: string; managedResourceGroupId?: string; + readonly managementMode?: ApplicationManagementMode; readonly outputs?: Record; parameters?: Record; plan?: PlanPatchable; readonly provisioningState?: ProvisioningState; + readonly publisherTenantId?: string; + readonly supportUrls?: ApplicationPackageSupportUrls; + readonly updatedBy?: ApplicationClientDetails; } // @public -export interface ApplicationProviderAuthorization { - principalId: string; - roleDefinitionId: string; +export interface ApplicationPolicy { + name?: string; + parameters?: string; + policyDefinitionId?: string; } // @public export interface Applications { - beginCreateOrUpdate(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise, ApplicationsCreateOrUpdateResponse>>; + beginCreateOrUpdate(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise, ApplicationsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams): Promise; - beginCreateOrUpdateById(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise, ApplicationsCreateOrUpdateByIdResponse>>; + beginCreateOrUpdateById(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise, ApplicationsCreateOrUpdateByIdResponse>>; beginCreateOrUpdateByIdAndWait(applicationId: string, parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams): Promise; - beginDelete(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise, void>>; + beginDelete(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise; - beginDeleteById(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise, void>>; + beginDeleteById(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise, void>>; beginDeleteByIdAndWait(applicationId: string, options?: ApplicationsDeleteByIdOptionalParams): Promise; + beginRefreshPermissions(resourceGroupName: string, applicationName: string, options?: ApplicationsRefreshPermissionsOptionalParams): Promise, void>>; + beginRefreshPermissionsAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsRefreshPermissionsOptionalParams): Promise; + beginUpdate(resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams): Promise, ApplicationsUpdateResponse>>; + beginUpdateAccess(resourceGroupName: string, applicationName: string, parameters: UpdateAccessDefinition, options?: ApplicationsUpdateAccessOptionalParams): Promise, void>>; + beginUpdateAccessAndWait(resourceGroupName: string, applicationName: string, parameters: UpdateAccessDefinition, options?: ApplicationsUpdateAccessOptionalParams): Promise; + beginUpdateAndWait(resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams): Promise; + beginUpdateById(applicationId: string, options?: ApplicationsUpdateByIdOptionalParams): Promise, ApplicationsUpdateByIdResponse>>; + beginUpdateByIdAndWait(applicationId: string, options?: ApplicationsUpdateByIdOptionalParams): Promise; get(resourceGroupName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise; getById(applicationId: string, options?: ApplicationsGetByIdOptionalParams): Promise; + listAllowedUpgradePlans(resourceGroupName: string, applicationName: string, options?: ApplicationsListAllowedUpgradePlansOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: ApplicationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: ApplicationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; - update(resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams): Promise; - updateById(applicationId: string, options?: ApplicationsUpdateByIdOptionalParams): Promise; + listTokens(resourceGroupName: string, applicationName: string, parameters: ListTokenRequest, options?: ApplicationsListTokensOptionalParams): Promise; } // @public @@ -234,6 +389,13 @@ export interface ApplicationsGetOptionalParams extends coreClient.OperationOptio // @public export type ApplicationsGetResponse = Application; +// @public +export interface ApplicationsListAllowedUpgradePlansOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationsListAllowedUpgradePlansResponse = AllowedUpgradePlansResult; + // @public export interface ApplicationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } @@ -262,32 +424,73 @@ export interface ApplicationsListBySubscriptionOptionalParams extends coreClient // @public export type ApplicationsListBySubscriptionResponse = ApplicationListResult; +// @public +export interface ApplicationsListTokensOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ApplicationsListTokensResponse = ManagedIdentityTokenResult; + +// @public +export interface ApplicationsRefreshPermissionsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface ApplicationsUpdateAccessOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public export interface ApplicationsUpdateByIdOptionalParams extends coreClient.OperationOptions { - parameters?: Application; + parameters?: ApplicationPatchable; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ApplicationsUpdateByIdResponse = Application; +export type ApplicationsUpdateByIdResponse = ApplicationPatchable; // @public export interface ApplicationsUpdateOptionalParams extends coreClient.OperationOptions { parameters?: ApplicationPatchable; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ApplicationsUpdateResponse = ApplicationPatchable; + +// @public +export type CreatedByType = string; + +// @public +export type DeploymentMode = string; + +// @public +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; } // @public -export type ApplicationsUpdateResponse = Application; +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; + readonly code?: string; + readonly details?: ErrorDetail[]; + readonly message?: string; + readonly target?: string; +} // @public export interface ErrorResponse { - errorCode?: string; - errorMessage?: string; - httpStatus?: string; + error?: ErrorDetail; } // @public export interface GenericResource extends Resource { - identity?: Identity; managedBy?: string; sku?: Sku; } @@ -299,24 +502,241 @@ export function getContinuationToken(page: unknown): string | undefined; export interface Identity { readonly principalId?: string; readonly tenantId?: string; - type?: "SystemAssigned"; + type?: ResourceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: UserAssignedResourceIdentity; + }; +} + +// @public +export type JitApprovalMode = string; + +// @public +export interface JitApproverDefinition { + displayName?: string; + id: string; + type?: JitApproverType; +} + +// @public +export type JitApproverType = string; + +// @public +export interface JitAuthorizationPolicies { + principalId: string; + roleDefinitionId: string; +} + +// @public +export interface JitRequestDefinition extends Resource { + applicationResourceId?: string; + readonly createdBy?: ApplicationClientDetails; + jitAuthorizationPolicies?: JitAuthorizationPolicies[]; + readonly jitRequestState?: JitRequestState; + jitSchedulingPolicy?: JitSchedulingPolicy; + readonly provisioningState?: ProvisioningState; + readonly publisherTenantId?: string; + readonly updatedBy?: ApplicationClientDetails; +} + +// @public +export interface JitRequestDefinitionListResult { + nextLink?: string; + value?: JitRequestDefinition[]; +} + +// @public +export interface JitRequestMetadata { + originRequestId?: string; + requestorId?: string; + subjectDisplayName?: string; + tenantDisplayName?: string; +} + +// @public +export interface JitRequestPatchable { + tags?: { + [propertyName: string]: string; + }; +} + +// @public +export interface JitRequests { + beginCreateOrUpdate(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise, JitRequestsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, jitRequestName: string, options?: JitRequestsDeleteOptionalParams): Promise; + get(resourceGroupName: string, jitRequestName: string, options?: JitRequestsGetOptionalParams): Promise; + listByResourceGroup(resourceGroupName: string, options?: JitRequestsListByResourceGroupOptionalParams): Promise; + listBySubscription(options?: JitRequestsListBySubscriptionOptionalParams): Promise; + update(resourceGroupName: string, jitRequestName: string, parameters: JitRequestPatchable, options?: JitRequestsUpdateOptionalParams): Promise; +} + +// @public +export interface JitRequestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JitRequestsCreateOrUpdateResponse = JitRequestDefinition; + +// @public +export interface JitRequestsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface JitRequestsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JitRequestsGetResponse = JitRequestDefinition; + +// @public +export interface JitRequestsListByResourceGroupOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JitRequestsListByResourceGroupResponse = JitRequestDefinitionListResult; + +// @public +export interface JitRequestsListBySubscriptionOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JitRequestsListBySubscriptionResponse = JitRequestDefinitionListResult; + +// @public +export type JitRequestState = string; + +// @public +export interface JitRequestsUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JitRequestsUpdateResponse = JitRequestDefinition; + +// @public +export interface JitSchedulingPolicy { + duration: string; + startTime: Date; + type: JitSchedulingType; +} + +// @public +export type JitSchedulingType = string; + +// @public +export enum KnownActionType { + Internal = "Internal" +} + +// @public +export enum KnownApplicationArtifactName { + Authorizations = "Authorizations", + CustomRoleDefinition = "CustomRoleDefinition", + NotSpecified = "NotSpecified", + ViewDefinition = "ViewDefinition" +} + +// @public +export enum KnownApplicationDefinitionArtifactName { + ApplicationResourceTemplate = "ApplicationResourceTemplate", + CreateUiDefinition = "CreateUiDefinition", + MainTemplateParameters = "MainTemplateParameters", + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownApplicationManagementMode { + Managed = "Managed", + NotSpecified = "NotSpecified", + Unmanaged = "Unmanaged" +} + +// @public +export enum KnownCreatedByType { + Application = "Application", + Key = "Key", + ManagedIdentity = "ManagedIdentity", + User = "User" +} + +// @public +export enum KnownDeploymentMode { + Complete = "Complete", + Incremental = "Incremental", + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownJitApprovalMode { + AutoApprove = "AutoApprove", + ManualApprove = "ManualApprove", + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownJitApproverType { + Group = "group", + User = "user" +} + +// @public +export enum KnownJitRequestState { + Approved = "Approved", + Canceled = "Canceled", + Denied = "Denied", + Expired = "Expired", + Failed = "Failed", + NotSpecified = "NotSpecified", + Pending = "Pending", + Timeout = "Timeout" +} + +// @public +export enum KnownJitSchedulingType { + NotSpecified = "NotSpecified", + Once = "Once", + Recurring = "Recurring" +} + +// @public +export enum KnownOrigin { + System = "system", + User = "user", + UserSystem = "user,system" } // @public export enum KnownProvisioningState { Accepted = "Accepted", Canceled = "Canceled", - Created = "Created", - Creating = "Creating", Deleted = "Deleted", Deleting = "Deleting", Failed = "Failed", - Ready = "Ready", + NotSpecified = "NotSpecified", Running = "Running", Succeeded = "Succeeded", Updating = "Updating" } +// @public +export enum KnownStatus { + Elevate = "Elevate", + NotSpecified = "NotSpecified", + Remove = "Remove" +} + +// @public +export enum KnownSubstatus { + Approved = "Approved", + Denied = "Denied", + Expired = "Expired", + Failed = "Failed", + NotSpecified = "NotSpecified", + Timeout = "Timeout" +} + // @public export interface ListOperationsNextOptionalParams extends coreClient.OperationOptions { } @@ -331,25 +751,54 @@ export interface ListOperationsOptionalParams extends coreClient.OperationOption // @public export type ListOperationsResponse = OperationListResult; +// @public +export interface ListTokenRequest { + authorizationAudience?: string; + userAssignedIdentities?: string[]; +} + +// @public +export interface ManagedIdentityToken { + accessToken?: string; + authorizationAudience?: string; + expiresIn?: string; + expiresOn?: string; + notBefore?: string; + resourceId?: string; + tokenType?: string; +} + +// @public +export interface ManagedIdentityTokenResult { + value?: ManagedIdentityToken[]; +} + // @public export interface Operation { + readonly actionType?: ActionType; display?: OperationDisplay; - name?: string; + readonly isDataAction?: boolean; + readonly name?: string; + readonly origin?: Origin; } // @public export interface OperationDisplay { - operation?: string; - provider?: string; - resource?: string; + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } // @public export interface OperationListResult { - nextLink?: string; - value?: Operation[]; + readonly nextLink?: string; + readonly value?: Operation[]; } +// @public +export type Origin = string; + // @public export interface Plan { name: string; @@ -376,12 +825,16 @@ export interface Resource { readonly id?: string; location?: string; readonly name?: string; + readonly systemData?: SystemData; tags?: { [propertyName: string]: string; }; readonly type?: string; } +// @public +export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; + // @public export interface Sku { capacity?: number; @@ -392,6 +845,36 @@ export interface Sku { tier?: string; } +// @public +export type Status = string; + +// @public +export type Substatus = string; + +// @public +export interface SystemData { + createdAt?: Date; + createdBy?: string; + createdByType?: CreatedByType; + lastModifiedAt?: Date; + lastModifiedBy?: string; + lastModifiedByType?: CreatedByType; +} + +// @public +export interface UpdateAccessDefinition { + approver?: string; + metadata: JitRequestMetadata; + status: Status; + subStatus: Substatus; +} + +// @public +export interface UserAssignedResourceIdentity { + readonly principalId?: string; + readonly tenantId?: string; +} + // (No @packageDocumentation comment for this package) ``` diff --git a/sdk/managedapplications/arm-managedapplications/src/applicationClient.ts b/sdk/managedapplications/arm-managedapplications/src/applicationClient.ts index 634fc3cbcbcb..1f70f932a088 100644 --- a/sdk/managedapplications/arm-managedapplications/src/applicationClient.ts +++ b/sdk/managedapplications/arm-managedapplications/src/applicationClient.ts @@ -16,8 +16,16 @@ import { import * as coreAuth from "@azure/core-auth"; import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; import { setContinuationToken } from "./pagingHelper"; -import { ApplicationsImpl, ApplicationDefinitionsImpl } from "./operations"; -import { Applications, ApplicationDefinitions } from "./operationsInterfaces"; +import { + ApplicationsImpl, + ApplicationDefinitionsImpl, + JitRequestsImpl +} from "./operations"; +import { + Applications, + ApplicationDefinitions, + JitRequests +} from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; import { @@ -33,7 +41,7 @@ import { export class ApplicationClient extends coreClient.ServiceClient { $host: string; apiVersion: string; - subscriptionId: string; + subscriptionId?: string; /** * Initializes a new instance of the ApplicationClient class. @@ -45,12 +53,26 @@ export class ApplicationClient extends coreClient.ServiceClient { credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationClientOptionalParams + ); + constructor( + credentials: coreAuth.TokenCredential, + options?: ApplicationClientOptionalParams + ); + constructor( + credentials: coreAuth.TokenCredential, + subscriptionIdOrOptions?: ApplicationClientOptionalParams | string, + options?: ApplicationClientOptionalParams ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); } - if (subscriptionId === undefined) { - throw new Error("'subscriptionId' cannot be null"); + + let subscriptionId: string | undefined; + + if (typeof subscriptionIdOrOptions === "string") { + subscriptionId = subscriptionIdOrOptions; + } else if (typeof subscriptionIdOrOptions === "object") { + options = subscriptionIdOrOptions; } // Initializing default values for options @@ -62,7 +84,7 @@ export class ApplicationClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-managedapplications/2.1.1`; + const packageDetails = `azsdk-js-arm-managedapplications/3.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -115,9 +137,10 @@ export class ApplicationClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2018-06-01"; + this.apiVersion = options.apiVersion || "2021-07-01"; this.applications = new ApplicationsImpl(this); this.applicationDefinitions = new ApplicationDefinitionsImpl(this); + this.jitRequests = new JitRequestsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -230,6 +253,7 @@ export class ApplicationClient extends coreClient.ServiceClient { applications: Applications; applicationDefinitions: ApplicationDefinitions; + jitRequests: JitRequests; } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -240,6 +264,9 @@ const listOperationsOperationSpec: coreClient.OperationSpec = { responses: { 200: { bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse } }, queryParameters: [Parameters.apiVersion], @@ -253,9 +280,11 @@ const listOperationsNextOperationSpec: coreClient.OperationSpec = { responses: { 200: { bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/managedapplications/arm-managedapplications/src/lroImpl.ts b/sdk/managedapplications/arm-managedapplications/src/lroImpl.ts index 518d5f053b4e..dd803cd5e28c 100644 --- a/sdk/managedapplications/arm-managedapplications/src/lroImpl.ts +++ b/sdk/managedapplications/arm-managedapplications/src/lroImpl.ts @@ -6,29 +6,37 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { AbortSignalLike } from "@azure/abort-controller"; 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" - }); - } +export function createLroSpec(inputs: { + sendOperationFn: (args: any, spec: any) => Promise>; + args: Record; + spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record; +}): LongRunningOperation { + const { args, spec, sendOperationFn } = inputs; + return { + requestMethod: spec.httpMethod, + requestPath: spec.path!, + sendInitialRequest: () => sendOperationFn(args, spec), + sendPollRequest: ( + path: string, + options?: { abortSignal?: AbortSignalLike } + ) => { + const { requestBody, ...restSpec } = spec; + return sendOperationFn(args, { + ...restSpec, + httpMethod: "GET", + path, + abortSignal: options?.abortSignal + }); + } + }; } diff --git a/sdk/managedapplications/arm-managedapplications/src/models/index.ts b/sdk/managedapplications/arm-managedapplications/src/models/index.ts index 60dca9159b41..0882498520ef 100644 --- a/sdk/managedapplications/arm-managedapplications/src/models/index.ts +++ b/sdk/managedapplications/arm-managedapplications/src/models/index.ts @@ -8,30 +8,191 @@ import * as coreClient from "@azure/core-client"; -/** Result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results. */ +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ export interface OperationListResult { - /** List of Microsoft.Solutions operations. */ - value?: Operation[]; - /** URL to get the next set of operation list results if there are any. */ - nextLink?: string; + /** + * List of operations supported by the resource provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Microsoft.Solutions operation */ +/** Details of a REST API operation, returned from the Resource Provider Operations API */ export interface Operation { - /** Operation name: {provider}/{resource}/{operation} */ - name?: string; - /** The object that represents the operation. */ + /** + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ display?: OperationDisplay; + /** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; } -/** The object that represents the operation. */ +/** Localized display information for this particular operation. */ export interface OperationDisplay { - /** Service provider: Microsoft.Solutions */ - provider?: string; - /** Resource on which the operation is performed: Application, JitRequest, etc. */ - resource?: string; - /** Operation type: Read, write, delete, etc. */ - operation?: string; + /** + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provider?: string; + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; +} + +/** Managed application billing details definition. */ +export interface ApplicationBillingDetailsDefinition { + /** The managed application resource usage Id. */ + resourceUsageId?: string; +} + +/** Managed application Jit access policy. */ +export interface ApplicationJitAccessPolicy { + /** Whether the JIT access is enabled. */ + jitAccessEnabled: boolean; + /** JIT approval mode. */ + jitApprovalMode?: JitApprovalMode; + /** The JIT approvers */ + jitApprovers?: JitApproverDefinition[]; + /** The maximum duration JIT access is granted. This is an ISO8601 time period value. */ + maximumJitAccessDuration?: string; +} + +/** JIT approver definition. */ +export interface JitApproverDefinition { + /** The approver service principal Id. */ + id: string; + /** The approver type. */ + type?: JitApproverType; + /** The approver display name. */ + displayName?: string; +} + +/** The managed application provider authorization. */ +export interface ApplicationAuthorization { + /** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */ + principalId: string; + /** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */ + roleDefinitionId: string; +} + +/** The application package contact information. */ +export interface ApplicationPackageContact { + /** The contact name. */ + contactName?: string; + /** The contact email. */ + email: string; + /** The contact phone number. */ + phone: string; +} + +/** The appliance package support URLs. */ +export interface ApplicationPackageSupportUrls { + /** The public azure support URL. */ + publicAzure?: string; + /** The government cloud support URL. */ + governmentCloud?: string; +} + +/** Managed application artifact. */ +export interface ApplicationArtifact { + /** The managed application artifact name. */ + name: ApplicationArtifactName; + /** The managed application artifact blob uri. */ + uri: string; + /** The managed application artifact type. */ + type: ApplicationArtifactType; +} + +/** The application client details to track the entity creating/updating the managed app resource. */ +export interface ApplicationClientDetails { + /** The client Oid. */ + oid?: string; + /** The client Puid */ + puid?: string; + /** The client application Id. */ + applicationId?: string; } /** Plan for the managed application. */ @@ -48,6 +209,40 @@ export interface Plan { version: string; } +/** Identity for the resource. */ +export interface Identity { + /** + * The principal ID of resource identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant ID of resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** The identity type. */ + type?: ResourceIdentityType; + /** The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ + userAssignedIdentities?: { + [propertyName: string]: UserAssignedResourceIdentity; + }; +} + +/** Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity */ +export interface UserAssignedResourceIdentity { + /** + * The principal id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; +} + /** SKU for the resource. */ export interface Sku { /** The SKU name. */ @@ -64,22 +259,6 @@ export interface Sku { capacity?: number; } -/** Identity for the resource. */ -export interface Identity { - /** - * The principal ID of resource identity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly principalId?: string; - /** - * The tenant ID of resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** The identity type. */ - type?: "SystemAssigned"; -} - /** Resource information. */ export interface Resource { /** @@ -101,16 +280,27 @@ export interface Resource { location?: string; /** Resource tags */ tags?: { [propertyName: string]: 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. + */ + readonly systemData?: SystemData; } -/** Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message. */ -export interface ErrorResponse { - /** Http status code. */ - httpStatus?: string; - /** Error code. */ - errorCode?: string; - /** Error message indicating why the operation failed. */ - errorMessage?: 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; } /** Plan for the managed application. */ @@ -127,22 +317,62 @@ export interface PlanPatchable { version?: string; } -/** The managed application provider authorization. */ -export interface ApplicationProviderAuthorization { - /** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */ - principalId: string; - /** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */ - roleDefinitionId: string; +/** Application definition artifact. */ +export interface ApplicationDefinitionArtifact { + /** The managed application definition artifact name. */ + name: ApplicationDefinitionArtifactName; + /** The managed application definition artifact blob uri. */ + uri: string; + /** The managed application definition artifact type. */ + type: ApplicationArtifactType; } -/** Managed application artifact. */ -export interface ApplicationArtifact { - /** The managed application artifact name. */ +/** Managed application notification policy. */ +export interface ApplicationNotificationPolicy { + /** The managed application notification endpoint. */ + notificationEndpoints: ApplicationNotificationEndpoint[]; +} + +/** Managed application notification endpoint. */ +export interface ApplicationNotificationEndpoint { + /** The managed application notification endpoint uri. */ + uri: string; +} + +/** Managed application locking policy. */ +export interface ApplicationPackageLockingPolicyDefinition { + /** The deny assignment excluded actions. */ + allowedActions?: string[]; + /** The deny assignment excluded data actions. */ + allowedDataActions?: string[]; +} + +/** Managed application deployment policy. */ +export interface ApplicationDeploymentPolicy { + /** The managed application deployment mode. */ + deploymentMode: DeploymentMode; +} + +/** Managed application management policy. */ +export interface ApplicationManagementPolicy { + /** The managed application management mode. */ + mode?: ApplicationManagementMode; +} + +/** Managed application policy. */ +export interface ApplicationPolicy { + /** The policy name */ name?: string; - /** The managed application artifact blob uri. */ - uri?: string; - /** The managed application artifact type. */ - type?: ApplicationArtifactType; + /** The policy definition Id. */ + policyDefinitionId?: string; + /** The policy parameters. */ + parameters?: string; +} + +/** Information about an application definition request. */ +export interface ApplicationDefinitionPatchable { + /** Application definition tags */ + tags?: { [propertyName: string]: string }; } /** List of managed application definitions. */ @@ -161,14 +391,141 @@ export interface ApplicationListResult { nextLink?: string; } +/** The JIT authorization policies. */ +export interface JitAuthorizationPolicies { + /** The the principal id that will be granted JIT access. */ + principalId: string; + /** The role definition id that will be granted to the Principal. */ + roleDefinitionId: string; +} + +/** The JIT scheduling policies. */ +export interface JitSchedulingPolicy { + /** The type of JIT schedule. */ + type: JitSchedulingType; + /** The required duration of the JIT request. */ + duration: string; + /** The start time of the request. */ + startTime: Date; +} + +/** Information about JIT request. */ +export interface JitRequestPatchable { + /** Jit request tags */ + tags?: { [propertyName: string]: string }; +} + +/** List of JIT requests. */ +export interface JitRequestDefinitionListResult { + /** The array of Jit request definition. */ + value?: JitRequestDefinition[]; + /** The URL to use for getting the next set of results. */ + nextLink?: string; +} + +/** The array of plan. */ +export interface AllowedUpgradePlansResult { + /** The array of plans. */ + value?: Plan[]; +} + +/** Update access request definition. */ +export interface UpdateAccessDefinition { + /** The approver name. */ + approver?: string; + /** The JIT request metadata. */ + metadata: JitRequestMetadata; + /** The JIT status. */ + status: Status; + /** The JIT status. */ + subStatus: Substatus; +} + +/** The JIT request metadata. */ +export interface JitRequestMetadata { + /** The origin request id. */ + originRequestId?: string; + /** The requestor id. */ + requestorId?: string; + /** The publisher's tenant name. */ + tenantDisplayName?: string; + /** The subject display name. */ + subjectDisplayName?: string; +} + +/** List token request body. */ +export interface ListTokenRequest { + /** The authorization audience. */ + authorizationAudience?: string; + /** The user assigned identities. */ + userAssignedIdentities?: string[]; +} + +/** The array of managed identity tokens. */ +export interface ManagedIdentityTokenResult { + /** The array of managed identity tokens. */ + value?: ManagedIdentityToken[]; +} + +/** The managed identity token for the managed app resource. */ +export interface ManagedIdentityToken { + /** The requested access token. */ + accessToken?: string; + /** The number of seconds the access token will be valid. */ + expiresIn?: string; + /** The timespan when the access token expires. This is represented as the number of seconds from epoch. */ + expiresOn?: string; + /** The timespan when the access token takes effect. This is represented as the number of seconds from epoch. */ + notBefore?: string; + /** The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request. */ + authorizationAudience?: string; + /** The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID. */ + resourceId?: string; + /** The type of the token. */ + tokenType?: string; +} + /** Resource information. */ export interface GenericResource extends Resource { /** ID of the resource that manages this resource. */ managedBy?: string; /** The SKU of the resource. */ sku?: Sku; - /** The identity of the resource. */ - identity?: Identity; +} + +/** Information about JIT request definition. */ +export interface JitRequestDefinition extends Resource { + /** The parent application id. */ + applicationResourceId?: string; + /** + * The publisher tenant id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherTenantId?: string; + /** The JIT authorization policies. */ + jitAuthorizationPolicies?: JitAuthorizationPolicies[]; + /** The JIT request properties. */ + jitSchedulingPolicy?: JitSchedulingPolicy; + /** + * The JIT request provisioning state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** + * The JIT request state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly jitRequestState?: JitRequestState; + /** + * The client entity that created the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ApplicationClientDetails; + /** + * The client entity that last updated the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly updatedBy?: ApplicationClientDetails; } /** Information about managed application. */ @@ -177,8 +534,10 @@ export interface Application extends GenericResource { plan?: Plan; /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */ kind: string; + /** The identity of the resource. */ + identity?: Identity; /** The managed resource group Id. */ - managedResourceGroupId: string; + managedResourceGroupId?: string; /** The fully qualified path of managed application definition Id. */ applicationDefinitionId?: string; /** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */ @@ -193,6 +552,53 @@ export interface Application extends GenericResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; + /** + * The managed application billing details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly billingDetails?: ApplicationBillingDetailsDefinition; + /** The managed application Jit access policy. */ + jitAccessPolicy?: ApplicationJitAccessPolicy; + /** + * The publisher tenant Id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherTenantId?: string; + /** + * The read-only authorizations property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly authorizations?: ApplicationAuthorization[]; + /** + * The managed application management mode. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly managementMode?: ApplicationManagementMode; + /** + * The read-only customer support property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customerSupport?: ApplicationPackageContact; + /** + * The read-only support URLs property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly supportUrls?: ApplicationPackageSupportUrls; + /** + * The collection of managed application artifacts. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly artifacts?: ApplicationArtifact[]; + /** + * The client entity that created the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ApplicationClientDetails; + /** + * The client entity that last updated the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly updatedBy?: ApplicationClientDetails; } /** Information about managed application. */ @@ -201,6 +607,8 @@ export interface ApplicationPatchable extends GenericResource { plan?: PlanPatchable; /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */ kind?: string; + /** The identity of the resource. */ + identity?: Identity; /** The managed resource group Id. */ managedResourceGroupId?: string; /** The fully qualified path of managed application definition Id. */ @@ -217,6 +625,53 @@ export interface ApplicationPatchable extends GenericResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; + /** + * The managed application billing details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly billingDetails?: ApplicationBillingDetailsDefinition; + /** The managed application Jit access policy. */ + jitAccessPolicy?: ApplicationJitAccessPolicy; + /** + * The publisher tenant Id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherTenantId?: string; + /** + * The read-only authorizations property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly authorizations?: ApplicationAuthorization[]; + /** + * The managed application management mode. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly managementMode?: ApplicationManagementMode; + /** + * The read-only customer support property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customerSupport?: ApplicationPackageContact; + /** + * The read-only support URLs property that is retrieved from the application package. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly supportUrls?: ApplicationPackageSupportUrls; + /** + * The collection of managed application artifacts. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly artifacts?: ApplicationArtifact[]; + /** + * The client entity that created the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ApplicationClientDetails; + /** + * The client entity that last updated the JIT request. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly updatedBy?: ApplicationClientDetails; } /** Information about managed application definition. */ @@ -226,33 +681,77 @@ export interface ApplicationDefinition extends GenericResource { /** The managed application definition display name. */ displayName?: string; /** A value indicating whether the package is enabled or not. */ - isEnabled?: string; + isEnabled?: boolean; /** The managed application provider authorizations. */ - authorizations: ApplicationProviderAuthorization[]; + authorizations?: ApplicationAuthorization[]; /** The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. */ - artifacts?: ApplicationArtifact[]; + artifacts?: ApplicationDefinitionArtifact[]; /** The managed application definition description. */ description?: string; /** The managed application definition package file Uri. Use this element */ packageFileUri?: string; + /** The storage account id for bring your own storage scenario. */ + storageAccountId?: string; /** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */ mainTemplate?: Record; /** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */ createUiDefinition?: Record; + /** The managed application notification policy. */ + notificationPolicy?: ApplicationNotificationPolicy; + /** The managed application locking policy. */ + lockingPolicy?: ApplicationPackageLockingPolicyDefinition; + /** The managed application deployment policy. */ + deploymentPolicy?: ApplicationDeploymentPolicy; + /** The managed application management policy that determines publisher's access to the managed resource group. */ + managementPolicy?: ApplicationManagementPolicy; + /** The managed application provider policies. */ + policies?: ApplicationPolicy[]; +} + +/** Known values of {@link Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system" +} + +/** + * Defines values for Origin. \ + * {@link KnownOrigin} can be used interchangeably with Origin, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **user** \ + * **system** \ + * **user,system** + */ +export type Origin = string; + +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal" } +/** + * Defines values for ActionType. \ + * {@link KnownActionType} can be used interchangeably with ActionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Internal** + */ +export type ActionType = string; + /** Known values of {@link ProvisioningState} that the service accepts. */ export enum KnownProvisioningState { + /** NotSpecified */ + NotSpecified = "NotSpecified", /** Accepted */ Accepted = "Accepted", /** Running */ Running = "Running", - /** Ready */ - Ready = "Ready", - /** Creating */ - Creating = "Creating", - /** Created */ - Created = "Created", /** Deleting */ Deleting = "Deleting", /** Deleted */ @@ -272,11 +771,9 @@ export enum KnownProvisioningState { * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **NotSpecified** \ * **Accepted** \ * **Running** \ - * **Ready** \ - * **Creating** \ - * **Created** \ * **Deleting** \ * **Deleted** \ * **Canceled** \ @@ -285,10 +782,277 @@ export enum KnownProvisioningState { * **Updating** */ export type ProvisioningState = string; + +/** Known values of {@link JitApprovalMode} that the service accepts. */ +export enum KnownJitApprovalMode { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** AutoApprove */ + AutoApprove = "AutoApprove", + /** ManualApprove */ + ManualApprove = "ManualApprove" +} + +/** + * Defines values for JitApprovalMode. \ + * {@link KnownJitApprovalMode} can be used interchangeably with JitApprovalMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **AutoApprove** \ + * **ManualApprove** + */ +export type JitApprovalMode = string; + +/** Known values of {@link JitApproverType} that the service accepts. */ +export enum KnownJitApproverType { + /** User */ + User = "user", + /** Group */ + Group = "group" +} + +/** + * Defines values for JitApproverType. \ + * {@link KnownJitApproverType} can be used interchangeably with JitApproverType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **user** \ + * **group** + */ +export type JitApproverType = string; + +/** Known values of {@link ApplicationManagementMode} that the service accepts. */ +export enum KnownApplicationManagementMode { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Unmanaged */ + Unmanaged = "Unmanaged", + /** Managed */ + Managed = "Managed" +} + +/** + * Defines values for ApplicationManagementMode. \ + * {@link KnownApplicationManagementMode} can be used interchangeably with ApplicationManagementMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Unmanaged** \ + * **Managed** + */ +export type ApplicationManagementMode = string; + +/** Known values of {@link ApplicationArtifactName} that the service accepts. */ +export enum KnownApplicationArtifactName { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** ViewDefinition */ + ViewDefinition = "ViewDefinition", + /** Authorizations */ + Authorizations = "Authorizations", + /** CustomRoleDefinition */ + CustomRoleDefinition = "CustomRoleDefinition" +} + +/** + * Defines values for ApplicationArtifactName. \ + * {@link KnownApplicationArtifactName} can be used interchangeably with ApplicationArtifactName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **ViewDefinition** \ + * **Authorizations** \ + * **CustomRoleDefinition** + */ +export type ApplicationArtifactName = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key" +} + +/** + * 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 type CreatedByType = string; + +/** Known values of {@link ApplicationDefinitionArtifactName} that the service accepts. */ +export enum KnownApplicationDefinitionArtifactName { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** ApplicationResourceTemplate */ + ApplicationResourceTemplate = "ApplicationResourceTemplate", + /** CreateUiDefinition */ + CreateUiDefinition = "CreateUiDefinition", + /** MainTemplateParameters */ + MainTemplateParameters = "MainTemplateParameters" +} + +/** + * Defines values for ApplicationDefinitionArtifactName. \ + * {@link KnownApplicationDefinitionArtifactName} can be used interchangeably with ApplicationDefinitionArtifactName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **ApplicationResourceTemplate** \ + * **CreateUiDefinition** \ + * **MainTemplateParameters** + */ +export type ApplicationDefinitionArtifactName = string; + +/** Known values of {@link DeploymentMode} that the service accepts. */ +export enum KnownDeploymentMode { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Incremental */ + Incremental = "Incremental", + /** Complete */ + Complete = "Complete" +} + +/** + * Defines values for DeploymentMode. \ + * {@link KnownDeploymentMode} can be used interchangeably with DeploymentMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Incremental** \ + * **Complete** + */ +export type DeploymentMode = string; + +/** Known values of {@link JitSchedulingType} that the service accepts. */ +export enum KnownJitSchedulingType { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Once */ + Once = "Once", + /** Recurring */ + Recurring = "Recurring" +} + +/** + * Defines values for JitSchedulingType. \ + * {@link KnownJitSchedulingType} can be used interchangeably with JitSchedulingType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Once** \ + * **Recurring** + */ +export type JitSchedulingType = string; + +/** Known values of {@link JitRequestState} that the service accepts. */ +export enum KnownJitRequestState { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Pending */ + Pending = "Pending", + /** Approved */ + Approved = "Approved", + /** Denied */ + Denied = "Denied", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Expired */ + Expired = "Expired", + /** Timeout */ + Timeout = "Timeout" +} + +/** + * Defines values for JitRequestState. \ + * {@link KnownJitRequestState} can be used interchangeably with JitRequestState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Pending** \ + * **Approved** \ + * **Denied** \ + * **Failed** \ + * **Canceled** \ + * **Expired** \ + * **Timeout** + */ +export type JitRequestState = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Elevate */ + Elevate = "Elevate", + /** Remove */ + Remove = "Remove" +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Elevate** \ + * **Remove** + */ +export type Status = string; + +/** Known values of {@link Substatus} that the service accepts. */ +export enum KnownSubstatus { + /** NotSpecified */ + NotSpecified = "NotSpecified", + /** Approved */ + Approved = "Approved", + /** Denied */ + Denied = "Denied", + /** Failed */ + Failed = "Failed", + /** Expired */ + Expired = "Expired", + /** Timeout */ + Timeout = "Timeout" +} + +/** + * Defines values for Substatus. \ + * {@link KnownSubstatus} can be used interchangeably with Substatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Approved** \ + * **Denied** \ + * **Failed** \ + * **Expired** \ + * **Timeout** + */ +export type Substatus = string; +/** Defines values for ApplicationArtifactType. */ +export type ApplicationArtifactType = "NotSpecified" | "Template" | "Custom"; +/** Defines values for ResourceIdentityType. */ +export type ResourceIdentityType = + | "SystemAssigned" + | "UserAssigned" + | "SystemAssigned, UserAssigned" + | "None"; /** Defines values for ApplicationLockLevel. */ export type ApplicationLockLevel = "CanNotDelete" | "ReadOnly" | "None"; -/** Defines values for ApplicationArtifactType. */ -export type ApplicationArtifactType = "Template" | "Custom"; /** Optional parameters. */ export interface ListOperationsOptionalParams @@ -337,10 +1101,14 @@ export interface ApplicationsUpdateOptionalParams extends coreClient.OperationOptions { /** Parameters supplied to update an existing managed application. */ parameters?: ApplicationPatchable; + /** 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; } /** Contains response data for the update operation. */ -export type ApplicationsUpdateResponse = Application; +export type ApplicationsUpdateResponse = ApplicationPatchable; /** Optional parameters. */ export interface ApplicationsListByResourceGroupOptionalParams @@ -388,11 +1156,47 @@ export type ApplicationsCreateOrUpdateByIdResponse = Application; export interface ApplicationsUpdateByIdOptionalParams extends coreClient.OperationOptions { /** Parameters supplied to update an existing managed application. */ - parameters?: Application; + parameters?: ApplicationPatchable; + /** 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; } /** Contains response data for the updateById operation. */ -export type ApplicationsUpdateByIdResponse = Application; +export type ApplicationsUpdateByIdResponse = ApplicationPatchable; + +/** Optional parameters. */ +export interface ApplicationsRefreshPermissionsOptionalParams + 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; +} + +/** Optional parameters. */ +export interface ApplicationsListAllowedUpgradePlansOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAllowedUpgradePlans operation. */ +export type ApplicationsListAllowedUpgradePlansResponse = AllowedUpgradePlansResult; + +/** Optional parameters. */ +export interface ApplicationsUpdateAccessOptionalParams + 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; +} + +/** Optional parameters. */ +export interface ApplicationsListTokensOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listTokens operation. */ +export type ApplicationsListTokensResponse = ManagedIdentityTokenResult; /** Optional parameters. */ export interface ApplicationsListByResourceGroupNextOptionalParams @@ -417,25 +1221,22 @@ export type ApplicationDefinitionsGetResponse = ApplicationDefinition; /** Optional parameters. */ export interface ApplicationDefinitionsDeleteOptionalParams - 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; -} + extends coreClient.OperationOptions {} /** Optional parameters. */ export interface ApplicationDefinitionsCreateOrUpdateOptionalParams - 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; -} + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ export type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition; +/** Optional parameters. */ +export interface ApplicationDefinitionsUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type ApplicationDefinitionsUpdateResponse = ApplicationDefinition; + /** Optional parameters. */ export interface ApplicationDefinitionsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} @@ -443,6 +1244,13 @@ export interface ApplicationDefinitionsListByResourceGroupOptionalParams /** Contains response data for the listByResourceGroup operation. */ export type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult; +/** Optional parameters. */ +export interface ApplicationDefinitionsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type ApplicationDefinitionsListBySubscriptionResponse = ApplicationDefinitionListResult; + /** Optional parameters. */ export interface ApplicationDefinitionsGetByIdOptionalParams extends coreClient.OperationOptions {} @@ -452,15 +1260,45 @@ export type ApplicationDefinitionsGetByIdResponse = ApplicationDefinition; /** Optional parameters. */ export interface ApplicationDefinitionsDeleteByIdOptionalParams - 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; -} + extends coreClient.OperationOptions {} /** Optional parameters. */ export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdateById operation. */ +export type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition; + +/** Optional parameters. */ +export interface ApplicationDefinitionsUpdateByIdOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the updateById operation. */ +export type ApplicationDefinitionsUpdateByIdResponse = ApplicationDefinition; + +/** Optional parameters. */ +export interface ApplicationDefinitionsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult; + +/** Optional parameters. */ +export interface ApplicationDefinitionsListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type ApplicationDefinitionsListBySubscriptionNextResponse = ApplicationDefinitionListResult; + +/** Optional parameters. */ +export interface JitRequestsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type JitRequestsGetResponse = JitRequestDefinition; + +/** Optional parameters. */ +export interface JitRequestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -468,15 +1306,33 @@ export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdateById operation. */ -export type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition; +/** Contains response data for the createOrUpdate operation. */ +export type JitRequestsCreateOrUpdateResponse = JitRequestDefinition; /** Optional parameters. */ -export interface ApplicationDefinitionsListByResourceGroupNextOptionalParams +export interface JitRequestsUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult; +/** Contains response data for the update operation. */ +export type JitRequestsUpdateResponse = JitRequestDefinition; + +/** Optional parameters. */ +export interface JitRequestsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface JitRequestsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type JitRequestsListBySubscriptionResponse = JitRequestDefinitionListResult; + +/** Optional parameters. */ +export interface JitRequestsListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type JitRequestsListByResourceGroupResponse = JitRequestDefinitionListResult; /** Optional parameters. */ export interface ApplicationClientOptionalParams diff --git a/sdk/managedapplications/arm-managedapplications/src/models/mappers.ts b/sdk/managedapplications/arm-managedapplications/src/models/mappers.ts index d88ba4ed8da6..1e96dd7defa8 100644 --- a/sdk/managedapplications/arm-managedapplications/src/models/mappers.ts +++ b/sdk/managedapplications/arm-managedapplications/src/models/mappers.ts @@ -15,6 +15,7 @@ export const OperationListResult: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { @@ -27,6 +28,7 @@ export const OperationListResult: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String" } @@ -42,16 +44,38 @@ export const Operation: coreClient.CompositeMapper = { modelProperties: { name: { serializedName: "name", + readOnly: true, type: { name: "String" } }, + isDataAction: { + serializedName: "isDataAction", + readOnly: true, + type: { + name: "Boolean" + } + }, display: { serializedName: "display", type: { name: "Composite", className: "OperationDisplay" } + }, + origin: { + serializedName: "origin", + readOnly: true, + type: { + name: "String" + } + }, + actionType: { + serializedName: "actionType", + readOnly: true, + type: { + name: "String" + } } } } @@ -64,18 +88,28 @@ export const OperationDisplay: coreClient.CompositeMapper = { modelProperties: { provider: { serializedName: "provider", + readOnly: true, type: { name: "String" } }, resource: { serializedName: "resource", + readOnly: true, type: { name: "String" } }, operation: { serializedName: "operation", + readOnly: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + readOnly: true, type: { name: "String" } @@ -84,118 +118,109 @@ export const OperationDisplay: coreClient.CompositeMapper = { } }; -export const Plan: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Plan", + className: "ErrorResponse", modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - publisher: { - serializedName: "publisher", - required: true, - type: { - name: "String" - } - }, - product: { - serializedName: "product", - required: true, - type: { - name: "String" - } - }, - promotionCode: { - serializedName: "promotionCode", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - required: true, + error: { + serializedName: "error", type: { - name: "String" + name: "Composite", + className: "ErrorDetail" } } } } }; -export const Sku: coreClient.CompositeMapper = { +export const ErrorDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "ErrorDetail", modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - tier: { - serializedName: "tier", + code: { + serializedName: "code", + readOnly: true, type: { name: "String" } }, - size: { - serializedName: "size", + message: { + serializedName: "message", + readOnly: true, type: { name: "String" } }, - family: { - serializedName: "family", + target: { + serializedName: "target", + readOnly: true, type: { name: "String" } }, - model: { - serializedName: "model", + details: { + serializedName: "details", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail" + } + } } }, - capacity: { - serializedName: "capacity", + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } + } } } } } }; -export const Identity: coreClient.CompositeMapper = { +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Identity", + className: "ErrorAdditionalInfo", modelProperties: { - principalId: { - serializedName: "principalId", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + info: { + serializedName: "info", readOnly: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - type: { - defaultValue: "SystemAssigned", - isConstant: true, - serializedName: "type", + } + } + } +}; + +export const ApplicationBillingDetailsDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationBillingDetailsDefinition", + modelProperties: { + resourceUsageId: { + serializedName: "resourceUsageId", type: { name: "String" } @@ -204,68 +229,66 @@ export const Identity: coreClient.CompositeMapper = { } }; -export const Resource: coreClient.CompositeMapper = { +export const ApplicationJitAccessPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "ApplicationJitAccessPolicy", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + jitAccessEnabled: { + serializedName: "jitAccessEnabled", + required: true, type: { - name: "String" + name: "Boolean" } }, - name: { - serializedName: "name", - readOnly: true, + jitApprovalMode: { + serializedName: "jitApprovalMode", type: { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + jitApprovers: { + serializedName: "jitApprovers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitApproverDefinition" + } + } } }, - location: { - serializedName: "location", + maximumJitAccessDuration: { + serializedName: "maximumJitAccessDuration", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } } } } }; -export const ErrorResponse: coreClient.CompositeMapper = { +export const JitApproverDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ErrorResponse", + className: "JitApproverDefinition", modelProperties: { - httpStatus: { - serializedName: "httpStatus", + id: { + serializedName: "id", + required: true, type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + type: { + serializedName: "type", type: { name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + displayName: { + serializedName: "displayName", type: { name: "String" } @@ -274,37 +297,50 @@ export const ErrorResponse: coreClient.CompositeMapper = { } }; -export const PlanPatchable: coreClient.CompositeMapper = { +export const ApplicationAuthorization: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PlanPatchable", + className: "ApplicationAuthorization", modelProperties: { - name: { - serializedName: "name", + principalId: { + serializedName: "principalId", + required: true, type: { name: "String" } }, - publisher: { - serializedName: "publisher", + roleDefinitionId: { + serializedName: "roleDefinitionId", + required: true, type: { name: "String" } - }, - product: { - serializedName: "product", + } + } + } +}; + +export const ApplicationPackageContact: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationPackageContact", + modelProperties: { + contactName: { + serializedName: "contactName", type: { name: "String" } }, - promotionCode: { - serializedName: "promotionCode", + email: { + serializedName: "email", + required: true, type: { name: "String" } }, - version: { - serializedName: "version", + phone: { + serializedName: "phone", + required: true, type: { name: "String" } @@ -313,21 +349,19 @@ export const PlanPatchable: coreClient.CompositeMapper = { } }; -export const ApplicationProviderAuthorization: coreClient.CompositeMapper = { +export const ApplicationPackageSupportUrls: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationProviderAuthorization", + className: "ApplicationPackageSupportUrls", modelProperties: { - principalId: { - serializedName: "principalId", - required: true, + publicAzure: { + serializedName: "publicAzure", type: { name: "String" } }, - roleDefinitionId: { - serializedName: "roleDefinitionId", - required: true, + governmentCloud: { + serializedName: "governmentCloud", type: { name: "String" } @@ -343,73 +377,49 @@ export const ApplicationArtifact: coreClient.CompositeMapper = { modelProperties: { name: { serializedName: "name", + required: true, type: { name: "String" } }, uri: { serializedName: "uri", + required: true, type: { name: "String" } }, type: { serializedName: "type", + required: true, type: { name: "Enum", - allowedValues: ["Template", "Custom"] + allowedValues: ["NotSpecified", "Template", "Custom"] } } } } }; -export const ApplicationDefinitionListResult: coreClient.CompositeMapper = { +export const ApplicationClientDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationDefinitionListResult", + className: "ApplicationClientDetails", modelProperties: { - value: { - serializedName: "value", + oid: { + serializedName: "oid", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationDefinition" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + puid: { + serializedName: "puid", type: { name: "String" } - } - } - } -}; - -export const ApplicationListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApplicationListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Application" - } - } - } }, - nextLink: { - serializedName: "nextLink", + applicationId: { + serializedName: "applicationId", type: { name: "String" } @@ -418,30 +428,898 @@ export const ApplicationListResult: coreClient.CompositeMapper = { } }; -export const GenericResource: coreClient.CompositeMapper = { +export const Plan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GenericResource", + className: "Plan", modelProperties: { - ...Resource.type.modelProperties, - managedBy: { - serializedName: "managedBy", + name: { + serializedName: "name", + required: true, type: { name: "String" } }, - sku: { - serializedName: "sku", + publisher: { + serializedName: "publisher", + required: true, type: { - name: "Composite", - className: "Sku" + name: "String" } }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "Identity" + product: { + serializedName: "product", + required: true, + type: { + name: "String" + } + }, + promotionCode: { + serializedName: "promotionCode", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const Identity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Identity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "String" + } + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "UserAssignedResourceIdentity" + } + } + } + } + } + } +}; + +export const UserAssignedResourceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserAssignedResourceIdentity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "String" + } + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const Sku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "String" + } + }, + size: { + serializedName: "size", + type: { + name: "String" + } + }, + family: { + serializedName: "family", + type: { + name: "String" + } + }, + model: { + serializedName: "model", + type: { + name: "String" + } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } + } + } + } +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + 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" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + } + } + } +}; + +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 PlanPatchable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PlanPatchable", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + publisher: { + serializedName: "publisher", + type: { + name: "String" + } + }, + product: { + serializedName: "product", + type: { + name: "String" + } + }, + promotionCode: { + serializedName: "promotionCode", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationDefinitionArtifact: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationDefinitionArtifact", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + uri: { + serializedName: "uri", + required: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + required: true, + type: { + name: "Enum", + allowedValues: ["NotSpecified", "Template", "Custom"] + } + } + } + } +}; + +export const ApplicationNotificationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationNotificationPolicy", + modelProperties: { + notificationEndpoints: { + serializedName: "notificationEndpoints", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationNotificationEndpoint" + } + } + } + } + } + } +}; + +export const ApplicationNotificationEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationNotificationEndpoint", + modelProperties: { + uri: { + serializedName: "uri", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationPackageLockingPolicyDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationPackageLockingPolicyDefinition", + modelProperties: { + allowedActions: { + serializedName: "allowedActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + allowedDataActions: { + serializedName: "allowedDataActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ApplicationDeploymentPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationDeploymentPolicy", + modelProperties: { + deploymentMode: { + serializedName: "deploymentMode", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationManagementPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationManagementPolicy", + modelProperties: { + mode: { + serializedName: "mode", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationPolicy", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + policyDefinitionId: { + serializedName: "policyDefinitionId", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationDefinitionPatchable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationDefinitionPatchable", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const ApplicationDefinitionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationDefinitionListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Application" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const JitAuthorizationPolicies: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitAuthorizationPolicies", + modelProperties: { + principalId: { + serializedName: "principalId", + required: true, + type: { + name: "String" + } + }, + roleDefinitionId: { + serializedName: "roleDefinitionId", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const JitSchedulingPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitSchedulingPolicy", + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + duration: { + serializedName: "duration", + required: true, + type: { + name: "TimeSpan" + } + }, + startTime: { + serializedName: "startTime", + required: true, + type: { + name: "DateTime" + } + } + } + } +}; + +export const JitRequestPatchable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitRequestPatchable", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const JitRequestDefinitionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitRequestDefinitionListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitRequestDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AllowedUpgradePlansResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AllowedUpgradePlansResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Plan" + } + } + } + } + } + } +}; + +export const UpdateAccessDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpdateAccessDefinition", + modelProperties: { + approver: { + serializedName: "approver", + type: { + name: "String" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Composite", + className: "JitRequestMetadata" + } + }, + status: { + serializedName: "status", + required: true, + type: { + name: "String" + } + }, + subStatus: { + serializedName: "subStatus", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const JitRequestMetadata: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitRequestMetadata", + modelProperties: { + originRequestId: { + serializedName: "originRequestId", + type: { + name: "String" + } + }, + requestorId: { + serializedName: "requestorId", + type: { + name: "String" + } + }, + tenantDisplayName: { + serializedName: "tenantDisplayName", + type: { + name: "String" + } + }, + subjectDisplayName: { + serializedName: "subjectDisplayName", + type: { + name: "String" + } + } + } + } +}; + +export const ListTokenRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListTokenRequest", + modelProperties: { + authorizationAudience: { + serializedName: "authorizationAudience", + type: { + name: "String" + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ManagedIdentityTokenResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedIdentityTokenResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIdentityToken" + } + } + } + } + } + } +}; + +export const ManagedIdentityToken: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedIdentityToken", + modelProperties: { + accessToken: { + serializedName: "accessToken", + type: { + name: "String" + } + }, + expiresIn: { + serializedName: "expiresIn", + type: { + name: "String" + } + }, + expiresOn: { + serializedName: "expiresOn", + type: { + name: "String" + } + }, + notBefore: { + serializedName: "notBefore", + type: { + name: "String" + } + }, + authorizationAudience: { + serializedName: "authorizationAudience", + type: { + name: "String" + } + }, + resourceId: { + serializedName: "resourceId", + type: { + name: "String" + } + }, + tokenType: { + serializedName: "tokenType", + type: { + name: "String" + } + } + } + } +}; + +export const GenericResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GenericResource", + modelProperties: { + ...Resource.type.modelProperties, + managedBy: { + serializedName: "managedBy", + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const JitRequestDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JitRequestDefinition", + modelProperties: { + ...Resource.type.modelProperties, + applicationResourceId: { + serializedName: "properties.applicationResourceId", + type: { + name: "String" + } + }, + publisherTenantId: { + serializedName: "properties.publisherTenantId", + readOnly: true, + type: { + name: "String" + } + }, + jitAuthorizationPolicies: { + serializedName: "properties.jitAuthorizationPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitAuthorizationPolicies" + } + } + } + }, + jitSchedulingPolicy: { + serializedName: "properties.jitSchedulingPolicy", + type: { + name: "Composite", + className: "JitSchedulingPolicy" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + jitRequestState: { + serializedName: "properties.jitRequestState", + readOnly: true, + type: { + name: "String" + } + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" + } + }, + updatedBy: { + serializedName: "properties.updatedBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" } } } @@ -471,9 +1349,15 @@ export const Application: coreClient.CompositeMapper = { name: "String" } }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "Identity" + } + }, managedResourceGroupId: { serializedName: "properties.managedResourceGroupId", - required: true, type: { name: "String" } @@ -505,6 +1389,88 @@ export const Application: coreClient.CompositeMapper = { type: { name: "String" } + }, + billingDetails: { + serializedName: "properties.billingDetails", + type: { + name: "Composite", + className: "ApplicationBillingDetailsDefinition" + } + }, + jitAccessPolicy: { + serializedName: "properties.jitAccessPolicy", + type: { + name: "Composite", + className: "ApplicationJitAccessPolicy" + } + }, + publisherTenantId: { + serializedName: "properties.publisherTenantId", + readOnly: true, + type: { + name: "String" + } + }, + authorizations: { + serializedName: "properties.authorizations", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationAuthorization" + } + } + } + }, + managementMode: { + serializedName: "properties.managementMode", + readOnly: true, + type: { + name: "String" + } + }, + customerSupport: { + serializedName: "properties.customerSupport", + type: { + name: "Composite", + className: "ApplicationPackageContact" + } + }, + supportUrls: { + serializedName: "properties.supportUrls", + type: { + name: "Composite", + className: "ApplicationPackageSupportUrls" + } + }, + artifacts: { + serializedName: "properties.artifacts", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationArtifact" + } + } + } + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" + } + }, + updatedBy: { + serializedName: "properties.updatedBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" + } } } } @@ -532,6 +1498,13 @@ export const ApplicationPatchable: coreClient.CompositeMapper = { name: "String" } }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "Identity" + } + }, managedResourceGroupId: { serializedName: "properties.managedResourceGroupId", type: { @@ -565,6 +1538,88 @@ export const ApplicationPatchable: coreClient.CompositeMapper = { type: { name: "String" } + }, + billingDetails: { + serializedName: "properties.billingDetails", + type: { + name: "Composite", + className: "ApplicationBillingDetailsDefinition" + } + }, + jitAccessPolicy: { + serializedName: "properties.jitAccessPolicy", + type: { + name: "Composite", + className: "ApplicationJitAccessPolicy" + } + }, + publisherTenantId: { + serializedName: "properties.publisherTenantId", + readOnly: true, + type: { + name: "String" + } + }, + authorizations: { + serializedName: "properties.authorizations", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationAuthorization" + } + } + } + }, + managementMode: { + serializedName: "properties.managementMode", + readOnly: true, + type: { + name: "String" + } + }, + customerSupport: { + serializedName: "properties.customerSupport", + type: { + name: "Composite", + className: "ApplicationPackageContact" + } + }, + supportUrls: { + serializedName: "properties.supportUrls", + type: { + name: "Composite", + className: "ApplicationPackageSupportUrls" + } + }, + artifacts: { + serializedName: "properties.artifacts", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationArtifact" + } + } + } + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" + } + }, + updatedBy: { + serializedName: "properties.updatedBy", + type: { + name: "Composite", + className: "ApplicationClientDetails" + } } } } @@ -593,18 +1648,17 @@ export const ApplicationDefinition: coreClient.CompositeMapper = { isEnabled: { serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } }, authorizations: { serializedName: "properties.authorizations", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationProviderAuthorization" + className: "ApplicationAuthorization" } } } @@ -616,7 +1670,7 @@ export const ApplicationDefinition: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationArtifact" + className: "ApplicationDefinitionArtifact" } } } @@ -633,6 +1687,12 @@ export const ApplicationDefinition: coreClient.CompositeMapper = { name: "String" } }, + storageAccountId: { + serializedName: "properties.storageAccountId", + type: { + name: "String" + } + }, mainTemplate: { serializedName: "properties.mainTemplate", type: { @@ -646,6 +1706,46 @@ export const ApplicationDefinition: coreClient.CompositeMapper = { name: "Dictionary", value: { type: { name: "any" } } } + }, + notificationPolicy: { + serializedName: "properties.notificationPolicy", + type: { + name: "Composite", + className: "ApplicationNotificationPolicy" + } + }, + lockingPolicy: { + serializedName: "properties.lockingPolicy", + type: { + name: "Composite", + className: "ApplicationPackageLockingPolicyDefinition" + } + }, + deploymentPolicy: { + serializedName: "properties.deploymentPolicy", + type: { + name: "Composite", + className: "ApplicationDeploymentPolicy" + } + }, + managementPolicy: { + serializedName: "properties.managementPolicy", + type: { + name: "Composite", + className: "ApplicationManagementPolicy" + } + }, + policies: { + serializedName: "properties.policies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationPolicy" + } + } + } } } } diff --git a/sdk/managedapplications/arm-managedapplications/src/models/parameters.ts b/sdk/managedapplications/arm-managedapplications/src/models/parameters.ts index edf96961fd7c..86f119d130c6 100644 --- a/sdk/managedapplications/arm-managedapplications/src/models/parameters.ts +++ b/sdk/managedapplications/arm-managedapplications/src/models/parameters.ts @@ -14,7 +14,12 @@ import { import { Application as ApplicationMapper, ApplicationPatchable as ApplicationPatchableMapper, - ApplicationDefinition as ApplicationDefinitionMapper + UpdateAccessDefinition as UpdateAccessDefinitionMapper, + ListTokenRequest as ListTokenRequestMapper, + ApplicationDefinition as ApplicationDefinitionMapper, + ApplicationDefinitionPatchable as ApplicationDefinitionPatchableMapper, + JitRequestDefinition as JitRequestDefinitionMapper, + JitRequestPatchable as JitRequestPatchableMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -44,7 +49,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2018-06-01", + defaultValue: "2021-07-01", isConstant: true, serializedName: "api-version", type: { @@ -65,11 +70,24 @@ export const nextLink: OperationURLParameter = { skipEncoding: true }; +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + constraints: { + MinLength: 1 + }, + serializedName: "subscriptionId", + required: true, + type: { + name: "String" + } + } +}; + export const resourceGroupName: OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { constraints: { - Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"), MaxLength: 90, MinLength: 1 }, @@ -96,17 +114,6 @@ export const applicationName: OperationURLParameter = { } }; -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", - mapper: { - serializedName: "subscriptionId", - required: true, - type: { - name: "String" - } - } -}; - export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], mapper: { @@ -142,8 +149,13 @@ export const applicationId: OperationURLParameter = { }; export const parameters2: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: ApplicationMapper + parameterPath: "parameters", + mapper: UpdateAccessDefinitionMapper +}; + +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: ListTokenRequestMapper }; export const applicationDefinitionName: OperationURLParameter = { @@ -161,7 +173,49 @@ export const applicationDefinitionName: OperationURLParameter = { } }; -export const parameters3: OperationParameter = { +export const parameters4: OperationParameter = { parameterPath: "parameters", mapper: ApplicationDefinitionMapper }; + +export const parameters5: OperationParameter = { + parameterPath: "parameters", + mapper: ApplicationDefinitionPatchableMapper +}; + +export const resourceGroupName1: OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + constraints: { + Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"), + MaxLength: 90, + MinLength: 1 + }, + serializedName: "resourceGroupName", + required: true, + type: { + name: "String" + } + } +}; + +export const jitRequestName: OperationURLParameter = { + parameterPath: "jitRequestName", + mapper: { + serializedName: "jitRequestName", + required: true, + type: { + name: "String" + } + } +}; + +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: JitRequestDefinitionMapper +}; + +export const parameters7: OperationParameter = { + parameterPath: "parameters", + mapper: JitRequestPatchableMapper +}; diff --git a/sdk/managedapplications/arm-managedapplications/src/operations/applicationDefinitions.ts b/sdk/managedapplications/arm-managedapplications/src/operations/applicationDefinitions.ts index df7caefc5052..079ec224a111 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operations/applicationDefinitions.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operations/applicationDefinitions.ts @@ -13,24 +13,31 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ApplicationClient } from "../applicationClient"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; import { ApplicationDefinition, ApplicationDefinitionsListByResourceGroupNextOptionalParams, ApplicationDefinitionsListByResourceGroupOptionalParams, ApplicationDefinitionsListByResourceGroupResponse, + ApplicationDefinitionsListBySubscriptionNextOptionalParams, + ApplicationDefinitionsListBySubscriptionOptionalParams, + ApplicationDefinitionsListBySubscriptionResponse, ApplicationDefinitionsGetOptionalParams, ApplicationDefinitionsGetResponse, ApplicationDefinitionsDeleteOptionalParams, ApplicationDefinitionsCreateOrUpdateOptionalParams, ApplicationDefinitionsCreateOrUpdateResponse, + ApplicationDefinitionPatchable, + ApplicationDefinitionsUpdateOptionalParams, + ApplicationDefinitionsUpdateResponse, ApplicationDefinitionsGetByIdOptionalParams, ApplicationDefinitionsGetByIdResponse, ApplicationDefinitionsDeleteByIdOptionalParams, ApplicationDefinitionsCreateOrUpdateByIdOptionalParams, ApplicationDefinitionsCreateOrUpdateByIdResponse, - ApplicationDefinitionsListByResourceGroupNextResponse + ApplicationDefinitionsUpdateByIdOptionalParams, + ApplicationDefinitionsUpdateByIdResponse, + ApplicationDefinitionsListByResourceGroupNextResponse, + ApplicationDefinitionsListBySubscriptionNextResponse } from "../models"; /// @@ -115,6 +122,60 @@ export class ApplicationDefinitionsImpl implements ApplicationDefinitions { } } + /** + * Lists all the application definitions within a subscription. + * @param options The options parameters. + */ + public listBySubscription( + options?: ApplicationDefinitionsListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listBySubscriptionPagingPage(options, settings); + } + }; + } + + private async *listBySubscriptionPagingPage( + options?: ApplicationDefinitionsListBySubscriptionOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: ApplicationDefinitionsListBySubscriptionResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listBySubscription(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listBySubscriptionNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listBySubscriptionPagingAll( + options?: ApplicationDefinitionsListBySubscriptionOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { + yield* page; + } + } + /** * Gets the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -135,175 +196,56 @@ export class ApplicationDefinitionsImpl implements ApplicationDefinitions { /** * Deletes the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition to delete. + * @param applicationDefinitionName The name of the managed application definition. * @param options The options parameters. */ - async beginDelete( + delete( resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams - ): 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, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, applicationDefinitionName, options }, deleteOperationSpec ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; - } - - /** - * Deletes the managed application definition. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition to delete. - * @param options The options parameters. - */ - async beginDeleteAndWait( - resourceGroupName: string, - applicationDefinitionName: string, - options?: ApplicationDefinitionsDeleteOptionalParams - ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - applicationDefinitionName, - options - ); - return poller.pollUntilDone(); } /** - * Creates a new managed application definition. + * Creates or updates a managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. * @param parameters Parameters supplied to the create or update an managed application definition. * @param options The options parameters. */ - async beginCreateOrUpdate( + createOrUpdate( resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - ApplicationDefinitionsCreateOrUpdateResponse - > - > { - 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, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateOperationSpec ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; } /** - * Creates a new managed application definition. + * Updates the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. - * @param parameters Parameters supplied to the create or update an managed application definition. + * @param parameters Parameters supplied to the update a managed application definition. * @param options The options parameters. */ - async beginCreateOrUpdateAndWait( + update( resourceGroupName: string, applicationDefinitionName: string, - parameters: ApplicationDefinition, - options?: ApplicationDefinitionsCreateOrUpdateOptionalParams - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - applicationDefinitionName, - parameters, - options + parameters: ApplicationDefinitionPatchable, + options?: ApplicationDefinitionsUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, applicationDefinitionName, parameters, options }, + updateOperationSpec ); - return poller.pollUntilDone(); } /** @@ -322,83 +264,33 @@ export class ApplicationDefinitionsImpl implements ApplicationDefinitions { } /** - * Gets the managed application definition. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition. + * Lists all the application definitions within a subscription. * @param options The options parameters. */ - getById( - resourceGroupName: string, - applicationDefinitionName: string, - options?: ApplicationDefinitionsGetByIdOptionalParams - ): Promise { + private _listBySubscription( + options?: ApplicationDefinitionsListBySubscriptionOptionalParams + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, applicationDefinitionName, options }, - getByIdOperationSpec + { options }, + listBySubscriptionOperationSpec ); } /** - * Deletes the managed application definition. + * Gets the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. * @param options The options parameters. */ - async beginDeleteById( + getById( resourceGroupName: string, applicationDefinitionName: string, - options?: ApplicationDefinitionsDeleteByIdOptionalParams - ): 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, + options?: ApplicationDefinitionsGetByIdOptionalParams + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, applicationDefinitionName, options }, - deleteByIdOperationSpec + getByIdOperationSpec ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; } /** @@ -407,109 +299,53 @@ export class ApplicationDefinitionsImpl implements ApplicationDefinitions { * @param applicationDefinitionName The name of the managed application definition. * @param options The options parameters. */ - async beginDeleteByIdAndWait( + deleteById( resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams ): Promise { - const poller = await this.beginDeleteById( - resourceGroupName, - applicationDefinitionName, - options + return this.client.sendOperationRequest( + { resourceGroupName, applicationDefinitionName, options }, + deleteByIdOperationSpec ); - return poller.pollUntilDone(); } /** - * Creates a new managed application definition. + * Creates or updates a managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. * @param parameters Parameters supplied to the create or update a managed application definition. * @param options The options parameters. */ - async beginCreateOrUpdateById( + createOrUpdateById( resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams - ): Promise< - PollerLike< - PollOperationState, - ApplicationDefinitionsCreateOrUpdateByIdResponse - > - > { - 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, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateByIdOperationSpec ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - await poller.poll(); - return poller; } /** - * Creates a new managed application definition. + * Updates the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. - * @param parameters Parameters supplied to the create or update a managed application definition. + * @param parameters Parameters supplied to the update a managed application definition. * @param options The options parameters. */ - async beginCreateOrUpdateByIdAndWait( + updateById( resourceGroupName: string, applicationDefinitionName: string, - parameters: ApplicationDefinition, - options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams - ): Promise { - const poller = await this.beginCreateOrUpdateById( - resourceGroupName, - applicationDefinitionName, - parameters, - options + parameters: ApplicationDefinitionPatchable, + options?: ApplicationDefinitionsUpdateByIdOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, applicationDefinitionName, parameters, options }, + updateByIdOperationSpec ); - return poller.pollUntilDone(); } /** @@ -528,6 +364,21 @@ export class ApplicationDefinitionsImpl implements ApplicationDefinitions { listByResourceGroupNextOperationSpec ); } + + /** + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. + * @param options The options parameters. + */ + private _listBySubscriptionNext( + nextLink: string, + options?: ApplicationDefinitionsListBySubscriptionNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionNextOperationSpec + ); + } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -548,8 +399,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.applicationDefinitionName ], headerParameters: [Parameters.accept], @@ -561,8 +412,6 @@ const deleteOperationSpec: coreClient.OperationSpec = { httpMethod: "DELETE", responses: { 200: {}, - 201: {}, - 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorResponse @@ -571,8 +420,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.applicationDefinitionName ], headerParameters: [Parameters.accept], @@ -589,22 +438,40 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { 201: { bodyMapper: Mappers.ApplicationDefinition }, - 202: { - bodyMapper: Mappers.ApplicationDefinition - }, - 204: { + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationDefinitionName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}", + httpMethod: "PATCH", + responses: { + 200: { bodyMapper: Mappers.ApplicationDefinition }, default: { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.applicationDefinitionName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -626,12 +493,29 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer }; +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applicationDefinitions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApplicationDefinitionListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; const getByIdOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}", @@ -648,9 +532,9 @@ const getByIdOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.applicationDefinitionName + Parameters.applicationDefinitionName, + Parameters.resourceGroupName1 ], headerParameters: [Parameters.accept], serializer @@ -661,8 +545,6 @@ const deleteByIdOperationSpec: coreClient.OperationSpec = { httpMethod: "DELETE", responses: { 200: {}, - 201: {}, - 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorResponse @@ -671,9 +553,9 @@ const deleteByIdOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.applicationDefinitionName + Parameters.applicationDefinitionName, + Parameters.resourceGroupName1 ], headerParameters: [Parameters.accept], serializer @@ -689,22 +571,40 @@ const createOrUpdateByIdOperationSpec: coreClient.OperationSpec = { 201: { bodyMapper: Mappers.ApplicationDefinition }, - 202: { - bodyMapper: Mappers.ApplicationDefinition - }, - 204: { + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.applicationDefinitionName, + Parameters.resourceGroupName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const updateByIdOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}", + httpMethod: "PATCH", + responses: { + 200: { bodyMapper: Mappers.ApplicationDefinition }, default: { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.applicationDefinitionName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -722,11 +622,29 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, - Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApplicationDefinitionListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, Parameters.subscriptionId ], headerParameters: [Parameters.accept], diff --git a/sdk/managedapplications/arm-managedapplications/src/operations/applications.ts b/sdk/managedapplications/arm-managedapplications/src/operations/applications.ts index 3a47582a06e2..7b4ccff523fa 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operations/applications.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operations/applications.ts @@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ApplicationClient } from "../applicationClient"; -import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; -import { LroImpl } from "../lroImpl"; +import { + SimplePollerLike, + OperationState, + createHttpPoller +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { Application, ApplicationsListByResourceGroupNextOptionalParams, @@ -37,6 +41,14 @@ import { ApplicationsCreateOrUpdateByIdResponse, ApplicationsUpdateByIdOptionalParams, ApplicationsUpdateByIdResponse, + ApplicationsRefreshPermissionsOptionalParams, + ApplicationsListAllowedUpgradePlansOptionalParams, + ApplicationsListAllowedUpgradePlansResponse, + UpdateAccessDefinition, + ApplicationsUpdateAccessOptionalParams, + ListTokenRequest, + ApplicationsListTokensOptionalParams, + ApplicationsListTokensResponse, ApplicationsListByResourceGroupNextResponse, ApplicationsListBySubscriptionNextResponse } from "../models"; @@ -55,7 +67,7 @@ export class ApplicationsImpl implements Applications { } /** - * Gets all the applications within a resource group. + * Lists all the applications within a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -124,7 +136,7 @@ export class ApplicationsImpl implements Applications { } /** - * Gets all the applications within a subscription. + * Lists all the applications within a subscription. * @param options The options parameters. */ public listBySubscription( @@ -204,14 +216,14 @@ export class ApplicationsImpl implements Applications { resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams - ): Promise, void>> { + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ) => { @@ -244,14 +256,15 @@ export class ApplicationsImpl implements Applications { }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, applicationName, options }, - deleteOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, applicationName, options }, + spec: deleteOperationSpec + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; @@ -277,7 +290,7 @@ export class ApplicationsImpl implements Applications { } /** - * Creates a new managed application. + * Creates or updates a managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param parameters Parameters supplied to the create or update a managed application. @@ -289,8 +302,8 @@ export class ApplicationsImpl implements Applications { parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ApplicationsCreateOrUpdateResponse > > { @@ -300,7 +313,7 @@ export class ApplicationsImpl implements Applications { ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ) => { @@ -333,21 +346,25 @@ export class ApplicationsImpl implements Applications { }; }; - const lro = new LroImpl( - sendOperation, - { resourceGroupName, applicationName, parameters, options }, - createOrUpdateOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, applicationName, parameters, options }, + spec: createOrUpdateOperationSpec + }); + const poller = await createHttpPoller< + ApplicationsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; } /** - * Creates a new managed application. + * Creates or updates a managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param parameters Parameters supplied to the create or update a managed application. @@ -369,25 +386,98 @@ export class ApplicationsImpl implements Applications { } /** - * Updates an existing managed application. The only value that can be updated via PATCH currently is - * the tags. + * Updates an existing managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param options The options parameters. */ - update( + async beginUpdate( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsUpdateOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + ApplicationsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, applicationName, options }, + spec: updateOperationSpec + }); + const poller = await createHttpPoller< + ApplicationsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Updates an existing managed application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + async beginUpdateAndWait( resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, applicationName, options }, - updateOperationSpec + const poller = await this.beginUpdate( + resourceGroupName, + applicationName, + options ); + return poller.pollUntilDone(); } /** - * Gets all the applications within a resource group. + * Lists all the applications within a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -402,7 +492,7 @@ export class ApplicationsImpl implements Applications { } /** - * Gets all the applications within a subscription. + * Lists all the applications within a subscription. * @param options The options parameters. */ private _listBySubscription( @@ -441,14 +531,14 @@ export class ApplicationsImpl implements Applications { async beginDeleteById( applicationId: string, options?: ApplicationsDeleteByIdOptionalParams - ): Promise, void>> { + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ) => { @@ -481,14 +571,15 @@ export class ApplicationsImpl implements Applications { }; }; - const lro = new LroImpl( - sendOperation, - { applicationId, options }, - deleteByIdOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { applicationId, options }, + spec: deleteByIdOperationSpec + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; @@ -510,7 +601,7 @@ export class ApplicationsImpl implements Applications { } /** - * Creates a new managed application. + * Creates or updates a managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} @@ -522,8 +613,8 @@ export class ApplicationsImpl implements Applications { parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ApplicationsCreateOrUpdateByIdResponse > > { @@ -533,7 +624,7 @@ export class ApplicationsImpl implements Applications { ): Promise => { return this.client.sendOperationRequest(args, spec); }; - const sendOperation = async ( + const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec ) => { @@ -566,21 +657,25 @@ export class ApplicationsImpl implements Applications { }; }; - const lro = new LroImpl( - sendOperation, - { applicationId, parameters, options }, - createOrUpdateByIdOperationSpec - ); - const poller = new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + const lro = createLroSpec({ + sendOperationFn, + args: { applicationId, parameters, options }, + spec: createOrUpdateByIdOperationSpec + }); + const poller = await createHttpPoller< + ApplicationsCreateOrUpdateByIdResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; } /** - * Creates a new managed application. + * Creates or updates a managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} @@ -601,20 +696,296 @@ export class ApplicationsImpl implements Applications { } /** - * Updates an existing managed application. The only value that can be updated via PATCH currently is - * the tags. + * Updates an existing managed application. + * @param applicationId The fully qualified ID of the managed application, including the managed + * application name and the managed application resource type. Use the format, + * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} + * @param options The options parameters. + */ + async beginUpdateById( + applicationId: string, + options?: ApplicationsUpdateByIdOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + ApplicationsUpdateByIdResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { applicationId, options }, + spec: updateByIdOperationSpec + }); + const poller = await createHttpPoller< + ApplicationsUpdateByIdResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Updates an existing managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} * @param options The options parameters. */ - updateById( + async beginUpdateByIdAndWait( applicationId: string, options?: ApplicationsUpdateByIdOptionalParams ): Promise { + const poller = await this.beginUpdateById(applicationId, options); + return poller.pollUntilDone(); + } + + /** + * Refresh Permissions for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + async beginRefreshPermissions( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsRefreshPermissionsOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, applicationName, options }, + spec: refreshPermissionsOperationSpec + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Refresh Permissions for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + async beginRefreshPermissionsAndWait( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsRefreshPermissionsOptionalParams + ): Promise { + const poller = await this.beginRefreshPermissions( + resourceGroupName, + applicationName, + options + ); + return poller.pollUntilDone(); + } + + /** + * List allowed upgrade plans for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + listAllowedUpgradePlans( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsListAllowedUpgradePlansOptionalParams + ): Promise { return this.client.sendOperationRequest( - { applicationId, options }, - updateByIdOperationSpec + { resourceGroupName, applicationName, options }, + listAllowedUpgradePlansOperationSpec + ); + } + + /** + * Update access for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + async beginUpdateAccess( + resourceGroupName: string, + applicationName: string, + parameters: UpdateAccessDefinition, + options?: ApplicationsUpdateAccessOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, applicationName, parameters, options }, + spec: updateAccessOperationSpec + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Update access for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + async beginUpdateAccessAndWait( + resourceGroupName: string, + applicationName: string, + parameters: UpdateAccessDefinition, + options?: ApplicationsUpdateAccessOptionalParams + ): Promise { + const poller = await this.beginUpdateAccess( + resourceGroupName, + applicationName, + parameters, + options + ); + return poller.pollUntilDone(); + } + + /** + * List tokens for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + listTokens( + resourceGroupName: string, + applicationName: string, + parameters: ListTokenRequest, + options?: ApplicationsListTokensOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, applicationName, parameters, options }, + listTokensOperationSpec ); } @@ -669,9 +1040,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.subscriptionId + Parameters.applicationName ], headerParameters: [Parameters.accept], serializer @@ -692,9 +1063,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.subscriptionId + Parameters.applicationName ], headerParameters: [Parameters.accept], serializer @@ -724,9 +1095,9 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.subscriptionId + Parameters.applicationName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -738,7 +1109,16 @@ const updateOperationSpec: coreClient.OperationSpec = { httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Application + bodyMapper: Mappers.ApplicationPatchable + }, + 201: { + bodyMapper: Mappers.ApplicationPatchable + }, + 202: { + bodyMapper: Mappers.ApplicationPatchable + }, + 204: { + bodyMapper: Mappers.ApplicationPatchable }, default: { bodyMapper: Mappers.ErrorResponse @@ -748,9 +1128,9 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.subscriptionId + Parameters.applicationName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -771,8 +1151,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -860,19 +1240,122 @@ const updateByIdOperationSpec: coreClient.OperationSpec = { httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Application + bodyMapper: Mappers.ApplicationPatchable + }, + 201: { + bodyMapper: Mappers.ApplicationPatchable + }, + 202: { + bodyMapper: Mappers.ApplicationPatchable + }, + 204: { + bodyMapper: Mappers.ApplicationPatchable }, default: { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters2, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.applicationId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", serializer }; +const refreshPermissionsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/refreshPermissions", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listAllowedUpgradePlansOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listAllowedUpgradePlans", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.AllowedUpgradePlansResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const updateAccessOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/updateAccess", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listTokensOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listTokens", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ManagedIdentityTokenResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -884,12 +1367,11 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -905,7 +1387,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/sdk/managedapplications/arm-managedapplications/src/operations/index.ts b/sdk/managedapplications/arm-managedapplications/src/operations/index.ts index 6ca98c210b1c..63259e0e45c4 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operations/index.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operations/index.ts @@ -8,3 +8,4 @@ export * from "./applications"; export * from "./applicationDefinitions"; +export * from "./jitRequests"; diff --git a/sdk/managedapplications/arm-managedapplications/src/operations/jitRequests.ts b/sdk/managedapplications/arm-managedapplications/src/operations/jitRequests.ts new file mode 100644 index 000000000000..1005d0e2b145 --- /dev/null +++ b/sdk/managedapplications/arm-managedapplications/src/operations/jitRequests.ts @@ -0,0 +1,366 @@ +/* + * 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 { JitRequests } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ApplicationClient } from "../applicationClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + JitRequestsGetOptionalParams, + JitRequestsGetResponse, + JitRequestDefinition, + JitRequestsCreateOrUpdateOptionalParams, + JitRequestsCreateOrUpdateResponse, + JitRequestPatchable, + JitRequestsUpdateOptionalParams, + JitRequestsUpdateResponse, + JitRequestsDeleteOptionalParams, + JitRequestsListBySubscriptionOptionalParams, + JitRequestsListBySubscriptionResponse, + JitRequestsListByResourceGroupOptionalParams, + JitRequestsListByResourceGroupResponse +} from "../models"; + +/** Class containing JitRequests operations. */ +export class JitRequestsImpl implements JitRequests { + private readonly client: ApplicationClient; + + /** + * Initialize a new instance of the class JitRequests class. + * @param client Reference to the service client + */ + constructor(client: ApplicationClient) { + this.client = client; + } + + /** + * Gets the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + jitRequestName: string, + options?: JitRequestsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jitRequestName, options }, + getOperationSpec + ); + } + + /** + * Creates or updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestDefinition, + options?: JitRequestsCreateOrUpdateOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + JitRequestsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, jitRequestName, parameters, options }, + spec: createOrUpdateOperationSpec + }); + const poller = await createHttpPoller< + JitRequestsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Creates or updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestDefinition, + options?: JitRequestsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + jitRequestName, + parameters, + options + ); + return poller.pollUntilDone(); + } + + /** + * Updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestPatchable, + options?: JitRequestsUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jitRequestName, parameters, options }, + updateOperationSpec + ); + } + + /** + * Deletes the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + jitRequestName: string, + options?: JitRequestsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jitRequestName, options }, + deleteOperationSpec + ); + } + + /** + * Lists all JIT requests within the subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: JitRequestsListBySubscriptionOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec + ); + } + + /** + * Lists all JIT requests within the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: JitRequestsListByResourceGroupOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JitRequestDefinition + }, + 404: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jitRequestName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.JitRequestDefinition + }, + 201: { + bodyMapper: Mappers.JitRequestDefinition + }, + 202: { + bodyMapper: Mappers.JitRequestDefinition + }, + 204: { + bodyMapper: Mappers.JitRequestDefinition + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jitRequestName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.JitRequestDefinition + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters7, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jitRequestName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jitRequestName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/jitRequests", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JitRequestDefinitionListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JitRequestDefinitionListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applicationDefinitions.ts b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applicationDefinitions.ts index c9d7af01a3e3..f170bdb34088 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applicationDefinitions.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applicationDefinitions.ts @@ -7,20 +7,25 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ApplicationDefinition, ApplicationDefinitionsListByResourceGroupOptionalParams, + ApplicationDefinitionsListBySubscriptionOptionalParams, ApplicationDefinitionsGetOptionalParams, ApplicationDefinitionsGetResponse, ApplicationDefinitionsDeleteOptionalParams, ApplicationDefinitionsCreateOrUpdateOptionalParams, ApplicationDefinitionsCreateOrUpdateResponse, + ApplicationDefinitionPatchable, + ApplicationDefinitionsUpdateOptionalParams, + ApplicationDefinitionsUpdateResponse, ApplicationDefinitionsGetByIdOptionalParams, ApplicationDefinitionsGetByIdResponse, ApplicationDefinitionsDeleteByIdOptionalParams, ApplicationDefinitionsCreateOrUpdateByIdOptionalParams, - ApplicationDefinitionsCreateOrUpdateByIdResponse + ApplicationDefinitionsCreateOrUpdateByIdResponse, + ApplicationDefinitionsUpdateByIdOptionalParams, + ApplicationDefinitionsUpdateByIdResponse } from "../models"; /// @@ -35,6 +40,13 @@ export interface ApplicationDefinitions { resourceGroupName: string, options?: ApplicationDefinitionsListByResourceGroupOptionalParams ): PagedAsyncIterableIterator; + /** + * Lists all the application definitions within a subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: ApplicationDefinitionsListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator; /** * Gets the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -49,56 +61,40 @@ export interface ApplicationDefinitions { /** * Deletes the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition to delete. - * @param options The options parameters. - */ - beginDelete( - resourceGroupName: string, - applicationDefinitionName: string, - options?: ApplicationDefinitionsDeleteOptionalParams - ): Promise, void>>; - /** - * Deletes the managed application definition. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition to delete. + * @param applicationDefinitionName The name of the managed application definition. * @param options The options parameters. */ - beginDeleteAndWait( + delete( resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteOptionalParams ): Promise; /** - * Creates a new managed application definition. + * Creates or updates a managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. * @param parameters Parameters supplied to the create or update an managed application definition. * @param options The options parameters. */ - beginCreateOrUpdate( + createOrUpdate( resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - ApplicationDefinitionsCreateOrUpdateResponse - > - >; + ): Promise; /** - * Creates a new managed application definition. + * Updates the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. - * @param parameters Parameters supplied to the create or update an managed application definition. + * @param parameters Parameters supplied to the update a managed application definition. * @param options The options parameters. */ - beginCreateOrUpdateAndWait( + update( resourceGroupName: string, applicationDefinitionName: string, - parameters: ApplicationDefinition, - options?: ApplicationDefinitionsCreateOrUpdateOptionalParams - ): Promise; + parameters: ApplicationDefinitionPatchable, + options?: ApplicationDefinitionsUpdateOptionalParams + ): Promise; /** * Gets the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -116,51 +112,35 @@ export interface ApplicationDefinitions { * @param applicationDefinitionName The name of the managed application definition. * @param options The options parameters. */ - beginDeleteById( - resourceGroupName: string, - applicationDefinitionName: string, - options?: ApplicationDefinitionsDeleteByIdOptionalParams - ): Promise, void>>; - /** - * Deletes the managed application definition. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param applicationDefinitionName The name of the managed application definition. - * @param options The options parameters. - */ - beginDeleteByIdAndWait( + deleteById( resourceGroupName: string, applicationDefinitionName: string, options?: ApplicationDefinitionsDeleteByIdOptionalParams ): Promise; /** - * Creates a new managed application definition. + * Creates or updates a managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. * @param parameters Parameters supplied to the create or update a managed application definition. * @param options The options parameters. */ - beginCreateOrUpdateById( + createOrUpdateById( resourceGroupName: string, applicationDefinitionName: string, parameters: ApplicationDefinition, options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams - ): Promise< - PollerLike< - PollOperationState, - ApplicationDefinitionsCreateOrUpdateByIdResponse - > - >; + ): Promise; /** - * Creates a new managed application definition. + * Updates the managed application definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationDefinitionName The name of the managed application definition. - * @param parameters Parameters supplied to the create or update a managed application definition. + * @param parameters Parameters supplied to the update a managed application definition. * @param options The options parameters. */ - beginCreateOrUpdateByIdAndWait( + updateById( resourceGroupName: string, applicationDefinitionName: string, - parameters: ApplicationDefinition, - options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams - ): Promise; + parameters: ApplicationDefinitionPatchable, + options?: ApplicationDefinitionsUpdateByIdOptionalParams + ): Promise; } diff --git a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applications.ts b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applications.ts index fc88cc2159a9..7a1527981881 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applications.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/applications.ts @@ -7,7 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Application, ApplicationsListByResourceGroupOptionalParams, @@ -25,14 +25,22 @@ import { ApplicationsCreateOrUpdateByIdOptionalParams, ApplicationsCreateOrUpdateByIdResponse, ApplicationsUpdateByIdOptionalParams, - ApplicationsUpdateByIdResponse + ApplicationsUpdateByIdResponse, + ApplicationsRefreshPermissionsOptionalParams, + ApplicationsListAllowedUpgradePlansOptionalParams, + ApplicationsListAllowedUpgradePlansResponse, + UpdateAccessDefinition, + ApplicationsUpdateAccessOptionalParams, + ListTokenRequest, + ApplicationsListTokensOptionalParams, + ApplicationsListTokensResponse } from "../models"; /// /** Interface representing a Applications. */ export interface Applications { /** - * Gets all the applications within a resource group. + * Lists all the applications within a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -41,7 +49,7 @@ export interface Applications { options?: ApplicationsListByResourceGroupOptionalParams ): PagedAsyncIterableIterator; /** - * Gets all the applications within a subscription. + * Lists all the applications within a subscription. * @param options The options parameters. */ listBySubscription( @@ -68,7 +76,7 @@ export interface Applications { resourceGroupName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams - ): Promise, void>>; + ): Promise, void>>; /** * Deletes the managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -81,7 +89,7 @@ export interface Applications { options?: ApplicationsDeleteOptionalParams ): Promise; /** - * Creates a new managed application. + * Creates or updates a managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param parameters Parameters supplied to the create or update a managed application. @@ -93,13 +101,13 @@ export interface Applications { parameters: Application, options?: ApplicationsCreateOrUpdateOptionalParams ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ApplicationsCreateOrUpdateResponse > >; /** - * Creates a new managed application. + * Creates or updates a managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param parameters Parameters supplied to the create or update a managed application. @@ -112,13 +120,28 @@ export interface Applications { options?: ApplicationsCreateOrUpdateOptionalParams ): Promise; /** - * Updates an existing managed application. The only value that can be updated via PATCH currently is - * the tags. + * Updates an existing managed application. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationName The name of the managed application. * @param options The options parameters. */ - update( + beginUpdate( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsUpdateOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + ApplicationsUpdateResponse + > + >; + /** + * Updates an existing managed application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + beginUpdateAndWait( resourceGroupName: string, applicationName: string, options?: ApplicationsUpdateOptionalParams @@ -144,7 +167,7 @@ export interface Applications { beginDeleteById( applicationId: string, options?: ApplicationsDeleteByIdOptionalParams - ): Promise, void>>; + ): Promise, void>>; /** * Deletes the managed application. * @param applicationId The fully qualified ID of the managed application, including the managed @@ -157,7 +180,7 @@ export interface Applications { options?: ApplicationsDeleteByIdOptionalParams ): Promise; /** - * Creates a new managed application. + * Creates or updates a managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} @@ -169,13 +192,13 @@ export interface Applications { parameters: Application, options?: ApplicationsCreateOrUpdateByIdOptionalParams ): Promise< - PollerLike< - PollOperationState, + SimplePollerLike< + OperationState, ApplicationsCreateOrUpdateByIdResponse > >; /** - * Creates a new managed application. + * Creates or updates a managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} @@ -188,15 +211,102 @@ export interface Applications { options?: ApplicationsCreateOrUpdateByIdOptionalParams ): Promise; /** - * Updates an existing managed application. The only value that can be updated via PATCH currently is - * the tags. + * Updates an existing managed application. * @param applicationId The fully qualified ID of the managed application, including the managed * application name and the managed application resource type. Use the format, * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} * @param options The options parameters. */ - updateById( + beginUpdateById( + applicationId: string, + options?: ApplicationsUpdateByIdOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + ApplicationsUpdateByIdResponse + > + >; + /** + * Updates an existing managed application. + * @param applicationId The fully qualified ID of the managed application, including the managed + * application name and the managed application resource type. Use the format, + * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} + * @param options The options parameters. + */ + beginUpdateByIdAndWait( applicationId: string, options?: ApplicationsUpdateByIdOptionalParams ): Promise; + /** + * Refresh Permissions for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + beginRefreshPermissions( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsRefreshPermissionsOptionalParams + ): Promise, void>>; + /** + * Refresh Permissions for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + beginRefreshPermissionsAndWait( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsRefreshPermissionsOptionalParams + ): Promise; + /** + * List allowed upgrade plans for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param options The options parameters. + */ + listAllowedUpgradePlans( + resourceGroupName: string, + applicationName: string, + options?: ApplicationsListAllowedUpgradePlansOptionalParams + ): Promise; + /** + * Update access for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + beginUpdateAccess( + resourceGroupName: string, + applicationName: string, + parameters: UpdateAccessDefinition, + options?: ApplicationsUpdateAccessOptionalParams + ): Promise, void>>; + /** + * Update access for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + beginUpdateAccessAndWait( + resourceGroupName: string, + applicationName: string, + parameters: UpdateAccessDefinition, + options?: ApplicationsUpdateAccessOptionalParams + ): Promise; + /** + * List tokens for application. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationName The name of the managed application. + * @param parameters Request body parameters to list tokens. + * @param options The options parameters. + */ + listTokens( + resourceGroupName: string, + applicationName: string, + parameters: ListTokenRequest, + options?: ApplicationsListTokensOptionalParams + ): Promise; } diff --git a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/index.ts b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/index.ts index 6ca98c210b1c..63259e0e45c4 100644 --- a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/index.ts +++ b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/index.ts @@ -8,3 +8,4 @@ export * from "./applications"; export * from "./applicationDefinitions"; +export * from "./jitRequests"; diff --git a/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/jitRequests.ts b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/jitRequests.ts new file mode 100644 index 000000000000..980b0f074b76 --- /dev/null +++ b/sdk/managedapplications/arm-managedapplications/src/operationsInterfaces/jitRequests.ts @@ -0,0 +1,110 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + JitRequestsGetOptionalParams, + JitRequestsGetResponse, + JitRequestDefinition, + JitRequestsCreateOrUpdateOptionalParams, + JitRequestsCreateOrUpdateResponse, + JitRequestPatchable, + JitRequestsUpdateOptionalParams, + JitRequestsUpdateResponse, + JitRequestsDeleteOptionalParams, + JitRequestsListBySubscriptionOptionalParams, + JitRequestsListBySubscriptionResponse, + JitRequestsListByResourceGroupOptionalParams, + JitRequestsListByResourceGroupResponse +} from "../models"; + +/** Interface representing a JitRequests. */ +export interface JitRequests { + /** + * Gets the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + jitRequestName: string, + options?: JitRequestsGetOptionalParams + ): Promise; + /** + * Creates or updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestDefinition, + options?: JitRequestsCreateOrUpdateOptionalParams + ): Promise< + SimplePollerLike< + OperationState, + JitRequestsCreateOrUpdateResponse + > + >; + /** + * Creates or updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestDefinition, + options?: JitRequestsCreateOrUpdateOptionalParams + ): Promise; + /** + * Updates the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param parameters Parameters supplied to the update JIT request. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + jitRequestName: string, + parameters: JitRequestPatchable, + options?: JitRequestsUpdateOptionalParams + ): Promise; + /** + * Deletes the JIT request. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jitRequestName The name of the JIT request. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + jitRequestName: string, + options?: JitRequestsDeleteOptionalParams + ): Promise; + /** + * Lists all JIT requests within the subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: JitRequestsListBySubscriptionOptionalParams + ): Promise; + /** + * Lists all JIT requests within the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: JitRequestsListByResourceGroupOptionalParams + ): Promise; +} diff --git a/sdk/managedapplications/arm-managedapplications/src/pagingHelper.ts b/sdk/managedapplications/arm-managedapplications/src/pagingHelper.ts index d85fc13bce1e..269a2b9814b5 100644 --- a/sdk/managedapplications/arm-managedapplications/src/pagingHelper.ts +++ b/sdk/managedapplications/arm-managedapplications/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/sdk/managedapplications/arm-managedapplications/tsconfig.json b/sdk/managedapplications/arm-managedapplications/tsconfig.json index 49542979a476..3e6ae96443f3 100644 --- a/sdk/managedapplications/arm-managedapplications/tsconfig.json +++ b/sdk/managedapplications/arm-managedapplications/tsconfig.json @@ -15,25 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-managedapplications": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"