@azure/arm-quantum 1.0.0-beta.1 → 1.0.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 -1
- package/LICENSE +4 -4
- package/README.md +26 -19
- package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.d.ts +3 -3
- package/dist/browser/azureQuantumManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.js +41 -32
- package/dist/browser/azureQuantumManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +106 -41
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +8 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +5 -1
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +464 -347
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/parameters.js +43 -32
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/offerings.d.ts +3 -3
- package/dist/browser/operations/offerings.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/offerings.js +37 -59
- package/dist/browser/operations/offerings.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +116 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/workspace.d.ts +38 -0
- package/dist/browser/operations/workspace.d.ts.map +1 -0
- package/dist/browser/operations/workspace.js +119 -0
- package/dist/browser/operations/workspace.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +12 -12
- package/dist/browser/operations/workspaces.d.ts.map +1 -0
- package/dist/browser/operations/workspaces.js +457 -0
- package/dist/browser/operations/workspaces.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.d.ts +1 -1
- package/dist/browser/operationsInterfaces/offerings.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/offerings.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/workspace.d.ts +30 -0
- package/dist/browser/operationsInterfaces/workspace.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspace.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +8 -8
- package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureQuantumManagementClient.d.ts +23 -0
- package/dist/commonjs/azureQuantumManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureQuantumManagementClient.js +117 -0
- package/dist/commonjs/azureQuantumManagementClient.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/{types/arm-quantum.d.ts → dist/commonjs/models/index.d.ts} +614 -734
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +81 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +32 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1032 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +130 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/offerings.d.ts +35 -0
- package/dist/commonjs/operations/offerings.d.ts.map +1 -0
- package/dist/commonjs/operations/offerings.js +133 -0
- package/dist/commonjs/operations/offerings.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/workspace.d.ts +38 -0
- package/dist/commonjs/operations/workspace.d.ts.map +1 -0
- package/dist/commonjs/operations/workspace.js +124 -0
- package/dist/commonjs/operations/workspace.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +99 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +462 -0
- package/dist/commonjs/operations/workspaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/offerings.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/offerings.js +10 -0
- package/dist/commonjs/operationsInterfaces/offerings.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/workspace.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/workspace.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspace.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspace.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts +63 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/azureQuantumManagementClient.d.ts +23 -0
- package/dist/esm/azureQuantumManagementClient.d.ts.map +1 -0
- package/dist/esm/azureQuantumManagementClient.js +112 -0
- package/dist/esm/azureQuantumManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +614 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +78 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +32 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1029 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +127 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/offerings.d.ts +35 -0
- package/dist/esm/operations/offerings.d.ts.map +1 -0
- package/dist/esm/operations/offerings.js +128 -0
- package/dist/esm/operations/offerings.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/workspace.d.ts +38 -0
- package/dist/esm/operations/workspace.d.ts.map +1 -0
- package/dist/esm/operations/workspace.js +119 -0
- package/dist/esm/operations/workspace.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +99 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +457 -0
- package/dist/esm/operations/workspaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/offerings.d.ts +12 -0
- package/dist/esm/operationsInterfaces/offerings.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/offerings.js +9 -0
- package/dist/esm/operationsInterfaces/offerings.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/workspace.d.ts +30 -0
- package/dist/esm/operationsInterfaces/workspace.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspace.js +9 -0
- package/dist/esm/operationsInterfaces/workspace.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts +63 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.js +9 -0
- package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureQuantumManagementClient.d.ts +23 -0
- package/dist/react-native/azureQuantumManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureQuantumManagementClient.js +112 -0
- package/dist/react-native/azureQuantumManagementClient.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 +614 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +78 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +32 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1029 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +127 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/offerings.d.ts +35 -0
- package/dist/react-native/operations/offerings.d.ts.map +1 -0
- package/dist/react-native/operations/offerings.js +128 -0
- package/dist/react-native/operations/offerings.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/workspace.d.ts +38 -0
- package/dist/react-native/operations/workspace.d.ts.map +1 -0
- package/dist/react-native/operations/workspace.js +119 -0
- package/dist/react-native/operations/workspace.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +99 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +457 -0
- package/dist/react-native/operations/workspaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/offerings.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/offerings.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/offerings.js +9 -0
- package/dist/react-native/operationsInterfaces/offerings.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/workspace.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/workspace.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspace.js +9 -0
- package/dist/react-native/operationsInterfaces/workspace.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts +63 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +83 -72
- package/review/{arm-quantum.api.md → arm-quantum-node.api.md} +54 -6
- package/dist/index.js +0 -2131
- 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/offeringsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/offeringsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/offeringsListSample.js +0 -59
- package/dist-esm/samples-dev/offeringsListSample.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/workspaceCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +0 -42
- package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -48
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +0 -39
- package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -59
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -58
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +0 -42
- package/dist-esm/samples-dev/workspacesUpdateTagsSample.js.map +0 -1
- package/dist-esm/src/azureQuantumManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureQuantumManagementClient.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.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.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/offerings.d.ts.map +0 -1
- package/dist-esm/src/operations/offerings.js.map +0 -1
- 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/workspace.d.ts +0 -20
- package/dist-esm/src/operations/workspace.d.ts.map +0 -1
- package/dist-esm/src/operations/workspace.js +0 -54
- package/dist-esm/src/operations/workspace.js.map +0 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaces.js +0 -498
- package/dist-esm/src/operations/workspaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/offerings.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/offerings.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspace.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspace.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/quantum_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/quantum_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/quantum_operations_test.spec.js +0 -128
- package/dist-esm/test/quantum_operations_test.spec.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/azureQuantumManagementClient.ts +0 -156
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -617
- package/src/models/mappers.ts +0 -952
- package/src/models/parameters.ts +0 -137
- package/src/operations/index.ts +0 -12
- package/src/operations/offerings.ts +0 -170
- package/src/operations/operations.ts +0 -149
- package/src/operations/workspace.ts +0 -74
- package/src/operations/workspaces.ts +0 -633
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/offerings.ts +0 -24
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/workspace.ts +0 -28
- package/src/operationsInterfaces/workspaces.ts +0 -121
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspace.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
|
@@ -1,633 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Workspaces } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
SimplePollerLike,
|
|
18
|
-
OperationState,
|
|
19
|
-
createHttpPoller
|
|
20
|
-
} from "@azure/core-lro";
|
|
21
|
-
import { createLroSpec } from "../lroImpl";
|
|
22
|
-
import {
|
|
23
|
-
QuantumWorkspace,
|
|
24
|
-
WorkspacesListBySubscriptionNextOptionalParams,
|
|
25
|
-
WorkspacesListBySubscriptionOptionalParams,
|
|
26
|
-
WorkspacesListBySubscriptionResponse,
|
|
27
|
-
WorkspacesListByResourceGroupNextOptionalParams,
|
|
28
|
-
WorkspacesListByResourceGroupOptionalParams,
|
|
29
|
-
WorkspacesListByResourceGroupResponse,
|
|
30
|
-
WorkspacesGetOptionalParams,
|
|
31
|
-
WorkspacesGetResponse,
|
|
32
|
-
WorkspacesCreateOrUpdateOptionalParams,
|
|
33
|
-
WorkspacesCreateOrUpdateResponse,
|
|
34
|
-
TagsObject,
|
|
35
|
-
WorkspacesUpdateTagsOptionalParams,
|
|
36
|
-
WorkspacesUpdateTagsResponse,
|
|
37
|
-
WorkspacesDeleteOptionalParams,
|
|
38
|
-
WorkspacesListBySubscriptionNextResponse,
|
|
39
|
-
WorkspacesListByResourceGroupNextResponse
|
|
40
|
-
} from "../models";
|
|
41
|
-
|
|
42
|
-
/// <reference lib="esnext.asynciterable" />
|
|
43
|
-
/** Class containing Workspaces operations. */
|
|
44
|
-
export class WorkspacesImpl implements Workspaces {
|
|
45
|
-
private readonly client: AzureQuantumManagementClient;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Initialize a new instance of the class Workspaces class.
|
|
49
|
-
* @param client Reference to the service client
|
|
50
|
-
*/
|
|
51
|
-
constructor(client: AzureQuantumManagementClient) {
|
|
52
|
-
this.client = client;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Gets the list of Workspaces within a Subscription.
|
|
57
|
-
* @param options The options parameters.
|
|
58
|
-
*/
|
|
59
|
-
public listBySubscription(
|
|
60
|
-
options?: WorkspacesListBySubscriptionOptionalParams
|
|
61
|
-
): PagedAsyncIterableIterator<QuantumWorkspace> {
|
|
62
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
63
|
-
return {
|
|
64
|
-
next() {
|
|
65
|
-
return iter.next();
|
|
66
|
-
},
|
|
67
|
-
[Symbol.asyncIterator]() {
|
|
68
|
-
return this;
|
|
69
|
-
},
|
|
70
|
-
byPage: (settings?: PageSettings) => {
|
|
71
|
-
if (settings?.maxPageSize) {
|
|
72
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
73
|
-
}
|
|
74
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
private async *listBySubscriptionPagingPage(
|
|
80
|
-
options?: WorkspacesListBySubscriptionOptionalParams,
|
|
81
|
-
settings?: PageSettings
|
|
82
|
-
): AsyncIterableIterator<QuantumWorkspace[]> {
|
|
83
|
-
let result: WorkspacesListBySubscriptionResponse;
|
|
84
|
-
let continuationToken = settings?.continuationToken;
|
|
85
|
-
if (!continuationToken) {
|
|
86
|
-
result = await this._listBySubscription(options);
|
|
87
|
-
let page = result.value || [];
|
|
88
|
-
continuationToken = result.nextLink;
|
|
89
|
-
setContinuationToken(page, continuationToken);
|
|
90
|
-
yield page;
|
|
91
|
-
}
|
|
92
|
-
while (continuationToken) {
|
|
93
|
-
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
94
|
-
continuationToken = result.nextLink;
|
|
95
|
-
let page = result.value || [];
|
|
96
|
-
setContinuationToken(page, continuationToken);
|
|
97
|
-
yield page;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private async *listBySubscriptionPagingAll(
|
|
102
|
-
options?: WorkspacesListBySubscriptionOptionalParams
|
|
103
|
-
): AsyncIterableIterator<QuantumWorkspace> {
|
|
104
|
-
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
105
|
-
yield* page;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Gets the list of Workspaces within a resource group.
|
|
111
|
-
* @param resourceGroupName The name of the resource group.
|
|
112
|
-
* @param options The options parameters.
|
|
113
|
-
*/
|
|
114
|
-
public listByResourceGroup(
|
|
115
|
-
resourceGroupName: string,
|
|
116
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
117
|
-
): PagedAsyncIterableIterator<QuantumWorkspace> {
|
|
118
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
119
|
-
return {
|
|
120
|
-
next() {
|
|
121
|
-
return iter.next();
|
|
122
|
-
},
|
|
123
|
-
[Symbol.asyncIterator]() {
|
|
124
|
-
return this;
|
|
125
|
-
},
|
|
126
|
-
byPage: (settings?: PageSettings) => {
|
|
127
|
-
if (settings?.maxPageSize) {
|
|
128
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
129
|
-
}
|
|
130
|
-
return this.listByResourceGroupPagingPage(
|
|
131
|
-
resourceGroupName,
|
|
132
|
-
options,
|
|
133
|
-
settings
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
private async *listByResourceGroupPagingPage(
|
|
140
|
-
resourceGroupName: string,
|
|
141
|
-
options?: WorkspacesListByResourceGroupOptionalParams,
|
|
142
|
-
settings?: PageSettings
|
|
143
|
-
): AsyncIterableIterator<QuantumWorkspace[]> {
|
|
144
|
-
let result: WorkspacesListByResourceGroupResponse;
|
|
145
|
-
let continuationToken = settings?.continuationToken;
|
|
146
|
-
if (!continuationToken) {
|
|
147
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
148
|
-
let page = result.value || [];
|
|
149
|
-
continuationToken = result.nextLink;
|
|
150
|
-
setContinuationToken(page, continuationToken);
|
|
151
|
-
yield page;
|
|
152
|
-
}
|
|
153
|
-
while (continuationToken) {
|
|
154
|
-
result = await this._listByResourceGroupNext(
|
|
155
|
-
resourceGroupName,
|
|
156
|
-
continuationToken,
|
|
157
|
-
options
|
|
158
|
-
);
|
|
159
|
-
continuationToken = result.nextLink;
|
|
160
|
-
let page = result.value || [];
|
|
161
|
-
setContinuationToken(page, continuationToken);
|
|
162
|
-
yield page;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
private async *listByResourceGroupPagingAll(
|
|
167
|
-
resourceGroupName: string,
|
|
168
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
169
|
-
): AsyncIterableIterator<QuantumWorkspace> {
|
|
170
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
171
|
-
resourceGroupName,
|
|
172
|
-
options
|
|
173
|
-
)) {
|
|
174
|
-
yield* page;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Returns the Workspace resource associated with the given name.
|
|
180
|
-
* @param resourceGroupName The name of the resource group.
|
|
181
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
182
|
-
* @param options The options parameters.
|
|
183
|
-
*/
|
|
184
|
-
get(
|
|
185
|
-
resourceGroupName: string,
|
|
186
|
-
workspaceName: string,
|
|
187
|
-
options?: WorkspacesGetOptionalParams
|
|
188
|
-
): Promise<WorkspacesGetResponse> {
|
|
189
|
-
return this.client.sendOperationRequest(
|
|
190
|
-
{ resourceGroupName, workspaceName, options },
|
|
191
|
-
getOperationSpec
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Creates or updates a workspace resource.
|
|
197
|
-
* @param resourceGroupName The name of the resource group.
|
|
198
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
199
|
-
* @param quantumWorkspace Workspace details.
|
|
200
|
-
* @param options The options parameters.
|
|
201
|
-
*/
|
|
202
|
-
async beginCreateOrUpdate(
|
|
203
|
-
resourceGroupName: string,
|
|
204
|
-
workspaceName: string,
|
|
205
|
-
quantumWorkspace: QuantumWorkspace,
|
|
206
|
-
options?: WorkspacesCreateOrUpdateOptionalParams
|
|
207
|
-
): Promise<
|
|
208
|
-
SimplePollerLike<
|
|
209
|
-
OperationState<WorkspacesCreateOrUpdateResponse>,
|
|
210
|
-
WorkspacesCreateOrUpdateResponse
|
|
211
|
-
>
|
|
212
|
-
> {
|
|
213
|
-
const directSendOperation = async (
|
|
214
|
-
args: coreClient.OperationArguments,
|
|
215
|
-
spec: coreClient.OperationSpec
|
|
216
|
-
): Promise<WorkspacesCreateOrUpdateResponse> => {
|
|
217
|
-
return this.client.sendOperationRequest(args, spec);
|
|
218
|
-
};
|
|
219
|
-
const sendOperationFn = async (
|
|
220
|
-
args: coreClient.OperationArguments,
|
|
221
|
-
spec: coreClient.OperationSpec
|
|
222
|
-
) => {
|
|
223
|
-
let currentRawResponse:
|
|
224
|
-
| coreClient.FullOperationResponse
|
|
225
|
-
| undefined = undefined;
|
|
226
|
-
const providedCallback = args.options?.onResponse;
|
|
227
|
-
const callback: coreClient.RawResponseCallback = (
|
|
228
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
229
|
-
flatResponse: unknown
|
|
230
|
-
) => {
|
|
231
|
-
currentRawResponse = rawResponse;
|
|
232
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
233
|
-
};
|
|
234
|
-
const updatedArgs = {
|
|
235
|
-
...args,
|
|
236
|
-
options: {
|
|
237
|
-
...args.options,
|
|
238
|
-
onResponse: callback
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
242
|
-
return {
|
|
243
|
-
flatResponse,
|
|
244
|
-
rawResponse: {
|
|
245
|
-
statusCode: currentRawResponse!.status,
|
|
246
|
-
body: currentRawResponse!.parsedBody,
|
|
247
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
const lro = createLroSpec({
|
|
253
|
-
sendOperationFn,
|
|
254
|
-
args: { resourceGroupName, workspaceName, quantumWorkspace, options },
|
|
255
|
-
spec: createOrUpdateOperationSpec
|
|
256
|
-
});
|
|
257
|
-
const poller = await createHttpPoller<
|
|
258
|
-
WorkspacesCreateOrUpdateResponse,
|
|
259
|
-
OperationState<WorkspacesCreateOrUpdateResponse>
|
|
260
|
-
>(lro, {
|
|
261
|
-
restoreFrom: options?.resumeFrom,
|
|
262
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
263
|
-
resourceLocationConfig: "azure-async-operation"
|
|
264
|
-
});
|
|
265
|
-
await poller.poll();
|
|
266
|
-
return poller;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Creates or updates a workspace resource.
|
|
271
|
-
* @param resourceGroupName The name of the resource group.
|
|
272
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
273
|
-
* @param quantumWorkspace Workspace details.
|
|
274
|
-
* @param options The options parameters.
|
|
275
|
-
*/
|
|
276
|
-
async beginCreateOrUpdateAndWait(
|
|
277
|
-
resourceGroupName: string,
|
|
278
|
-
workspaceName: string,
|
|
279
|
-
quantumWorkspace: QuantumWorkspace,
|
|
280
|
-
options?: WorkspacesCreateOrUpdateOptionalParams
|
|
281
|
-
): Promise<WorkspacesCreateOrUpdateResponse> {
|
|
282
|
-
const poller = await this.beginCreateOrUpdate(
|
|
283
|
-
resourceGroupName,
|
|
284
|
-
workspaceName,
|
|
285
|
-
quantumWorkspace,
|
|
286
|
-
options
|
|
287
|
-
);
|
|
288
|
-
return poller.pollUntilDone();
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Updates an existing workspace's tags.
|
|
293
|
-
* @param resourceGroupName The name of the resource group.
|
|
294
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
295
|
-
* @param workspaceTags Parameters supplied to update tags.
|
|
296
|
-
* @param options The options parameters.
|
|
297
|
-
*/
|
|
298
|
-
updateTags(
|
|
299
|
-
resourceGroupName: string,
|
|
300
|
-
workspaceName: string,
|
|
301
|
-
workspaceTags: TagsObject,
|
|
302
|
-
options?: WorkspacesUpdateTagsOptionalParams
|
|
303
|
-
): Promise<WorkspacesUpdateTagsResponse> {
|
|
304
|
-
return this.client.sendOperationRequest(
|
|
305
|
-
{ resourceGroupName, workspaceName, workspaceTags, options },
|
|
306
|
-
updateTagsOperationSpec
|
|
307
|
-
);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Deletes a Workspace resource.
|
|
312
|
-
* @param resourceGroupName The name of the resource group.
|
|
313
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
314
|
-
* @param options The options parameters.
|
|
315
|
-
*/
|
|
316
|
-
async beginDelete(
|
|
317
|
-
resourceGroupName: string,
|
|
318
|
-
workspaceName: string,
|
|
319
|
-
options?: WorkspacesDeleteOptionalParams
|
|
320
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
321
|
-
const directSendOperation = async (
|
|
322
|
-
args: coreClient.OperationArguments,
|
|
323
|
-
spec: coreClient.OperationSpec
|
|
324
|
-
): Promise<void> => {
|
|
325
|
-
return this.client.sendOperationRequest(args, spec);
|
|
326
|
-
};
|
|
327
|
-
const sendOperationFn = async (
|
|
328
|
-
args: coreClient.OperationArguments,
|
|
329
|
-
spec: coreClient.OperationSpec
|
|
330
|
-
) => {
|
|
331
|
-
let currentRawResponse:
|
|
332
|
-
| coreClient.FullOperationResponse
|
|
333
|
-
| undefined = undefined;
|
|
334
|
-
const providedCallback = args.options?.onResponse;
|
|
335
|
-
const callback: coreClient.RawResponseCallback = (
|
|
336
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
337
|
-
flatResponse: unknown
|
|
338
|
-
) => {
|
|
339
|
-
currentRawResponse = rawResponse;
|
|
340
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
341
|
-
};
|
|
342
|
-
const updatedArgs = {
|
|
343
|
-
...args,
|
|
344
|
-
options: {
|
|
345
|
-
...args.options,
|
|
346
|
-
onResponse: callback
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
350
|
-
return {
|
|
351
|
-
flatResponse,
|
|
352
|
-
rawResponse: {
|
|
353
|
-
statusCode: currentRawResponse!.status,
|
|
354
|
-
body: currentRawResponse!.parsedBody,
|
|
355
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
const lro = createLroSpec({
|
|
361
|
-
sendOperationFn,
|
|
362
|
-
args: { resourceGroupName, workspaceName, options },
|
|
363
|
-
spec: deleteOperationSpec
|
|
364
|
-
});
|
|
365
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
366
|
-
restoreFrom: options?.resumeFrom,
|
|
367
|
-
intervalInMs: options?.updateIntervalInMs
|
|
368
|
-
});
|
|
369
|
-
await poller.poll();
|
|
370
|
-
return poller;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Deletes a Workspace resource.
|
|
375
|
-
* @param resourceGroupName The name of the resource group.
|
|
376
|
-
* @param workspaceName The name of the quantum workspace resource.
|
|
377
|
-
* @param options The options parameters.
|
|
378
|
-
*/
|
|
379
|
-
async beginDeleteAndWait(
|
|
380
|
-
resourceGroupName: string,
|
|
381
|
-
workspaceName: string,
|
|
382
|
-
options?: WorkspacesDeleteOptionalParams
|
|
383
|
-
): Promise<void> {
|
|
384
|
-
const poller = await this.beginDelete(
|
|
385
|
-
resourceGroupName,
|
|
386
|
-
workspaceName,
|
|
387
|
-
options
|
|
388
|
-
);
|
|
389
|
-
return poller.pollUntilDone();
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Gets the list of Workspaces within a Subscription.
|
|
394
|
-
* @param options The options parameters.
|
|
395
|
-
*/
|
|
396
|
-
private _listBySubscription(
|
|
397
|
-
options?: WorkspacesListBySubscriptionOptionalParams
|
|
398
|
-
): Promise<WorkspacesListBySubscriptionResponse> {
|
|
399
|
-
return this.client.sendOperationRequest(
|
|
400
|
-
{ options },
|
|
401
|
-
listBySubscriptionOperationSpec
|
|
402
|
-
);
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Gets the list of Workspaces within a resource group.
|
|
407
|
-
* @param resourceGroupName The name of the resource group.
|
|
408
|
-
* @param options The options parameters.
|
|
409
|
-
*/
|
|
410
|
-
private _listByResourceGroup(
|
|
411
|
-
resourceGroupName: string,
|
|
412
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
413
|
-
): Promise<WorkspacesListByResourceGroupResponse> {
|
|
414
|
-
return this.client.sendOperationRequest(
|
|
415
|
-
{ resourceGroupName, options },
|
|
416
|
-
listByResourceGroupOperationSpec
|
|
417
|
-
);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* ListBySubscriptionNext
|
|
422
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
423
|
-
* @param options The options parameters.
|
|
424
|
-
*/
|
|
425
|
-
private _listBySubscriptionNext(
|
|
426
|
-
nextLink: string,
|
|
427
|
-
options?: WorkspacesListBySubscriptionNextOptionalParams
|
|
428
|
-
): Promise<WorkspacesListBySubscriptionNextResponse> {
|
|
429
|
-
return this.client.sendOperationRequest(
|
|
430
|
-
{ nextLink, options },
|
|
431
|
-
listBySubscriptionNextOperationSpec
|
|
432
|
-
);
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* ListByResourceGroupNext
|
|
437
|
-
* @param resourceGroupName The name of the resource group.
|
|
438
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
439
|
-
* @param options The options parameters.
|
|
440
|
-
*/
|
|
441
|
-
private _listByResourceGroupNext(
|
|
442
|
-
resourceGroupName: string,
|
|
443
|
-
nextLink: string,
|
|
444
|
-
options?: WorkspacesListByResourceGroupNextOptionalParams
|
|
445
|
-
): Promise<WorkspacesListByResourceGroupNextResponse> {
|
|
446
|
-
return this.client.sendOperationRequest(
|
|
447
|
-
{ resourceGroupName, nextLink, options },
|
|
448
|
-
listByResourceGroupNextOperationSpec
|
|
449
|
-
);
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
// Operation Specifications
|
|
453
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
454
|
-
|
|
455
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
456
|
-
path:
|
|
457
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
458
|
-
httpMethod: "GET",
|
|
459
|
-
responses: {
|
|
460
|
-
200: {
|
|
461
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
462
|
-
},
|
|
463
|
-
default: {
|
|
464
|
-
bodyMapper: Mappers.ErrorResponse
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
queryParameters: [Parameters.apiVersion],
|
|
468
|
-
urlParameters: [
|
|
469
|
-
Parameters.$host,
|
|
470
|
-
Parameters.resourceGroupName,
|
|
471
|
-
Parameters.subscriptionId,
|
|
472
|
-
Parameters.workspaceName
|
|
473
|
-
],
|
|
474
|
-
headerParameters: [Parameters.accept],
|
|
475
|
-
serializer
|
|
476
|
-
};
|
|
477
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
478
|
-
path:
|
|
479
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
480
|
-
httpMethod: "PUT",
|
|
481
|
-
responses: {
|
|
482
|
-
200: {
|
|
483
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
484
|
-
},
|
|
485
|
-
201: {
|
|
486
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
487
|
-
},
|
|
488
|
-
202: {
|
|
489
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
490
|
-
},
|
|
491
|
-
204: {
|
|
492
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
493
|
-
},
|
|
494
|
-
default: {
|
|
495
|
-
bodyMapper: Mappers.ErrorResponse
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
requestBody: Parameters.quantumWorkspace,
|
|
499
|
-
queryParameters: [Parameters.apiVersion],
|
|
500
|
-
urlParameters: [
|
|
501
|
-
Parameters.$host,
|
|
502
|
-
Parameters.resourceGroupName,
|
|
503
|
-
Parameters.subscriptionId,
|
|
504
|
-
Parameters.workspaceName
|
|
505
|
-
],
|
|
506
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
507
|
-
mediaType: "json",
|
|
508
|
-
serializer
|
|
509
|
-
};
|
|
510
|
-
const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
511
|
-
path:
|
|
512
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
513
|
-
httpMethod: "PATCH",
|
|
514
|
-
responses: {
|
|
515
|
-
200: {
|
|
516
|
-
bodyMapper: Mappers.QuantumWorkspace
|
|
517
|
-
},
|
|
518
|
-
default: {
|
|
519
|
-
bodyMapper: Mappers.ErrorResponse
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
|
-
requestBody: Parameters.workspaceTags,
|
|
523
|
-
queryParameters: [Parameters.apiVersion],
|
|
524
|
-
urlParameters: [
|
|
525
|
-
Parameters.$host,
|
|
526
|
-
Parameters.resourceGroupName,
|
|
527
|
-
Parameters.subscriptionId,
|
|
528
|
-
Parameters.workspaceName
|
|
529
|
-
],
|
|
530
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
531
|
-
mediaType: "json",
|
|
532
|
-
serializer
|
|
533
|
-
};
|
|
534
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
535
|
-
path:
|
|
536
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
537
|
-
httpMethod: "DELETE",
|
|
538
|
-
responses: {
|
|
539
|
-
200: {},
|
|
540
|
-
201: {},
|
|
541
|
-
202: {},
|
|
542
|
-
204: {},
|
|
543
|
-
default: {
|
|
544
|
-
bodyMapper: Mappers.ErrorResponse
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
queryParameters: [Parameters.apiVersion],
|
|
548
|
-
urlParameters: [
|
|
549
|
-
Parameters.$host,
|
|
550
|
-
Parameters.resourceGroupName,
|
|
551
|
-
Parameters.subscriptionId,
|
|
552
|
-
Parameters.workspaceName
|
|
553
|
-
],
|
|
554
|
-
headerParameters: [Parameters.accept],
|
|
555
|
-
serializer
|
|
556
|
-
};
|
|
557
|
-
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
558
|
-
path:
|
|
559
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces",
|
|
560
|
-
httpMethod: "GET",
|
|
561
|
-
responses: {
|
|
562
|
-
200: {
|
|
563
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
564
|
-
},
|
|
565
|
-
default: {
|
|
566
|
-
bodyMapper: Mappers.ErrorResponse
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
queryParameters: [Parameters.apiVersion],
|
|
570
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
571
|
-
headerParameters: [Parameters.accept],
|
|
572
|
-
serializer
|
|
573
|
-
};
|
|
574
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
575
|
-
path:
|
|
576
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces",
|
|
577
|
-
httpMethod: "GET",
|
|
578
|
-
responses: {
|
|
579
|
-
200: {
|
|
580
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
581
|
-
},
|
|
582
|
-
default: {
|
|
583
|
-
bodyMapper: Mappers.ErrorResponse
|
|
584
|
-
}
|
|
585
|
-
},
|
|
586
|
-
queryParameters: [Parameters.apiVersion],
|
|
587
|
-
urlParameters: [
|
|
588
|
-
Parameters.$host,
|
|
589
|
-
Parameters.resourceGroupName,
|
|
590
|
-
Parameters.subscriptionId
|
|
591
|
-
],
|
|
592
|
-
headerParameters: [Parameters.accept],
|
|
593
|
-
serializer
|
|
594
|
-
};
|
|
595
|
-
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
596
|
-
path: "{nextLink}",
|
|
597
|
-
httpMethod: "GET",
|
|
598
|
-
responses: {
|
|
599
|
-
200: {
|
|
600
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
601
|
-
},
|
|
602
|
-
default: {
|
|
603
|
-
bodyMapper: Mappers.ErrorResponse
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
urlParameters: [
|
|
607
|
-
Parameters.$host,
|
|
608
|
-
Parameters.subscriptionId,
|
|
609
|
-
Parameters.nextLink
|
|
610
|
-
],
|
|
611
|
-
headerParameters: [Parameters.accept],
|
|
612
|
-
serializer
|
|
613
|
-
};
|
|
614
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
615
|
-
path: "{nextLink}",
|
|
616
|
-
httpMethod: "GET",
|
|
617
|
-
responses: {
|
|
618
|
-
200: {
|
|
619
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
620
|
-
},
|
|
621
|
-
default: {
|
|
622
|
-
bodyMapper: Mappers.ErrorResponse
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
urlParameters: [
|
|
626
|
-
Parameters.$host,
|
|
627
|
-
Parameters.resourceGroupName,
|
|
628
|
-
Parameters.subscriptionId,
|
|
629
|
-
Parameters.nextLink
|
|
630
|
-
],
|
|
631
|
-
headerParameters: [Parameters.accept],
|
|
632
|
-
serializer
|
|
633
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./workspaces";
|
|
10
|
-
export * from "./offerings";
|
|
11
|
-
export * from "./operations";
|
|
12
|
-
export * from "./workspace";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { ProviderDescription, OfferingsListOptionalParams } from "../models";
|
|
11
|
-
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Interface representing a Offerings. */
|
|
14
|
-
export interface Offerings {
|
|
15
|
-
/**
|
|
16
|
-
* Returns the list of all provider offerings available for the given location.
|
|
17
|
-
* @param locationName Location.
|
|
18
|
-
* @param options The options parameters.
|
|
19
|
-
*/
|
|
20
|
-
list(
|
|
21
|
-
locationName: string,
|
|
22
|
-
options?: OfferingsListOptionalParams
|
|
23
|
-
): PagedAsyncIterableIterator<ProviderDescription>;
|
|
24
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
-
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Interface representing a Operations. */
|
|
14
|
-
export interface Operations {
|
|
15
|
-
/**
|
|
16
|
-
* Returns list of operations.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
list(
|
|
20
|
-
options?: OperationsListOptionalParams
|
|
21
|
-
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
-
}
|