@azure/arm-msi 2.2.0 → 2.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/browser/api/federatedIdentityCredentials/index.d.ts +3 -0
- package/dist/browser/api/federatedIdentityCredentials/index.js +4 -0
- package/dist/browser/api/federatedIdentityCredentials/index.js.map +1 -0
- package/dist/browser/api/federatedIdentityCredentials/operations.d.ts +22 -0
- package/dist/browser/api/federatedIdentityCredentials/operations.js +126 -0
- package/dist/browser/api/federatedIdentityCredentials/operations.js.map +1 -0
- package/dist/browser/api/federatedIdentityCredentials/options.d.ts +18 -0
- package/dist/browser/api/federatedIdentityCredentials/options.js +4 -0
- package/dist/browser/api/federatedIdentityCredentials/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/managedServiceIdentityContext.d.ts +22 -0
- package/dist/browser/api/managedServiceIdentityContext.js +26 -0
- package/dist/browser/api/managedServiceIdentityContext.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +35 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/systemAssignedIdentities/index.d.ts +3 -0
- package/dist/browser/api/systemAssignedIdentities/index.js +4 -0
- package/dist/browser/api/systemAssignedIdentities/index.js.map +1 -0
- package/dist/browser/api/systemAssignedIdentities/operations.d.ts +9 -0
- package/dist/browser/api/systemAssignedIdentities/operations.js +32 -0
- package/dist/browser/api/systemAssignedIdentities/operations.js.map +1 -0
- package/dist/browser/api/systemAssignedIdentities/options.d.ts +5 -0
- package/dist/browser/api/systemAssignedIdentities/options.js +4 -0
- package/dist/browser/api/systemAssignedIdentities/options.js.map +1 -0
- package/dist/browser/api/userAssignedIdentities/index.d.ts +3 -0
- package/dist/browser/api/userAssignedIdentities/index.js +4 -0
- package/dist/browser/api/userAssignedIdentities/index.js.map +1 -0
- package/dist/browser/api/userAssignedIdentities/operations.d.ts +30 -0
- package/dist/browser/api/userAssignedIdentities/operations.js +179 -0
- package/dist/browser/api/userAssignedIdentities/operations.js.map +1 -0
- package/dist/browser/api/userAssignedIdentities/options.d.ts +20 -0
- package/dist/browser/api/userAssignedIdentities/options.js +4 -0
- package/dist/browser/api/userAssignedIdentities/options.js.map +1 -0
- package/dist/browser/classic/federatedIdentityCredentials/index.d.ts +17 -0
- package/dist/browser/classic/federatedIdentityCredentials/index.js +17 -0
- package/dist/browser/classic/federatedIdentityCredentials/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +5 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/systemAssignedIdentities/index.d.ts +10 -0
- package/dist/browser/classic/systemAssignedIdentities/index.js +14 -0
- package/dist/browser/classic/systemAssignedIdentities/index.js.map +1 -0
- package/dist/browser/classic/userAssignedIdentities/index.d.ts +21 -0
- package/dist/browser/classic/userAssignedIdentities/index.js +19 -0
- package/dist/browser/classic/userAssignedIdentities/index.js.map +1 -0
- package/dist/browser/index.d.ts +15 -3
- package/dist/browser/index.js +6 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/managedServiceIdentityClient.d.ts +22 -22
- package/dist/browser/managedServiceIdentityClient.js +32 -97
- package/dist/browser/managedServiceIdentityClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -317
- package/dist/browser/models/index.js +3 -27
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +310 -0
- package/dist/browser/models/models.js +401 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/federatedIdentityCredentials/index.d.ts +3 -0
- package/dist/commonjs/api/federatedIdentityCredentials/index.js +34 -0
- package/dist/commonjs/api/federatedIdentityCredentials/index.js.map +7 -0
- package/dist/commonjs/api/federatedIdentityCredentials/operations.d.ts +22 -0
- package/dist/commonjs/api/federatedIdentityCredentials/operations.js +209 -0
- package/dist/commonjs/api/federatedIdentityCredentials/operations.js.map +7 -0
- package/dist/commonjs/api/federatedIdentityCredentials/options.d.ts +18 -0
- package/dist/commonjs/api/federatedIdentityCredentials/options.js +16 -0
- package/dist/commonjs/api/federatedIdentityCredentials/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/managedServiceIdentityContext.d.ts +22 -0
- package/dist/commonjs/api/managedServiceIdentityContext.js +47 -0
- package/dist/commonjs/api/managedServiceIdentityContext.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +72 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/systemAssignedIdentities/index.d.ts +3 -0
- package/dist/commonjs/api/systemAssignedIdentities/index.js +28 -0
- package/dist/commonjs/api/systemAssignedIdentities/index.js.map +7 -0
- package/dist/commonjs/api/systemAssignedIdentities/operations.d.ts +9 -0
- package/dist/commonjs/api/systemAssignedIdentities/operations.js +63 -0
- package/dist/commonjs/api/systemAssignedIdentities/operations.js.map +7 -0
- package/dist/commonjs/api/systemAssignedIdentities/options.d.ts +5 -0
- package/dist/commonjs/api/systemAssignedIdentities/options.js +16 -0
- package/dist/commonjs/api/systemAssignedIdentities/options.js.map +7 -0
- package/dist/commonjs/api/userAssignedIdentities/index.d.ts +3 -0
- package/dist/commonjs/api/userAssignedIdentities/index.js +38 -0
- package/dist/commonjs/api/userAssignedIdentities/index.js.map +7 -0
- package/dist/commonjs/api/userAssignedIdentities/operations.d.ts +30 -0
- package/dist/commonjs/api/userAssignedIdentities/operations.js +273 -0
- package/dist/commonjs/api/userAssignedIdentities/operations.js.map +7 -0
- package/dist/commonjs/api/userAssignedIdentities/options.d.ts +20 -0
- package/dist/commonjs/api/userAssignedIdentities/options.js +16 -0
- package/dist/commonjs/api/userAssignedIdentities/options.js.map +7 -0
- package/dist/commonjs/classic/federatedIdentityCredentials/index.d.ts +17 -0
- package/dist/commonjs/classic/federatedIdentityCredentials/index.js +60 -0
- package/dist/commonjs/classic/federatedIdentityCredentials/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +5 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/systemAssignedIdentities/index.d.ts +10 -0
- package/dist/commonjs/classic/systemAssignedIdentities/index.js +38 -0
- package/dist/commonjs/classic/systemAssignedIdentities/index.js.map +7 -0
- package/dist/commonjs/classic/userAssignedIdentities/index.d.ts +21 -0
- package/dist/commonjs/classic/userAssignedIdentities/index.js +43 -0
- package/dist/commonjs/classic/userAssignedIdentities/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +15 -3
- package/dist/commonjs/index.js +43 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/managedServiceIdentityClient.d.ts +22 -22
- package/dist/commonjs/managedServiceIdentityClient.js +64 -113
- package/dist/commonjs/managedServiceIdentityClient.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -317
- package/dist/commonjs/models/index.js +32 -31
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +310 -0
- package/dist/commonjs/models/models.js +442 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/federatedIdentityCredentials/index.d.ts +3 -0
- package/dist/esm/api/federatedIdentityCredentials/index.js +4 -0
- package/dist/esm/api/federatedIdentityCredentials/index.js.map +1 -0
- package/dist/esm/api/federatedIdentityCredentials/operations.d.ts +22 -0
- package/dist/esm/api/federatedIdentityCredentials/operations.js +126 -0
- package/dist/esm/api/federatedIdentityCredentials/operations.js.map +1 -0
- package/dist/esm/api/federatedIdentityCredentials/options.d.ts +18 -0
- package/dist/esm/api/federatedIdentityCredentials/options.js +4 -0
- package/dist/esm/api/federatedIdentityCredentials/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/managedServiceIdentityContext.d.ts +22 -0
- package/dist/esm/api/managedServiceIdentityContext.js +26 -0
- package/dist/esm/api/managedServiceIdentityContext.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +35 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/systemAssignedIdentities/index.d.ts +3 -0
- package/dist/esm/api/systemAssignedIdentities/index.js +4 -0
- package/dist/esm/api/systemAssignedIdentities/index.js.map +1 -0
- package/dist/esm/api/systemAssignedIdentities/operations.d.ts +9 -0
- package/dist/esm/api/systemAssignedIdentities/operations.js +32 -0
- package/dist/esm/api/systemAssignedIdentities/operations.js.map +1 -0
- package/dist/esm/api/systemAssignedIdentities/options.d.ts +5 -0
- package/dist/esm/api/systemAssignedIdentities/options.js +4 -0
- package/dist/esm/api/systemAssignedIdentities/options.js.map +1 -0
- package/dist/esm/api/userAssignedIdentities/index.d.ts +3 -0
- package/dist/esm/api/userAssignedIdentities/index.js +4 -0
- package/dist/esm/api/userAssignedIdentities/index.js.map +1 -0
- package/dist/esm/api/userAssignedIdentities/operations.d.ts +30 -0
- package/dist/esm/api/userAssignedIdentities/operations.js +179 -0
- package/dist/esm/api/userAssignedIdentities/operations.js.map +1 -0
- package/dist/esm/api/userAssignedIdentities/options.d.ts +20 -0
- package/dist/esm/api/userAssignedIdentities/options.js +4 -0
- package/dist/esm/api/userAssignedIdentities/options.js.map +1 -0
- package/dist/esm/classic/federatedIdentityCredentials/index.d.ts +17 -0
- package/dist/esm/classic/federatedIdentityCredentials/index.js +17 -0
- package/dist/esm/classic/federatedIdentityCredentials/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +5 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/systemAssignedIdentities/index.d.ts +10 -0
- package/dist/esm/classic/systemAssignedIdentities/index.js +14 -0
- package/dist/esm/classic/systemAssignedIdentities/index.js.map +1 -0
- package/dist/esm/classic/userAssignedIdentities/index.d.ts +21 -0
- package/dist/esm/classic/userAssignedIdentities/index.js +19 -0
- package/dist/esm/classic/userAssignedIdentities/index.js.map +1 -0
- package/dist/esm/index.d.ts +15 -3
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/managedServiceIdentityClient.d.ts +22 -22
- package/dist/esm/managedServiceIdentityClient.js +32 -97
- package/dist/esm/managedServiceIdentityClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -317
- package/dist/esm/models/index.js +3 -27
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +310 -0
- package/dist/esm/models/models.js +401 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +176 -97
- package/CHANGELOG.md +0 -50
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/managedServiceIdentityClient.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -17
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -472
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -18
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -165
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/federatedIdentityCredentials.d.ts +0 -66
- package/dist/browser/operations/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/browser/operations/federatedIdentityCredentials.js +0 -257
- package/dist/browser/operations/federatedIdentityCredentials.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -5
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -12
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -32
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -116
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/systemAssignedIdentities.d.ts +0 -20
- package/dist/browser/operations/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/browser/operations/systemAssignedIdentities.js +0 -49
- package/dist/browser/operations/systemAssignedIdentities.js.map +0 -1
- package/dist/browser/operations/userAssignedIdentities.d.ts +0 -83
- package/dist/browser/operations/userAssignedIdentities.d.ts.map +0 -1
- package/dist/browser/operations/userAssignedIdentities.js +0 -350
- package/dist/browser/operations/userAssignedIdentities.js.map +0 -1
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js +0 -9
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -5
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -12
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.js +0 -9
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
- package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
- package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/userAssignedIdentities.js +0 -9
- package/dist/browser/operationsInterfaces/userAssignedIdentities.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/managedServiceIdentityClient.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -17
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -475
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -18
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -168
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/federatedIdentityCredentials.d.ts +0 -66
- package/dist/commonjs/operations/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/commonjs/operations/federatedIdentityCredentials.js +0 -262
- package/dist/commonjs/operations/federatedIdentityCredentials.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -5
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -15
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -32
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -121
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/systemAssignedIdentities.d.ts +0 -20
- package/dist/commonjs/operations/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/commonjs/operations/systemAssignedIdentities.js +0 -54
- package/dist/commonjs/operations/systemAssignedIdentities.js.map +0 -1
- package/dist/commonjs/operations/userAssignedIdentities.d.ts +0 -83
- package/dist/commonjs/operations/userAssignedIdentities.d.ts.map +0 -1
- package/dist/commonjs/operations/userAssignedIdentities.js +0 -355
- package/dist/commonjs/operations/userAssignedIdentities.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js +0 -10
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -5
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -15
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js +0 -10
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js +0 -10
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -34
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/managedServiceIdentityClient.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -17
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -472
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -18
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -165
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/federatedIdentityCredentials.d.ts +0 -66
- package/dist/esm/operations/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/esm/operations/federatedIdentityCredentials.js +0 -257
- package/dist/esm/operations/federatedIdentityCredentials.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -5
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -12
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -32
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -116
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/systemAssignedIdentities.d.ts +0 -20
- package/dist/esm/operations/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/esm/operations/systemAssignedIdentities.js +0 -49
- package/dist/esm/operations/systemAssignedIdentities.js.map +0 -1
- package/dist/esm/operations/userAssignedIdentities.d.ts +0 -83
- package/dist/esm/operations/userAssignedIdentities.d.ts.map +0 -1
- package/dist/esm/operations/userAssignedIdentities.js +0 -350
- package/dist/esm/operations/userAssignedIdentities.js.map +0 -1
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js +0 -9
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -5
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -12
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.js +0 -9
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
- package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
- package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/userAssignedIdentities.js +0 -9
- package/dist/esm/operationsInterfaces/userAssignedIdentities.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -30
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/managedServiceIdentityClient.d.ts +0 -24
- package/dist/react-native/managedServiceIdentityClient.d.ts.map +0 -1
- package/dist/react-native/managedServiceIdentityClient.js +0 -110
- package/dist/react-native/managedServiceIdentityClient.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -318
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -28
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -17
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -472
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -18
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -165
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/federatedIdentityCredentials.d.ts +0 -66
- package/dist/react-native/operations/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/react-native/operations/federatedIdentityCredentials.js +0 -257
- package/dist/react-native/operations/federatedIdentityCredentials.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -5
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -12
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -32
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -116
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/systemAssignedIdentities.d.ts +0 -20
- package/dist/react-native/operations/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/react-native/operations/systemAssignedIdentities.js +0 -49
- package/dist/react-native/operations/systemAssignedIdentities.js.map +0 -1
- package/dist/react-native/operations/userAssignedIdentities.d.ts +0 -83
- package/dist/react-native/operations/userAssignedIdentities.d.ts.map +0 -1
- package/dist/react-native/operations/userAssignedIdentities.js +0 -350
- package/dist/react-native/operations/userAssignedIdentities.js.map +0 -1
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts +0 -41
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js +0 -9
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -5
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -12
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts +0 -12
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js +0 -9
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts +0 -47
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.js +0 -9
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-msi-node.api.md +0 -313
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.OperationsImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
-
/// <reference lib="esnext.asynciterable" />
|
|
17
|
-
/** Class containing Operations operations. */
|
|
18
|
-
class OperationsImpl {
|
|
19
|
-
client;
|
|
20
|
-
/**
|
|
21
|
-
* Initialize a new instance of the class Operations class.
|
|
22
|
-
* @param client Reference to the service client
|
|
23
|
-
*/
|
|
24
|
-
constructor(client) {
|
|
25
|
-
this.client = client;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
29
|
-
* @param options The options parameters.
|
|
30
|
-
*/
|
|
31
|
-
list(options) {
|
|
32
|
-
const iter = this.listPagingAll(options);
|
|
33
|
-
return {
|
|
34
|
-
next() {
|
|
35
|
-
return iter.next();
|
|
36
|
-
},
|
|
37
|
-
[Symbol.asyncIterator]() {
|
|
38
|
-
return this;
|
|
39
|
-
},
|
|
40
|
-
byPage: (settings) => {
|
|
41
|
-
if (settings?.maxPageSize) {
|
|
42
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
-
}
|
|
44
|
-
return this.listPagingPage(options, settings);
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
async *listPagingPage(options, settings) {
|
|
49
|
-
let result;
|
|
50
|
-
let continuationToken = settings?.continuationToken;
|
|
51
|
-
if (!continuationToken) {
|
|
52
|
-
result = await this._list(options);
|
|
53
|
-
let page = result.value || [];
|
|
54
|
-
continuationToken = result.nextLink;
|
|
55
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
-
yield page;
|
|
57
|
-
}
|
|
58
|
-
while (continuationToken) {
|
|
59
|
-
result = await this._listNext(continuationToken, options);
|
|
60
|
-
continuationToken = result.nextLink;
|
|
61
|
-
let page = result.value || [];
|
|
62
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
-
yield page;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
async *listPagingAll(options) {
|
|
67
|
-
for await (const page of this.listPagingPage(options)) {
|
|
68
|
-
yield* page;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
73
|
-
* @param options The options parameters.
|
|
74
|
-
*/
|
|
75
|
-
_list(options) {
|
|
76
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* ListNext
|
|
80
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
81
|
-
* @param options The options parameters.
|
|
82
|
-
*/
|
|
83
|
-
_listNext(nextLink, options) {
|
|
84
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
exports.OperationsImpl = OperationsImpl;
|
|
88
|
-
// Operation Specifications
|
|
89
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
90
|
-
const listOperationSpec = {
|
|
91
|
-
path: "/providers/Microsoft.ManagedIdentity/operations",
|
|
92
|
-
httpMethod: "GET",
|
|
93
|
-
responses: {
|
|
94
|
-
200: {
|
|
95
|
-
bodyMapper: Mappers.OperationListResult,
|
|
96
|
-
},
|
|
97
|
-
default: {
|
|
98
|
-
bodyMapper: Mappers.CloudError,
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
queryParameters: [Parameters.apiVersion],
|
|
102
|
-
urlParameters: [Parameters.$host],
|
|
103
|
-
headerParameters: [Parameters.accept],
|
|
104
|
-
serializer,
|
|
105
|
-
};
|
|
106
|
-
const listNextOperationSpec = {
|
|
107
|
-
path: "{nextLink}",
|
|
108
|
-
httpMethod: "GET",
|
|
109
|
-
responses: {
|
|
110
|
-
200: {
|
|
111
|
-
bodyMapper: Mappers.OperationListResult,
|
|
112
|
-
},
|
|
113
|
-
default: {
|
|
114
|
-
bodyMapper: Mappers.CloudError,
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
118
|
-
headerParameters: [Parameters.accept],
|
|
119
|
-
serializer,
|
|
120
|
-
};
|
|
121
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAsC,EACtC,QAAuB;QAEvB,IAAI,MAA8B,CAAC;QACnC,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACnC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACpC,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;YAC9C,MAAM,IAAI,CAAC;QACb,CAAC;QACD,OAAO,iBAAiB,EAAE,CAAC;YACzB,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YAC1D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAC9B,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;YAC9C,MAAM,IAAI,CAAC;QACb,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,CAAC,aAAa,CAC1B,OAAsC;QAEtC,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,iDAAiD;IACvD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ManagedIdentity/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SystemAssignedIdentities } from "../operationsInterfaces/index.js";
|
|
2
|
-
import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
|
|
3
|
-
import { SystemAssignedIdentitiesGetByScopeOptionalParams, SystemAssignedIdentitiesGetByScopeResponse } from "../models/index.js";
|
|
4
|
-
/** Class containing SystemAssignedIdentities operations. */
|
|
5
|
-
export declare class SystemAssignedIdentitiesImpl implements SystemAssignedIdentities {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Initialize a new instance of the class SystemAssignedIdentities class.
|
|
9
|
-
* @param client Reference to the service client
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: ManagedServiceIdentityClient);
|
|
12
|
-
/**
|
|
13
|
-
* Gets the systemAssignedIdentity available under the specified RP scope.
|
|
14
|
-
* @param scope The resource provider scope of the resource. Parent resource being extended by Managed
|
|
15
|
-
* Identities.
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
getByScope(scope: string, options?: SystemAssignedIdentitiesGetByScopeOptionalParams): Promise<SystemAssignedIdentitiesGetByScopeResponse>;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=systemAssignedIdentities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"systemAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operations/systemAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAI5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,4DAA4D;AAC5D,qBAAa,4BAA6B,YAAW,wBAAwB;IAC3E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;CAMvD"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.SystemAssignedIdentitiesImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
-
/** Class containing SystemAssignedIdentities operations. */
|
|
16
|
-
class SystemAssignedIdentitiesImpl {
|
|
17
|
-
client;
|
|
18
|
-
/**
|
|
19
|
-
* Initialize a new instance of the class SystemAssignedIdentities class.
|
|
20
|
-
* @param client Reference to the service client
|
|
21
|
-
*/
|
|
22
|
-
constructor(client) {
|
|
23
|
-
this.client = client;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Gets the systemAssignedIdentity available under the specified RP scope.
|
|
27
|
-
* @param scope The resource provider scope of the resource. Parent resource being extended by Managed
|
|
28
|
-
* Identities.
|
|
29
|
-
* @param options The options parameters.
|
|
30
|
-
*/
|
|
31
|
-
getByScope(scope, options) {
|
|
32
|
-
return this.client.sendOperationRequest({ scope, options }, getByScopeOperationSpec);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.SystemAssignedIdentitiesImpl = SystemAssignedIdentitiesImpl;
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
38
|
-
const getByScopeOperationSpec = {
|
|
39
|
-
path: "/{scope}/providers/Microsoft.ManagedIdentity/identities/default",
|
|
40
|
-
httpMethod: "GET",
|
|
41
|
-
responses: {
|
|
42
|
-
200: {
|
|
43
|
-
bodyMapper: Mappers.SystemAssignedIdentity,
|
|
44
|
-
},
|
|
45
|
-
default: {
|
|
46
|
-
bodyMapper: Mappers.CloudError,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
queryParameters: [Parameters.apiVersion],
|
|
50
|
-
urlParameters: [Parameters.$host, Parameters.scope],
|
|
51
|
-
headerParameters: [Parameters.accept],
|
|
52
|
-
serializer,
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=systemAssignedIdentities.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/systemAssignedIdentities.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,4DAA4D;AAC5D,MAAa,4BAA4B;IACtB,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,UAAU,CACR,KAAa,EACb,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,KAAK,EAAE,OAAO,EAAE,EAClB,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AA1BD,oEA0BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SystemAssignedIdentities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse,\n} from \"../models/index.js\";\n\n/** Class containing SystemAssignedIdentities operations. */\nexport class SystemAssignedIdentitiesImpl implements SystemAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class SystemAssignedIdentities class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Gets the systemAssignedIdentity available under the specified RP scope.\n * @param scope The resource provider scope of the resource. Parent resource being extended by Managed\n * Identities.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n options?: SystemAssignedIdentitiesGetByScopeOptionalParams,\n ): Promise<SystemAssignedIdentitiesGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n getByScopeOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.ManagedIdentity/identities/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SystemAssignedIdentity,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { UserAssignedIdentities } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
|
|
4
|
-
import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing UserAssignedIdentities operations. */
|
|
6
|
-
export declare class UserAssignedIdentitiesImpl implements UserAssignedIdentities {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class UserAssignedIdentities class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ManagedServiceIdentityClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all the userAssignedIdentities available under the specified subscription.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
listBySubscription(options?: UserAssignedIdentitiesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Identity>;
|
|
18
|
-
private listBySubscriptionPagingPage;
|
|
19
|
-
private listBySubscriptionPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
|
22
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
23
|
-
* @param options The options parameters.
|
|
24
|
-
*/
|
|
25
|
-
listByResourceGroup(resourceGroupName: string, options?: UserAssignedIdentitiesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Identity>;
|
|
26
|
-
private listByResourceGroupPagingPage;
|
|
27
|
-
private listByResourceGroupPagingAll;
|
|
28
|
-
/**
|
|
29
|
-
* Lists all the userAssignedIdentities available under the specified subscription.
|
|
30
|
-
* @param options The options parameters.
|
|
31
|
-
*/
|
|
32
|
-
private _listBySubscription;
|
|
33
|
-
/**
|
|
34
|
-
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
|
35
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
private _listByResourceGroup;
|
|
39
|
-
/**
|
|
40
|
-
* Create or update an identity in the specified subscription and resource group.
|
|
41
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
42
|
-
* @param resourceName The name of the identity resource.
|
|
43
|
-
* @param parameters Parameters to create or update the identity
|
|
44
|
-
* @param options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Identity, options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams): Promise<UserAssignedIdentitiesCreateOrUpdateResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Update an identity in the specified subscription and resource group.
|
|
49
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
50
|
-
* @param resourceName The name of the identity resource.
|
|
51
|
-
* @param parameters Parameters to update the identity
|
|
52
|
-
* @param options The options parameters.
|
|
53
|
-
*/
|
|
54
|
-
update(resourceGroupName: string, resourceName: string, parameters: IdentityUpdate, options?: UserAssignedIdentitiesUpdateOptionalParams): Promise<UserAssignedIdentitiesUpdateResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* Gets the identity.
|
|
57
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
58
|
-
* @param resourceName The name of the identity resource.
|
|
59
|
-
* @param options The options parameters.
|
|
60
|
-
*/
|
|
61
|
-
get(resourceGroupName: string, resourceName: string, options?: UserAssignedIdentitiesGetOptionalParams): Promise<UserAssignedIdentitiesGetResponse>;
|
|
62
|
-
/**
|
|
63
|
-
* Deletes the identity.
|
|
64
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
65
|
-
* @param resourceName The name of the identity resource.
|
|
66
|
-
* @param options The options parameters.
|
|
67
|
-
*/
|
|
68
|
-
delete(resourceGroupName: string, resourceName: string, options?: UserAssignedIdentitiesDeleteOptionalParams): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* ListBySubscriptionNext
|
|
71
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
private _listBySubscriptionNext;
|
|
75
|
-
/**
|
|
76
|
-
* ListByResourceGroupNext
|
|
77
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
78
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
79
|
-
* @param options The options parameters.
|
|
80
|
-
*/
|
|
81
|
-
private _listByResourceGroupNext;
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=userAssignedIdentities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,QAAQ,EAER,sDAAsD,EAGtD,uDAAuD,EAEvD,kDAAkD,EAClD,4CAA4C,EAC5C,cAAc,EACd,0CAA0C,EAC1C,oCAAoC,EACpC,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,QAAQ,CAAC;YAkBxB,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,QAAQ,CAAC;YAsBxB,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.UserAssignedIdentitiesImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
-
/// <reference lib="esnext.asynciterable" />
|
|
17
|
-
/** Class containing UserAssignedIdentities operations. */
|
|
18
|
-
class UserAssignedIdentitiesImpl {
|
|
19
|
-
client;
|
|
20
|
-
/**
|
|
21
|
-
* Initialize a new instance of the class UserAssignedIdentities class.
|
|
22
|
-
* @param client Reference to the service client
|
|
23
|
-
*/
|
|
24
|
-
constructor(client) {
|
|
25
|
-
this.client = client;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Lists all the userAssignedIdentities available under the specified subscription.
|
|
29
|
-
* @param options The options parameters.
|
|
30
|
-
*/
|
|
31
|
-
listBySubscription(options) {
|
|
32
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
33
|
-
return {
|
|
34
|
-
next() {
|
|
35
|
-
return iter.next();
|
|
36
|
-
},
|
|
37
|
-
[Symbol.asyncIterator]() {
|
|
38
|
-
return this;
|
|
39
|
-
},
|
|
40
|
-
byPage: (settings) => {
|
|
41
|
-
if (settings?.maxPageSize) {
|
|
42
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
-
}
|
|
44
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
async *listBySubscriptionPagingPage(options, settings) {
|
|
49
|
-
let result;
|
|
50
|
-
let continuationToken = settings?.continuationToken;
|
|
51
|
-
if (!continuationToken) {
|
|
52
|
-
result = await this._listBySubscription(options);
|
|
53
|
-
let page = result.value || [];
|
|
54
|
-
continuationToken = result.nextLink;
|
|
55
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
-
yield page;
|
|
57
|
-
}
|
|
58
|
-
while (continuationToken) {
|
|
59
|
-
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
60
|
-
continuationToken = result.nextLink;
|
|
61
|
-
let page = result.value || [];
|
|
62
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
-
yield page;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
async *listBySubscriptionPagingAll(options) {
|
|
67
|
-
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
68
|
-
yield* page;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
|
73
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
74
|
-
* @param options The options parameters.
|
|
75
|
-
*/
|
|
76
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
77
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
78
|
-
return {
|
|
79
|
-
next() {
|
|
80
|
-
return iter.next();
|
|
81
|
-
},
|
|
82
|
-
[Symbol.asyncIterator]() {
|
|
83
|
-
return this;
|
|
84
|
-
},
|
|
85
|
-
byPage: (settings) => {
|
|
86
|
-
if (settings?.maxPageSize) {
|
|
87
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
88
|
-
}
|
|
89
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
90
|
-
},
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
94
|
-
let result;
|
|
95
|
-
let continuationToken = settings?.continuationToken;
|
|
96
|
-
if (!continuationToken) {
|
|
97
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
98
|
-
let page = result.value || [];
|
|
99
|
-
continuationToken = result.nextLink;
|
|
100
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
101
|
-
yield page;
|
|
102
|
-
}
|
|
103
|
-
while (continuationToken) {
|
|
104
|
-
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
105
|
-
continuationToken = result.nextLink;
|
|
106
|
-
let page = result.value || [];
|
|
107
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
108
|
-
yield page;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
112
|
-
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
113
|
-
yield* page;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Lists all the userAssignedIdentities available under the specified subscription.
|
|
118
|
-
* @param options The options parameters.
|
|
119
|
-
*/
|
|
120
|
-
_listBySubscription(options) {
|
|
121
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
|
125
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
126
|
-
* @param options The options parameters.
|
|
127
|
-
*/
|
|
128
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
129
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Create or update an identity in the specified subscription and resource group.
|
|
133
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
134
|
-
* @param resourceName The name of the identity resource.
|
|
135
|
-
* @param parameters Parameters to create or update the identity
|
|
136
|
-
* @param options The options parameters.
|
|
137
|
-
*/
|
|
138
|
-
createOrUpdate(resourceGroupName, resourceName, parameters, options) {
|
|
139
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Update an identity in the specified subscription and resource group.
|
|
143
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
144
|
-
* @param resourceName The name of the identity resource.
|
|
145
|
-
* @param parameters Parameters to update the identity
|
|
146
|
-
* @param options The options parameters.
|
|
147
|
-
*/
|
|
148
|
-
update(resourceGroupName, resourceName, parameters, options) {
|
|
149
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, updateOperationSpec);
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Gets the identity.
|
|
153
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
154
|
-
* @param resourceName The name of the identity resource.
|
|
155
|
-
* @param options The options parameters.
|
|
156
|
-
*/
|
|
157
|
-
get(resourceGroupName, resourceName, options) {
|
|
158
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Deletes the identity.
|
|
162
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
163
|
-
* @param resourceName The name of the identity resource.
|
|
164
|
-
* @param options The options parameters.
|
|
165
|
-
*/
|
|
166
|
-
delete(resourceGroupName, resourceName, options) {
|
|
167
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* ListBySubscriptionNext
|
|
171
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
172
|
-
* @param options The options parameters.
|
|
173
|
-
*/
|
|
174
|
-
_listBySubscriptionNext(nextLink, options) {
|
|
175
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* ListByResourceGroupNext
|
|
179
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
|
180
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
181
|
-
* @param options The options parameters.
|
|
182
|
-
*/
|
|
183
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
184
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
exports.UserAssignedIdentitiesImpl = UserAssignedIdentitiesImpl;
|
|
188
|
-
// Operation Specifications
|
|
189
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
190
|
-
const listBySubscriptionOperationSpec = {
|
|
191
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities",
|
|
192
|
-
httpMethod: "GET",
|
|
193
|
-
responses: {
|
|
194
|
-
200: {
|
|
195
|
-
bodyMapper: Mappers.UserAssignedIdentitiesListResult,
|
|
196
|
-
},
|
|
197
|
-
default: {
|
|
198
|
-
bodyMapper: Mappers.CloudError,
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
queryParameters: [Parameters.apiVersion],
|
|
202
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
203
|
-
headerParameters: [Parameters.accept],
|
|
204
|
-
serializer,
|
|
205
|
-
};
|
|
206
|
-
const listByResourceGroupOperationSpec = {
|
|
207
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities",
|
|
208
|
-
httpMethod: "GET",
|
|
209
|
-
responses: {
|
|
210
|
-
200: {
|
|
211
|
-
bodyMapper: Mappers.UserAssignedIdentitiesListResult,
|
|
212
|
-
},
|
|
213
|
-
default: {
|
|
214
|
-
bodyMapper: Mappers.CloudError,
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
queryParameters: [Parameters.apiVersion],
|
|
218
|
-
urlParameters: [
|
|
219
|
-
Parameters.$host,
|
|
220
|
-
Parameters.subscriptionId,
|
|
221
|
-
Parameters.resourceGroupName,
|
|
222
|
-
],
|
|
223
|
-
headerParameters: [Parameters.accept],
|
|
224
|
-
serializer,
|
|
225
|
-
};
|
|
226
|
-
const createOrUpdateOperationSpec = {
|
|
227
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
|
228
|
-
httpMethod: "PUT",
|
|
229
|
-
responses: {
|
|
230
|
-
200: {
|
|
231
|
-
bodyMapper: Mappers.Identity,
|
|
232
|
-
},
|
|
233
|
-
201: {
|
|
234
|
-
bodyMapper: Mappers.Identity,
|
|
235
|
-
},
|
|
236
|
-
default: {
|
|
237
|
-
bodyMapper: Mappers.CloudError,
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
requestBody: Parameters.parameters,
|
|
241
|
-
queryParameters: [Parameters.apiVersion],
|
|
242
|
-
urlParameters: [
|
|
243
|
-
Parameters.$host,
|
|
244
|
-
Parameters.subscriptionId,
|
|
245
|
-
Parameters.resourceGroupName,
|
|
246
|
-
Parameters.resourceName,
|
|
247
|
-
],
|
|
248
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
249
|
-
mediaType: "json",
|
|
250
|
-
serializer,
|
|
251
|
-
};
|
|
252
|
-
const updateOperationSpec = {
|
|
253
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
|
254
|
-
httpMethod: "PATCH",
|
|
255
|
-
responses: {
|
|
256
|
-
200: {
|
|
257
|
-
bodyMapper: Mappers.Identity,
|
|
258
|
-
},
|
|
259
|
-
default: {
|
|
260
|
-
bodyMapper: Mappers.CloudError,
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
requestBody: Parameters.parameters1,
|
|
264
|
-
queryParameters: [Parameters.apiVersion],
|
|
265
|
-
urlParameters: [
|
|
266
|
-
Parameters.$host,
|
|
267
|
-
Parameters.subscriptionId,
|
|
268
|
-
Parameters.resourceGroupName,
|
|
269
|
-
Parameters.resourceName,
|
|
270
|
-
],
|
|
271
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
272
|
-
mediaType: "json",
|
|
273
|
-
serializer,
|
|
274
|
-
};
|
|
275
|
-
const getOperationSpec = {
|
|
276
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
|
277
|
-
httpMethod: "GET",
|
|
278
|
-
responses: {
|
|
279
|
-
200: {
|
|
280
|
-
bodyMapper: Mappers.Identity,
|
|
281
|
-
},
|
|
282
|
-
default: {
|
|
283
|
-
bodyMapper: Mappers.CloudError,
|
|
284
|
-
},
|
|
285
|
-
},
|
|
286
|
-
queryParameters: [Parameters.apiVersion],
|
|
287
|
-
urlParameters: [
|
|
288
|
-
Parameters.$host,
|
|
289
|
-
Parameters.subscriptionId,
|
|
290
|
-
Parameters.resourceGroupName,
|
|
291
|
-
Parameters.resourceName,
|
|
292
|
-
],
|
|
293
|
-
headerParameters: [Parameters.accept],
|
|
294
|
-
serializer,
|
|
295
|
-
};
|
|
296
|
-
const deleteOperationSpec = {
|
|
297
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
|
298
|
-
httpMethod: "DELETE",
|
|
299
|
-
responses: {
|
|
300
|
-
200: {},
|
|
301
|
-
204: {},
|
|
302
|
-
default: {
|
|
303
|
-
bodyMapper: Mappers.CloudError,
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
queryParameters: [Parameters.apiVersion],
|
|
307
|
-
urlParameters: [
|
|
308
|
-
Parameters.$host,
|
|
309
|
-
Parameters.subscriptionId,
|
|
310
|
-
Parameters.resourceGroupName,
|
|
311
|
-
Parameters.resourceName,
|
|
312
|
-
],
|
|
313
|
-
headerParameters: [Parameters.accept],
|
|
314
|
-
serializer,
|
|
315
|
-
};
|
|
316
|
-
const listBySubscriptionNextOperationSpec = {
|
|
317
|
-
path: "{nextLink}",
|
|
318
|
-
httpMethod: "GET",
|
|
319
|
-
responses: {
|
|
320
|
-
200: {
|
|
321
|
-
bodyMapper: Mappers.UserAssignedIdentitiesListResult,
|
|
322
|
-
},
|
|
323
|
-
default: {
|
|
324
|
-
bodyMapper: Mappers.CloudError,
|
|
325
|
-
},
|
|
326
|
-
},
|
|
327
|
-
urlParameters: [
|
|
328
|
-
Parameters.$host,
|
|
329
|
-
Parameters.nextLink,
|
|
330
|
-
Parameters.subscriptionId,
|
|
331
|
-
],
|
|
332
|
-
headerParameters: [Parameters.accept],
|
|
333
|
-
serializer,
|
|
334
|
-
};
|
|
335
|
-
const listByResourceGroupNextOperationSpec = {
|
|
336
|
-
path: "{nextLink}",
|
|
337
|
-
httpMethod: "GET",
|
|
338
|
-
responses: {
|
|
339
|
-
200: {
|
|
340
|
-
bodyMapper: Mappers.UserAssignedIdentitiesListResult,
|
|
341
|
-
},
|
|
342
|
-
default: {
|
|
343
|
-
bodyMapper: Mappers.CloudError,
|
|
344
|
-
},
|
|
345
|
-
},
|
|
346
|
-
urlParameters: [
|
|
347
|
-
Parameters.$host,
|
|
348
|
-
Parameters.nextLink,
|
|
349
|
-
Parameters.subscriptionId,
|
|
350
|
-
Parameters.resourceGroupName,
|
|
351
|
-
],
|
|
352
|
-
headerParameters: [Parameters.accept],
|
|
353
|
-
serializer,
|
|
354
|
-
};
|
|
355
|
-
//# sourceMappingURL=userAssignedIdentities.js.map
|