@azure/arm-purview 1.1.1-alpha.20250217.1 → 1.1.1-alpha.20250219.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- 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/lroImpl.js +25 -0
- package/dist/browser/lroImpl.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/accounts.d.ts +3 -3
- package/dist/browser/operations/accounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.js +101 -113
- package/dist/browser/operations/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/defaultAccounts.d.ts +3 -3
- package/dist/browser/operations/defaultAccounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/defaultAccounts.js +2 -2
- package/dist/browser/operations/defaultAccounts.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-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +80 -88
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +3 -3
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/defaultAccounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/defaultAccounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/defaultAccounts.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-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/purviewManagementClient.d.ts +2 -2
- package/dist/browser/purviewManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/purviewManagementClient.js +15 -18
- package/dist/browser/purviewManagementClient.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/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-purview.d.ts → dist/commonjs/models/index.d.ts} +906 -1236
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +113 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +41 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1241 -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 +179 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accounts.d.ts +128 -0
- package/dist/commonjs/operations/accounts.d.ts.map +1 -0
- package/dist/commonjs/operations/accounts.js +612 -0
- package/dist/commonjs/operations/accounts.js.map +1 -0
- package/dist/commonjs/operations/defaultAccounts.d.ts +33 -0
- package/dist/commonjs/operations/defaultAccounts.d.ts.map +1 -0
- package/dist/commonjs/operations/defaultAccounts.js +113 -0
- package/dist/commonjs/operations/defaultAccounts.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/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +138 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +81 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +361 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +46 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +187 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts +92 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/defaultAccounts.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/defaultAccounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/defaultAccounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/defaultAccounts.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/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.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/commonjs/purviewManagementClient.d.ts +24 -0
- package/dist/commonjs/purviewManagementClient.d.ts.map +1 -0
- package/dist/commonjs/purviewManagementClient.js +106 -0
- package/dist/commonjs/purviewManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- 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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +906 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +110 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +41 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1238 -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 +176 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accounts.d.ts +128 -0
- package/dist/esm/operations/accounts.d.ts.map +1 -0
- package/dist/esm/operations/accounts.js +608 -0
- package/dist/esm/operations/accounts.js.map +1 -0
- package/dist/esm/operations/defaultAccounts.d.ts +33 -0
- package/dist/esm/operations/defaultAccounts.d.ts.map +1 -0
- package/dist/esm/operations/defaultAccounts.js +108 -0
- package/dist/esm/operations/defaultAccounts.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/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +134 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +81 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +357 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +46 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +183 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts +92 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.js +9 -0
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/defaultAccounts.d.ts +25 -0
- package/dist/esm/operationsInterfaces/defaultAccounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/defaultAccounts.js +9 -0
- package/dist/esm/operationsInterfaces/defaultAccounts.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/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.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/esm/purviewManagementClient.d.ts +24 -0
- package/dist/esm/purviewManagementClient.d.ts.map +1 -0
- package/dist/esm/purviewManagementClient.js +101 -0
- package/dist/esm/purviewManagementClient.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/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +906 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +110 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +41 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1238 -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 +176 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accounts.d.ts +128 -0
- package/dist/react-native/operations/accounts.d.ts.map +1 -0
- package/dist/react-native/operations/accounts.js +608 -0
- package/dist/react-native/operations/accounts.js.map +1 -0
- package/dist/react-native/operations/defaultAccounts.d.ts +33 -0
- package/dist/react-native/operations/defaultAccounts.d.ts.map +1 -0
- package/dist/react-native/operations/defaultAccounts.js +108 -0
- package/dist/react-native/operations/defaultAccounts.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/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +134 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +81 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +357 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +46 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +183 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts +92 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.js +9 -0
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/defaultAccounts.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/defaultAccounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/defaultAccounts.js +9 -0
- package/dist/react-native/operationsInterfaces/defaultAccounts.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/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.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/dist/react-native/purviewManagementClient.d.ts +24 -0
- package/dist/react-native/purviewManagementClient.d.ts.map +1 -0
- package/dist/react-native/purviewManagementClient.js +101 -0
- package/dist/react-native/purviewManagementClient.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -3141
- 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/accountsAddRootCollectionAdminSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsAddRootCollectionAdminSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsAddRootCollectionAdminSample.js +0 -25
- package/dist-esm/samples-dev/accountsAddRootCollectionAdminSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js +0 -24
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -26
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +0 -29
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.js +0 -29
- package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListKeysSample.js +0 -29
- package/dist-esm/samples-dev/accountsListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +0 -25
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/defaultAccountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsGetSample.js +0 -24
- package/dist-esm/samples-dev/defaultAccountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsRemoveSample.d.ts +0 -2
- package/dist-esm/samples-dev/defaultAccountsRemoveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsRemoveSample.js +0 -24
- package/dist-esm/samples-dev/defaultAccountsRemoveSample.js.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsSetSample.d.ts +0 -2
- package/dist-esm/samples-dev/defaultAccountsSetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/defaultAccountsSetSample.js +0 -28
- package/dist-esm/samples-dev/defaultAccountsSetSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -43
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -29
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -30
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -30
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js +0 -45
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetByGroupIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGetByGroupIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetByGroupIdSample.js +0 -30
- package/dist-esm/samples-dev/privateLinkResourcesGetByGroupIdSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.js +0 -45
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.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/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.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/accounts.d.ts.map +0 -1
- package/dist-esm/src/operations/accounts.js.map +0 -1
- package/dist-esm/src/operations/defaultAccounts.d.ts.map +0 -1
- package/dist-esm/src/operations/defaultAccounts.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/defaultAccounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/defaultAccounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/purviewManagementClient.d.ts.map +0 -1
- package/dist-esm/src/purviewManagementClient.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/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1018
- package/src/models/mappers.ts +0 -1307
- package/src/models/parameters.ts +0 -208
- package/src/operations/accounts.ts +0 -829
- package/src/operations/defaultAccounts.ts +0 -146
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -150
- package/src/operations/privateEndpointConnections.ts +0 -511
- package/src/operations/privateLinkResources.ts +0 -247
- package/src/operationsInterfaces/accounts.ts +0 -179
- package/src/operationsInterfaces/defaultAccounts.ts +0 -52
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
- package/src/operationsInterfaces/privateLinkResources.ts +0 -44
- package/src/pagingHelper.ts +0 -39
- package/src/purviewManagementClient.ts +0 -160
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /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/accounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/defaultAccounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAYtD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM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;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,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 { PrivateLinkResources } 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 { PurviewManagementClient } from \"../purviewManagementClient.js\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourcesListByAccountNextOptionalParams,\n PrivateLinkResourcesListByAccountOptionalParams,\n PrivateLinkResourcesListByAccountResponse,\n PrivateLinkResourcesGetByGroupIdOptionalParams,\n PrivateLinkResourcesGetByGroupIdResponse,\n PrivateLinkResourcesListByAccountNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: PurviewManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: PurviewManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of privately linkable resources for an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n public listByAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourcesListByAccountOptionalParams\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listByAccountPagingAll(\n resourceGroupName,\n accountName,\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.listByAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourcesListByAccountOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateLinkResourcesListByAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByAccount(\n resourceGroupName,\n accountName,\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._listByAccountNext(\n resourceGroupName,\n accountName,\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 *listByAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourcesListByAccountOptionalParams\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listByAccountPagingPage(\n resourceGroupName,\n accountName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of privately linkable resources for an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n private _listByAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourcesListByAccountOptionalParams\n ): Promise<PrivateLinkResourcesListByAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByAccountOperationSpec\n );\n }\n\n /**\n * Gets a privately linkable resources for an account with given group identifier\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param groupId The group identifier.\n * @param options The options parameters.\n */\n getByGroupId(\n resourceGroupName: string,\n accountName: string,\n groupId: string,\n options?: PrivateLinkResourcesGetByGroupIdOptionalParams\n ): Promise<PrivateLinkResourcesGetByGroupIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, groupId, options },\n getByGroupIdOperationSpec\n );\n }\n\n /**\n * ListByAccountNext\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param nextLink The nextLink from the previous successful call to the ListByAccount method.\n * @param options The options parameters.\n */\n private _listByAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: PrivateLinkResourcesListByAccountNextOptionalParams\n ): Promise<PrivateLinkResourcesListByAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByAccountNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByAccountOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByGroupIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.groupId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { Account, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse, AccountsListKeysOptionalParams, AccountsListKeysResponse, CollectionAdminUpdate, AccountsAddRootCollectionAdminOptionalParams, CheckNameAvailabilityRequest, AccountsCheckNameAvailabilityOptionalParams, AccountsCheckNameAvailabilityResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a Accounts. */
|
|
5
|
+
export interface Accounts {
|
|
6
|
+
/**
|
|
7
|
+
* List accounts in ResourceGroup
|
|
8
|
+
* @param resourceGroupName The resource group name.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
12
|
+
/**
|
|
13
|
+
* List accounts in Subscription
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
17
|
+
/**
|
|
18
|
+
* Get an account
|
|
19
|
+
* @param resourceGroupName The resource group name.
|
|
20
|
+
* @param accountName The name of the account.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Creates or updates an account
|
|
26
|
+
* @param resourceGroupName The resource group name.
|
|
27
|
+
* @param accountName The name of the account.
|
|
28
|
+
* @param account The account.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AccountsCreateOrUpdateResponse>, AccountsCreateOrUpdateResponse>>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates or updates an account
|
|
34
|
+
* @param resourceGroupName The resource group name.
|
|
35
|
+
* @param accountName The name of the account.
|
|
36
|
+
* @param account The account.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Deletes an account resource
|
|
42
|
+
* @param resourceGroupName The resource group name.
|
|
43
|
+
* @param accountName The name of the account.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginDelete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes an account resource
|
|
49
|
+
* @param resourceGroupName The resource group name.
|
|
50
|
+
* @param accountName The name of the account.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Updates an account
|
|
56
|
+
* @param resourceGroupName The resource group name.
|
|
57
|
+
* @param accountName The name of the account.
|
|
58
|
+
* @param accountUpdateParameters The account update parameters.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
beginUpdate(resourceGroupName: string, accountName: string, accountUpdateParameters: AccountUpdateParameters, options?: AccountsUpdateOptionalParams): Promise<PollerLike<PollOperationState<AccountsUpdateResponse>, AccountsUpdateResponse>>;
|
|
62
|
+
/**
|
|
63
|
+
* Updates an account
|
|
64
|
+
* @param resourceGroupName The resource group name.
|
|
65
|
+
* @param accountName The name of the account.
|
|
66
|
+
* @param accountUpdateParameters The account update parameters.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginUpdateAndWait(resourceGroupName: string, accountName: string, accountUpdateParameters: AccountUpdateParameters, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* List the authorization keys associated with this account.
|
|
72
|
+
* @param resourceGroupName The resource group name.
|
|
73
|
+
* @param accountName The name of the account.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
listKeys(resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams): Promise<AccountsListKeysResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Add the administrator for root collection associated with this account.
|
|
79
|
+
* @param resourceGroupName The resource group name.
|
|
80
|
+
* @param accountName The name of the account.
|
|
81
|
+
* @param collectionAdminUpdate The collection admin update payload.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
addRootCollectionAdmin(resourceGroupName: string, accountName: string, collectionAdminUpdate: CollectionAdminUpdate, options?: AccountsAddRootCollectionAdminOptionalParams): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Checks if account name is available.
|
|
87
|
+
* @param checkNameAvailabilityRequest The check name availability request.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<AccountsCheckNameAvailabilityResponse>;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,4CAA4C,EAC5C,4BAA4B,EAC5B,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,M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O,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;OAKG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,qBAAqB,CACnB,4BAA4B,EAAE,4BAA4B,EAC1D,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n Account,\n AccountsListByResourceGroupOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsGetOptionalParams,\n AccountsGetResponse,\n AccountsCreateOrUpdateOptionalParams,\n AccountsCreateOrUpdateResponse,\n AccountsDeleteOptionalParams,\n AccountUpdateParameters,\n AccountsUpdateOptionalParams,\n AccountsUpdateResponse,\n AccountsListKeysOptionalParams,\n AccountsListKeysResponse,\n CollectionAdminUpdate,\n AccountsAddRootCollectionAdminOptionalParams,\n CheckNameAvailabilityRequest,\n AccountsCheckNameAvailabilityOptionalParams,\n AccountsCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Accounts. */\nexport interface Accounts {\n /**\n * List accounts in ResourceGroup\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * List accounts in Subscription\n * @param options The options parameters.\n */\n listBySubscription(\n options?: AccountsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * Get an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsGetOptionalParams\n ): Promise<AccountsGetResponse>;\n /**\n * Creates or updates an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param account The account.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n account: Account,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AccountsCreateOrUpdateResponse>,\n AccountsCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param account The account.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n account: Account,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse>;\n /**\n * Deletes an account resource\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes an account resource\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param accountUpdateParameters The account update parameters.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n accountName: string,\n accountUpdateParameters: AccountUpdateParameters,\n options?: AccountsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AccountsUpdateResponse>,\n AccountsUpdateResponse\n >\n >;\n /**\n * Updates an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param accountUpdateParameters The account update parameters.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n accountUpdateParameters: AccountUpdateParameters,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse>;\n /**\n * List the authorization keys associated with this account.\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsListKeysOptionalParams\n ): Promise<AccountsListKeysResponse>;\n /**\n * Add the administrator for root collection associated with this account.\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param collectionAdminUpdate The collection admin update payload.\n * @param options The options parameters.\n */\n addRootCollectionAdmin(\n resourceGroupName: string,\n accountName: string,\n collectionAdminUpdate: CollectionAdminUpdate,\n options?: AccountsAddRootCollectionAdminOptionalParams\n ): Promise<void>;\n /**\n * Checks if account name is available.\n * @param checkNameAvailabilityRequest The check name availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n checkNameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: AccountsCheckNameAvailabilityOptionalParams\n ): Promise<AccountsCheckNameAvailabilityResponse>;\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ScopeType, DefaultAccountsGetOptionalParams, DefaultAccountsGetResponse, DefaultAccountPayload, DefaultAccountsSetModelOptionalParams, DefaultAccountsSetModelResponse, DefaultAccountsRemoveOptionalParams } from "../models/index.js";
|
|
2
|
+
/** Interface representing a DefaultAccounts. */
|
|
3
|
+
export interface DefaultAccounts {
|
|
4
|
+
/**
|
|
5
|
+
* Get the default account for the scope.
|
|
6
|
+
* @param scopeTenantId The tenant ID.
|
|
7
|
+
* @param scopeType The scope for the default account.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
get(scopeTenantId: string, scopeType: ScopeType, options?: DefaultAccountsGetOptionalParams): Promise<DefaultAccountsGetResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Sets the default account for the scope.
|
|
13
|
+
* @param defaultAccountPayload The payload containing the default account information and the scope.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
set(defaultAccountPayload: DefaultAccountPayload, options?: DefaultAccountsSetModelOptionalParams): Promise<DefaultAccountsSetModelResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Removes the default account from the scope.
|
|
19
|
+
* @param scopeTenantId The tenant ID.
|
|
20
|
+
* @param scopeType The scope for the default account.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
remove(scopeTenantId: string, scopeType: ScopeType, options?: DefaultAccountsRemoveOptionalParams): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=defaultAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultAccounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/defaultAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,SAAS,EACT,gCAAgC,EAChC,0BAA0B,EAC1B,qBAAqB,EACrB,qCAAqC,EACrC,+BAA+B,EAC/B,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;OAIG;IACH,GAAG,CACD,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=defaultAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultAccounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/defaultAccounts.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n ScopeType,\n DefaultAccountsGetOptionalParams,\n DefaultAccountsGetResponse,\n DefaultAccountPayload,\n DefaultAccountsSetModelOptionalParams,\n DefaultAccountsSetModelResponse,\n DefaultAccountsRemoveOptionalParams\n} from \"../models/index.js\";\n\n/** Interface representing a DefaultAccounts. */\nexport interface DefaultAccounts {\n /**\n * Get the default account for the scope.\n * @param scopeTenantId The tenant ID.\n * @param scopeType The scope for the default account.\n * @param options The options parameters.\n */\n get(\n scopeTenantId: string,\n scopeType: ScopeType,\n options?: DefaultAccountsGetOptionalParams\n ): Promise<DefaultAccountsGetResponse>;\n /**\n * Sets the default account for the scope.\n * @param defaultAccountPayload The payload containing the default account information and the scope.\n * @param options The options parameters.\n */\n set(\n defaultAccountPayload: DefaultAccountPayload,\n options?: DefaultAccountsSetModelOptionalParams\n ): Promise<DefaultAccountsSetModelResponse>;\n /**\n * Removes the default account from the scope.\n * @param scopeTenantId The tenant ID.\n * @param scopeType The scope for the default account.\n * @param options The options parameters.\n */\n remove(\n scopeTenantId: string,\n scopeType: ScopeType,\n options?: DefaultAccountsRemoveOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./accounts.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./defaultAccounts.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./privateEndpointConnections.js"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./privateLinkResources.js"), exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,wDAA8B;AAC9B,+DAAqC;AACrC,0DAAgC;AAChC,0EAAgD;AAChD,oEAA0C","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 \"./accounts.js\";\nexport * from \"./defaultAccounts.js\";\nexport * from \"./operations.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* List of available operations
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * List of available operations\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByAccountOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
|
|
4
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
5
|
+
export interface PrivateEndpointConnections {
|
|
6
|
+
/**
|
|
7
|
+
* Get private endpoint connections for account
|
|
8
|
+
* @param resourceGroupName The resource group name.
|
|
9
|
+
* @param accountName The name of the account.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListByAccountOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
13
|
+
/**
|
|
14
|
+
* Get a private endpoint connection
|
|
15
|
+
* @param resourceGroupName The resource group name.
|
|
16
|
+
* @param accountName The name of the account.
|
|
17
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Create or update a private endpoint connection
|
|
23
|
+
* @param resourceGroupName The resource group name.
|
|
24
|
+
* @param accountName The name of the account.
|
|
25
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
26
|
+
* @param request The request.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, request: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
30
|
+
/**
|
|
31
|
+
* Create or update a private endpoint connection
|
|
32
|
+
* @param resourceGroupName The resource group name.
|
|
33
|
+
* @param accountName The name of the account.
|
|
34
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
35
|
+
* @param request The request.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, request: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a private endpoint connection
|
|
41
|
+
* @param resourceGroupName The resource group name.
|
|
42
|
+
* @param accountName The name of the account.
|
|
43
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete a private endpoint connection
|
|
49
|
+
* @param resourceGroupName The resource group name.
|
|
50
|
+
* @param accountName The name of the account.
|
|
51
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,qDAAqD,EACrD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MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByAccountOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Get private endpoint connections for account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n listByAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateEndpointConnectionsListByAccountOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection>;\n /**\n * Get a private endpoint connection\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param privateEndpointConnectionName Name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Create or update a private endpoint connection\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param privateEndpointConnectionName Name of the private endpoint connection.\n * @param request The request.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n request: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update a private endpoint connection\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param privateEndpointConnectionName Name of the private endpoint connection.\n * @param request The request.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n request: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;\n /**\n * Delete a private endpoint connection\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param privateEndpointConnectionName Name of the private endpoint connection.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Delete a private endpoint connection\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param privateEndpointConnectionName Name of the private endpoint connection.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResource, PrivateLinkResourcesListByAccountOptionalParams, PrivateLinkResourcesGetByGroupIdOptionalParams, PrivateLinkResourcesGetByGroupIdResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a PrivateLinkResources. */
|
|
4
|
+
export interface PrivateLinkResources {
|
|
5
|
+
/**
|
|
6
|
+
* Gets a list of privately linkable resources for an account
|
|
7
|
+
* @param resourceGroupName The resource group name.
|
|
8
|
+
* @param accountName The name of the account.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByAccountOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a privately linkable resources for an account with given group identifier
|
|
14
|
+
* @param resourceGroupName The resource group name.
|
|
15
|
+
* @param accountName The name of the account.
|
|
16
|
+
* @param groupId The group identifier.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
getByGroupId(resourceGroupName: string, accountName: string, groupId: string, options?: PrivateLinkResourcesGetByGroupIdOptionalParams): Promise<PrivateLinkResourcesGetByGroupIdResponse>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAC/C,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourcesListByAccountOptionalParams,\n PrivateLinkResourcesGetByGroupIdOptionalParams,\n PrivateLinkResourcesGetByGroupIdResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateLinkResources. */\nexport interface PrivateLinkResources {\n /**\n * Gets a list of privately linkable resources for an account\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param options The options parameters.\n */\n listByAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourcesListByAccountOptionalParams\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n /**\n * Gets a privately linkable resources for an account with given group identifier\n * @param resourceGroupName The resource group name.\n * @param accountName The name of the account.\n * @param groupId The group identifier.\n * @param options The options parameters.\n */\n getByGroupId(\n resourceGroupName: string,\n accountName: string,\n groupId: string,\n options?: PrivateLinkResourcesGetByGroupIdOptionalParams\n ): Promise<PrivateLinkResourcesGetByGroupIdResponse>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
|
12
|
+
const pageMap = new WeakMap();
|
|
13
|
+
/**
|
|
14
|
+
* Given a result page from a pageable operation, returns a
|
|
15
|
+
* continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
|
19
|
+
*/
|
|
20
|
+
function getContinuationToken(page) {
|
|
21
|
+
var _a;
|
|
22
|
+
if (typeof page !== "object" || page === null) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
26
|
+
}
|
|
27
|
+
function setContinuationToken(page, continuationToken) {
|
|
28
|
+
var _a;
|
|
29
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
33
|
+
pageInfo.continuationToken = continuationToken;
|
|
34
|
+
pageMap.set(page, pageInfo);
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Accounts, DefaultAccounts, Operations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { PurviewManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class PurviewManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the PurviewManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The subscription identifier
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PurviewManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
accounts: Accounts;
|
|
19
|
+
defaultAccounts: DefaultAccounts;
|
|
20
|
+
operations: Operations;
|
|
21
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
22
|
+
privateLinkResources: PrivateLinkResources;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=purviewManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purviewManagementClient.d.ts","sourceRoot":"","sources":["../../src/purviewManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qCAAqC,EAAE,MAAM,mBAAmB,CAAC;AAE1E,qBAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,qCAAqC;IAgFjD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PurviewManagementClient = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
|
15
|
+
class PurviewManagementClient extends coreClient.ServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Initializes a new instance of the PurviewManagementClient class.
|
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
19
|
+
* @param subscriptionId The subscription identifier
|
|
20
|
+
* @param options The parameter options
|
|
21
|
+
*/
|
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
|
23
|
+
var _a, _b, _c;
|
|
24
|
+
if (credentials === undefined) {
|
|
25
|
+
throw new Error("'credentials' cannot be null");
|
|
26
|
+
}
|
|
27
|
+
if (subscriptionId === undefined) {
|
|
28
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
29
|
+
}
|
|
30
|
+
// Initializing default values for options
|
|
31
|
+
if (!options) {
|
|
32
|
+
options = {};
|
|
33
|
+
}
|
|
34
|
+
const defaults = {
|
|
35
|
+
requestContentType: "application/json; charset=utf-8",
|
|
36
|
+
credential: credentials
|
|
37
|
+
};
|
|
38
|
+
const packageDetails = `azsdk-js-arm-purview/1.1.1`;
|
|
39
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
|
+
: `${packageDetails}`;
|
|
42
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
43
|
+
userAgentPrefix
|
|
44
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
45
|
+
super(optionsWithDefaults);
|
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
47
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
48
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
50
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
51
|
+
}
|
|
52
|
+
if (!options ||
|
|
53
|
+
!options.pipeline ||
|
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
+
this.pipeline.removePolicy({
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
58
|
+
});
|
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
+
credential: credentials,
|
|
61
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
62
|
+
challengeCallbacks: {
|
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
64
|
+
}
|
|
65
|
+
}));
|
|
66
|
+
}
|
|
67
|
+
// Parameter assignments
|
|
68
|
+
this.subscriptionId = subscriptionId;
|
|
69
|
+
// Assigning values to Constant parameters
|
|
70
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
71
|
+
this.apiVersion = options.apiVersion || "2021-07-01";
|
|
72
|
+
this.accounts = new index_js_1.AccountsImpl(this);
|
|
73
|
+
this.defaultAccounts = new index_js_1.DefaultAccountsImpl(this);
|
|
74
|
+
this.operations = new index_js_1.OperationsImpl(this);
|
|
75
|
+
this.privateEndpointConnections = new index_js_1.PrivateEndpointConnectionsImpl(this);
|
|
76
|
+
this.privateLinkResources = new index_js_1.PrivateLinkResourcesImpl(this);
|
|
77
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
78
|
+
}
|
|
79
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
80
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
81
|
+
if (!apiVersion) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const apiVersionPolicy = {
|
|
85
|
+
name: "CustomApiVersionPolicy",
|
|
86
|
+
async sendRequest(request, next) {
|
|
87
|
+
const param = request.url.split("?");
|
|
88
|
+
if (param.length > 1) {
|
|
89
|
+
const newParams = param[1].split("&").map((item) => {
|
|
90
|
+
if (item.indexOf("api-version") > -1) {
|
|
91
|
+
return "api-version=" + apiVersion;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return item;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
98
|
+
}
|
|
99
|
+
return next(request);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.PurviewManagementClient = PurviewManagementClient;
|
|
106
|
+
//# sourceMappingURL=purviewManagementClient.js.map
|