@azure/arm-hdinsight 1.3.0-beta.1 → 1.3.0-beta.3
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/CHANGELOG.md +39 -6
- package/LICENSE +4 -4
- package/README.md +25 -18
- package/dist/browser/hDInsightManagementClient.d.ts +31 -0
- package/dist/browser/hDInsightManagementClient.d.ts.map +1 -0
- package/dist/browser/hDInsightManagementClient.js +127 -0
- package/dist/browser/hDInsightManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.d.ts.map +1 -0
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.d.ts +2074 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +198 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +112 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/dist/browser/models/mappers.js +3817 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.js +280 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/applications.d.ts +90 -0
- package/dist/browser/operations/applications.d.ts.map +1 -0
- package/dist/browser/operations/applications.js +383 -0
- package/dist/browser/operations/applications.js.map +1 -0
- package/dist/browser/operations/clusters.d.ts +214 -0
- package/dist/browser/operations/clusters.d.ts.map +1 -0
- package/dist/browser/operations/clusters.js +1026 -0
- package/dist/browser/operations/clusters.js.map +1 -0
- package/dist/browser/operations/configurations.d.ts +54 -0
- package/dist/browser/operations/configurations.d.ts.map +1 -0
- package/dist/browser/operations/configurations.js +185 -0
- package/dist/browser/operations/configurations.js.map +1 -0
- package/dist/browser/operations/extensions.d.ts +176 -0
- package/dist/browser/operations/extensions.d.ts.map +1 -0
- package/dist/browser/operations/extensions.js +842 -0
- package/dist/browser/operations/extensions.js.map +1 -0
- package/dist/browser/operations/index.d.ts +12 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +19 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/locations.d.ts +52 -0
- package/dist/browser/operations/locations.d.ts.map +1 -0
- package/dist/browser/operations/locations.js +200 -0
- package/dist/browser/operations/locations.js.map +1 -0
- package/dist/browser/operations/operations.d.ts +32 -0
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +116 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/privateEndpointConnections.d.ts +81 -0
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operations/privateEndpointConnections.js +359 -0
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/dist/browser/operations/privateLinkResources.d.ts +28 -0
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operations/privateLinkResources.js +86 -0
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/dist/browser/operations/scriptActions.d.ts +62 -0
- package/dist/browser/operations/scriptActions.d.ts.map +1 -0
- package/dist/browser/operations/scriptActions.js +228 -0
- package/dist/browser/operations/scriptActions.js.map +1 -0
- package/dist/browser/operations/scriptExecutionHistory.d.ts +46 -0
- package/dist/browser/operations/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/browser/operations/scriptExecutionHistory.js +163 -0
- package/dist/browser/operations/scriptExecutionHistory.js.map +1 -0
- package/dist/browser/operations/virtualMachines.d.ts +45 -0
- package/dist/browser/operations/virtualMachines.d.ts.map +1 -0
- package/dist/browser/operations/virtualMachines.js +176 -0
- package/dist/browser/operations/virtualMachines.js.map +1 -0
- package/dist/browser/operationsInterfaces/applications.d.ts +65 -0
- package/dist/browser/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applications.js.map +1 -0
- package/dist/browser/operationsInterfaces/clusters.d.ts +178 -0
- package/dist/browser/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/clusters.js.map +1 -0
- package/dist/browser/operationsInterfaces/configurations.d.ts +46 -0
- package/dist/browser/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/configurations.js.map +1 -0
- package/dist/browser/operationsInterfaces/extensions.d.ts +168 -0
- package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +12 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +19 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/locations.d.ts +44 -0
- package/dist/browser/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/locations.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts +11 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/browser/operationsInterfaces/scriptActions.d.ts +37 -0
- package/dist/browser/operationsInterfaces/scriptActions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/scriptActions.js.map +1 -0
- package/dist/browser/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
- package/dist/browser/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
- package/dist/browser/operationsInterfaces/virtualMachines.d.ts +37 -0
- package/dist/browser/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/hDInsightManagementClient.d.ts +31 -0
- package/dist/commonjs/hDInsightManagementClient.d.ts.map +1 -0
- package/dist/commonjs/hDInsightManagementClient.js +132 -0
- package/dist/commonjs/hDInsightManagementClient.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 +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2074 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +201 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +112 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +3822 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +37 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +283 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/applications.d.ts +90 -0
- package/dist/commonjs/operations/applications.d.ts.map +1 -0
- package/dist/commonjs/operations/applications.js +388 -0
- package/dist/commonjs/operations/applications.js.map +1 -0
- package/dist/commonjs/operations/clusters.d.ts +214 -0
- package/dist/commonjs/operations/clusters.d.ts.map +1 -0
- package/dist/commonjs/operations/clusters.js +1031 -0
- package/dist/commonjs/operations/clusters.js.map +1 -0
- package/dist/commonjs/operations/configurations.d.ts +54 -0
- package/dist/commonjs/operations/configurations.d.ts.map +1 -0
- package/dist/commonjs/operations/configurations.js +190 -0
- package/dist/commonjs/operations/configurations.js.map +1 -0
- package/dist/commonjs/operations/extensions.d.ts +176 -0
- package/dist/commonjs/operations/extensions.d.ts.map +1 -0
- package/dist/commonjs/operations/extensions.js +847 -0
- package/dist/commonjs/operations/extensions.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +12 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +22 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/locations.d.ts +52 -0
- package/dist/commonjs/operations/locations.d.ts.map +1 -0
- package/dist/commonjs/operations/locations.js +205 -0
- package/dist/commonjs/operations/locations.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 +121 -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 +364 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +28 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +91 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/scriptActions.d.ts +62 -0
- package/dist/commonjs/operations/scriptActions.d.ts.map +1 -0
- package/dist/commonjs/operations/scriptActions.js +233 -0
- package/dist/commonjs/operations/scriptActions.js.map +1 -0
- package/dist/commonjs/operations/scriptExecutionHistory.d.ts +46 -0
- package/dist/commonjs/operations/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/commonjs/operations/scriptExecutionHistory.js +168 -0
- package/dist/commonjs/operations/scriptExecutionHistory.js.map +1 -0
- package/dist/commonjs/operations/virtualMachines.d.ts +45 -0
- package/dist/commonjs/operations/virtualMachines.d.ts.map +1 -0
- package/dist/commonjs/operations/virtualMachines.js +181 -0
- package/dist/commonjs/operations/virtualMachines.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applications.d.ts +65 -0
- package/dist/commonjs/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applications.js +10 -0
- package/dist/commonjs/operationsInterfaces/applications.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/clusters.d.ts +178 -0
- package/dist/commonjs/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/clusters.js +10 -0
- package/dist/commonjs/operationsInterfaces/clusters.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurations.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts +168 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
- package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +22 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.js +10 -0
- package/dist/commonjs/operationsInterfaces/locations.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 +20 -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/scriptActions.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/scriptActions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/scriptActions.js +10 -0
- package/dist/commonjs/operationsInterfaces/scriptActions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/scriptExecutionHistory.js +10 -0
- package/dist/commonjs/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.js +10 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.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 +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/hDInsightManagementClient.d.ts +31 -0
- package/dist/esm/hDInsightManagementClient.d.ts.map +1 -0
- package/dist/esm/hDInsightManagementClient.js +127 -0
- package/dist/esm/hDInsightManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- 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 +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +2074 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +198 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +112 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +3817 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +37 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +280 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/applications.d.ts +90 -0
- package/dist/esm/operations/applications.d.ts.map +1 -0
- package/dist/esm/operations/applications.js +383 -0
- package/dist/esm/operations/applications.js.map +1 -0
- package/dist/esm/operations/clusters.d.ts +214 -0
- package/dist/esm/operations/clusters.d.ts.map +1 -0
- package/dist/esm/operations/clusters.js +1026 -0
- package/dist/esm/operations/clusters.js.map +1 -0
- package/dist/esm/operations/configurations.d.ts +54 -0
- package/dist/esm/operations/configurations.d.ts.map +1 -0
- package/dist/esm/operations/configurations.js +185 -0
- package/dist/esm/operations/configurations.js.map +1 -0
- package/dist/esm/operations/extensions.d.ts +176 -0
- package/dist/esm/operations/extensions.d.ts.map +1 -0
- package/dist/esm/operations/extensions.js +842 -0
- package/dist/esm/operations/extensions.js.map +1 -0
- package/dist/esm/operations/index.d.ts +12 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +19 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/locations.d.ts +52 -0
- package/dist/esm/operations/locations.d.ts.map +1 -0
- package/dist/esm/operations/locations.js +200 -0
- package/dist/esm/operations/locations.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 +116 -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 +359 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +28 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +86 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/scriptActions.d.ts +62 -0
- package/dist/esm/operations/scriptActions.d.ts.map +1 -0
- package/dist/esm/operations/scriptActions.js +228 -0
- package/dist/esm/operations/scriptActions.js.map +1 -0
- package/dist/esm/operations/scriptExecutionHistory.d.ts +46 -0
- package/dist/esm/operations/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/esm/operations/scriptExecutionHistory.js +163 -0
- package/dist/esm/operations/scriptExecutionHistory.js.map +1 -0
- package/dist/esm/operations/virtualMachines.d.ts +45 -0
- package/dist/esm/operations/virtualMachines.d.ts.map +1 -0
- package/dist/esm/operations/virtualMachines.js +176 -0
- package/dist/esm/operations/virtualMachines.js.map +1 -0
- package/dist/esm/operationsInterfaces/applications.d.ts +65 -0
- package/dist/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applications.js +9 -0
- package/dist/esm/operationsInterfaces/applications.js.map +1 -0
- package/dist/esm/operationsInterfaces/clusters.d.ts +178 -0
- package/dist/esm/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/clusters.js +9 -0
- package/dist/esm/operationsInterfaces/clusters.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts +46 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.js +9 -0
- package/dist/esm/operationsInterfaces/configurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts +168 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.js +9 -0
- package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +12 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +19 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/locations.d.ts +44 -0
- package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/locations.js +9 -0
- package/dist/esm/operationsInterfaces/locations.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 +20 -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/scriptActions.d.ts +37 -0
- package/dist/esm/operationsInterfaces/scriptActions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/scriptActions.js +9 -0
- package/dist/esm/operationsInterfaces/scriptActions.js.map +1 -0
- package/dist/esm/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
- package/dist/esm/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/scriptExecutionHistory.js +9 -0
- package/dist/esm/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
- package/dist/esm/operationsInterfaces/virtualMachines.d.ts +37 -0
- package/dist/esm/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/virtualMachines.js +9 -0
- package/dist/esm/operationsInterfaces/virtualMachines.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 +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/hDInsightManagementClient.d.ts +31 -0
- package/dist/react-native/hDInsightManagementClient.d.ts.map +1 -0
- package/dist/react-native/hDInsightManagementClient.js +127 -0
- package/dist/react-native/hDInsightManagementClient.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 +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2074 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +198 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +112 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +3817 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +37 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +280 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/applications.d.ts +90 -0
- package/dist/react-native/operations/applications.d.ts.map +1 -0
- package/dist/react-native/operations/applications.js +383 -0
- package/dist/react-native/operations/applications.js.map +1 -0
- package/dist/react-native/operations/clusters.d.ts +214 -0
- package/dist/react-native/operations/clusters.d.ts.map +1 -0
- package/dist/react-native/operations/clusters.js +1026 -0
- package/dist/react-native/operations/clusters.js.map +1 -0
- package/dist/react-native/operations/configurations.d.ts +54 -0
- package/dist/react-native/operations/configurations.d.ts.map +1 -0
- package/dist/react-native/operations/configurations.js +185 -0
- package/dist/react-native/operations/configurations.js.map +1 -0
- package/dist/react-native/operations/extensions.d.ts +176 -0
- package/dist/react-native/operations/extensions.d.ts.map +1 -0
- package/dist/react-native/operations/extensions.js +842 -0
- package/dist/react-native/operations/extensions.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +12 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +19 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/locations.d.ts +52 -0
- package/dist/react-native/operations/locations.d.ts.map +1 -0
- package/dist/react-native/operations/locations.js +200 -0
- package/dist/react-native/operations/locations.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 +116 -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 +359 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +28 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +86 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/scriptActions.d.ts +62 -0
- package/dist/react-native/operations/scriptActions.d.ts.map +1 -0
- package/dist/react-native/operations/scriptActions.js +228 -0
- package/dist/react-native/operations/scriptActions.js.map +1 -0
- package/dist/react-native/operations/scriptExecutionHistory.d.ts +46 -0
- package/dist/react-native/operations/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/react-native/operations/scriptExecutionHistory.js +163 -0
- package/dist/react-native/operations/scriptExecutionHistory.js.map +1 -0
- package/dist/react-native/operations/virtualMachines.d.ts +45 -0
- package/dist/react-native/operations/virtualMachines.d.ts.map +1 -0
- package/dist/react-native/operations/virtualMachines.js +176 -0
- package/dist/react-native/operations/virtualMachines.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applications.d.ts +65 -0
- package/dist/react-native/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applications.js +9 -0
- package/dist/react-native/operationsInterfaces/applications.js.map +1 -0
- package/dist/react-native/operationsInterfaces/clusters.d.ts +178 -0
- package/dist/react-native/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/clusters.js +9 -0
- package/dist/react-native/operationsInterfaces/clusters.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurations.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurations.js +9 -0
- package/dist/react-native/operationsInterfaces/configurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts +168 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.js +9 -0
- package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +19 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.js +9 -0
- package/dist/react-native/operationsInterfaces/locations.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 +20 -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/scriptActions.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/scriptActions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/scriptActions.js +9 -0
- package/dist/react-native/operationsInterfaces/scriptActions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/scriptExecutionHistory.js +9 -0
- package/dist/react-native/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.js +9 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.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 +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -78
- package/review/arm-hdinsight-node.api.md +1668 -0
- package/dist/index.js +0 -8144
- 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/applicationsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsCreateSample.js +0 -70
- package/dist-esm/samples-dev/applicationsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/applicationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.js +0 -40
- package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +0 -58
- package/dist-esm/samples-dev/applicationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsListByClusterSample.js +0 -59
- package/dist-esm/samples-dev/applicationsListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersCreateSample.js +0 -1221
- package/dist-esm/samples-dev/clustersCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +0 -38
- package/dist-esm/samples-dev/clustersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js +0 -49
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.js +0 -39
- package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.js +0 -38
- package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersGetSample.js +0 -56
- package/dist-esm/samples-dev/clustersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +0 -58
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersListSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersListSample.js +0 -57
- package/dist-esm/samples-dev/clustersListSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersResizeSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersResizeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersResizeSample.js +0 -40
- package/dist-esm/samples-dev/clustersResizeSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js +0 -43
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js +0 -98
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js +0 -43
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js +0 -43
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/clustersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +0 -41
- package/dist-esm/samples-dev/clustersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +0 -39
- package/dist-esm/samples-dev/configurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsListSample.js +0 -38
- package/dist-esm/samples-dev/configurationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +0 -66
- package/dist-esm/samples-dev/configurationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.js +0 -43
- package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js +0 -38
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js +0 -38
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js +0 -42
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js +0 -42
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js +0 -40
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js +0 -38
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js +0 -38
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +0 -39
- package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -41
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.js +0 -38
- package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsGetCapabilitiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsGetCapabilitiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsGetCapabilitiesSample.js +0 -37
- package/dist-esm/samples-dev/locationsGetCapabilitiesSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsListBillingSpecsSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsListBillingSpecsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsListBillingSpecsSample.js +0 -37
- package/dist-esm/samples-dev/locationsListBillingSpecsSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsListUsagesSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsListUsagesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsListUsagesSample.js +0 -37
- package/dist-esm/samples-dev/locationsListUsagesSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js +0 -125
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.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 -58
- 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 -46
- 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 -39
- 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 -39
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +0 -59
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.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 -39
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -38
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptActionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptActionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptActionsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/scriptActionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.js +0 -39
- package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.js +0 -39
- package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.js +0 -59
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js +0 -59
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.d.ts +0 -2
- package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.js +0 -39
- package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.js +0 -39
- package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListHostsSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesListHostsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListHostsSample.js +0 -38
- package/dist-esm/samples-dev/virtualMachinesListHostsSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js +0 -39
- package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js.map +0 -1
- package/dist-esm/src/hDInsightManagementClient.d.ts +0 -31
- package/dist-esm/src/hDInsightManagementClient.d.ts.map +0 -1
- package/dist-esm/src/hDInsightManagementClient.js +0 -111
- package/dist-esm/src/hDInsightManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -2026
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -190
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -111
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -3726
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -280
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/applications.d.ts +0 -90
- package/dist-esm/src/operations/applications.d.ts.map +0 -1
- package/dist-esm/src/operations/applications.js +0 -403
- package/dist-esm/src/operations/applications.js.map +0 -1
- package/dist-esm/src/operations/clusters.d.ts +0 -214
- package/dist-esm/src/operations/clusters.d.ts.map +0 -1
- package/dist-esm/src/operations/clusters.js +0 -1062
- package/dist-esm/src/operations/clusters.js.map +0 -1
- package/dist-esm/src/operations/configurations.d.ts +0 -54
- package/dist-esm/src/operations/configurations.d.ts.map +0 -1
- package/dist-esm/src/operations/configurations.js +0 -184
- package/dist-esm/src/operations/configurations.js.map +0 -1
- package/dist-esm/src/operations/extensions.d.ts +0 -139
- package/dist-esm/src/operations/extensions.d.ts.map +0 -1
- package/dist-esm/src/operations/extensions.js +0 -644
- package/dist-esm/src/operations/extensions.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -12
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -19
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/locations.d.ts +0 -52
- package/dist-esm/src/operations/locations.d.ts.map +0 -1
- package/dist-esm/src/operations/locations.js +0 -199
- package/dist-esm/src/operations/locations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -138
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -81
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +0 -379
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +0 -28
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js +0 -85
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/scriptActions.d.ts +0 -62
- package/dist-esm/src/operations/scriptActions.d.ts.map +0 -1
- package/dist-esm/src/operations/scriptActions.js +0 -250
- package/dist-esm/src/operations/scriptActions.js.map +0 -1
- package/dist-esm/src/operations/scriptExecutionHistory.d.ts +0 -46
- package/dist-esm/src/operations/scriptExecutionHistory.d.ts.map +0 -1
- package/dist-esm/src/operations/scriptExecutionHistory.js +0 -185
- package/dist-esm/src/operations/scriptExecutionHistory.js.map +0 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +0 -45
- package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/virtualMachines.js +0 -175
- package/dist-esm/src/operations/virtualMachines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applications.d.ts +0 -65
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applications.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +0 -178
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/clusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +0 -46
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +0 -131
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -19
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.d.ts +0 -44
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -56
- 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 +0 -20
- 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/scriptActions.d.ts +0 -37
- package/dist-esm/src/operationsInterfaces/scriptActions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scriptActions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts +0 -21
- package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -37
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/hdinsights_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/hdinsights_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/hdinsights_operations_test.spec.js +0 -86
- package/dist-esm/test/hdinsights_operations_test.spec.js.map +0 -1
- package/review/arm-hdinsight.api.md +0 -1626
- package/rollup.config.js +0 -122
- package/src/hDInsightManagementClient.ts +0 -185
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -2275
- package/src/models/mappers.ts +0 -3883
- package/src/models/parameters.ts +0 -336
- package/src/operations/applications.ts +0 -555
- package/src/operations/clusters.ts +0 -1423
- package/src/operations/configurations.ts +0 -253
- package/src/operations/extensions.ts +0 -894
- package/src/operations/index.ts +0 -19
- package/src/operations/locations.ts +0 -272
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -519
- package/src/operations/privateLinkResources.ts +0 -116
- package/src/operations/scriptActions.ts +0 -332
- package/src/operations/scriptExecutionHistory.ts +0 -243
- package/src/operations/virtualMachines.ts +0 -241
- package/src/operationsInterfaces/applications.ts +0 -126
- package/src/operationsInterfaces/clusters.ts +0 -327
- package/src/operationsInterfaces/configurations.ts +0 -77
- package/src/operationsInterfaces/extensions.ts +0 -234
- package/src/operationsInterfaces/index.ts +0 -19
- package/src/operationsInterfaces/locations.ts +0 -88
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
- package/src/operationsInterfaces/privateLinkResources.ts +0 -42
- package/src/operationsInterfaces/scriptActions.ts +0 -73
- package/src/operationsInterfaces/scriptExecutionHistory.ts +0 -43
- package/src/operationsInterfaces/virtualMachines.ts +0 -70
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-hdinsight.d.ts +0 -2937
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +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/applications.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/clusters.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.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}/operationsInterfaces/scriptActions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/scriptExecutionHistory.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualMachines.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC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qB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { HDInsightManagementClient } from \"../hDInsightManagementClient.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: HDInsightManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: HDInsightManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available HDInsight REST API 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 * Lists all of the available HDInsight REST API 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.HDInsight/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\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 { HDInsightManagementClient } from "../hDInsightManagementClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByClusterOptionalParams, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, 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: HDInsightManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists the private endpoint connections for a HDInsight cluster.
|
|
16
|
+
* @param resourceGroupName The name of the resource group.
|
|
17
|
+
* @param clusterName The name of the cluster.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
21
|
+
private listByClusterPagingPage;
|
|
22
|
+
private listByClusterPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Lists the private endpoint connections for a HDInsight cluster.
|
|
25
|
+
* @param resourceGroupName The name of the resource group.
|
|
26
|
+
* @param clusterName The name of the cluster.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listByCluster;
|
|
30
|
+
/**
|
|
31
|
+
* Approve or reject a private endpoint connection manually.
|
|
32
|
+
* @param resourceGroupName The name of the resource group.
|
|
33
|
+
* @param clusterName The name of the cluster.
|
|
34
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
35
|
+
* @param parameters The private endpoint connection create or update request.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Approve or reject a private endpoint connection manually.
|
|
41
|
+
* @param resourceGroupName The name of the resource group.
|
|
42
|
+
* @param clusterName The name of the cluster.
|
|
43
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
44
|
+
* @param parameters The private endpoint connection create or update request.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Gets the specific private endpoint connection.
|
|
50
|
+
* @param resourceGroupName The name of the resource group.
|
|
51
|
+
* @param clusterName The name of the cluster.
|
|
52
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Deletes the specific private endpoint connection.
|
|
58
|
+
* @param resourceGroupName The name of the resource group.
|
|
59
|
+
* @param clusterName The name of the cluster.
|
|
60
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Deletes the specific private endpoint connection.
|
|
66
|
+
* @param resourceGroupName The name of the resource group.
|
|
67
|
+
* @param clusterName The name of the cluster.
|
|
68
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* ListByClusterNext
|
|
74
|
+
* @param resourceGroupName The name of the resource group.
|
|
75
|
+
* @param clusterName The name of the cluster.
|
|
76
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCluster method.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listByClusterNext;
|
|
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,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EAEzB,qDAAqD,EAErD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;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;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA8DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;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;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA0DxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PrivateEndpointConnectionsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
20
|
+
class PrivateEndpointConnectionsImpl {
|
|
21
|
+
client;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
24
|
+
* @param client Reference to the service client
|
|
25
|
+
*/
|
|
26
|
+
constructor(client) {
|
|
27
|
+
this.client = client;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Lists the private endpoint connections for a HDInsight cluster.
|
|
31
|
+
* @param resourceGroupName The name of the resource group.
|
|
32
|
+
* @param clusterName The name of the cluster.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
listByCluster(resourceGroupName, clusterName, options) {
|
|
36
|
+
const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);
|
|
37
|
+
return {
|
|
38
|
+
next() {
|
|
39
|
+
return iter.next();
|
|
40
|
+
},
|
|
41
|
+
[Symbol.asyncIterator]() {
|
|
42
|
+
return this;
|
|
43
|
+
},
|
|
44
|
+
byPage: (settings) => {
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
46
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
|
+
}
|
|
48
|
+
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
async *listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._listByCluster(resourceGroupName, clusterName, options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listByClusterNext(resourceGroupName, clusterName, continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
async *listByClusterPagingAll(resourceGroupName, clusterName, options) {
|
|
71
|
+
for await (const page of this.listByClusterPagingPage(resourceGroupName, clusterName, options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Lists the private endpoint connections for a HDInsight cluster.
|
|
77
|
+
* @param resourceGroupName The name of the resource group.
|
|
78
|
+
* @param clusterName The name of the cluster.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
_listByCluster(resourceGroupName, clusterName, options) {
|
|
82
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Approve or reject a private endpoint connection manually.
|
|
86
|
+
* @param resourceGroupName The name of the resource group.
|
|
87
|
+
* @param clusterName The name of the cluster.
|
|
88
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
89
|
+
* @param parameters The private endpoint connection create or update request.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
async beginCreateOrUpdate(resourceGroupName, clusterName, privateEndpointConnectionName, parameters, options) {
|
|
93
|
+
const directSendOperation = async (args, spec) => {
|
|
94
|
+
return this.client.sendOperationRequest(args, spec);
|
|
95
|
+
};
|
|
96
|
+
const sendOperationFn = async (args, spec) => {
|
|
97
|
+
let currentRawResponse = undefined;
|
|
98
|
+
const providedCallback = args.options?.onResponse;
|
|
99
|
+
const callback = (rawResponse, flatResponse) => {
|
|
100
|
+
currentRawResponse = rawResponse;
|
|
101
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
102
|
+
};
|
|
103
|
+
const updatedArgs = {
|
|
104
|
+
...args,
|
|
105
|
+
options: {
|
|
106
|
+
...args.options,
|
|
107
|
+
onResponse: callback,
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
111
|
+
return {
|
|
112
|
+
flatResponse,
|
|
113
|
+
rawResponse: {
|
|
114
|
+
statusCode: currentRawResponse.status,
|
|
115
|
+
body: currentRawResponse.parsedBody,
|
|
116
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
121
|
+
sendOperationFn,
|
|
122
|
+
args: {
|
|
123
|
+
resourceGroupName,
|
|
124
|
+
clusterName,
|
|
125
|
+
privateEndpointConnectionName,
|
|
126
|
+
parameters,
|
|
127
|
+
options,
|
|
128
|
+
},
|
|
129
|
+
spec: createOrUpdateOperationSpec,
|
|
130
|
+
});
|
|
131
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
132
|
+
restoreFrom: options?.resumeFrom,
|
|
133
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
134
|
+
resourceLocationConfig: "azure-async-operation",
|
|
135
|
+
});
|
|
136
|
+
await poller.poll();
|
|
137
|
+
return poller;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Approve or reject a private endpoint connection manually.
|
|
141
|
+
* @param resourceGroupName The name of the resource group.
|
|
142
|
+
* @param clusterName The name of the cluster.
|
|
143
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
144
|
+
* @param parameters The private endpoint connection create or update request.
|
|
145
|
+
* @param options The options parameters.
|
|
146
|
+
*/
|
|
147
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, clusterName, privateEndpointConnectionName, parameters, options) {
|
|
148
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, clusterName, privateEndpointConnectionName, parameters, options);
|
|
149
|
+
return poller.pollUntilDone();
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Gets the specific private endpoint connection.
|
|
153
|
+
* @param resourceGroupName The name of the resource group.
|
|
154
|
+
* @param clusterName The name of the cluster.
|
|
155
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
156
|
+
* @param options The options parameters.
|
|
157
|
+
*/
|
|
158
|
+
get(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
|
|
159
|
+
return this.client.sendOperationRequest({
|
|
160
|
+
resourceGroupName,
|
|
161
|
+
clusterName,
|
|
162
|
+
privateEndpointConnectionName,
|
|
163
|
+
options,
|
|
164
|
+
}, getOperationSpec);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Deletes the specific private endpoint connection.
|
|
168
|
+
* @param resourceGroupName The name of the resource group.
|
|
169
|
+
* @param clusterName The name of the cluster.
|
|
170
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
171
|
+
* @param options The options parameters.
|
|
172
|
+
*/
|
|
173
|
+
async beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
|
|
174
|
+
const directSendOperation = async (args, spec) => {
|
|
175
|
+
return this.client.sendOperationRequest(args, spec);
|
|
176
|
+
};
|
|
177
|
+
const sendOperationFn = async (args, spec) => {
|
|
178
|
+
let currentRawResponse = undefined;
|
|
179
|
+
const providedCallback = args.options?.onResponse;
|
|
180
|
+
const callback = (rawResponse, flatResponse) => {
|
|
181
|
+
currentRawResponse = rawResponse;
|
|
182
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
183
|
+
};
|
|
184
|
+
const updatedArgs = {
|
|
185
|
+
...args,
|
|
186
|
+
options: {
|
|
187
|
+
...args.options,
|
|
188
|
+
onResponse: callback,
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
192
|
+
return {
|
|
193
|
+
flatResponse,
|
|
194
|
+
rawResponse: {
|
|
195
|
+
statusCode: currentRawResponse.status,
|
|
196
|
+
body: currentRawResponse.parsedBody,
|
|
197
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
202
|
+
sendOperationFn,
|
|
203
|
+
args: {
|
|
204
|
+
resourceGroupName,
|
|
205
|
+
clusterName,
|
|
206
|
+
privateEndpointConnectionName,
|
|
207
|
+
options,
|
|
208
|
+
},
|
|
209
|
+
spec: deleteOperationSpec,
|
|
210
|
+
});
|
|
211
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
212
|
+
restoreFrom: options?.resumeFrom,
|
|
213
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
214
|
+
resourceLocationConfig: "azure-async-operation",
|
|
215
|
+
});
|
|
216
|
+
await poller.poll();
|
|
217
|
+
return poller;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Deletes the specific private endpoint connection.
|
|
221
|
+
* @param resourceGroupName The name of the resource group.
|
|
222
|
+
* @param clusterName The name of the cluster.
|
|
223
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
224
|
+
* @param options The options parameters.
|
|
225
|
+
*/
|
|
226
|
+
async beginDeleteAndWait(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
|
|
227
|
+
const poller = await this.beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options);
|
|
228
|
+
return poller.pollUntilDone();
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* ListByClusterNext
|
|
232
|
+
* @param resourceGroupName The name of the resource group.
|
|
233
|
+
* @param clusterName The name of the cluster.
|
|
234
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCluster method.
|
|
235
|
+
* @param options The options parameters.
|
|
236
|
+
*/
|
|
237
|
+
_listByClusterNext(resourceGroupName, clusterName, nextLink, options) {
|
|
238
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, nextLink, options }, listByClusterNextOperationSpec);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.PrivateEndpointConnectionsImpl = PrivateEndpointConnectionsImpl;
|
|
242
|
+
// Operation Specifications
|
|
243
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
244
|
+
const listByClusterOperationSpec = {
|
|
245
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateEndpointConnections",
|
|
246
|
+
httpMethod: "GET",
|
|
247
|
+
responses: {
|
|
248
|
+
200: {
|
|
249
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
250
|
+
},
|
|
251
|
+
default: {
|
|
252
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
queryParameters: [Parameters.apiVersion],
|
|
256
|
+
urlParameters: [
|
|
257
|
+
Parameters.$host,
|
|
258
|
+
Parameters.subscriptionId,
|
|
259
|
+
Parameters.resourceGroupName,
|
|
260
|
+
Parameters.clusterName,
|
|
261
|
+
],
|
|
262
|
+
headerParameters: [Parameters.accept],
|
|
263
|
+
serializer,
|
|
264
|
+
};
|
|
265
|
+
const createOrUpdateOperationSpec = {
|
|
266
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
267
|
+
httpMethod: "PUT",
|
|
268
|
+
responses: {
|
|
269
|
+
200: {
|
|
270
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
271
|
+
},
|
|
272
|
+
201: {
|
|
273
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
274
|
+
},
|
|
275
|
+
202: {
|
|
276
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
277
|
+
},
|
|
278
|
+
204: {
|
|
279
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
280
|
+
},
|
|
281
|
+
default: {
|
|
282
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
requestBody: Parameters.parameters15,
|
|
286
|
+
queryParameters: [Parameters.apiVersion],
|
|
287
|
+
urlParameters: [
|
|
288
|
+
Parameters.$host,
|
|
289
|
+
Parameters.subscriptionId,
|
|
290
|
+
Parameters.resourceGroupName,
|
|
291
|
+
Parameters.clusterName,
|
|
292
|
+
Parameters.privateEndpointConnectionName,
|
|
293
|
+
],
|
|
294
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
295
|
+
mediaType: "json",
|
|
296
|
+
serializer,
|
|
297
|
+
};
|
|
298
|
+
const getOperationSpec = {
|
|
299
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
300
|
+
httpMethod: "GET",
|
|
301
|
+
responses: {
|
|
302
|
+
200: {
|
|
303
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
304
|
+
},
|
|
305
|
+
default: {
|
|
306
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
queryParameters: [Parameters.apiVersion],
|
|
310
|
+
urlParameters: [
|
|
311
|
+
Parameters.$host,
|
|
312
|
+
Parameters.subscriptionId,
|
|
313
|
+
Parameters.resourceGroupName,
|
|
314
|
+
Parameters.clusterName,
|
|
315
|
+
Parameters.privateEndpointConnectionName,
|
|
316
|
+
],
|
|
317
|
+
headerParameters: [Parameters.accept],
|
|
318
|
+
serializer,
|
|
319
|
+
};
|
|
320
|
+
const deleteOperationSpec = {
|
|
321
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/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.subscriptionId,
|
|
336
|
+
Parameters.resourceGroupName,
|
|
337
|
+
Parameters.clusterName,
|
|
338
|
+
Parameters.privateEndpointConnectionName,
|
|
339
|
+
],
|
|
340
|
+
headerParameters: [Parameters.accept],
|
|
341
|
+
serializer,
|
|
342
|
+
};
|
|
343
|
+
const listByClusterNextOperationSpec = {
|
|
344
|
+
path: "{nextLink}",
|
|
345
|
+
httpMethod: "GET",
|
|
346
|
+
responses: {
|
|
347
|
+
200: {
|
|
348
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
349
|
+
},
|
|
350
|
+
default: {
|
|
351
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
urlParameters: [
|
|
355
|
+
Parameters.$host,
|
|
356
|
+
Parameters.subscriptionId,
|
|
357
|
+
Parameters.resourceGroupName,
|
|
358
|
+
Parameters.clusterName,
|
|
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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAGxB,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,uBAAuB,CACpC,iBAAyB,EACzB,WAAmB,EACnB,OAA+D,EAC/D,QAAuB;QAEvB,IAAI,MAAuD,CAAC;QAC5D,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,cA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UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { HDInsightManagementClient } from \"../hDInsightManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByClusterNextOptionalParams,\n PrivateEndpointConnectionsListByClusterOptionalParams,\n PrivateEndpointConnectionsListByClusterResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByClusterNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: HDInsightManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: HDInsightManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the private endpoint connections for a HDInsight cluster.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n public listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listByClusterPagingAll(\n resourceGroupName,\n clusterName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByClusterPagingPage(\n resourceGroupName,\n clusterName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByClusterPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListByClusterOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListByClusterResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCluster(\n resourceGroupName,\n clusterName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByClusterNext(\n resourceGroupName,\n clusterName,\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 *listByClusterPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListByClusterOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listByClusterPagingPage(\n resourceGroupName,\n clusterName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the private endpoint connections for a HDInsight cluster.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n private _listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListByClusterOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByClusterResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listByClusterOperationSpec,\n );\n }\n\n /**\n * Approve or reject a private endpoint connection manually.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The private endpoint connection create or update request.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 clusterName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approve or reject a private endpoint connection manually.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The private endpoint connection create or update request.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the specific private endpoint connection.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes the specific private endpoint connection.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: 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: coreClient.FullOperationResponse | undefined =\n 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 clusterName,\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 resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specific private endpoint connection.\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByClusterNext\n * @param resourceGroupName The name of the resource group.\n * @param clusterName The name of the cluster.\n * @param nextLink The nextLink from the previous successful call to the ListByCluster method.\n * @param options The options parameters.\n */\n private _listByClusterNext(\n resourceGroupName: string,\n clusterName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListByClusterNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByClusterNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, nextLink, options },\n listByClusterNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByClusterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/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.parameters15,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/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.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/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.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByClusterNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { HDInsightManagementClient } from "../hDInsightManagementClient.js";
|
|
3
|
+
import { PrivateLinkResourcesListByClusterOptionalParams, PrivateLinkResourcesListByClusterResponse, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing PrivateLinkResources operations. */
|
|
5
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: HDInsightManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Lists the private link resources in a HDInsight cluster.
|
|
14
|
+
* @param resourceGroupName The name of the resource group.
|
|
15
|
+
* @param clusterName The name of the cluster.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): Promise<PrivateLinkResourcesListByClusterResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the specific private link resource.
|
|
21
|
+
* @param resourceGroupName The name of the resource group.
|
|
22
|
+
* @param clusterName The name of the cluster.
|
|
23
|
+
* @param privateLinkResourceName The name of the private link resource.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(resourceGroupName: string, clusterName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
27
|
+
}
|
|
28
|
+
//# 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,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,+CAA+C,EAC/C,yCAAyC,EACzC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAM5C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PrivateLinkResourcesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing PrivateLinkResources operations. */
|
|
16
|
+
class PrivateLinkResourcesImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists the private link resources in a HDInsight cluster.
|
|
27
|
+
* @param resourceGroupName The name of the resource group.
|
|
28
|
+
* @param clusterName The name of the cluster.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByCluster(resourceGroupName, clusterName, options) {
|
|
32
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Gets the specific private link resource.
|
|
36
|
+
* @param resourceGroupName The name of the resource group.
|
|
37
|
+
* @param clusterName The name of the cluster.
|
|
38
|
+
* @param privateLinkResourceName The name of the private link resource.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(resourceGroupName, clusterName, privateLinkResourceName, options) {
|
|
42
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, privateLinkResourceName, options }, getOperationSpec);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.PrivateLinkResourcesImpl = PrivateLinkResourcesImpl;
|
|
46
|
+
// Operation Specifications
|
|
47
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
48
|
+
const listByClusterOperationSpec = {
|
|
49
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources",
|
|
50
|
+
httpMethod: "GET",
|
|
51
|
+
responses: {
|
|
52
|
+
200: {
|
|
53
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult,
|
|
54
|
+
},
|
|
55
|
+
default: {
|
|
56
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
queryParameters: [Parameters.apiVersion],
|
|
60
|
+
urlParameters: [
|
|
61
|
+
Parameters.$host,
|
|
62
|
+
Parameters.subscriptionId,
|
|
63
|
+
Parameters.resourceGroupName,
|
|
64
|
+
Parameters.clusterName,
|
|
65
|
+
],
|
|
66
|
+
headerParameters: [Parameters.accept],
|
|
67
|
+
serializer,
|
|
68
|
+
};
|
|
69
|
+
const getOperationSpec = {
|
|
70
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}",
|
|
71
|
+
httpMethod: "GET",
|
|
72
|
+
responses: {
|
|
73
|
+
200: {
|
|
74
|
+
bodyMapper: Mappers.PrivateLinkResource,
|
|
75
|
+
},
|
|
76
|
+
default: {
|
|
77
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
queryParameters: [Parameters.apiVersion],
|
|
81
|
+
urlParameters: [
|
|
82
|
+
Parameters.$host,
|
|
83
|
+
Parameters.subscriptionId,
|
|
84
|
+
Parameters.resourceGroupName,
|
|
85
|
+
Parameters.clusterName,
|
|
86
|
+
Parameters.privateLinkResourceName,
|
|
87
|
+
],
|
|
88
|
+
headerParameters: [Parameters.accept],
|
|
89
|
+
serializer,
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=privateLinkResources.js.map
|