@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":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.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;AAE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,CAAC,cAAc;QACzB,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 { Accounts } 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 { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n Account,\n AccountsListByResourceGroupNextOptionalParams,\n AccountsListByResourceGroupOptionalParams,\n AccountsListByResourceGroupResponse,\n AccountsListBySubscriptionNextOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsListBySubscriptionResponse,\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 AccountsListByResourceGroupNextResponse,\n AccountsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: PurviewManagementClient;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: PurviewManagementClient) {\n this.client = client;\n }\n\n /**\n * List accounts in ResourceGroup\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Account> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Account[]> {\n let result: AccountsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Account> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List accounts in Subscription\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AccountsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Account> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AccountsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Account[]> {\n let result: AccountsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AccountsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Account> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List accounts in ResourceGroup\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): Promise<AccountsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * List accounts in Subscription\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AccountsListBySubscriptionOptionalParams\n ): Promise<AccountsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getOperationSpec\n );\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AccountsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, accountName, account, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n account: Account,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n accountName,\n account,\n options\n );\n return poller.pollUntilDone();\n }\n\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 async beginDelete(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, accountName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\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 async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n options\n );\n return poller.pollUntilDone();\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AccountsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, accountName, accountUpdateParameters, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n accountUpdateParameters: AccountUpdateParameters,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n accountUpdateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listKeysOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, accountName, collectionAdminUpdate, options },\n addRootCollectionAdminOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { checkNameAvailabilityRequest, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The resource group name.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AccountsListByResourceGroupNextOptionalParams\n ): Promise<AccountsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: AccountsListBySubscriptionNextOptionalParams\n ): Promise<AccountsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Account\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Account\n },\n 201: {\n bodyMapper: Mappers.Account\n },\n 202: {\n bodyMapper: Mappers.Account\n },\n 204: {\n bodyMapper: Mappers.Account\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n requestBody: Parameters.account,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Account\n },\n 201: {\n bodyMapper: Mappers.Account\n },\n 202: {\n bodyMapper: Mappers.Account\n },\n 204: {\n bodyMapper: Mappers.Account\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n requestBody: Parameters.accountUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/listkeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessKeys\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 addRootCollectionAdminOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/addRootCollectionAdmin\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n requestBody: Parameters.collectionAdminUpdate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Purview/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DefaultAccounts } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { PurviewManagementClient } from "../purviewManagementClient.js";
|
|
3
|
+
import { ScopeType, DefaultAccountsGetOptionalParams, DefaultAccountsGetResponse, DefaultAccountPayload, DefaultAccountsSetModelOptionalParams, DefaultAccountsSetModelResponse, DefaultAccountsRemoveOptionalParams } from "../models/index.js";
|
|
4
|
+
/** Class containing DefaultAccounts operations. */
|
|
5
|
+
export declare class DefaultAccountsImpl implements DefaultAccounts {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class DefaultAccounts class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: PurviewManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Get the default account for the scope.
|
|
14
|
+
* @param scopeTenantId The tenant ID.
|
|
15
|
+
* @param scopeType The scope for the default account.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
get(scopeTenantId: string, scopeType: ScopeType, options?: DefaultAccountsGetOptionalParams): Promise<DefaultAccountsGetResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the default account for the scope.
|
|
21
|
+
* @param defaultAccountPayload The payload containing the default account information and the scope.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
set(defaultAccountPayload: DefaultAccountPayload, options?: DefaultAccountsSetModelOptionalParams): Promise<DefaultAccountsSetModelResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Removes the default account from the scope.
|
|
27
|
+
* @param scopeTenantId The tenant ID.
|
|
28
|
+
* @param scopeType The scope for the default account.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
remove(scopeTenantId: string, scopeType: ScopeType, options?: DefaultAccountsRemoveOptionalParams): Promise<void>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=defaultAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultAccounts.d.ts","sourceRoot":"","sources":["../../../src/operations/defaultAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,SAAS,EACT,gCAAgC,EAChC,0BAA0B,EAC1B,qBAAqB,EACrB,qCAAqC,EACrC,+BAA+B,EAC/B,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACH,GAAG,CACD,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing DefaultAccounts operations. */
|
|
12
|
+
export class DefaultAccountsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class DefaultAccounts class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the default account for the scope.
|
|
22
|
+
* @param scopeTenantId The tenant ID.
|
|
23
|
+
* @param scopeType The scope for the default account.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(scopeTenantId, scopeType, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ scopeTenantId, scopeType, options }, getOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Sets the default account for the scope.
|
|
31
|
+
* @param defaultAccountPayload The payload containing the default account information and the scope.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
set(defaultAccountPayload, options) {
|
|
35
|
+
return this.client.sendOperationRequest({ defaultAccountPayload, options }, setOperationSpec);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Removes the default account from the scope.
|
|
39
|
+
* @param scopeTenantId The tenant ID.
|
|
40
|
+
* @param scopeType The scope for the default account.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
remove(scopeTenantId, scopeType, options) {
|
|
44
|
+
return this.client.sendOperationRequest({ scopeTenantId, scopeType, options }, removeOperationSpec);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// Operation Specifications
|
|
48
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
49
|
+
const getOperationSpec = {
|
|
50
|
+
path: "/providers/Microsoft.Purview/getDefaultAccount",
|
|
51
|
+
httpMethod: "GET",
|
|
52
|
+
responses: {
|
|
53
|
+
200: {
|
|
54
|
+
bodyMapper: Mappers.DefaultAccountPayload
|
|
55
|
+
},
|
|
56
|
+
default: {
|
|
57
|
+
bodyMapper: Mappers.ErrorResponseModel
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
queryParameters: [
|
|
61
|
+
Parameters.apiVersion,
|
|
62
|
+
Parameters.scopeTenantId,
|
|
63
|
+
Parameters.scopeType,
|
|
64
|
+
Parameters.scope
|
|
65
|
+
],
|
|
66
|
+
urlParameters: [Parameters.$host],
|
|
67
|
+
headerParameters: [Parameters.accept],
|
|
68
|
+
serializer
|
|
69
|
+
};
|
|
70
|
+
const setOperationSpec = {
|
|
71
|
+
path: "/providers/Microsoft.Purview/setDefaultAccount",
|
|
72
|
+
httpMethod: "POST",
|
|
73
|
+
responses: {
|
|
74
|
+
200: {
|
|
75
|
+
bodyMapper: Mappers.DefaultAccountPayload
|
|
76
|
+
},
|
|
77
|
+
default: {
|
|
78
|
+
bodyMapper: Mappers.ErrorResponseModel
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
requestBody: Parameters.defaultAccountPayload,
|
|
82
|
+
queryParameters: [Parameters.apiVersion],
|
|
83
|
+
urlParameters: [Parameters.$host],
|
|
84
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
85
|
+
mediaType: "json",
|
|
86
|
+
serializer
|
|
87
|
+
};
|
|
88
|
+
const removeOperationSpec = {
|
|
89
|
+
path: "/providers/Microsoft.Purview/removeDefaultAccount",
|
|
90
|
+
httpMethod: "POST",
|
|
91
|
+
responses: {
|
|
92
|
+
200: {},
|
|
93
|
+
204: {},
|
|
94
|
+
default: {
|
|
95
|
+
bodyMapper: Mappers.ErrorResponseModel
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
queryParameters: [
|
|
99
|
+
Parameters.apiVersion,
|
|
100
|
+
Parameters.scopeTenantId,
|
|
101
|
+
Parameters.scopeType,
|
|
102
|
+
Parameters.scope
|
|
103
|
+
],
|
|
104
|
+
urlParameters: [Parameters.$host],
|
|
105
|
+
headerParameters: [Parameters.accept],
|
|
106
|
+
serializer
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=defaultAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultAccounts.js","sourceRoot":"","sources":["../../../src/operations/defaultAccounts.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;AAYtD,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,aAAqB,EACrB,SAAoB,EACpB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,EACrC,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,GAAG,CACD,qBAA4C,EAC5C,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,qBAAqB,EAAE,OAAO,EAAE,EAClC,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,aAAqB,EACrB,SAAoB,EACpB,OAA6C;QAE7C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,EACrC,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAg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AAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,KAAK;KACjB;IACD,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 { DefaultAccounts } 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 ScopeType,\n DefaultAccountsGetOptionalParams,\n DefaultAccountsGetResponse,\n DefaultAccountPayload,\n DefaultAccountsSetModelOptionalParams,\n DefaultAccountsSetModelResponse,\n DefaultAccountsRemoveOptionalParams\n} from \"../models/index.js\";\n\n/** Class containing DefaultAccounts operations. */\nexport class DefaultAccountsImpl implements DefaultAccounts {\n private readonly client: PurviewManagementClient;\n\n /**\n * Initialize a new instance of the class DefaultAccounts class.\n * @param client Reference to the service client\n */\n constructor(client: PurviewManagementClient) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n { scopeTenantId, scopeType, options },\n getOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { defaultAccountPayload, options },\n setOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { scopeTenantId, scopeType, options },\n removeOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Purview/getDefaultAccount\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DefaultAccountPayload\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.scopeTenantId,\n Parameters.scopeType,\n Parameters.scope\n ],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst setOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Purview/setDefaultAccount\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DefaultAccountPayload\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n requestBody: Parameters.defaultAccountPayload,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst removeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Purview/removeDefaultAccount\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.scopeTenantId,\n Parameters.scopeType,\n Parameters.scope\n ],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/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,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 "./accounts.js";
|
|
9
|
+
export * from "./defaultAccounts.js";
|
|
10
|
+
export * from "./operations.js";
|
|
11
|
+
export * from "./privateEndpointConnections.js";
|
|
12
|
+
export * from "./privateLinkResources.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,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,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 \"./accounts.js\";\nexport * from \"./defaultAccounts.js\";\nexport * from \"./operations.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { PurviewManagementClient } from "../purviewManagementClient.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: PurviewManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* List of available operations
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* List of available operations
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* ListNext
|
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listNext;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Class containing Operations operations. */
|
|
15
|
+
export class OperationsImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Operations class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* List of available operations
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(options) {
|
|
28
|
+
const iter = this.listPagingAll(options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(options, settings) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = yield __await(this._list(options));
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield yield __await(page);
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield yield __await(page);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
listPagingAll(options) {
|
|
65
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
66
|
+
var _a, e_1, _b, _c;
|
|
67
|
+
try {
|
|
68
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
+
_c = _f.value;
|
|
70
|
+
_d = false;
|
|
71
|
+
const page = _c;
|
|
72
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
+
finally {
|
|
77
|
+
try {
|
|
78
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
+
}
|
|
80
|
+
finally { if (e_1) throw e_1.error; }
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* List of available operations
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
_list(options) {
|
|
89
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* ListNext
|
|
93
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
_listNext(nextLink, options) {
|
|
97
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// Operation Specifications
|
|
101
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
102
|
+
const listOperationSpec = {
|
|
103
|
+
path: "/providers/Microsoft.Purview/operations",
|
|
104
|
+
httpMethod: "GET",
|
|
105
|
+
responses: {
|
|
106
|
+
200: {
|
|
107
|
+
bodyMapper: Mappers.OperationList
|
|
108
|
+
},
|
|
109
|
+
default: {
|
|
110
|
+
bodyMapper: Mappers.ErrorResponseModel
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
queryParameters: [Parameters.apiVersion],
|
|
114
|
+
urlParameters: [Parameters.$host],
|
|
115
|
+
headerParameters: [Parameters.accept],
|
|
116
|
+
serializer
|
|
117
|
+
};
|
|
118
|
+
const listNextOperationSpec = {
|
|
119
|
+
path: "{nextLink}",
|
|
120
|
+
httpMethod: "GET",
|
|
121
|
+
responses: {
|
|
122
|
+
200: {
|
|
123
|
+
bodyMapper: Mappers.OperationList
|
|
124
|
+
},
|
|
125
|
+
default: {
|
|
126
|
+
bodyMapper: Mappers.ErrorResponseModel
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
queryParameters: [Parameters.apiVersion],
|
|
130
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
131
|
+
headerParameters: [Parameters.accept],
|
|
132
|
+
serializer
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,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gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,yCAAyC;IAC/C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PurviewManagementClient } from \"../purviewManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: PurviewManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: PurviewManagementClient) {\n this.client = client;\n }\n\n /**\n * List of available operations\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List of available operations\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Purview/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { PurviewManagementClient } from "../purviewManagementClient.js";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByAccountOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
|
|
6
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
7
|
+
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: PurviewManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Get private endpoint connections for account
|
|
16
|
+
* @param resourceGroupName The resource group name.
|
|
17
|
+
* @param accountName The name of the account.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListByAccountOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
21
|
+
private listByAccountPagingPage;
|
|
22
|
+
private listByAccountPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Get private endpoint connections for account
|
|
25
|
+
* @param resourceGroupName The resource group name.
|
|
26
|
+
* @param accountName The name of the account.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listByAccount;
|
|
30
|
+
/**
|
|
31
|
+
* Get 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 options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Create or update a private endpoint connection
|
|
40
|
+
* @param resourceGroupName The resource group name.
|
|
41
|
+
* @param accountName The name of the account.
|
|
42
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
43
|
+
* @param request The request.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, request: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Create or update 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 request The request.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, request: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete a private endpoint connection
|
|
58
|
+
* @param resourceGroupName The resource group name.
|
|
59
|
+
* @param accountName The name of the account.
|
|
60
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Delete a private endpoint connection
|
|
66
|
+
* @param resourceGroupName The resource group name.
|
|
67
|
+
* @param accountName The name of the account.
|
|
68
|
+
* @param privateEndpointConnectionName Name of the private endpoint connection.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* ListByAccountNext
|
|
74
|
+
* @param resourceGroupName The resource group name.
|
|
75
|
+
* @param accountName The name of the account.
|
|
76
|
+
* @param nextLink The nextLink from the previous successful call to the ListByAccount method.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listByAccountNext;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,yBAAyB,EAEzB,qDAAqD,EAErD,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC;YA2BzC,uBAAuB;YAiCvB,sBAAsB;IAcrC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,EAAE,yBAAyB,EAClC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,gDAAgD,CAAC,EACpE,gDAAgD,CACjD,CACF;IA2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