@azure/arm-databricks 3.0.1-alpha.20241227.1 → 3.0.1-alpha.20250108.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist-esm/src → dist/browser}/azureDatabricksManagementClient.d.ts +2 -2
- package/dist/browser/azureDatabricksManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureDatabricksManagementClient.js +1 -1
- package/dist/browser/azureDatabricksManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/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/accessConnectors.d.ts +3 -3
- package/dist/browser/operations/accessConnectors.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessConnectors.js +113 -125
- package/dist/browser/operations/accessConnectors.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- 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/outboundNetworkDependenciesEndpoints.d.ts +3 -3
- package/dist/browser/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/outboundNetworkDependenciesEndpoints.js +2 -2
- package/dist/browser/operations/outboundNetworkDependenciesEndpoints.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 +88 -96
- 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}/operations/vNetPeering.d.ts +3 -3
- package/dist/browser/operations/vNetPeering.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/vNetPeering.js +83 -91
- package/dist/browser/operations/vNetPeering.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
- package/dist/browser/operations/workspaces.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.js +113 -125
- package/dist/browser/operations/workspaces.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accessConnectors.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- 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/outboundNetworkDependenciesEndpoints.d.ts +1 -1
- package/dist/browser/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/outboundNetworkDependenciesEndpoints.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-esm/src → dist/browser}/operationsInterfaces/vNetPeering.d.ts +1 -1
- package/dist/browser/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/vNetPeering.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
- package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureDatabricksManagementClient.d.ts +23 -0
- package/dist/commonjs/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureDatabricksManagementClient.js +81 -0
- package/dist/commonjs/azureDatabricksManagementClient.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 +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-databricks.d.ts → dist/commonjs/models/index.d.ts} +1049 -1500
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +151 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +52 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1542 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +21 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +185 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accessConnectors.d.ts +107 -0
- package/dist/commonjs/operations/accessConnectors.d.ts.map +1 -0
- package/dist/commonjs/operations/accessConnectors.js +535 -0
- package/dist/commonjs/operations/accessConnectors.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js +70 -0
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.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 +368 -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 +186 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/vNetPeering.d.ts +81 -0
- package/dist/commonjs/operations/vNetPeering.d.ts.map +1 -0
- package/dist/commonjs/operations/vNetPeering.js +359 -0
- package/dist/commonjs/operations/vNetPeering.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +107 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +535 -0
- package/dist/commonjs/operations/workspaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessConnectors.d.ts +71 -0
- package/dist/commonjs/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessConnectors.js +10 -0
- package/dist/commonjs/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -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/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +10 -0
- package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.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/operationsInterfaces/vNetPeering.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/vNetPeering.js +10 -0
- package/dist/commonjs/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/azureDatabricksManagementClient.d.ts +23 -0
- package/dist/esm/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist/esm/azureDatabricksManagementClient.js +76 -0
- package/dist/esm/azureDatabricksManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1049 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +148 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +52 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1539 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +21 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +182 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accessConnectors.d.ts +107 -0
- package/dist/esm/operations/accessConnectors.d.ts.map +1 -0
- package/dist/esm/operations/accessConnectors.js +531 -0
- package/dist/esm/operations/accessConnectors.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js +65 -0
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.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 +364 -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 +182 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/vNetPeering.d.ts +81 -0
- package/dist/esm/operations/vNetPeering.d.ts.map +1 -0
- package/dist/esm/operations/vNetPeering.js +355 -0
- package/dist/esm/operations/vNetPeering.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +107 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +531 -0
- package/dist/esm/operations/workspaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/accessConnectors.d.ts +71 -0
- package/dist/esm/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accessConnectors.js +9 -0
- package/dist/esm/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -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/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
- package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.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/operationsInterfaces/vNetPeering.d.ts +56 -0
- package/dist/esm/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/vNetPeering.js +9 -0
- package/dist/esm/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.js +9 -0
- package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureDatabricksManagementClient.d.ts +23 -0
- package/dist/react-native/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureDatabricksManagementClient.js +76 -0
- package/dist/react-native/azureDatabricksManagementClient.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 +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1049 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +148 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +52 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1539 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +21 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +182 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accessConnectors.d.ts +107 -0
- package/dist/react-native/operations/accessConnectors.d.ts.map +1 -0
- package/dist/react-native/operations/accessConnectors.js +531 -0
- package/dist/react-native/operations/accessConnectors.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.js +65 -0
- package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.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 +364 -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 +182 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/vNetPeering.d.ts +81 -0
- package/dist/react-native/operations/vNetPeering.d.ts.map +1 -0
- package/dist/react-native/operations/vNetPeering.js +355 -0
- package/dist/react-native/operations/vNetPeering.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +107 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +531 -0
- package/dist/react-native/operations/workspaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accessConnectors.d.ts +71 -0
- package/dist/react-native/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accessConnectors.js +9 -0
- package/dist/react-native/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -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/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
- package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.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/operationsInterfaces/vNetPeering.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/vNetPeering.js +9 -0
- package/dist/react-native/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -4239
- 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/accessConnectorsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js +0 -58
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsGetSample.js +0 -38
- package/dist-esm/samples-dev/accessConnectorsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js +0 -52
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.js +0 -39
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.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 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +0 -39
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -48
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.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 -40
- 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 -40
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -55
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -40
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +0 -55
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js +0 -48
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js +0 -39
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/vNetPeeringGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringGetSample.js +0 -39
- package/dist-esm/samples-dev/vNetPeeringGetSample.js.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js +0 -54
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -221
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -38
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +0 -74
- package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -52
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -39
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureDatabricksManagementClient.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.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/accessConnectors.d.ts.map +0 -1
- package/dist-esm/src/operations/accessConnectors.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- 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/outboundNetworkDependenciesEndpoints.d.ts.map +0 -1
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.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/operations/vNetPeering.d.ts.map +0 -1
- package/dist-esm/src/operations/vNetPeering.js.map +0 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessConnectors.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- 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/outboundNetworkDependenciesEndpoints.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.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/operationsInterfaces/vNetPeering.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/databricks_examples.d.ts +0 -4
- package/dist-esm/test/databricks_examples.d.ts.map +0 -1
- package/dist-esm/test/databricks_examples.js +0 -107
- package/dist-esm/test/databricks_examples.js.map +0 -1
- package/src/azureDatabricksManagementClient.ts +0 -134
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1194
- package/src/models/mappers.ts +0 -1624
- package/src/models/parameters.ts +0 -213
- package/src/operations/accessConnectors.ts +0 -717
- package/src/operations/index.ts +0 -15
- package/src/operations/operations.ts +0 -149
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +0 -85
- package/src/operations/privateEndpointConnections.ts +0 -509
- package/src/operations/privateLinkResources.ts +0 -238
- package/src/operations/vNetPeering.ts +0 -507
- package/src/operations/workspaces.ts +0 -717
- package/src/operationsInterfaces/accessConnectors.ts +0 -139
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +0 -29
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
- package/src/operationsInterfaces/privateLinkResources.ts +0 -44
- package/src/operationsInterfaces/vNetPeering.ts +0 -109
- package/src/operationsInterfaces/workspaces.ts +0 -139
- package/src/pagingHelper.ts +0 -39
- 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}/lroImpl.js +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/accessConnectors.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/outboundNetworkDependenciesEndpoints.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}/operationsInterfaces/vNetPeering.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,364 @@
|
|
|
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
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
17
|
+
export class PrivateEndpointConnectionsImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List private endpoint connections of the workspace
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param workspaceName The name of the workspace.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(resourceGroupName, workspaceName, options) {
|
|
32
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
54
|
+
let page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
setContinuationToken(page, continuationToken);
|
|
57
|
+
yield yield __await(page);
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
let page = result.value || [];
|
|
63
|
+
setContinuationToken(page, continuationToken);
|
|
64
|
+
yield yield __await(page);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
69
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
70
|
+
var _a, e_1, _b, _c;
|
|
71
|
+
try {
|
|
72
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
+
_c = _f.value;
|
|
74
|
+
_d = false;
|
|
75
|
+
const page = _c;
|
|
76
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
+
finally {
|
|
81
|
+
try {
|
|
82
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
+
}
|
|
84
|
+
finally { if (e_1) throw e_1.error; }
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* List private endpoint connections of the workspace
|
|
90
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
+
* @param workspaceName The name of the workspace.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
95
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Get a private endpoint connection properties for a workspace
|
|
99
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
|
+
* @param workspaceName The name of the workspace.
|
|
101
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
get(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
105
|
+
return this.client.sendOperationRequest({
|
|
106
|
+
resourceGroupName,
|
|
107
|
+
workspaceName,
|
|
108
|
+
privateEndpointConnectionName,
|
|
109
|
+
options
|
|
110
|
+
}, getOperationSpec);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Update the status of a private endpoint connection with the specified name
|
|
114
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
+
* @param workspaceName The name of the workspace.
|
|
116
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
117
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
118
|
+
* @param options The options parameters.
|
|
119
|
+
*/
|
|
120
|
+
async beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
121
|
+
const directSendOperation = async (args, spec) => {
|
|
122
|
+
return this.client.sendOperationRequest(args, spec);
|
|
123
|
+
};
|
|
124
|
+
const sendOperationFn = async (args, spec) => {
|
|
125
|
+
var _a;
|
|
126
|
+
let currentRawResponse = undefined;
|
|
127
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
128
|
+
const callback = (rawResponse, flatResponse) => {
|
|
129
|
+
currentRawResponse = rawResponse;
|
|
130
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
131
|
+
};
|
|
132
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
133
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
134
|
+
return {
|
|
135
|
+
flatResponse,
|
|
136
|
+
rawResponse: {
|
|
137
|
+
statusCode: currentRawResponse.status,
|
|
138
|
+
body: currentRawResponse.parsedBody,
|
|
139
|
+
headers: currentRawResponse.headers.toJSON()
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
const lro = createLroSpec({
|
|
144
|
+
sendOperationFn,
|
|
145
|
+
args: {
|
|
146
|
+
resourceGroupName,
|
|
147
|
+
workspaceName,
|
|
148
|
+
privateEndpointConnectionName,
|
|
149
|
+
privateEndpointConnection,
|
|
150
|
+
options
|
|
151
|
+
},
|
|
152
|
+
spec: createOperationSpec
|
|
153
|
+
});
|
|
154
|
+
const poller = await createHttpPoller(lro, {
|
|
155
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
156
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
157
|
+
});
|
|
158
|
+
await poller.poll();
|
|
159
|
+
return poller;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Update the status of a private endpoint connection with the specified name
|
|
163
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
|
+
* @param workspaceName The name of the workspace.
|
|
165
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
166
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
async beginCreateAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
170
|
+
const poller = await this.beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options);
|
|
171
|
+
return poller.pollUntilDone();
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Remove private endpoint connection with the specified name
|
|
175
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
176
|
+
* @param workspaceName The name of the workspace.
|
|
177
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
178
|
+
* @param options The options parameters.
|
|
179
|
+
*/
|
|
180
|
+
async beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
181
|
+
const directSendOperation = async (args, spec) => {
|
|
182
|
+
return this.client.sendOperationRequest(args, spec);
|
|
183
|
+
};
|
|
184
|
+
const sendOperationFn = async (args, spec) => {
|
|
185
|
+
var _a;
|
|
186
|
+
let currentRawResponse = undefined;
|
|
187
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
188
|
+
const callback = (rawResponse, flatResponse) => {
|
|
189
|
+
currentRawResponse = rawResponse;
|
|
190
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
191
|
+
};
|
|
192
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
193
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
194
|
+
return {
|
|
195
|
+
flatResponse,
|
|
196
|
+
rawResponse: {
|
|
197
|
+
statusCode: currentRawResponse.status,
|
|
198
|
+
body: currentRawResponse.parsedBody,
|
|
199
|
+
headers: currentRawResponse.headers.toJSON()
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
const lro = createLroSpec({
|
|
204
|
+
sendOperationFn,
|
|
205
|
+
args: {
|
|
206
|
+
resourceGroupName,
|
|
207
|
+
workspaceName,
|
|
208
|
+
privateEndpointConnectionName,
|
|
209
|
+
options
|
|
210
|
+
},
|
|
211
|
+
spec: deleteOperationSpec
|
|
212
|
+
});
|
|
213
|
+
const poller = await createHttpPoller(lro, {
|
|
214
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
215
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
216
|
+
});
|
|
217
|
+
await poller.poll();
|
|
218
|
+
return poller;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Remove private endpoint connection with the specified name
|
|
222
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
223
|
+
* @param workspaceName The name of the workspace.
|
|
224
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
225
|
+
* @param options The options parameters.
|
|
226
|
+
*/
|
|
227
|
+
async beginDeleteAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
228
|
+
const poller = await this.beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options);
|
|
229
|
+
return poller.pollUntilDone();
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* ListNext
|
|
233
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
234
|
+
* @param workspaceName The name of the workspace.
|
|
235
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
236
|
+
* @param options The options parameters.
|
|
237
|
+
*/
|
|
238
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
239
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
// Operation Specifications
|
|
243
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
244
|
+
const listOperationSpec = {
|
|
245
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections",
|
|
246
|
+
httpMethod: "GET",
|
|
247
|
+
responses: {
|
|
248
|
+
200: {
|
|
249
|
+
bodyMapper: Mappers.PrivateEndpointConnectionsList
|
|
250
|
+
},
|
|
251
|
+
default: {
|
|
252
|
+
bodyMapper: Mappers.ErrorResponse
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
queryParameters: [Parameters.apiVersion],
|
|
256
|
+
urlParameters: [
|
|
257
|
+
Parameters.$host,
|
|
258
|
+
Parameters.resourceGroupName,
|
|
259
|
+
Parameters.workspaceName,
|
|
260
|
+
Parameters.subscriptionId
|
|
261
|
+
],
|
|
262
|
+
headerParameters: [Parameters.accept],
|
|
263
|
+
serializer
|
|
264
|
+
};
|
|
265
|
+
const getOperationSpec = {
|
|
266
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
267
|
+
httpMethod: "GET",
|
|
268
|
+
responses: {
|
|
269
|
+
200: {
|
|
270
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
271
|
+
},
|
|
272
|
+
default: {
|
|
273
|
+
bodyMapper: Mappers.ErrorResponse
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
queryParameters: [Parameters.apiVersion],
|
|
277
|
+
urlParameters: [
|
|
278
|
+
Parameters.$host,
|
|
279
|
+
Parameters.resourceGroupName,
|
|
280
|
+
Parameters.workspaceName,
|
|
281
|
+
Parameters.subscriptionId,
|
|
282
|
+
Parameters.privateEndpointConnectionName
|
|
283
|
+
],
|
|
284
|
+
headerParameters: [Parameters.accept],
|
|
285
|
+
serializer
|
|
286
|
+
};
|
|
287
|
+
const createOperationSpec = {
|
|
288
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
289
|
+
httpMethod: "PUT",
|
|
290
|
+
responses: {
|
|
291
|
+
200: {
|
|
292
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
293
|
+
},
|
|
294
|
+
201: {
|
|
295
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
296
|
+
},
|
|
297
|
+
202: {
|
|
298
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
299
|
+
},
|
|
300
|
+
204: {
|
|
301
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
302
|
+
},
|
|
303
|
+
default: {
|
|
304
|
+
bodyMapper: Mappers.ErrorResponse
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
309
|
+
urlParameters: [
|
|
310
|
+
Parameters.$host,
|
|
311
|
+
Parameters.resourceGroupName,
|
|
312
|
+
Parameters.workspaceName,
|
|
313
|
+
Parameters.subscriptionId,
|
|
314
|
+
Parameters.privateEndpointConnectionName
|
|
315
|
+
],
|
|
316
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
317
|
+
mediaType: "json",
|
|
318
|
+
serializer
|
|
319
|
+
};
|
|
320
|
+
const deleteOperationSpec = {
|
|
321
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
322
|
+
httpMethod: "DELETE",
|
|
323
|
+
responses: {
|
|
324
|
+
200: {},
|
|
325
|
+
201: {},
|
|
326
|
+
202: {},
|
|
327
|
+
204: {},
|
|
328
|
+
default: {
|
|
329
|
+
bodyMapper: Mappers.ErrorResponse
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
queryParameters: [Parameters.apiVersion],
|
|
333
|
+
urlParameters: [
|
|
334
|
+
Parameters.$host,
|
|
335
|
+
Parameters.resourceGroupName,
|
|
336
|
+
Parameters.workspaceName,
|
|
337
|
+
Parameters.subscriptionId,
|
|
338
|
+
Parameters.privateEndpointConnectionName
|
|
339
|
+
],
|
|
340
|
+
headerParameters: [Parameters.accept],
|
|
341
|
+
serializer
|
|
342
|
+
};
|
|
343
|
+
const listNextOperationSpec = {
|
|
344
|
+
path: "{nextLink}",
|
|
345
|
+
httpMethod: "GET",
|
|
346
|
+
responses: {
|
|
347
|
+
200: {
|
|
348
|
+
bodyMapper: Mappers.PrivateEndpointConnectionsList
|
|
349
|
+
},
|
|
350
|
+
default: {
|
|
351
|
+
bodyMapper: Mappers.ErrorResponse
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
urlParameters: [
|
|
355
|
+
Parameters.$host,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.workspaceName,
|
|
358
|
+
Parameters.subscriptionId,
|
|
359
|
+
Parameters.nextLink
|
|
360
|
+
],
|
|
361
|
+
headerParameters: [Parameters.accept],
|
|
362
|
+
serializer
|
|
363
|
+
};
|
|
364
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.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;AAEtD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI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AC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,yLAAyL;IAC3L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,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,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,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 { PrivateEndpointConnections } 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 { AzureDatabricksManagementClient } from \"../azureDatabricksManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsCreateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections {\n private readonly client: AzureDatabricksManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDatabricksManagementClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections of the workspace\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n workspaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, workspaceName, 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(\n resourceGroupName,\n workspaceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n workspaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, workspaceName, 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(\n resourceGroupName,\n workspaceName,\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 *listPagingAll(\n resourceGroupName: string,\n workspaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n workspaceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections of the workspace\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n workspaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get a private endpoint connection properties for a workspace\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param privateEndpointConnectionName The name of the private endpoint connection\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n workspaceName,\n privateEndpointConnectionName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Update the status of a private endpoint connection with the specified name\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param privateEndpointConnectionName The name of the private endpoint connection\n * @param privateEndpointConnection The private endpoint connection with updated properties\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n workspaceName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateResponse>,\n PrivateEndpointConnectionsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<PrivateEndpointConnectionsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n workspaceName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateResponse,\n OperationState<PrivateEndpointConnectionsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the status of a private endpoint connection with the specified name\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param privateEndpointConnectionName The name of the private endpoint connection\n * @param privateEndpointConnection The private endpoint connection with updated properties\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n workspaceName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Remove private endpoint connection with the specified name\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param privateEndpointConnectionName The name of the private endpoint connection\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n workspaceName,\n privateEndpointConnectionName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Remove private endpoint connection with the specified name\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param privateEndpointConnectionName The name of the private endpoint connection\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n privateEndpointConnectionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\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 resourceGroupName: string,\n workspaceName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListNextOptionalParams\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName\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.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureDatabricksManagementClient } from "../azureDatabricksManagementClient.js";
|
|
4
|
+
import { GroupIdInformation, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing PrivateLinkResources operations. */
|
|
6
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureDatabricksManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* List private link resources for a given workspace
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the workspace.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<GroupIdInformation>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* List private link resources for a given workspace
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* Get the specified private link resource for the given group id (sub-resource)
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param workspaceName The name of the workspace.
|
|
33
|
+
* @param groupId The name of the private link resource
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, workspaceName: string, groupId: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* ListNext
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param workspaceName The name of the workspace.
|
|
41
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
private _listNext;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,kBAAkB,EAElB,sCAAsC,EAEtC,qCAAqC,EACrC,+BAA+B,EAEhC,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,kBAAkB,CAAC;YAuBlC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,182 @@
|
|
|
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 PrivateLinkResources operations. */
|
|
15
|
+
export class PrivateLinkResourcesImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* List private link resources for a given workspace
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the workspace.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(resourceGroupName, workspaceName, options) {
|
|
30
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield yield __await(page);
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield yield __await(page);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
67
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
68
|
+
var _a, e_1, _b, _c;
|
|
69
|
+
try {
|
|
70
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
+
_c = _f.value;
|
|
72
|
+
_d = false;
|
|
73
|
+
const page = _c;
|
|
74
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
+
finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
+
}
|
|
82
|
+
finally { if (e_1) throw e_1.error; }
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* List private link resources for a given workspace
|
|
88
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
+
* @param workspaceName The name of the workspace.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
93
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Get the specified private link resource for the given group id (sub-resource)
|
|
97
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
98
|
+
* @param workspaceName The name of the workspace.
|
|
99
|
+
* @param groupId The name of the private link resource
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
get(resourceGroupName, workspaceName, groupId, options) {
|
|
103
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, groupId, options }, getOperationSpec);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* ListNext
|
|
107
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
108
|
+
* @param workspaceName The name of the workspace.
|
|
109
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
113
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
// Operation Specifications
|
|
117
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
118
|
+
const listOperationSpec = {
|
|
119
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
|
|
120
|
+
httpMethod: "GET",
|
|
121
|
+
responses: {
|
|
122
|
+
200: {
|
|
123
|
+
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
124
|
+
},
|
|
125
|
+
default: {
|
|
126
|
+
bodyMapper: Mappers.ErrorResponse
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
queryParameters: [Parameters.apiVersion],
|
|
130
|
+
urlParameters: [
|
|
131
|
+
Parameters.$host,
|
|
132
|
+
Parameters.resourceGroupName,
|
|
133
|
+
Parameters.workspaceName,
|
|
134
|
+
Parameters.subscriptionId
|
|
135
|
+
],
|
|
136
|
+
headerParameters: [Parameters.accept],
|
|
137
|
+
serializer
|
|
138
|
+
};
|
|
139
|
+
const getOperationSpec = {
|
|
140
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
|
|
141
|
+
httpMethod: "GET",
|
|
142
|
+
responses: {
|
|
143
|
+
200: {
|
|
144
|
+
bodyMapper: Mappers.GroupIdInformation
|
|
145
|
+
},
|
|
146
|
+
default: {
|
|
147
|
+
bodyMapper: Mappers.ErrorResponse
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
queryParameters: [Parameters.apiVersion],
|
|
151
|
+
urlParameters: [
|
|
152
|
+
Parameters.$host,
|
|
153
|
+
Parameters.resourceGroupName,
|
|
154
|
+
Parameters.workspaceName,
|
|
155
|
+
Parameters.subscriptionId,
|
|
156
|
+
Parameters.groupId
|
|
157
|
+
],
|
|
158
|
+
headerParameters: [Parameters.accept],
|
|
159
|
+
serializer
|
|
160
|
+
};
|
|
161
|
+
const listNextOperationSpec = {
|
|
162
|
+
path: "{nextLink}",
|
|
163
|
+
httpMethod: "GET",
|
|
164
|
+
responses: {
|
|
165
|
+
200: {
|
|
166
|
+
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
167
|
+
},
|
|
168
|
+
default: {
|
|
169
|
+
bodyMapper: Mappers.ErrorResponse
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
urlParameters: [
|
|
173
|
+
Parameters.$host,
|
|
174
|
+
Parameters.resourceGroupName,
|
|
175
|
+
Parameters.workspaceName,
|
|
176
|
+
Parameters.subscriptionId,
|
|
177
|
+
Parameters.nextLink
|
|
178
|
+
],
|
|
179
|
+
headerParameters: [Parameters.accept],
|
|
180
|
+
serializer
|
|
181
|
+
};
|
|
182
|
+
//# sourceMappingURL=privateLinkResources.js.map
|