@azure/arm-authorization-profile-2020-09-01-hybrid 2.1.1-alpha.20241227.1 → 2.1.1-alpha.20241230.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/{dist-esm/src → dist/browser}/authorizationManagementClient.d.ts +2 -2
- package/dist/browser/authorizationManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/authorizationManagementClient.js +15 -18
- package/dist/browser/authorizationManagementClient.js.map +1 -0
- 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/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/globalAdministrator.d.ts +3 -3
- package/dist/browser/operations/globalAdministrator.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/globalAdministrator.js +2 -2
- package/dist/browser/operations/globalAdministrator.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +13 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/permissions.d.ts +3 -3
- package/dist/browser/operations/permissions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/permissions.js +3 -3
- package/dist/browser/operations/permissions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerOperationsMetadataOperations.d.ts +3 -3
- package/dist/browser/operations/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerOperationsMetadataOperations.js +3 -3
- package/dist/browser/operations/providerOperationsMetadataOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/roleAssignments.d.ts +3 -3
- package/dist/browser/operations/roleAssignments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/roleAssignments.js +3 -3
- package/dist/browser/operations/roleAssignments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/roleDefinitions.d.ts +3 -3
- package/dist/browser/operations/roleDefinitions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/roleDefinitions.js +3 -3
- package/dist/browser/operations/roleDefinitions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/globalAdministrator.d.ts +1 -1
- package/dist/browser/operationsInterfaces/globalAdministrator.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/globalAdministrator.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +13 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/permissions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/permissions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/permissions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/providerOperationsMetadataOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/providerOperationsMetadataOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/roleAssignments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/roleAssignments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/roleDefinitions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/roleDefinitions.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/authorizationManagementClient.d.ts +24 -0
- package/dist/commonjs/authorizationManagementClient.d.ts.map +1 -0
- package/dist/commonjs/authorizationManagementClient.js +106 -0
- package/dist/commonjs/authorizationManagementClient.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/models/index.d.ts +360 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +20 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +562 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +216 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/globalAdministrator.d.ts +18 -0
- package/dist/commonjs/operations/globalAdministrator.d.ts.map +1 -0
- package/dist/commonjs/operations/globalAdministrator.js +49 -0
- package/dist/commonjs/operations/globalAdministrator.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/permissions.d.ts +68 -0
- package/dist/commonjs/operations/permissions.d.ts.map +1 -0
- package/dist/commonjs/operations/permissions.js +303 -0
- package/dist/commonjs/operations/permissions.js.map +1 -0
- package/dist/commonjs/operations/providerOperationsMetadataOperations.d.ts +38 -0
- package/dist/commonjs/operations/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/providerOperationsMetadataOperations.js +161 -0
- package/dist/commonjs/operations/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/commonjs/operations/roleAssignments.d.ts +162 -0
- package/dist/commonjs/operations/roleAssignments.d.ts.map +1 -0
- package/dist/commonjs/operations/roleAssignments.js +705 -0
- package/dist/commonjs/operations/roleAssignments.js.map +1 -0
- package/dist/commonjs/operations/roleDefinitions.d.ts +67 -0
- package/dist/commonjs/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operations/roleDefinitions.js +259 -0
- package/dist/commonjs/operations/roleDefinitions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/globalAdministrator.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/globalAdministrator.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/globalAdministrator.js +10 -0
- package/dist/commonjs/operationsInterfaces/globalAdministrator.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/permissions.d.ts +22 -0
- package/dist/commonjs/operationsInterfaces/permissions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/permissions.js +10 -0
- package/dist/commonjs/operationsInterfaces/permissions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/providerOperationsMetadataOperations.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/providerOperationsMetadataOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.d.ts +88 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.js +10 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.js +10 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.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/authorizationManagementClient.d.ts +24 -0
- package/dist/esm/authorizationManagementClient.d.ts.map +1 -0
- package/dist/esm/authorizationManagementClient.js +101 -0
- package/dist/esm/authorizationManagementClient.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/models/index.d.ts +360 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +20 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +559 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +213 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/globalAdministrator.d.ts +18 -0
- package/dist/esm/operations/globalAdministrator.d.ts.map +1 -0
- package/dist/esm/operations/globalAdministrator.js +44 -0
- package/dist/esm/operations/globalAdministrator.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/permissions.d.ts +68 -0
- package/dist/esm/operations/permissions.d.ts.map +1 -0
- package/dist/esm/operations/permissions.js +299 -0
- package/dist/esm/operations/permissions.js.map +1 -0
- package/dist/esm/operations/providerOperationsMetadataOperations.d.ts +38 -0
- package/dist/esm/operations/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/esm/operations/providerOperationsMetadataOperations.js +157 -0
- package/dist/esm/operations/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/esm/operations/roleAssignments.d.ts +162 -0
- package/dist/esm/operations/roleAssignments.d.ts.map +1 -0
- package/dist/esm/operations/roleAssignments.js +701 -0
- package/dist/esm/operations/roleAssignments.js.map +1 -0
- package/dist/esm/operations/roleDefinitions.d.ts +67 -0
- package/dist/esm/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/esm/operations/roleDefinitions.js +255 -0
- package/dist/esm/operations/roleDefinitions.js.map +1 -0
- package/dist/esm/operationsInterfaces/globalAdministrator.d.ts +10 -0
- package/dist/esm/operationsInterfaces/globalAdministrator.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/globalAdministrator.js +9 -0
- package/dist/esm/operationsInterfaces/globalAdministrator.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/permissions.d.ts +22 -0
- package/dist/esm/operationsInterfaces/permissions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/permissions.js +9 -0
- package/dist/esm/operationsInterfaces/permissions.js.map +1 -0
- package/dist/esm/operationsInterfaces/providerOperationsMetadataOperations.d.ts +17 -0
- package/dist/esm/operationsInterfaces/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/providerOperationsMetadataOperations.js +9 -0
- package/dist/esm/operationsInterfaces/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/roleAssignments.d.ts +88 -0
- package/dist/esm/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/roleAssignments.js +9 -0
- package/dist/esm/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.d.ts +44 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.js +9 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.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/authorizationManagementClient.d.ts +24 -0
- package/dist/react-native/authorizationManagementClient.d.ts.map +1 -0
- package/dist/react-native/authorizationManagementClient.js +101 -0
- package/dist/react-native/authorizationManagementClient.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/models/index.d.ts +360 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +9 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +20 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +559 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +213 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/globalAdministrator.d.ts +18 -0
- package/dist/react-native/operations/globalAdministrator.d.ts.map +1 -0
- package/dist/react-native/operations/globalAdministrator.js +44 -0
- package/dist/react-native/operations/globalAdministrator.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/permissions.d.ts +68 -0
- package/dist/react-native/operations/permissions.d.ts.map +1 -0
- package/dist/react-native/operations/permissions.js +299 -0
- package/dist/react-native/operations/permissions.js.map +1 -0
- package/dist/react-native/operations/providerOperationsMetadataOperations.d.ts +38 -0
- package/dist/react-native/operations/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/react-native/operations/providerOperationsMetadataOperations.js +157 -0
- package/dist/react-native/operations/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/react-native/operations/roleAssignments.d.ts +162 -0
- package/dist/react-native/operations/roleAssignments.d.ts.map +1 -0
- package/dist/react-native/operations/roleAssignments.js +701 -0
- package/dist/react-native/operations/roleAssignments.js.map +1 -0
- package/dist/react-native/operations/roleDefinitions.d.ts +67 -0
- package/dist/react-native/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/react-native/operations/roleDefinitions.js +255 -0
- package/dist/react-native/operations/roleDefinitions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/globalAdministrator.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/globalAdministrator.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/globalAdministrator.js +9 -0
- package/dist/react-native/operationsInterfaces/globalAdministrator.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/permissions.d.ts +22 -0
- package/dist/react-native/operationsInterfaces/permissions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/permissions.js +9 -0
- package/dist/react-native/operationsInterfaces/permissions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/providerOperationsMetadataOperations.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/providerOperationsMetadataOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/providerOperationsMetadataOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/providerOperationsMetadataOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.d.ts +88 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.js +9 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.js +9 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.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 +59 -29
- package/dist/index.js +0 -2389
- 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/globalAdministratorElevateAccessSample.d.ts +0 -2
- package/dist-esm/samples-dev/globalAdministratorElevateAccessSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/globalAdministratorElevateAccessSample.js +0 -37
- package/dist-esm/samples-dev/globalAdministratorElevateAccessSample.js.map +0 -1
- package/dist-esm/samples-dev/permissionsListForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/permissionsListForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/permissionsListForResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/permissionsListForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/permissionsListForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/permissionsListForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/permissionsListForResourceSample.js +0 -57
- package/dist-esm/samples-dev/permissionsListForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/providerOperationsMetadataGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerOperationsMetadataGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerOperationsMetadataGetSample.js +0 -38
- package/dist-esm/samples-dev/providerOperationsMetadataGetSample.js.map +0 -1
- package/dist-esm/samples-dev/providerOperationsMetadataListSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerOperationsMetadataListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerOperationsMetadataListSample.js +0 -53
- package/dist-esm/samples-dev/providerOperationsMetadataListSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsCreateByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsCreateByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsCreateByIdSample.js +0 -44
- package/dist-esm/samples-dev/roleAssignmentsCreateByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsCreateSample.js +0 -45
- package/dist-esm/samples-dev/roleAssignmentsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsDeleteByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsDeleteByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsDeleteByIdSample.js +0 -38
- package/dist-esm/samples-dev/roleAssignmentsDeleteByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/roleAssignmentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsGetByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsGetByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsGetByIdSample.js +0 -38
- package/dist-esm/samples-dev/roleAssignmentsGetByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsGetSample.js +0 -39
- package/dist-esm/samples-dev/roleAssignmentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsListForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/roleAssignmentsListForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsListForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForResourceSample.js +0 -57
- package/dist-esm/samples-dev/roleAssignmentsListForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsListForScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListForScopeSample.js +0 -54
- package/dist-esm/samples-dev/roleAssignmentsListForScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleAssignmentsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleAssignmentsListSample.js +0 -52
- package/dist-esm/samples-dev/roleAssignmentsListSample.js.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleDefinitionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsCreateOrUpdateSample.js +0 -40
- package/dist-esm/samples-dev/roleDefinitionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleDefinitionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/roleDefinitionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsGetByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleDefinitionsGetByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsGetByIdSample.js +0 -38
- package/dist-esm/samples-dev/roleDefinitionsGetByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleDefinitionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsGetSample.js +0 -39
- package/dist-esm/samples-dev/roleDefinitionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/roleDefinitionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/roleDefinitionsListSample.js +0 -54
- package/dist-esm/samples-dev/roleDefinitionsListSample.js.map +0 -1
- package/dist-esm/src/authorizationManagementClient.d.ts.map +0 -1
- package/dist-esm/src/authorizationManagementClient.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/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/globalAdministrator.d.ts.map +0 -1
- package/dist-esm/src/operations/globalAdministrator.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js +0 -13
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/permissions.d.ts.map +0 -1
- package/dist-esm/src/operations/permissions.js.map +0 -1
- package/dist-esm/src/operations/providerOperationsMetadataOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/providerOperationsMetadataOperations.js.map +0 -1
- package/dist-esm/src/operations/roleAssignments.d.ts.map +0 -1
- package/dist-esm/src/operations/roleAssignments.js.map +0 -1
- package/dist-esm/src/operations/roleDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operations/roleDefinitions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/globalAdministrator.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/globalAdministrator.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js +0 -13
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/permissions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/permissions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/providerOperationsMetadataOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/providerOperationsMetadataOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/roleAssignments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/roleDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/roleDefinitions.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/authorizationManagementClient.ts +0 -162
- package/src/models/index.ts +0 -449
- package/src/models/mappers.ts +0 -578
- package/src/models/parameters.ts +0 -241
- package/src/operations/globalAdministrator.ts +0 -57
- package/src/operations/index.ts +0 -13
- package/src/operations/permissions.ts +0 -408
- package/src/operations/providerOperationsMetadataOperations.ts +0 -184
- package/src/operations/roleAssignments.ts +0 -896
- package/src/operations/roleDefinitions.ts +0 -322
- package/src/operationsInterfaces/globalAdministrator.ts +0 -20
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/permissions.ts +0 -45
- package/src/operationsInterfaces/providerOperationsMetadataOperations.ts +0 -36
- package/src/operationsInterfaces/roleAssignments.ts +0 -154
- package/src/operationsInterfaces/roleDefinitions.ts +0 -83
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-authorization-profile-2020-09-01-hybrid.d.ts +0 -639
- /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/globalAdministrator.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/permissions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/providerOperationsMetadataOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/roleAssignments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/roleDefinitions.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Permissions, RoleDefinitions, ProviderOperationsMetadataOperations, GlobalAdministrator, RoleAssignments } from "./operationsInterfaces";
|
|
4
|
-
import { AuthorizationManagementClientOptionalParams } from "./models";
|
|
3
|
+
import { Permissions, RoleDefinitions, ProviderOperationsMetadataOperations, GlobalAdministrator, RoleAssignments } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { AuthorizationManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class AuthorizationManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
apiVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizationManagementClient.d.ts","sourceRoot":"","sources":["../../src/authorizationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,WAAW,EACX,eAAe,EACf,oCAAoC,EACpC,mBAAmB,EACnB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,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,2CAA2C;IAkFvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,oCAAoC,EAAE,oCAAoC,CAAC;IAC3E,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -5,10 +5,9 @@
|
|
|
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
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { PermissionsImpl, RoleDefinitionsImpl, ProviderOperationsMetadataOperationsImpl, GlobalAdministratorImpl, RoleAssignmentsImpl } from "./operations";
|
|
10
|
+
import { PermissionsImpl, RoleDefinitionsImpl, ProviderOperationsMetadataOperationsImpl, GlobalAdministratorImpl, RoleAssignmentsImpl } from "./operations/index.js";
|
|
12
11
|
export class AuthorizationManagementClient extends coreClient.ServiceClient {
|
|
13
12
|
/**
|
|
14
13
|
* Initializes a new instance of the AuthorizationManagementClient class.
|
|
@@ -80,22 +79,20 @@ export class AuthorizationManagementClient extends coreClient.ServiceClient {
|
|
|
80
79
|
}
|
|
81
80
|
const apiVersionPolicy = {
|
|
82
81
|
name: "CustomApiVersionPolicy",
|
|
83
|
-
sendRequest(request, next) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return next(request);
|
|
98
|
-
});
|
|
82
|
+
async sendRequest(request, next) {
|
|
83
|
+
const param = request.url.split("?");
|
|
84
|
+
if (param.length > 1) {
|
|
85
|
+
const newParams = param[1].split("&").map((item) => {
|
|
86
|
+
if (item.indexOf("api-version") > -1) {
|
|
87
|
+
return "api-version=" + apiVersion;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
return item;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
94
|
+
}
|
|
95
|
+
return next(request);
|
|
99
96
|
}
|
|
100
97
|
};
|
|
101
98
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizationManagementClient.js","sourceRoot":"","sources":["../../src/authorizationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,wCAAwC,EACxC,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAU/B,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,4DAA4D,CAAC;QACpF,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CA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AC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAOF","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 PermissionsImpl,\n RoleDefinitionsImpl,\n ProviderOperationsMetadataOperationsImpl,\n GlobalAdministratorImpl,\n RoleAssignmentsImpl\n} from \"./operations/index.js\";\nimport {\n Permissions,\n RoleDefinitions,\n ProviderOperationsMetadataOperations,\n GlobalAdministrator,\n RoleAssignments\n} from \"./operationsInterfaces/index.js\";\nimport { AuthorizationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AuthorizationManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AuthorizationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AuthorizationManagementClientOptionalParams\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: AuthorizationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-authorization-profile-2020-09-01-hybrid/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 || \"2015-07-01\";\n this.permissions = new PermissionsImpl(this);\n this.roleDefinitions = new RoleDefinitionsImpl(this);\n this.providerOperationsMetadataOperations = new ProviderOperationsMetadataOperationsImpl(\n this\n );\n this.globalAdministrator = new GlobalAdministratorImpl(this);\n this.roleAssignments = new RoleAssignmentsImpl(this);\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 permissions: Permissions;\n roleDefinitions: RoleDefinitions;\n providerOperationsMetadataOperations: ProviderOperationsMetadataOperations;\n globalAdministrator: GlobalAdministrator;\n roleAssignments: RoleAssignments;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
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,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
10
|
-
export * from "./models";
|
|
11
|
-
export { AuthorizationManagementClient } from "./authorizationManagementClient";
|
|
12
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { AuthorizationManagementClient } from "./authorizationManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
13
|
//# 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,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AuthorizationManagementClient } from \"./authorizationManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.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 * as coreClient from \"@azure/core-client\";\n\n/** Permissions information. */\nexport interface PermissionGetResult {\n /** An array of permissions. */\n value?: Permission[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Role definition permissions. */\nexport interface Permission {\n /** Allowed actions. */\n actions?: string[];\n /** Denied actions. */\n notActions?: string[];\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Role definition. */\nexport interface RoleDefinition {\n /**\n * The role definition ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role definition name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role definition type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** The role name. */\n roleName?: string;\n /** The role definition description. */\n description?: string;\n /** The role type. */\n roleType?: string;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n assignableScopes?: string[];\n}\n\n/** Role definition list operation result. */\nexport interface RoleDefinitionListResult {\n /** Role definition list. */\n value?: RoleDefinition[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Provider Operations metadata */\nexport interface ProviderOperationsMetadata {\n /** The provider id. */\n id?: string;\n /** The provider name. */\n name?: string;\n /** The provider type. */\n type?: string;\n /** The provider display name. */\n displayName?: string;\n /** The provider resource types */\n resourceTypes?: ResourceType[];\n /** The provider operations. */\n operations?: ProviderOperation[];\n}\n\n/** Resource Type */\nexport interface ResourceType {\n /** The resource type name. */\n name?: string;\n /** The resource type display name. */\n displayName?: string;\n /** The resource type operations. */\n operations?: ProviderOperation[];\n}\n\n/** Operation */\nexport interface ProviderOperation {\n /** The operation name. */\n name?: string;\n /** The operation display name. */\n displayName?: string;\n /** The operation description. */\n description?: string;\n /** The operation origin. */\n origin?: string;\n /** The operation properties. */\n properties?: Record<string, unknown>;\n}\n\n/** Provider operations metadata list */\nexport interface ProviderOperationsMetadataListResult {\n /** The list of providers. */\n value?: ProviderOperationsMetadata[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Role assignment list operation result. */\nexport interface RoleAssignmentListResult {\n /** Role assignment list. */\n value?: RoleAssignment[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Role Assignments */\nexport interface RoleAssignment {\n /**\n * The role assignment ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role assignment name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role assignment type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Role assignment properties. */\n properties?: RoleAssignmentPropertiesWithScope;\n}\n\n/** Role assignment properties with scope. */\nexport interface RoleAssignmentPropertiesWithScope {\n /** The role assignment scope. */\n scope?: string;\n /** The role definition ID. */\n roleDefinitionId?: string;\n /** The principal ID. */\n principalId?: string;\n}\n\n/** Role assignment create parameters. */\nexport interface RoleAssignmentCreateParameters {\n /** Role assignment properties. */\n properties: RoleAssignmentProperties;\n}\n\n/** Role assignment properties. */\nexport interface RoleAssignmentProperties {\n /** The role definition ID used in the role assignment. */\n roleDefinitionId: string;\n /** The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. */\n principalId: string;\n}\n\n/** Role Definitions filter */\nexport interface RoleDefinitionFilter {\n /** Returns role definition with the specific name. */\n roleName?: string;\n}\n\n/** Role Assignments filter */\nexport interface RoleAssignmentFilter {\n /** Returns role assignment of the specific principal. */\n principalId?: string;\n}\n\n/** Optional parameters. */\nexport interface PermissionsListForResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResourceGroup operation. */\nexport type PermissionsListForResourceGroupResponse = PermissionGetResult;\n\n/** Optional parameters. */\nexport interface PermissionsListForResourceOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResource operation. */\nexport type PermissionsListForResourceResponse = PermissionGetResult;\n\n/** Optional parameters. */\nexport interface PermissionsListForResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResourceGroupNext operation. */\nexport type PermissionsListForResourceGroupNextResponse = PermissionGetResult;\n\n/** Optional parameters. */\nexport interface PermissionsListForResourceNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResourceNext operation. */\nexport type PermissionsListForResourceNextResponse = PermissionGetResult;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type RoleDefinitionsDeleteResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleDefinitionsGetResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */\n filter?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type RoleDefinitionsListResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type RoleDefinitionsGetByIdResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type RoleDefinitionsListNextResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface ProviderOperationsMetadataGetOptionalParams\n extends coreClient.OperationOptions {\n /** Specifies whether to expand the values. */\n expand?: string;\n}\n\n/** Contains response data for the get operation. */\nexport type ProviderOperationsMetadataGetResponse = ProviderOperationsMetadata;\n\n/** Optional parameters. */\nexport interface ProviderOperationsMetadataListOptionalParams\n extends coreClient.OperationOptions {\n /** Specifies whether to expand the values. */\n expand?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type ProviderOperationsMetadataListResponse = ProviderOperationsMetadataListResult;\n\n/** Optional parameters. */\nexport interface ProviderOperationsMetadataListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type ProviderOperationsMetadataListNextResponse = ProviderOperationsMetadataListResult;\n\n/** Optional parameters. */\nexport interface GlobalAdministratorElevateAccessOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForResourceOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForResource operation. */\nexport type RoleAssignmentsListForResourceResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForResourceGroup operation. */\nexport type RoleAssignmentsListForResourceGroupResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type RoleAssignmentsDeleteResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type RoleAssignmentsCreateResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleAssignmentsGetResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsDeleteByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the deleteById operation. */\nexport type RoleAssignmentsDeleteByIdResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsCreateByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createById operation. */\nexport type RoleAssignmentsCreateByIdResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type RoleAssignmentsGetByIdResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type RoleAssignmentsListResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForScope operation. */\nexport type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForResourceNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResourceNext operation. */\nexport type RoleAssignmentsListForResourceNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForResourceGroupNext operation. */\nexport type RoleAssignmentsListForResourceGroupNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type RoleAssignmentsListNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listForScopeNext operation. */\nexport type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface AuthorizationManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,YAAY;yBACxB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WA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M,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const PermissionGetResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PermissionGetResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Permission: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Permission\",\n modelProperties: {\n actions: {\n serializedName: \"actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n notActions: {\n serializedName: \"notActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const RoleDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n roleName: {\n serializedName: \"properties.roleName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n roleType: {\n serializedName: \"properties.type\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"properties.permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n assignableScopes: {\n serializedName: \"properties.assignableScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProviderOperationsMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderOperationsMetadata\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceType\"\n }\n }\n }\n },\n operations: {\n serializedName: \"operations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderOperation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ResourceType: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceType\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n operations: {\n serializedName: \"operations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderOperation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ProviderOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderOperation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ProviderOperationsMetadataListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderOperationsMetadataListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderOperationsMetadata\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentPropertiesWithScope: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\",\n modelProperties: {\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentCreateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentCreateParameters\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\",\n modelProperties: {\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionFilter\",\n modelProperties: {\n roleName: {\n serializedName: \"roleName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentFilter\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
-
import { RoleDefinition as RoleDefinitionMapper, RoleAssignmentCreateParameters as RoleAssignmentCreateParametersMapper } from "../models/mappers";
|
|
8
|
+
import { RoleDefinition as RoleDefinitionMapper, RoleAssignmentCreateParameters as RoleAssignmentCreateParametersMapper } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,8BAA8B,IAAI,oCAAoC,EACvE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA4B;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,YAAY,EAAE,eAAe;QAC7B,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA0B;IACvD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE;QACN,cAAc,EAAE,oBAAoB;QACpC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n RoleDefinition as RoleDefinitionMapper,\n RoleAssignmentCreateParameters as RoleAssignmentCreateParametersMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2015-07-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const roleDefinitionId: OperationURLParameter = {\n parameterPath: \"roleDefinitionId\",\n mapper: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const roleDefinition: OperationParameter = {\n parameterPath: \"roleDefinition\",\n mapper: RoleDefinitionMapper\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const roleDefinitionId1: OperationURLParameter = {\n parameterPath: \"roleDefinitionId\",\n mapper: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n defaultValue: \"resourceTypes\",\n serializedName: \"$expand\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const roleAssignmentName: OperationURLParameter = {\n parameterPath: \"roleAssignmentName\",\n mapper: {\n serializedName: \"roleAssignmentName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RoleAssignmentCreateParametersMapper\n};\n\nexport const roleAssignmentId: OperationURLParameter = {\n parameterPath: \"roleAssignmentId\",\n mapper: {\n serializedName: \"roleAssignmentId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GlobalAdministrator } from "../operationsInterfaces";
|
|
2
|
-
import { AuthorizationManagementClient } from "../authorizationManagementClient";
|
|
3
|
-
import { GlobalAdministratorElevateAccessOptionalParams } from "../models";
|
|
1
|
+
import { GlobalAdministrator } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { AuthorizationManagementClient } from "../authorizationManagementClient.js";
|
|
3
|
+
import { GlobalAdministratorElevateAccessOptionalParams } from "../models/index.js";
|
|
4
4
|
/** Class containing GlobalAdministrator operations. */
|
|
5
5
|
export declare class GlobalAdministratorImpl implements GlobalAdministrator {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalAdministrator.d.ts","sourceRoot":"","sources":["../../../src/operations/globalAdministrator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,8CAA8C,EAAE,MAAM,oBAAoB,CAAC;AAEpF,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACH,aAAa,CACX,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as Mappers from "../models/mappers";
|
|
10
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing GlobalAdministrator operations. */
|
|
12
12
|
export class GlobalAdministratorImpl {
|
|
13
13
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalAdministrator.js","sourceRoot":"","sources":["../../../src/operations/globalAdministrator.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;AAItD,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,aAAa,CACX,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { GlobalAdministrator } 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 { AuthorizationManagementClient } from \"../authorizationManagementClient.js\";\nimport { GlobalAdministratorElevateAccessOptionalParams } from \"../models/index.js\";\n\n/** Class containing GlobalAdministrator operations. */\nexport class GlobalAdministratorImpl implements GlobalAdministrator {\n private readonly client: AuthorizationManagementClient;\n\n /**\n * Initialize a new instance of the class GlobalAdministrator class.\n * @param client Reference to the service client\n */\n constructor(client: AuthorizationManagementClient) {\n this.client = client;\n }\n\n /**\n * Elevates access for a Global Administrator.\n * @param options The options parameters.\n */\n elevateAccess(\n options?: GlobalAdministratorElevateAccessOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { options },\n elevateAccessOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst elevateAccessOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/elevateAccess\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./permissions.js";
|
|
9
|
+
export * from "./roleDefinitions.js";
|
|
10
|
+
export * from "./providerOperationsMetadataOperations.js";
|
|
11
|
+
export * from "./globalAdministrator.js";
|
|
12
|
+
export * from "./roleAssignments.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,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 \"./permissions.js\";\nexport * from \"./roleDefinitions.js\";\nexport * from \"./providerOperationsMetadataOperations.js\";\nexport * from \"./globalAdministrator.js\";\nexport * from \"./roleAssignments.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Permissions } from "../operationsInterfaces";
|
|
3
|
-
import { AuthorizationManagementClient } from "../authorizationManagementClient";
|
|
4
|
-
import { Permission, PermissionsListForResourceGroupOptionalParams, PermissionsListForResourceOptionalParams } from "../models";
|
|
2
|
+
import { Permissions } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AuthorizationManagementClient } from "../authorizationManagementClient.js";
|
|
4
|
+
import { Permission, PermissionsListForResourceGroupOptionalParams, PermissionsListForResourceOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Permissions operations. */
|
|
6
6
|
export declare class PermissionsImpl implements Permissions {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/operations/permissions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,UAAU,EAEV,6CAA6C,EAG7C,wCAAwC,EAIzC,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;OAIG;IACI,oBAAoB,CACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,UAAU,CAAC;YAsB1B,8BAA8B;YA2B9B,6BAA6B;IAY5C;;;;;;;;OAQG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,UAAU,CAAC;YAiC1B,yBAAyB;YA0CzB,wBAAwB;IAoBvC;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAU7B;;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IAqBxB;;;;;OAKG;IACH,OAAO,CAAC,yBAAyB;IAWjC;;;;;;;;;OASG;IACH,OAAO,CAAC,oBAAoB;CAsB7B"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Permissions operations. */
|
|
15
15
|
export class PermissionsImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../../src/operations/permissions.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;AActD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5E,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,8BAA8B,CACxC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,8BAA8B,CAC3C,iBAAyB,EACzB,OAAuD,EACvD,QAAuB;;YAEvB,IAAI,MAA+C,CAAC;YACpD,IA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kB;QAC7B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;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 { Permissions } 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 { AuthorizationManagementClient } from \"../authorizationManagementClient.js\";\nimport {\n Permission,\n PermissionsListForResourceGroupNextOptionalParams,\n PermissionsListForResourceGroupOptionalParams,\n PermissionsListForResourceGroupResponse,\n PermissionsListForResourceNextOptionalParams,\n PermissionsListForResourceOptionalParams,\n PermissionsListForResourceResponse,\n PermissionsListForResourceGroupNextResponse,\n PermissionsListForResourceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Permissions operations. */\nexport class PermissionsImpl implements Permissions {\n private readonly client: AuthorizationManagementClient;\n\n /**\n * Initialize a new instance of the class Permissions class.\n * @param client Reference to the service client\n */\n constructor(client: AuthorizationManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all permissions the caller has for a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listForResourceGroup(\n resourceGroupName: string,\n options?: PermissionsListForResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Permission> {\n const iter = this.listForResourceGroupPagingAll(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.listForResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listForResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PermissionsListForResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Permission[]> {\n let result: PermissionsListForResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResourceGroup(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._listForResourceGroupNext(\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 *listForResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PermissionsListForResourceGroupOptionalParams\n ): AsyncIterableIterator<Permission> {\n for await (const page of this.listForResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all permissions the caller has for a resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get the permissions for.\n * @param options The options parameters.\n */\n public listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PermissionsListForResourceOptionalParams\n ): PagedAsyncIterableIterator<Permission> {\n const iter = this.listForResourcePagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\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.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listForResourcePagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PermissionsListForResourceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Permission[]> {\n let result: PermissionsListForResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResource(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForResourceNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForResourcePagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PermissionsListForResourceOptionalParams\n ): AsyncIterableIterator<Permission> {\n for await (const page of this.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all permissions the caller has for a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listForResourceGroup(\n resourceGroupName: string,\n options?: PermissionsListForResourceGroupOptionalParams\n ): Promise<PermissionsListForResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listForResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets all permissions the caller has for a resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get the permissions for.\n * @param options The options parameters.\n */\n private _listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PermissionsListForResourceOptionalParams\n ): Promise<PermissionsListForResourceResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n },\n listForResourceOperationSpec\n );\n }\n\n /**\n * ListForResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListForResourceGroup method.\n * @param options The options parameters.\n */\n private _listForResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PermissionsListForResourceGroupNextOptionalParams\n ): Promise<PermissionsListForResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listForResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListForResourceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get the permissions for.\n * @param nextLink The nextLink from the previous successful call to the ListForResource method.\n * @param options The options parameters.\n */\n private _listForResourceNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: PermissionsListForResourceNextOptionalParams\n ): Promise<PermissionsListForResourceNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options\n },\n listForResourceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listForResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PermissionGetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listForResourceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PermissionGetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listForResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PermissionGetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listForResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PermissionGetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ProviderOperationsMetadataOperations } from "../operationsInterfaces";
|
|
3
|
-
import { AuthorizationManagementClient } from "../authorizationManagementClient";
|
|
4
|
-
import { ProviderOperationsMetadata, ProviderOperationsMetadataListOptionalParams, ProviderOperationsMetadataGetOptionalParams, ProviderOperationsMetadataGetResponse } from "../models";
|
|
2
|
+
import { ProviderOperationsMetadataOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AuthorizationManagementClient } from "../authorizationManagementClient.js";
|
|
4
|
+
import { ProviderOperationsMetadata, ProviderOperationsMetadataListOptionalParams, ProviderOperationsMetadataGetOptionalParams, ProviderOperationsMetadataGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing ProviderOperationsMetadataOperations operations. */
|
|
6
6
|
export declare class ProviderOperationsMetadataOperationsImpl implements ProviderOperationsMetadataOperations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providerOperationsMetadataOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/providerOperationsMetadataOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAC;AAIxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,0BAA0B,EAE1B,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EAEtC,MAAM,oBAAoB,CAAC;AAG5B,wEAAwE;AACxE,qBAAa,wCACX,YAAW,oCAAoC;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,0BAA0B,CAAC;YAkB1C,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACH,GAAG,CACD,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing ProviderOperationsMetadataOperations operations. */
|
|
15
15
|
export class ProviderOperationsMetadataOperationsImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providerOperationsMetadataOperations.js","sourceRoot":"","sources":["../../../src/operations/providerOperationsMetadataOperations.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;AAYtD,4CAA4C;AAC5C,wEAAwE;AACxE,MAAM,OAAO,wCAAwC;IAInD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;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AAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,yBAAyB,CAAC;IACvE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uDAAuD;IAC7D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ProviderOperationsMetadataOperations } 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 { AuthorizationManagementClient } from \"../authorizationManagementClient.js\";\nimport {\n ProviderOperationsMetadata,\n ProviderOperationsMetadataListNextOptionalParams,\n ProviderOperationsMetadataListOptionalParams,\n ProviderOperationsMetadataListResponse,\n ProviderOperationsMetadataGetOptionalParams,\n ProviderOperationsMetadataGetResponse,\n ProviderOperationsMetadataListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ProviderOperationsMetadataOperations operations. */\nexport class ProviderOperationsMetadataOperationsImpl\n implements ProviderOperationsMetadataOperations {\n private readonly client: AuthorizationManagementClient;\n\n /**\n * Initialize a new instance of the class ProviderOperationsMetadataOperations class.\n * @param client Reference to the service client\n */\n constructor(client: AuthorizationManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets provider operations metadata for all resource providers.\n * @param options The options parameters.\n */\n public list(\n options?: ProviderOperationsMetadataListOptionalParams\n ): PagedAsyncIterableIterator<ProviderOperationsMetadata> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: ProviderOperationsMetadataListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ProviderOperationsMetadata[]> {\n let result: ProviderOperationsMetadataListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ProviderOperationsMetadataListOptionalParams\n ): AsyncIterableIterator<ProviderOperationsMetadata> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets provider operations metadata for the specified resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n get(\n resourceProviderNamespace: string,\n options?: ProviderOperationsMetadataGetOptionalParams\n ): Promise<ProviderOperationsMetadataGetResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets provider operations metadata for all resource providers.\n * @param options The options parameters.\n */\n private _list(\n options?: ProviderOperationsMetadataListOptionalParams\n ): Promise<ProviderOperationsMetadataListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ProviderOperationsMetadataListNextOptionalParams\n ): Promise<ProviderOperationsMetadataListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderOperationsMetadata\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.resourceProviderNamespace],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/providerOperations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderOperationsMetadataListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderOperationsMetadataListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { RoleAssignments } from "../operationsInterfaces";
|
|
3
|
-
import { AuthorizationManagementClient } from "../authorizationManagementClient";
|
|
4
|
-
import { RoleAssignment, RoleAssignmentsListForResourceOptionalParams, RoleAssignmentsListForResourceGroupOptionalParams, RoleAssignmentsListOptionalParams, RoleAssignmentsListForScopeOptionalParams, RoleAssignmentsDeleteOptionalParams, RoleAssignmentsDeleteResponse, RoleAssignmentCreateParameters, RoleAssignmentsCreateOptionalParams, RoleAssignmentsCreateResponse, RoleAssignmentsGetOptionalParams, RoleAssignmentsGetResponse, RoleAssignmentsDeleteByIdOptionalParams, RoleAssignmentsDeleteByIdResponse, RoleAssignmentsCreateByIdOptionalParams, RoleAssignmentsCreateByIdResponse, RoleAssignmentsGetByIdOptionalParams, RoleAssignmentsGetByIdResponse } from "../models";
|
|
2
|
+
import { RoleAssignments } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AuthorizationManagementClient } from "../authorizationManagementClient.js";
|
|
4
|
+
import { RoleAssignment, RoleAssignmentsListForResourceOptionalParams, RoleAssignmentsListForResourceGroupOptionalParams, RoleAssignmentsListOptionalParams, RoleAssignmentsListForScopeOptionalParams, RoleAssignmentsDeleteOptionalParams, RoleAssignmentsDeleteResponse, RoleAssignmentCreateParameters, RoleAssignmentsCreateOptionalParams, RoleAssignmentsCreateResponse, RoleAssignmentsGetOptionalParams, RoleAssignmentsGetResponse, RoleAssignmentsDeleteByIdOptionalParams, RoleAssignmentsDeleteByIdResponse, RoleAssignmentsCreateByIdOptionalParams, RoleAssignmentsCreateByIdResponse, RoleAssignmentsGetByIdOptionalParams, RoleAssignmentsGetByIdResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing RoleAssignments operations. */
|
|
6
6
|
export declare class RoleAssignmentsImpl implements RoleAssignments {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roleAssignments.d.ts","sourceRoot":"","sources":["../../../src/operations/roleAssignments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,cAAc,EAEd,4CAA4C,EAG5C,iDAAiD,EAGjD,iCAAiC,EAGjC,yCAAyC,EAEzC,mCAAmC,EACnC,6BAA6B,EAC7B,8BAA8B,EAC9B,mCAAmC,EACnC,6BAA6B,EAC7B,gCAAgC,EAChC,0BAA0B,EAC1B,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EACvC,iCAAiC,EACjC,oCAAoC,EACpC,8BAA8B,EAK/B,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;;OAQG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,cAAc,CAAC;YAi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O,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;;;OAOG;IACH,OAAO,CACL,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAUrB;;;;;;;;;OASG;IACH,OAAO,CAAC,oBAAoB;IAuB5B;;;;;OAKG;IACH,OAAO,CAAC,yBAAyB;IAWjC;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;CAU1B"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing RoleAssignments operations. */
|
|
15
15
|
export class RoleAssignmentsImpl {
|