@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,QAAQ,IAAI,cAAc,EAC1B,cAAc,IAAI,oBAAoB,EACtC,2BAA2B,IAAI,iCAAiC,GACjE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;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M,EAAE,iCAAiC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAA0B;IAC5E,aAAa,EAAE,yCAAyC;IACxD,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,sCAAsC,CAAC;SAC5D;QACD,cAAc,EAAE,yCAAyC;QACzD,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n Identity as IdentityMapper,\n IdentityUpdate as IdentityUpdateMapper,\n FederatedIdentityCredential as FederatedIdentityCredentialMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-11-30\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: IdentityMapper,\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: IdentityUpdateMapper,\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 1,\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const skiptoken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skiptoken\"],\n mapper: {\n serializedName: \"$skiptoken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FederatedIdentityCredentialMapper,\n};\n\nexport const federatedIdentityCredentialResourceName: OperationURLParameter = {\n parameterPath: \"federatedIdentityCredentialResourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$\"),\n },\n serializedName: \"federatedIdentityCredentialResourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { FederatedIdentityCredentials } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
|
|
4
|
-
import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing FederatedIdentityCredentials operations. */
|
|
6
|
-
export declare class FederatedIdentityCredentialsImpl implements FederatedIdentityCredentials {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class FederatedIdentityCredentials class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ManagedServiceIdentityClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all the federated identity credentials under the specified user assigned identity.
|
|
15
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param resourceName The name of the identity resource.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
list(resourceGroupName: string, resourceName: string, options?: FederatedIdentityCredentialsListOptionalParams): PagedAsyncIterableIterator<FederatedIdentityCredential>;
|
|
20
|
-
private listPagingPage;
|
|
21
|
-
private listPagingAll;
|
|
22
|
-
/**
|
|
23
|
-
* Lists all the federated identity credentials under the specified user assigned identity.
|
|
24
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
-
* @param resourceName The name of the identity resource.
|
|
26
|
-
* @param options The options parameters.
|
|
27
|
-
*/
|
|
28
|
-
private _list;
|
|
29
|
-
/**
|
|
30
|
-
* Create or update a federated identity credential under the specified user assigned identity.
|
|
31
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
-
* @param resourceName The name of the identity resource.
|
|
33
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
34
|
-
* resource.
|
|
35
|
-
* @param parameters Parameters to create or update the federated identity credential.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
createOrUpdate(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, parameters: FederatedIdentityCredential, options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* Gets the federated identity credential.
|
|
41
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
-
* @param resourceName The name of the identity resource.
|
|
43
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
44
|
-
* resource.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
get(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsGetOptionalParams): Promise<FederatedIdentityCredentialsGetResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Deletes the federated identity credential.
|
|
50
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
-
* @param resourceName The name of the identity resource.
|
|
52
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
53
|
-
* resource.
|
|
54
|
-
* @param options The options parameters.
|
|
55
|
-
*/
|
|
56
|
-
delete(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsDeleteOptionalParams): Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* ListNext
|
|
59
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
-
* @param resourceName The name of the identity resource.
|
|
61
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
private _listNext;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=federatedIdentityCredentials.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"federatedIdentityCredentials.d.ts","sourceRoot":"","sources":["../../../src/operations/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAIhF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,2BAA2B,EAE3B,8CAA8C,EAE9C,wDAAwD,EACxD,kDAAkD,EAClD,6CAA6C,EAC7C,uCAAuC,EACvC,gDAAgD,EAEjD,MAAM,oBAAoB,CAAC;AAG5B,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,2BAA2B,CAAC;YAuB3C,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC;IAa9D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAYnD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,uCAAuC,EAAE,MAAM,EAC/C,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers.js";
|
|
11
|
-
import * as Parameters from "../models/parameters.js";
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Class containing FederatedIdentityCredentials operations. */
|
|
14
|
-
export class FederatedIdentityCredentialsImpl {
|
|
15
|
-
client;
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class FederatedIdentityCredentials class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Lists all the federated identity credentials under the specified user assigned identity.
|
|
25
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
-
* @param resourceName The name of the identity resource.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(resourceGroupName, resourceName, options) {
|
|
30
|
-
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
31
|
-
return {
|
|
32
|
-
next() {
|
|
33
|
-
return iter.next();
|
|
34
|
-
},
|
|
35
|
-
[Symbol.asyncIterator]() {
|
|
36
|
-
return this;
|
|
37
|
-
},
|
|
38
|
-
byPage: (settings) => {
|
|
39
|
-
if (settings?.maxPageSize) {
|
|
40
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
-
}
|
|
42
|
-
return this.listPagingPage(resourceGroupName, resourceName, options, settings);
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
async *listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
47
|
-
let result;
|
|
48
|
-
let continuationToken = settings?.continuationToken;
|
|
49
|
-
if (!continuationToken) {
|
|
50
|
-
result = await this._list(resourceGroupName, resourceName, options);
|
|
51
|
-
let page = result.value || [];
|
|
52
|
-
continuationToken = result.nextLink;
|
|
53
|
-
setContinuationToken(page, continuationToken);
|
|
54
|
-
yield page;
|
|
55
|
-
}
|
|
56
|
-
while (continuationToken) {
|
|
57
|
-
result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);
|
|
58
|
-
continuationToken = result.nextLink;
|
|
59
|
-
let page = result.value || [];
|
|
60
|
-
setContinuationToken(page, continuationToken);
|
|
61
|
-
yield page;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
async *listPagingAll(resourceGroupName, resourceName, options) {
|
|
65
|
-
for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {
|
|
66
|
-
yield* page;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Lists all the federated identity credentials under the specified user assigned identity.
|
|
71
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
-
* @param resourceName The name of the identity resource.
|
|
73
|
-
* @param options The options parameters.
|
|
74
|
-
*/
|
|
75
|
-
_list(resourceGroupName, resourceName, options) {
|
|
76
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Create or update a federated identity credential under the specified user assigned identity.
|
|
80
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
81
|
-
* @param resourceName The name of the identity resource.
|
|
82
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
83
|
-
* resource.
|
|
84
|
-
* @param parameters Parameters to create or update the federated identity credential.
|
|
85
|
-
* @param options The options parameters.
|
|
86
|
-
*/
|
|
87
|
-
createOrUpdate(resourceGroupName, resourceName, federatedIdentityCredentialResourceName, parameters, options) {
|
|
88
|
-
return this.client.sendOperationRequest({
|
|
89
|
-
resourceGroupName,
|
|
90
|
-
resourceName,
|
|
91
|
-
federatedIdentityCredentialResourceName,
|
|
92
|
-
parameters,
|
|
93
|
-
options,
|
|
94
|
-
}, createOrUpdateOperationSpec);
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Gets the federated identity credential.
|
|
98
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
-
* @param resourceName The name of the identity resource.
|
|
100
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
101
|
-
* resource.
|
|
102
|
-
* @param options The options parameters.
|
|
103
|
-
*/
|
|
104
|
-
get(resourceGroupName, resourceName, federatedIdentityCredentialResourceName, options) {
|
|
105
|
-
return this.client.sendOperationRequest({
|
|
106
|
-
resourceGroupName,
|
|
107
|
-
resourceName,
|
|
108
|
-
federatedIdentityCredentialResourceName,
|
|
109
|
-
options,
|
|
110
|
-
}, getOperationSpec);
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Deletes the federated identity credential.
|
|
114
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
-
* @param resourceName The name of the identity resource.
|
|
116
|
-
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
|
117
|
-
* resource.
|
|
118
|
-
* @param options The options parameters.
|
|
119
|
-
*/
|
|
120
|
-
delete(resourceGroupName, resourceName, federatedIdentityCredentialResourceName, options) {
|
|
121
|
-
return this.client.sendOperationRequest({
|
|
122
|
-
resourceGroupName,
|
|
123
|
-
resourceName,
|
|
124
|
-
federatedIdentityCredentialResourceName,
|
|
125
|
-
options,
|
|
126
|
-
}, deleteOperationSpec);
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* ListNext
|
|
130
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
|
-
* @param resourceName The name of the identity resource.
|
|
132
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
133
|
-
* @param options The options parameters.
|
|
134
|
-
*/
|
|
135
|
-
_listNext(resourceGroupName, resourceName, nextLink, options) {
|
|
136
|
-
return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
// Operation Specifications
|
|
140
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
141
|
-
const listOperationSpec = {
|
|
142
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials",
|
|
143
|
-
httpMethod: "GET",
|
|
144
|
-
responses: {
|
|
145
|
-
200: {
|
|
146
|
-
bodyMapper: Mappers.FederatedIdentityCredentialsListResult,
|
|
147
|
-
},
|
|
148
|
-
default: {
|
|
149
|
-
bodyMapper: Mappers.CloudError,
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
queryParameters: [
|
|
153
|
-
Parameters.apiVersion,
|
|
154
|
-
Parameters.top,
|
|
155
|
-
Parameters.skiptoken,
|
|
156
|
-
],
|
|
157
|
-
urlParameters: [
|
|
158
|
-
Parameters.$host,
|
|
159
|
-
Parameters.subscriptionId,
|
|
160
|
-
Parameters.resourceName,
|
|
161
|
-
Parameters.resourceGroupName1,
|
|
162
|
-
],
|
|
163
|
-
headerParameters: [Parameters.accept],
|
|
164
|
-
serializer,
|
|
165
|
-
};
|
|
166
|
-
const createOrUpdateOperationSpec = {
|
|
167
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}",
|
|
168
|
-
httpMethod: "PUT",
|
|
169
|
-
responses: {
|
|
170
|
-
200: {
|
|
171
|
-
bodyMapper: Mappers.FederatedIdentityCredential,
|
|
172
|
-
},
|
|
173
|
-
201: {
|
|
174
|
-
bodyMapper: Mappers.FederatedIdentityCredential,
|
|
175
|
-
},
|
|
176
|
-
default: {
|
|
177
|
-
bodyMapper: Mappers.CloudError,
|
|
178
|
-
},
|
|
179
|
-
},
|
|
180
|
-
requestBody: Parameters.parameters2,
|
|
181
|
-
queryParameters: [Parameters.apiVersion],
|
|
182
|
-
urlParameters: [
|
|
183
|
-
Parameters.$host,
|
|
184
|
-
Parameters.subscriptionId,
|
|
185
|
-
Parameters.resourceName,
|
|
186
|
-
Parameters.resourceGroupName1,
|
|
187
|
-
Parameters.federatedIdentityCredentialResourceName,
|
|
188
|
-
],
|
|
189
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
190
|
-
mediaType: "json",
|
|
191
|
-
serializer,
|
|
192
|
-
};
|
|
193
|
-
const getOperationSpec = {
|
|
194
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}",
|
|
195
|
-
httpMethod: "GET",
|
|
196
|
-
responses: {
|
|
197
|
-
200: {
|
|
198
|
-
bodyMapper: Mappers.FederatedIdentityCredential,
|
|
199
|
-
},
|
|
200
|
-
default: {
|
|
201
|
-
bodyMapper: Mappers.CloudError,
|
|
202
|
-
},
|
|
203
|
-
},
|
|
204
|
-
queryParameters: [Parameters.apiVersion],
|
|
205
|
-
urlParameters: [
|
|
206
|
-
Parameters.$host,
|
|
207
|
-
Parameters.subscriptionId,
|
|
208
|
-
Parameters.resourceName,
|
|
209
|
-
Parameters.resourceGroupName1,
|
|
210
|
-
Parameters.federatedIdentityCredentialResourceName,
|
|
211
|
-
],
|
|
212
|
-
headerParameters: [Parameters.accept],
|
|
213
|
-
serializer,
|
|
214
|
-
};
|
|
215
|
-
const deleteOperationSpec = {
|
|
216
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}",
|
|
217
|
-
httpMethod: "DELETE",
|
|
218
|
-
responses: {
|
|
219
|
-
200: {},
|
|
220
|
-
204: {},
|
|
221
|
-
default: {
|
|
222
|
-
bodyMapper: Mappers.CloudError,
|
|
223
|
-
},
|
|
224
|
-
},
|
|
225
|
-
queryParameters: [Parameters.apiVersion],
|
|
226
|
-
urlParameters: [
|
|
227
|
-
Parameters.$host,
|
|
228
|
-
Parameters.subscriptionId,
|
|
229
|
-
Parameters.resourceName,
|
|
230
|
-
Parameters.resourceGroupName1,
|
|
231
|
-
Parameters.federatedIdentityCredentialResourceName,
|
|
232
|
-
],
|
|
233
|
-
headerParameters: [Parameters.accept],
|
|
234
|
-
serializer,
|
|
235
|
-
};
|
|
236
|
-
const listNextOperationSpec = {
|
|
237
|
-
path: "{nextLink}",
|
|
238
|
-
httpMethod: "GET",
|
|
239
|
-
responses: {
|
|
240
|
-
200: {
|
|
241
|
-
bodyMapper: Mappers.FederatedIdentityCredentialsListResult,
|
|
242
|
-
},
|
|
243
|
-
default: {
|
|
244
|
-
bodyMapper: Mappers.CloudError,
|
|
245
|
-
},
|
|
246
|
-
},
|
|
247
|
-
urlParameters: [
|
|
248
|
-
Parameters.$host,
|
|
249
|
-
Parameters.nextLink,
|
|
250
|
-
Parameters.subscriptionId,
|
|
251
|
-
Parameters.resourceName,
|
|
252
|
-
Parameters.resourceGroupName1,
|
|
253
|
-
],
|
|
254
|
-
headerParameters: [Parameters.accept],
|
|
255
|
-
serializer,
|
|
256
|
-
};
|
|
257
|
-
//# sourceMappingURL=federatedIdentityCredentials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"federatedIdentityCredentials.js","sourceRoot":"","sources":["../../../src/operations/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,gEAAgE;AAChE,MAAM,OAAO,gCAAgC;IAG1B,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,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,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,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Aa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,uCAAuC;KACnD;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,qNAAqN;IAC3N,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,uCAAuC;KACnD;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { FederatedIdentityCredentials } 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 FederatedIdentityCredential,\n FederatedIdentityCredentialsListNextOptionalParams,\n FederatedIdentityCredentialsListOptionalParams,\n FederatedIdentityCredentialsListResponse,\n FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateResponse,\n FederatedIdentityCredentialsGetOptionalParams,\n FederatedIdentityCredentialsGetResponse,\n FederatedIdentityCredentialsDeleteOptionalParams,\n FederatedIdentityCredentialsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing FederatedIdentityCredentials operations. */\nexport class FederatedIdentityCredentialsImpl\n implements FederatedIdentityCredentials\n{\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class FederatedIdentityCredentials class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists all the federated identity credentials under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n ): PagedAsyncIterableIterator<FederatedIdentityCredential> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, 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(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<FederatedIdentityCredential[]> {\n let result: FederatedIdentityCredentialsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, 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(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n ): AsyncIterableIterator<FederatedIdentityCredential> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the federated identity credentials under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n ): Promise<FederatedIdentityCredentialsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Create or update a federated identity credential under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param parameters Parameters to create or update the federated identity credential.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n parameters: FederatedIdentityCredential,\n options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n ): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Gets the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsGetOptionalParams,\n ): Promise<FederatedIdentityCredentialsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n federatedIdentityCredentialResourceName,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: FederatedIdentityCredentialsListNextOptionalParams,\n ): Promise<FederatedIdentityCredentialsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredentialsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.skiptoken,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredential,\n },\n 201: {\n bodyMapper: Mappers.FederatedIdentityCredential,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredential,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.federatedIdentityCredentialResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FederatedIdentityCredentialsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export * from "./systemAssignedIdentities.js";
|
|
9
|
-
export * from "./operations.js";
|
|
10
|
-
export * from "./userAssignedIdentities.js";
|
|
11
|
-
export * from "./federatedIdentityCredentials.js";
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,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\nexport * from \"./systemAssignedIdentities.js\";\nexport * from \"./operations.js\";\nexport * from \"./userAssignedIdentities.js\";\nexport * from \"./federatedIdentityCredentials.js\";\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
|
|
4
|
-
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing Operations operations. */
|
|
6
|
-
export declare class OperationsImpl implements Operations {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Operations class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ManagedServiceIdentityClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
/**
|
|
26
|
-
* ListNext
|
|
27
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
private _listNext;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers.js";
|
|
11
|
-
import * as Parameters from "../models/parameters.js";
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Class containing Operations operations. */
|
|
14
|
-
export class OperationsImpl {
|
|
15
|
-
client;
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class Operations class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
25
|
-
* @param options The options parameters.
|
|
26
|
-
*/
|
|
27
|
-
list(options) {
|
|
28
|
-
const iter = this.listPagingAll(options);
|
|
29
|
-
return {
|
|
30
|
-
next() {
|
|
31
|
-
return iter.next();
|
|
32
|
-
},
|
|
33
|
-
[Symbol.asyncIterator]() {
|
|
34
|
-
return this;
|
|
35
|
-
},
|
|
36
|
-
byPage: (settings) => {
|
|
37
|
-
if (settings?.maxPageSize) {
|
|
38
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
-
}
|
|
40
|
-
return this.listPagingPage(options, settings);
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
async *listPagingPage(options, settings) {
|
|
45
|
-
let result;
|
|
46
|
-
let continuationToken = settings?.continuationToken;
|
|
47
|
-
if (!continuationToken) {
|
|
48
|
-
result = await this._list(options);
|
|
49
|
-
let page = result.value || [];
|
|
50
|
-
continuationToken = result.nextLink;
|
|
51
|
-
setContinuationToken(page, continuationToken);
|
|
52
|
-
yield page;
|
|
53
|
-
}
|
|
54
|
-
while (continuationToken) {
|
|
55
|
-
result = await this._listNext(continuationToken, options);
|
|
56
|
-
continuationToken = result.nextLink;
|
|
57
|
-
let page = result.value || [];
|
|
58
|
-
setContinuationToken(page, continuationToken);
|
|
59
|
-
yield page;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
async *listPagingAll(options) {
|
|
63
|
-
for await (const page of this.listPagingPage(options)) {
|
|
64
|
-
yield* page;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Lists available operations for the Microsoft.ManagedIdentity provider
|
|
69
|
-
* @param options The options parameters.
|
|
70
|
-
*/
|
|
71
|
-
_list(options) {
|
|
72
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* ListNext
|
|
76
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
77
|
-
* @param options The options parameters.
|
|
78
|
-
*/
|
|
79
|
-
_listNext(nextLink, options) {
|
|
80
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// Operation Specifications
|
|
84
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
85
|
-
const listOperationSpec = {
|
|
86
|
-
path: "/providers/Microsoft.ManagedIdentity/operations",
|
|
87
|
-
httpMethod: "GET",
|
|
88
|
-
responses: {
|
|
89
|
-
200: {
|
|
90
|
-
bodyMapper: Mappers.OperationListResult,
|
|
91
|
-
},
|
|
92
|
-
default: {
|
|
93
|
-
bodyMapper: Mappers.CloudError,
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
queryParameters: [Parameters.apiVersion],
|
|
97
|
-
urlParameters: [Parameters.$host],
|
|
98
|
-
headerParameters: [Parameters.accept],
|
|
99
|
-
serializer,
|
|
100
|
-
};
|
|
101
|
-
const listNextOperationSpec = {
|
|
102
|
-
path: "{nextLink}",
|
|
103
|
-
httpMethod: "GET",
|
|
104
|
-
responses: {
|
|
105
|
-
200: {
|
|
106
|
-
bodyMapper: Mappers.OperationListResult,
|
|
107
|
-
},
|
|
108
|
-
default: {
|
|
109
|
-
bodyMapper: Mappers.CloudError,
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
113
|
-
headerParameters: [Parameters.accept],
|
|
114
|
-
serializer,
|
|
115
|
-
};
|
|
116
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,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,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W,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"}
|