@azure/arm-msi 2.1.1-alpha.20250214.1 → 2.1.1-alpha.20250218.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 +21 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/managedServiceIdentityClient.d.ts +2 -2
- package/dist/browser/managedServiceIdentityClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/managedServiceIdentityClient.js +15 -18
- package/dist/browser/managedServiceIdentityClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/federatedIdentityCredentials.d.ts +3 -3
- package/dist/browser/operations/federatedIdentityCredentials.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/federatedIdentityCredentials.js +3 -3
- package/dist/browser/operations/federatedIdentityCredentials.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/systemAssignedIdentities.d.ts +3 -3
- package/dist/browser/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/systemAssignedIdentities.js +2 -2
- package/dist/browser/operations/systemAssignedIdentities.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/userAssignedIdentities.d.ts +3 -3
- package/dist/browser/operations/userAssignedIdentities.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/userAssignedIdentities.js +3 -3
- package/dist/browser/operations/userAssignedIdentities.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/federatedIdentityCredentials.d.ts +1 -1
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/userAssignedIdentities.d.ts +1 -1
- package/dist/browser/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/userAssignedIdentities.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/managedServiceIdentityClient.d.ts +23 -0
- package/dist/commonjs/managedServiceIdentityClient.d.ts.map +1 -0
- package/dist/commonjs/managedServiceIdentityClient.js +105 -0
- package/dist/commonjs/managedServiceIdentityClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +298 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +23 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +17 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +432 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +18 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +168 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/federatedIdentityCredentials.d.ts +66 -0
- package/dist/commonjs/operations/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/commonjs/operations/federatedIdentityCredentials.js +278 -0
- package/dist/commonjs/operations/federatedIdentityCredentials.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/systemAssignedIdentities.d.ts +20 -0
- package/dist/commonjs/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/commonjs/operations/systemAssignedIdentities.js +53 -0
- package/dist/commonjs/operations/systemAssignedIdentities.js.map +1 -0
- package/dist/commonjs/operations/userAssignedIdentities.d.ts +83 -0
- package/dist/commonjs/operations/userAssignedIdentities.d.ts.map +1 -0
- package/dist/commonjs/operations/userAssignedIdentities.js +388 -0
- package/dist/commonjs/operations/userAssignedIdentities.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js +10 -0
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js +10 -0
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js +10 -0
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/managedServiceIdentityClient.d.ts +23 -0
- package/dist/esm/managedServiceIdentityClient.d.ts.map +1 -0
- package/dist/esm/managedServiceIdentityClient.js +100 -0
- package/dist/esm/managedServiceIdentityClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +298 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +17 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +429 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +18 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +165 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/federatedIdentityCredentials.d.ts +66 -0
- package/dist/esm/operations/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/esm/operations/federatedIdentityCredentials.js +274 -0
- package/dist/esm/operations/federatedIdentityCredentials.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/systemAssignedIdentities.d.ts +20 -0
- package/dist/esm/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/esm/operations/systemAssignedIdentities.js +48 -0
- package/dist/esm/operations/systemAssignedIdentities.js.map +1 -0
- package/dist/esm/operations/userAssignedIdentities.d.ts +83 -0
- package/dist/esm/operations/userAssignedIdentities.d.ts.map +1 -0
- package/dist/esm/operations/userAssignedIdentities.js +384 -0
- package/dist/esm/operations/userAssignedIdentities.js.map +1 -0
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js +9 -0
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.js +9 -0
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
- package/dist/esm/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/userAssignedIdentities.js +9 -0
- package/dist/esm/operationsInterfaces/userAssignedIdentities.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/managedServiceIdentityClient.d.ts +23 -0
- package/dist/react-native/managedServiceIdentityClient.d.ts.map +1 -0
- package/dist/react-native/managedServiceIdentityClient.js +100 -0
- package/dist/react-native/managedServiceIdentityClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +298 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +20 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +17 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +429 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +18 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +165 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/federatedIdentityCredentials.d.ts +66 -0
- package/dist/react-native/operations/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/react-native/operations/federatedIdentityCredentials.js +274 -0
- package/dist/react-native/operations/federatedIdentityCredentials.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/systemAssignedIdentities.d.ts +20 -0
- package/dist/react-native/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/react-native/operations/systemAssignedIdentities.js +48 -0
- package/dist/react-native/operations/systemAssignedIdentities.js.map +1 -0
- package/dist/react-native/operations/userAssignedIdentities.d.ts +83 -0
- package/dist/react-native/operations/userAssignedIdentities.d.ts.map +1 -0
- package/dist/react-native/operations/userAssignedIdentities.js +384 -0
- package/dist/react-native/operations/userAssignedIdentities.js.map +1 -0
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js +9 -0
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js +9 -0
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.js +9 -0
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1615
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js +0 -37
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js +0 -52
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js +0 -35
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js +0 -33
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js +0 -36
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js +0 -33
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/managedServiceIdentityClient.d.ts.map +0 -1
- package/dist-esm/src/managedServiceIdentityClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist-esm/src/operations/federatedIdentityCredentials.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/systemAssignedIdentities.d.ts.map +0 -1
- package/dist-esm/src/operations/systemAssignedIdentities.js.map +0 -1
- package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +0 -1
- package/dist-esm/src/operations/userAssignedIdentities.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/managedServiceIdentityClient.ts +0 -158
- package/src/models/index.ts +0 -348
- package/src/models/mappers.ts +0 -476
- package/src/models/parameters.ts +0 -190
- package/src/operations/federatedIdentityCredentials.ts +0 -355
- package/src/operations/index.ts +0 -12
- package/src/operations/operations.ts +0 -149
- package/src/operations/systemAssignedIdentities.ts +0 -65
- package/src/operations/userAssignedIdentities.ts +0 -477
- package/src/operationsInterfaces/federatedIdentityCredentials.ts +0 -78
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/systemAssignedIdentities.ts +0 -26
- package/src/operationsInterfaces/userAssignedIdentities.ts +0 -91
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-msi.d.ts +0 -481
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/federatedIdentityCredentials.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/userAssignedIdentities.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.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;AAsBtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAA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UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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 { UserAssignedIdentities } 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 Identity,\n UserAssignedIdentitiesListBySubscriptionNextOptionalParams,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListBySubscriptionResponse,\n UserAssignedIdentitiesListByResourceGroupNextOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesListByResourceGroupResponse,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams,\n UserAssignedIdentitiesListBySubscriptionNextResponse,\n UserAssignedIdentitiesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UserAssignedIdentities operations. */\nexport class UserAssignedIdentitiesImpl implements UserAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class UserAssignedIdentities 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 userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\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 *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): Promise<UserAssignedIdentitiesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): Promise<UserAssignedIdentitiesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Create or update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to create or update the identity\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Identity,\n options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to update the identity\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n parameters: IdentityUpdate,\n options?: UserAssignedIdentitiesUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesGetOptionalParams\n ): Promise<UserAssignedIdentitiesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: UserAssignedIdentitiesListBySubscriptionNextOptionalParams\n ): Promise<UserAssignedIdentitiesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: UserAssignedIdentitiesListByResourceGroupNextOptionalParams\n ): Promise<UserAssignedIdentitiesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n 201: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\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.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
package/{dist-esm/src → dist/browser}/operationsInterfaces/federatedIdentityCredentials.d.ts
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models";
|
2
|
+
import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models/index.js";
|
3
3
|
/** Interface representing a FederatedIdentityCredentials. */
|
4
4
|
export interface FederatedIdentityCredentials {
|
5
5
|
/**
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"federatedIdentityCredentials.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,8CAA8C,EAC9C,wDAAwD,EACxD,kDAAkD,EAClD,6CAA6C,EAC7C,uCAAuC,EACvC,gDAAgD,EACjD,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,MAAM,WAAW,4BAA4B;IAC3C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;IAC3D;;;;;;;;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,CAAC;IAC/D;;;;;;;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,CAAC;IACpD;;;;;;;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,CAAC;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"federatedIdentityCredentials.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n FederatedIdentityCredential,\n FederatedIdentityCredentialsListOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateResponse,\n FederatedIdentityCredentialsGetOptionalParams,\n FederatedIdentityCredentialsGetResponse,\n FederatedIdentityCredentialsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a FederatedIdentityCredentials. */\nexport interface FederatedIdentityCredentials {\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 list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams\n ): PagedAsyncIterableIterator<FederatedIdentityCredential>;\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 /**\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 /**\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}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC"}
|
@@ -5,8 +5,8 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
export * from "./systemAssignedIdentities";
|
9
|
-
export * from "./operations";
|
10
|
-
export * from "./userAssignedIdentities";
|
11
|
-
export * from "./federatedIdentityCredentials";
|
8
|
+
export * from "./systemAssignedIdentities.js";
|
9
|
+
export * from "./operations.js";
|
10
|
+
export * from "./userAssignedIdentities.js";
|
11
|
+
export * from "./federatedIdentityCredentials.js";
|
12
12
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/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,5 +1,5 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
3
3
|
/** Interface representing a Operations. */
|
4
4
|
export interface Operations {
|
5
5
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SystemAssignedIdentitiesGetByScopeOptionalParams, SystemAssignedIdentitiesGetByScopeResponse } from "../models";
|
1
|
+
import { SystemAssignedIdentitiesGetByScopeOptionalParams, SystemAssignedIdentitiesGetByScopeResponse } from "../models/index.js";
|
2
2
|
/** Interface representing a SystemAssignedIdentities. */
|
3
3
|
export interface SystemAssignedIdentities {
|
4
4
|
/**
|
package/{dist-esm/src → dist/browser}/operationsInterfaces/systemAssignedIdentities.d.ts.map
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"systemAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/systemAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,
|
1
|
+
{"version":3,"file":"systemAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/systemAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,yDAAyD;AACzD,MAAM,WAAW,wBAAwB;IACvC;;;;;OAKG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/systemAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse\n} from \"../models/index.js\";\n\n/** Interface representing a SystemAssignedIdentities. */\nexport interface SystemAssignedIdentities {\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}\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models";
|
2
|
+
import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models/index.js";
|
3
3
|
/** Interface representing a UserAssignedIdentities. */
|
4
4
|
export interface UserAssignedIdentities {
|
5
5
|
/**
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"userAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/userAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,sDAAsD,EACtD,uDAAuD,EACvD,kDAAkD,EAClD,4CAA4C,EAC5C,cAAc,EACd,0CAA0C,EAC1C,oCAAoC,EACpC,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;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,CAAC;IACzD;;;;;;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,CAAC;IACjD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/userAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Identity,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UserAssignedIdentities. */\nexport interface UserAssignedIdentities {\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Identity>;\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Identity>;\n /**\n * Create or update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to create or update the identity\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Identity,\n options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesCreateOrUpdateResponse>;\n /**\n * Update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to update the identity\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n parameters: IdentityUpdate,\n options?: UserAssignedIdentitiesUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesUpdateResponse>;\n /**\n * Gets the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesGetOptionalParams\n ): Promise<UserAssignedIdentitiesGetResponse>;\n /**\n * Deletes the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,cAAc,iCAAiC,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
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.ManagedServiceIdentityClient = exports.getContinuationToken = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
16
|
+
var managedServiceIdentityClient_js_1 = require("./managedServiceIdentityClient.js");
|
17
|
+
Object.defineProperty(exports, "ManagedServiceIdentityClient", { enumerable: true, get: function () { return managedServiceIdentityClient_js_1.ManagedServiceIdentityClient; } });
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ManagedServiceIdentityClient } from \"./managedServiceIdentityClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { SystemAssignedIdentities, Operations, UserAssignedIdentities, FederatedIdentityCredentials } from "./operationsInterfaces/index.js";
|
4
|
+
import { ManagedServiceIdentityClientOptionalParams } from "./models/index.js";
|
5
|
+
export declare class ManagedServiceIdentityClient extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the ManagedServiceIdentityClient class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId The Id of the Subscription to which the identity belongs.
|
13
|
+
* @param options The parameter options
|
14
|
+
*/
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ManagedServiceIdentityClientOptionalParams);
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
|
+
private addCustomApiVersionPolicy;
|
18
|
+
systemAssignedIdentities: SystemAssignedIdentities;
|
19
|
+
operations: Operations;
|
20
|
+
userAssignedIdentities: UserAssignedIdentities;
|
21
|
+
federatedIdentityCredentials: FederatedIdentityCredentials;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=managedServiceIdentityClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managedServiceIdentityClient.d.ts","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0CAA0C,EAAE,MAAM,mBAAmB,CAAC;AAE/E,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAiFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;IACvB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D"}
|
@@ -0,0 +1,105 @@
|
|
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.ManagedServiceIdentityClient = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
15
|
+
class ManagedServiceIdentityClient extends coreClient.ServiceClient {
|
16
|
+
/**
|
17
|
+
* Initializes a new instance of the ManagedServiceIdentityClient class.
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
19
|
+
* @param subscriptionId The Id of the Subscription to which the identity belongs.
|
20
|
+
* @param options The parameter options
|
21
|
+
*/
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
23
|
+
var _a, _b, _c;
|
24
|
+
if (credentials === undefined) {
|
25
|
+
throw new Error("'credentials' cannot be null");
|
26
|
+
}
|
27
|
+
if (subscriptionId === undefined) {
|
28
|
+
throw new Error("'subscriptionId' cannot be null");
|
29
|
+
}
|
30
|
+
// Initializing default values for options
|
31
|
+
if (!options) {
|
32
|
+
options = {};
|
33
|
+
}
|
34
|
+
const defaults = {
|
35
|
+
requestContentType: "application/json; charset=utf-8",
|
36
|
+
credential: credentials
|
37
|
+
};
|
38
|
+
const packageDetails = `azsdk-js-arm-msi/2.1.1`;
|
39
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
40
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
41
|
+
: `${packageDetails}`;
|
42
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
43
|
+
userAgentPrefix
|
44
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
45
|
+
super(optionsWithDefaults);
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
47
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
48
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
50
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
51
|
+
}
|
52
|
+
if (!options ||
|
53
|
+
!options.pipeline ||
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
56
|
+
this.pipeline.removePolicy({
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
58
|
+
});
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
60
|
+
credential: credentials,
|
61
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
62
|
+
challengeCallbacks: {
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
64
|
+
}
|
65
|
+
}));
|
66
|
+
}
|
67
|
+
// Parameter assignments
|
68
|
+
this.subscriptionId = subscriptionId;
|
69
|
+
// Assigning values to Constant parameters
|
70
|
+
this.$host = options.$host || "https://management.azure.com";
|
71
|
+
this.apiVersion = options.apiVersion || "2023-01-31";
|
72
|
+
this.systemAssignedIdentities = new index_js_1.SystemAssignedIdentitiesImpl(this);
|
73
|
+
this.operations = new index_js_1.OperationsImpl(this);
|
74
|
+
this.userAssignedIdentities = new index_js_1.UserAssignedIdentitiesImpl(this);
|
75
|
+
this.federatedIdentityCredentials = new index_js_1.FederatedIdentityCredentialsImpl(this);
|
76
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
77
|
+
}
|
78
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
79
|
+
addCustomApiVersionPolicy(apiVersion) {
|
80
|
+
if (!apiVersion) {
|
81
|
+
return;
|
82
|
+
}
|
83
|
+
const apiVersionPolicy = {
|
84
|
+
name: "CustomApiVersionPolicy",
|
85
|
+
async sendRequest(request, next) {
|
86
|
+
const param = request.url.split("?");
|
87
|
+
if (param.length > 1) {
|
88
|
+
const newParams = param[1].split("&").map((item) => {
|
89
|
+
if (item.indexOf("api-version") > -1) {
|
90
|
+
return "api-version=" + apiVersion;
|
91
|
+
}
|
92
|
+
else {
|
93
|
+
return item;
|
94
|
+
}
|
95
|
+
});
|
96
|
+
request.url = param[0] + "?" + newParams.join("&");
|
97
|
+
}
|
98
|
+
return next(request);
|
99
|
+
}
|
100
|
+
};
|
101
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
exports.ManagedServiceIdentityClient = ManagedServiceIdentityClient;
|
105
|
+
//# sourceMappingURL=managedServiceIdentityClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managedServiceIdentityClient.js","sourceR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AAI,CAAC,4BAA4B,GAAG,IAAI,2CAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAMF;AA/HD,oEA+HC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SystemAssignedIdentitiesImpl,\n OperationsImpl,\n UserAssignedIdentitiesImpl,\n FederatedIdentityCredentialsImpl\n} from \"./operations/index.js\";\nimport {\n SystemAssignedIdentities,\n Operations,\n UserAssignedIdentities,\n FederatedIdentityCredentials\n} from \"./operationsInterfaces/index.js\";\nimport { ManagedServiceIdentityClientOptionalParams } from \"./models/index.js\";\n\nexport class ManagedServiceIdentityClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagedServiceIdentityClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Id of the Subscription to which the identity belongs.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagedServiceIdentityClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagedServiceIdentityClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-msi/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-31\";\n this.systemAssignedIdentities = new SystemAssignedIdentitiesImpl(this);\n this.operations = new OperationsImpl(this);\n this.userAssignedIdentities = new UserAssignedIdentitiesImpl(this);\n this.federatedIdentityCredentials = new FederatedIdentityCredentialsImpl(\n this\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n systemAssignedIdentities: SystemAssignedIdentities;\n operations: Operations;\n userAssignedIdentities: UserAssignedIdentities;\n federatedIdentityCredentials: FederatedIdentityCredentials;\n}\n"]}
|