@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,48 @@
|
|
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 * as coreClient from "@azure/core-client";
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
11
|
+
/** Class containing SystemAssignedIdentities operations. */
|
12
|
+
export class SystemAssignedIdentitiesImpl {
|
13
|
+
/**
|
14
|
+
* Initialize a new instance of the class SystemAssignedIdentities class.
|
15
|
+
* @param client Reference to the service client
|
16
|
+
*/
|
17
|
+
constructor(client) {
|
18
|
+
this.client = client;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* Gets the systemAssignedIdentity available under the specified RP scope.
|
22
|
+
* @param scope The resource provider scope of the resource. Parent resource being extended by Managed
|
23
|
+
* Identities.
|
24
|
+
* @param options The options parameters.
|
25
|
+
*/
|
26
|
+
getByScope(scope, options) {
|
27
|
+
return this.client.sendOperationRequest({ scope, options }, getByScopeOperationSpec);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
// Operation Specifications
|
31
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
32
|
+
const getByScopeOperationSpec = {
|
33
|
+
path: "/{scope}/providers/Microsoft.ManagedIdentity/identities/default",
|
34
|
+
httpMethod: "GET",
|
35
|
+
responses: {
|
36
|
+
200: {
|
37
|
+
bodyMapper: Mappers.SystemAssignedIdentity
|
38
|
+
},
|
39
|
+
default: {
|
40
|
+
bodyMapper: Mappers.CloudError
|
41
|
+
}
|
42
|
+
},
|
43
|
+
queryParameters: [Parameters.apiVersion],
|
44
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
45
|
+
headerParameters: [Parameters.accept],
|
46
|
+
serializer
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=systemAssignedIdentities.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/systemAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,4DAA4D;AAC5D,MAAM,OAAO,4BAA4B;IAGvC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,UAAU,CACR,KAAa,EACb,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,KAAK,EAAE,OAAO,EAAE,EAClB,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SystemAssignedIdentities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse\n} from \"../models/index.js\";\n\n/** Class containing SystemAssignedIdentities operations. */\nexport class SystemAssignedIdentitiesImpl implements SystemAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class SystemAssignedIdentities class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Gets the systemAssignedIdentity available under the specified RP scope.\n * @param scope The resource provider scope of the resource. Parent resource being extended by Managed\n * Identities.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n options?: SystemAssignedIdentitiesGetByScopeOptionalParams\n ): Promise<SystemAssignedIdentitiesGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n getByScopeOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.ManagedIdentity/identities/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SystemAssignedIdentity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { UserAssignedIdentities } from "../operationsInterfaces/index.js";
|
3
|
+
import { ManagedServiceIdentityClient } from "../managedServiceIdentityClient.js";
|
4
|
+
import { Identity, UserAssignedIdentitiesListBySubscriptionOptionalParams, UserAssignedIdentitiesListByResourceGroupOptionalParams, UserAssignedIdentitiesCreateOrUpdateOptionalParams, UserAssignedIdentitiesCreateOrUpdateResponse, IdentityUpdate, UserAssignedIdentitiesUpdateOptionalParams, UserAssignedIdentitiesUpdateResponse, UserAssignedIdentitiesGetOptionalParams, UserAssignedIdentitiesGetResponse, UserAssignedIdentitiesDeleteOptionalParams } from "../models/index.js";
|
5
|
+
/** Class containing UserAssignedIdentities operations. */
|
6
|
+
export declare class UserAssignedIdentitiesImpl implements UserAssignedIdentities {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class UserAssignedIdentities class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: ManagedServiceIdentityClient);
|
13
|
+
/**
|
14
|
+
* Lists all the userAssignedIdentities available under the specified subscription.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
listBySubscription(options?: UserAssignedIdentitiesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Identity>;
|
18
|
+
private listBySubscriptionPagingPage;
|
19
|
+
private listBySubscriptionPagingAll;
|
20
|
+
/**
|
21
|
+
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
22
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
23
|
+
* @param options The options parameters.
|
24
|
+
*/
|
25
|
+
listByResourceGroup(resourceGroupName: string, options?: UserAssignedIdentitiesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Identity>;
|
26
|
+
private listByResourceGroupPagingPage;
|
27
|
+
private listByResourceGroupPagingAll;
|
28
|
+
/**
|
29
|
+
* Lists all the userAssignedIdentities available under the specified subscription.
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
private _listBySubscription;
|
33
|
+
/**
|
34
|
+
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
35
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
36
|
+
* @param options The options parameters.
|
37
|
+
*/
|
38
|
+
private _listByResourceGroup;
|
39
|
+
/**
|
40
|
+
* Create or update an identity in the specified subscription and resource group.
|
41
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
42
|
+
* @param resourceName The name of the identity resource.
|
43
|
+
* @param parameters Parameters to create or update the identity
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Identity, options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams): Promise<UserAssignedIdentitiesCreateOrUpdateResponse>;
|
47
|
+
/**
|
48
|
+
* Update an identity in the specified subscription and resource group.
|
49
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
50
|
+
* @param resourceName The name of the identity resource.
|
51
|
+
* @param parameters Parameters to update the identity
|
52
|
+
* @param options The options parameters.
|
53
|
+
*/
|
54
|
+
update(resourceGroupName: string, resourceName: string, parameters: IdentityUpdate, options?: UserAssignedIdentitiesUpdateOptionalParams): Promise<UserAssignedIdentitiesUpdateResponse>;
|
55
|
+
/**
|
56
|
+
* Gets the identity.
|
57
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
58
|
+
* @param resourceName The name of the identity resource.
|
59
|
+
* @param options The options parameters.
|
60
|
+
*/
|
61
|
+
get(resourceGroupName: string, resourceName: string, options?: UserAssignedIdentitiesGetOptionalParams): Promise<UserAssignedIdentitiesGetResponse>;
|
62
|
+
/**
|
63
|
+
* Deletes the identity.
|
64
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
65
|
+
* @param resourceName The name of the identity resource.
|
66
|
+
* @param options The options parameters.
|
67
|
+
*/
|
68
|
+
delete(resourceGroupName: string, resourceName: string, options?: UserAssignedIdentitiesDeleteOptionalParams): Promise<void>;
|
69
|
+
/**
|
70
|
+
* ListBySubscriptionNext
|
71
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
72
|
+
* @param options The options parameters.
|
73
|
+
*/
|
74
|
+
private _listBySubscriptionNext;
|
75
|
+
/**
|
76
|
+
* ListByResourceGroupNext
|
77
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
78
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
private _listByResourceGroupNext;
|
82
|
+
}
|
83
|
+
//# sourceMappingURL=userAssignedIdentities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"userAssignedIdentities.d.ts","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,o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M,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
@@ -0,0 +1,384 @@
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
10
|
+
import * as coreClient from "@azure/core-client";
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
14
|
+
/** Class containing UserAssignedIdentities operations. */
|
15
|
+
export class UserAssignedIdentitiesImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class UserAssignedIdentities class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Lists all the userAssignedIdentities available under the specified subscription.
|
25
|
+
* @param options The options parameters.
|
26
|
+
*/
|
27
|
+
listBySubscription(options) {
|
28
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
29
|
+
return {
|
30
|
+
next() {
|
31
|
+
return iter.next();
|
32
|
+
},
|
33
|
+
[Symbol.asyncIterator]() {
|
34
|
+
return this;
|
35
|
+
},
|
36
|
+
byPage: (settings) => {
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
39
|
+
}
|
40
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
41
|
+
}
|
42
|
+
};
|
43
|
+
}
|
44
|
+
listBySubscriptionPagingPage(options, settings) {
|
45
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
46
|
+
let result;
|
47
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
48
|
+
if (!continuationToken) {
|
49
|
+
result = yield __await(this._listBySubscription(options));
|
50
|
+
let page = result.value || [];
|
51
|
+
continuationToken = result.nextLink;
|
52
|
+
setContinuationToken(page, continuationToken);
|
53
|
+
yield yield __await(page);
|
54
|
+
}
|
55
|
+
while (continuationToken) {
|
56
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
57
|
+
continuationToken = result.nextLink;
|
58
|
+
let page = result.value || [];
|
59
|
+
setContinuationToken(page, continuationToken);
|
60
|
+
yield yield __await(page);
|
61
|
+
}
|
62
|
+
});
|
63
|
+
}
|
64
|
+
listBySubscriptionPagingAll(options) {
|
65
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
66
|
+
var _a, e_1, _b, _c;
|
67
|
+
try {
|
68
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
69
|
+
_c = _f.value;
|
70
|
+
_d = false;
|
71
|
+
const page = _c;
|
72
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
73
|
+
}
|
74
|
+
}
|
75
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
76
|
+
finally {
|
77
|
+
try {
|
78
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
79
|
+
}
|
80
|
+
finally { if (e_1) throw e_1.error; }
|
81
|
+
}
|
82
|
+
});
|
83
|
+
}
|
84
|
+
/**
|
85
|
+
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
86
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
listByResourceGroup(resourceGroupName, options) {
|
90
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
91
|
+
return {
|
92
|
+
next() {
|
93
|
+
return iter.next();
|
94
|
+
},
|
95
|
+
[Symbol.asyncIterator]() {
|
96
|
+
return this;
|
97
|
+
},
|
98
|
+
byPage: (settings) => {
|
99
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
100
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
101
|
+
}
|
102
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
103
|
+
}
|
104
|
+
};
|
105
|
+
}
|
106
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
107
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
108
|
+
let result;
|
109
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
110
|
+
if (!continuationToken) {
|
111
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
112
|
+
let page = result.value || [];
|
113
|
+
continuationToken = result.nextLink;
|
114
|
+
setContinuationToken(page, continuationToken);
|
115
|
+
yield yield __await(page);
|
116
|
+
}
|
117
|
+
while (continuationToken) {
|
118
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
119
|
+
continuationToken = result.nextLink;
|
120
|
+
let page = result.value || [];
|
121
|
+
setContinuationToken(page, continuationToken);
|
122
|
+
yield yield __await(page);
|
123
|
+
}
|
124
|
+
});
|
125
|
+
}
|
126
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
127
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
128
|
+
var _a, e_2, _b, _c;
|
129
|
+
try {
|
130
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
131
|
+
_c = _f.value;
|
132
|
+
_d = false;
|
133
|
+
const page = _c;
|
134
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
135
|
+
}
|
136
|
+
}
|
137
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
138
|
+
finally {
|
139
|
+
try {
|
140
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
141
|
+
}
|
142
|
+
finally { if (e_2) throw e_2.error; }
|
143
|
+
}
|
144
|
+
});
|
145
|
+
}
|
146
|
+
/**
|
147
|
+
* Lists all the userAssignedIdentities available under the specified subscription.
|
148
|
+
* @param options The options parameters.
|
149
|
+
*/
|
150
|
+
_listBySubscription(options) {
|
151
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
152
|
+
}
|
153
|
+
/**
|
154
|
+
* Lists all the userAssignedIdentities available under the specified ResourceGroup.
|
155
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
156
|
+
* @param options The options parameters.
|
157
|
+
*/
|
158
|
+
_listByResourceGroup(resourceGroupName, options) {
|
159
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
160
|
+
}
|
161
|
+
/**
|
162
|
+
* Create or update an identity in the specified subscription and resource group.
|
163
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
164
|
+
* @param resourceName The name of the identity resource.
|
165
|
+
* @param parameters Parameters to create or update the identity
|
166
|
+
* @param options The options parameters.
|
167
|
+
*/
|
168
|
+
createOrUpdate(resourceGroupName, resourceName, parameters, options) {
|
169
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
|
170
|
+
}
|
171
|
+
/**
|
172
|
+
* Update an identity in the specified subscription and resource group.
|
173
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
174
|
+
* @param resourceName The name of the identity resource.
|
175
|
+
* @param parameters Parameters to update the identity
|
176
|
+
* @param options The options parameters.
|
177
|
+
*/
|
178
|
+
update(resourceGroupName, resourceName, parameters, options) {
|
179
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, updateOperationSpec);
|
180
|
+
}
|
181
|
+
/**
|
182
|
+
* Gets the identity.
|
183
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
184
|
+
* @param resourceName The name of the identity resource.
|
185
|
+
* @param options The options parameters.
|
186
|
+
*/
|
187
|
+
get(resourceGroupName, resourceName, options) {
|
188
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
189
|
+
}
|
190
|
+
/**
|
191
|
+
* Deletes the identity.
|
192
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
193
|
+
* @param resourceName The name of the identity resource.
|
194
|
+
* @param options The options parameters.
|
195
|
+
*/
|
196
|
+
delete(resourceGroupName, resourceName, options) {
|
197
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
|
198
|
+
}
|
199
|
+
/**
|
200
|
+
* ListBySubscriptionNext
|
201
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
202
|
+
* @param options The options parameters.
|
203
|
+
*/
|
204
|
+
_listBySubscriptionNext(nextLink, options) {
|
205
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
206
|
+
}
|
207
|
+
/**
|
208
|
+
* ListByResourceGroupNext
|
209
|
+
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
210
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
211
|
+
* @param options The options parameters.
|
212
|
+
*/
|
213
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
214
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
// Operation Specifications
|
218
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
219
|
+
const listBySubscriptionOperationSpec = {
|
220
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities",
|
221
|
+
httpMethod: "GET",
|
222
|
+
responses: {
|
223
|
+
200: {
|
224
|
+
bodyMapper: Mappers.UserAssignedIdentitiesListResult
|
225
|
+
},
|
226
|
+
default: {
|
227
|
+
bodyMapper: Mappers.CloudError
|
228
|
+
}
|
229
|
+
},
|
230
|
+
queryParameters: [Parameters.apiVersion],
|
231
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
232
|
+
headerParameters: [Parameters.accept],
|
233
|
+
serializer
|
234
|
+
};
|
235
|
+
const listByResourceGroupOperationSpec = {
|
236
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities",
|
237
|
+
httpMethod: "GET",
|
238
|
+
responses: {
|
239
|
+
200: {
|
240
|
+
bodyMapper: Mappers.UserAssignedIdentitiesListResult
|
241
|
+
},
|
242
|
+
default: {
|
243
|
+
bodyMapper: Mappers.CloudError
|
244
|
+
}
|
245
|
+
},
|
246
|
+
queryParameters: [Parameters.apiVersion],
|
247
|
+
urlParameters: [
|
248
|
+
Parameters.$host,
|
249
|
+
Parameters.subscriptionId,
|
250
|
+
Parameters.resourceGroupName
|
251
|
+
],
|
252
|
+
headerParameters: [Parameters.accept],
|
253
|
+
serializer
|
254
|
+
};
|
255
|
+
const createOrUpdateOperationSpec = {
|
256
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
257
|
+
httpMethod: "PUT",
|
258
|
+
responses: {
|
259
|
+
200: {
|
260
|
+
bodyMapper: Mappers.Identity
|
261
|
+
},
|
262
|
+
201: {
|
263
|
+
bodyMapper: Mappers.Identity
|
264
|
+
},
|
265
|
+
default: {
|
266
|
+
bodyMapper: Mappers.CloudError
|
267
|
+
}
|
268
|
+
},
|
269
|
+
requestBody: Parameters.parameters,
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
271
|
+
urlParameters: [
|
272
|
+
Parameters.$host,
|
273
|
+
Parameters.subscriptionId,
|
274
|
+
Parameters.resourceGroupName,
|
275
|
+
Parameters.resourceName
|
276
|
+
],
|
277
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
278
|
+
mediaType: "json",
|
279
|
+
serializer
|
280
|
+
};
|
281
|
+
const updateOperationSpec = {
|
282
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
283
|
+
httpMethod: "PATCH",
|
284
|
+
responses: {
|
285
|
+
200: {
|
286
|
+
bodyMapper: Mappers.Identity
|
287
|
+
},
|
288
|
+
default: {
|
289
|
+
bodyMapper: Mappers.CloudError
|
290
|
+
}
|
291
|
+
},
|
292
|
+
requestBody: Parameters.parameters1,
|
293
|
+
queryParameters: [Parameters.apiVersion],
|
294
|
+
urlParameters: [
|
295
|
+
Parameters.$host,
|
296
|
+
Parameters.subscriptionId,
|
297
|
+
Parameters.resourceGroupName,
|
298
|
+
Parameters.resourceName
|
299
|
+
],
|
300
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
301
|
+
mediaType: "json",
|
302
|
+
serializer
|
303
|
+
};
|
304
|
+
const getOperationSpec = {
|
305
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
306
|
+
httpMethod: "GET",
|
307
|
+
responses: {
|
308
|
+
200: {
|
309
|
+
bodyMapper: Mappers.Identity
|
310
|
+
},
|
311
|
+
default: {
|
312
|
+
bodyMapper: Mappers.CloudError
|
313
|
+
}
|
314
|
+
},
|
315
|
+
queryParameters: [Parameters.apiVersion],
|
316
|
+
urlParameters: [
|
317
|
+
Parameters.$host,
|
318
|
+
Parameters.subscriptionId,
|
319
|
+
Parameters.resourceGroupName,
|
320
|
+
Parameters.resourceName
|
321
|
+
],
|
322
|
+
headerParameters: [Parameters.accept],
|
323
|
+
serializer
|
324
|
+
};
|
325
|
+
const deleteOperationSpec = {
|
326
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
|
327
|
+
httpMethod: "DELETE",
|
328
|
+
responses: {
|
329
|
+
200: {},
|
330
|
+
204: {},
|
331
|
+
default: {
|
332
|
+
bodyMapper: Mappers.CloudError
|
333
|
+
}
|
334
|
+
},
|
335
|
+
queryParameters: [Parameters.apiVersion],
|
336
|
+
urlParameters: [
|
337
|
+
Parameters.$host,
|
338
|
+
Parameters.subscriptionId,
|
339
|
+
Parameters.resourceGroupName,
|
340
|
+
Parameters.resourceName
|
341
|
+
],
|
342
|
+
headerParameters: [Parameters.accept],
|
343
|
+
serializer
|
344
|
+
};
|
345
|
+
const listBySubscriptionNextOperationSpec = {
|
346
|
+
path: "{nextLink}",
|
347
|
+
httpMethod: "GET",
|
348
|
+
responses: {
|
349
|
+
200: {
|
350
|
+
bodyMapper: Mappers.UserAssignedIdentitiesListResult
|
351
|
+
},
|
352
|
+
default: {
|
353
|
+
bodyMapper: Mappers.CloudError
|
354
|
+
}
|
355
|
+
},
|
356
|
+
urlParameters: [
|
357
|
+
Parameters.$host,
|
358
|
+
Parameters.nextLink,
|
359
|
+
Parameters.subscriptionId
|
360
|
+
],
|
361
|
+
headerParameters: [Parameters.accept],
|
362
|
+
serializer
|
363
|
+
};
|
364
|
+
const listByResourceGroupNextOperationSpec = {
|
365
|
+
path: "{nextLink}",
|
366
|
+
httpMethod: "GET",
|
367
|
+
responses: {
|
368
|
+
200: {
|
369
|
+
bodyMapper: Mappers.UserAssignedIdentitiesListResult
|
370
|
+
},
|
371
|
+
default: {
|
372
|
+
bodyMapper: Mappers.CloudError
|
373
|
+
}
|
374
|
+
},
|
375
|
+
urlParameters: [
|
376
|
+
Parameters.$host,
|
377
|
+
Parameters.nextLink,
|
378
|
+
Parameters.subscriptionId,
|
379
|
+
Parameters.resourceGroupName
|
380
|
+
],
|
381
|
+
headerParameters: [Parameters.accept],
|
382
|
+
serializer
|
383
|
+
};
|
384
|
+
//# sourceMappingURL=userAssignedIdentities.js.map
|
@@ -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,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,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,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAgE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AAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;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;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;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,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"]}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { FederatedIdentityCredential, FederatedIdentityCredentialsListOptionalParams, FederatedIdentityCredentialsCreateOrUpdateOptionalParams, FederatedIdentityCredentialsCreateOrUpdateResponse, FederatedIdentityCredentialsGetOptionalParams, FederatedIdentityCredentialsGetResponse, FederatedIdentityCredentialsDeleteOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a FederatedIdentityCredentials. */
|
4
|
+
export interface FederatedIdentityCredentials {
|
5
|
+
/**
|
6
|
+
* Lists all the federated identity credentials under the specified user assigned identity.
|
7
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
8
|
+
* @param resourceName The name of the identity resource.
|
9
|
+
* @param options The options parameters.
|
10
|
+
*/
|
11
|
+
list(resourceGroupName: string, resourceName: string, options?: FederatedIdentityCredentialsListOptionalParams): PagedAsyncIterableIterator<FederatedIdentityCredential>;
|
12
|
+
/**
|
13
|
+
* Create or update a federated identity credential under the specified user assigned identity.
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
15
|
+
* @param resourceName The name of the identity resource.
|
16
|
+
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
17
|
+
* resource.
|
18
|
+
* @param parameters Parameters to create or update the federated identity credential.
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, parameters: FederatedIdentityCredential, options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse>;
|
22
|
+
/**
|
23
|
+
* Gets the federated identity credential.
|
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 federatedIdentityCredentialResourceName The name of the federated identity credential
|
27
|
+
* resource.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
get(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsGetOptionalParams): Promise<FederatedIdentityCredentialsGetResponse>;
|
31
|
+
/**
|
32
|
+
* Deletes the federated identity credential.
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
34
|
+
* @param resourceName The name of the identity resource.
|
35
|
+
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
36
|
+
* resource.
|
37
|
+
* @param options The options parameters.
|
38
|
+
*/
|
39
|
+
delete(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsDeleteOptionalParams): Promise<void>;
|
40
|
+
}
|
41
|
+
//# sourceMappingURL=federatedIdentityCredentials.d.ts.map
|
@@ -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,9 @@
|
|
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 {};
|
9
|
+
//# sourceMappingURL=federatedIdentityCredentials.js.map
|
@@ -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"]}
|