@azure/arm-defendereasm 1.0.0-alpha.20250114.1 → 1.0.0-alpha.20250116.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist-esm/src → dist/browser}/easmMgmtClient.d.ts +2 -2
- package/dist/browser/easmMgmtClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/easmMgmtClient.js +15 -18
- package/dist/browser/easmMgmtClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/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/labels.d.ts +3 -3
- package/dist/browser/operations/labels.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labels.js +79 -87
- package/dist/browser/operations/labels.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tasks.d.ts +3 -3
- package/dist/browser/operations/tasks.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tasks.js +2 -2
- package/dist/browser/operations/tasks.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
- package/dist/browser/operations/workspaces.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.js +79 -87
- 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/labels.d.ts +1 -1
- package/dist/browser/operationsInterfaces/labels.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/labels.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/tasks.d.ts +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
- package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/easmMgmtClient.d.ts +23 -0
- package/dist/commonjs/easmMgmtClient.d.ts.map +1 -0
- package/dist/commonjs/easmMgmtClient.js +105 -0
- package/dist/commonjs/easmMgmtClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-defendereasm.d.ts → dist/commonjs/models/index.d.ts} +492 -724
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +69 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +23 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +577 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +16 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +140 -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/labels.d.ts +87 -0
- package/dist/commonjs/operations/labels.d.ts.map +1 -0
- package/dist/commonjs/operations/labels.js +386 -0
- package/dist/commonjs/operations/labels.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/tasks.d.ts +21 -0
- package/dist/commonjs/operations/tasks.d.ts.map +1 -0
- package/dist/commonjs/operations/tasks.js +60 -0
- package/dist/commonjs/operations/tasks.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +96 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +482 -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/labels.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/labels.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/labels.js +10 -0
- package/dist/commonjs/operationsInterfaces/labels.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/tasks.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tasks.js +10 -0
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts +60 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/easmMgmtClient.d.ts +23 -0
- package/dist/esm/easmMgmtClient.d.ts.map +1 -0
- package/dist/esm/easmMgmtClient.js +100 -0
- package/dist/esm/easmMgmtClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +492 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +66 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +23 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +574 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +16 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +137 -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/labels.d.ts +87 -0
- package/dist/esm/operations/labels.d.ts.map +1 -0
- package/dist/esm/operations/labels.js +382 -0
- package/dist/esm/operations/labels.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/tasks.d.ts +21 -0
- package/dist/esm/operations/tasks.d.ts.map +1 -0
- package/dist/esm/operations/tasks.js +55 -0
- package/dist/esm/operations/tasks.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +96 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +478 -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/labels.d.ts +62 -0
- package/dist/esm/operationsInterfaces/labels.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/labels.js +9 -0
- package/dist/esm/operationsInterfaces/labels.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/tasks.d.ts +13 -0
- package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tasks.js +9 -0
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts +60 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.js +9 -0
- package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/easmMgmtClient.d.ts +23 -0
- package/dist/react-native/easmMgmtClient.d.ts.map +1 -0
- package/dist/react-native/easmMgmtClient.js +100 -0
- package/dist/react-native/easmMgmtClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +492 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +66 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +23 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +574 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +16 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +137 -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/labels.d.ts +87 -0
- package/dist/react-native/operations/labels.d.ts.map +1 -0
- package/dist/react-native/operations/labels.js +382 -0
- package/dist/react-native/operations/labels.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/tasks.d.ts +21 -0
- package/dist/react-native/operations/tasks.d.ts.map +1 -0
- package/dist/react-native/operations/tasks.js +55 -0
- package/dist/react-native/operations/tasks.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +96 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +478 -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/labels.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/labels.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/labels.js +9 -0
- package/dist/react-native/operationsInterfaces/labels.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/tasks.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tasks.js +9 -0
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts +60 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -2026
- 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/labelsCreateAndUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.js +0 -40
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labelsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/labelsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labelsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/labelsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.js +0 -40
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.js +0 -55
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/labelsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labelsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labelsUpdateSample.js +0 -40
- package/dist-esm/samples-dev/labelsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.js +0 -40
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.js +0 -43
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.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 -54
- 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 -53
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -39
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
- package/dist-esm/src/easmMgmtClient.d.ts.map +0 -1
- package/dist-esm/src/easmMgmtClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/labels.d.ts.map +0 -1
- package/dist-esm/src/operations/labels.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/tasks.d.ts.map +0 -1
- package/dist-esm/src/operations/tasks.js.map +0 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/labels.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/labels.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tasks.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/defendereasm_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/defendereasm_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/defendereasm_operations_test.spec.js +0 -115
- package/dist-esm/test/defendereasm_operations_test.spec.js.map +0 -1
- package/src/easmMgmtClient.ts +0 -151
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -562
- package/src/models/mappers.ts +0 -639
- package/src/models/parameters.ts +0 -161
- package/src/operations/index.ts +0 -12
- package/src/operations/labels.ts +0 -543
- package/src/operations/operations.ts +0 -149
- package/src/operations/tasks.ts +0 -75
- package/src/operations/workspaces.ts +0 -625
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/labels.ts +0 -120
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/tasks.ts +0 -29
- package/src/operationsInterfaces/workspaces.ts +0 -114
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/labels.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/tasks.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing Workspaces operations. */
|
|
17
|
+
export class WorkspacesImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Workspaces class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns a list of workspaces under the given subscription.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listBySubscription(options) {
|
|
30
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = yield __await(this._listBySubscription(options));
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield yield __await(page);
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield yield __await(page);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
listBySubscriptionPagingAll(options) {
|
|
67
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
68
|
+
var _a, e_1, _b, _c;
|
|
69
|
+
try {
|
|
70
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
+
_c = _f.value;
|
|
72
|
+
_d = false;
|
|
73
|
+
const page = _c;
|
|
74
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
+
finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
+
}
|
|
82
|
+
finally { if (e_1) throw e_1.error; }
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns a list of workspaces in the given resource group.
|
|
88
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
92
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
93
|
+
return {
|
|
94
|
+
next() {
|
|
95
|
+
return iter.next();
|
|
96
|
+
},
|
|
97
|
+
[Symbol.asyncIterator]() {
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
byPage: (settings) => {
|
|
101
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
102
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
|
+
}
|
|
104
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
110
|
+
let result;
|
|
111
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
|
+
if (!continuationToken) {
|
|
113
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
114
|
+
let page = result.value || [];
|
|
115
|
+
continuationToken = result.nextLink;
|
|
116
|
+
setContinuationToken(page, continuationToken);
|
|
117
|
+
yield yield __await(page);
|
|
118
|
+
}
|
|
119
|
+
while (continuationToken) {
|
|
120
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
121
|
+
continuationToken = result.nextLink;
|
|
122
|
+
let page = result.value || [];
|
|
123
|
+
setContinuationToken(page, continuationToken);
|
|
124
|
+
yield yield __await(page);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
129
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
130
|
+
var _a, e_2, _b, _c;
|
|
131
|
+
try {
|
|
132
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
|
+
_c = _f.value;
|
|
134
|
+
_d = false;
|
|
135
|
+
const page = _c;
|
|
136
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
140
|
+
finally {
|
|
141
|
+
try {
|
|
142
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
143
|
+
}
|
|
144
|
+
finally { if (e_2) throw e_2.error; }
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Returns a list of workspaces under the given subscription.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
_listBySubscription(options) {
|
|
153
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Returns a list of workspaces in the given resource group.
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Returns a workspace with the given name.
|
|
165
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
|
+
* @param workspaceName The name of the Workspace.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
get(resourceGroupName, workspaceName, options) {
|
|
170
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getOperationSpec);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Create or update a Workspace.
|
|
174
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
+
* @param workspaceName The name of the Workspace.
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
async beginCreateAndUpdate(resourceGroupName, workspaceName, options) {
|
|
179
|
+
const directSendOperation = async (args, spec) => {
|
|
180
|
+
return this.client.sendOperationRequest(args, spec);
|
|
181
|
+
};
|
|
182
|
+
const sendOperationFn = async (args, spec) => {
|
|
183
|
+
var _a;
|
|
184
|
+
let currentRawResponse = undefined;
|
|
185
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
186
|
+
const callback = (rawResponse, flatResponse) => {
|
|
187
|
+
currentRawResponse = rawResponse;
|
|
188
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
189
|
+
};
|
|
190
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
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 = createLroSpec({
|
|
202
|
+
sendOperationFn,
|
|
203
|
+
args: { resourceGroupName, workspaceName, options },
|
|
204
|
+
spec: createAndUpdateOperationSpec
|
|
205
|
+
});
|
|
206
|
+
const poller = await createHttpPoller(lro, {
|
|
207
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
208
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
209
|
+
resourceLocationConfig: "azure-async-operation"
|
|
210
|
+
});
|
|
211
|
+
await poller.poll();
|
|
212
|
+
return poller;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Create or update a Workspace.
|
|
216
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
217
|
+
* @param workspaceName The name of the Workspace.
|
|
218
|
+
* @param options The options parameters.
|
|
219
|
+
*/
|
|
220
|
+
async beginCreateAndUpdateAndWait(resourceGroupName, workspaceName, options) {
|
|
221
|
+
const poller = await this.beginCreateAndUpdate(resourceGroupName, workspaceName, options);
|
|
222
|
+
return poller.pollUntilDone();
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Update a Workspace.
|
|
226
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
227
|
+
* @param workspaceName The name of the Workspace.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
update(resourceGroupName, workspaceName, options) {
|
|
231
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, updateOperationSpec);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Delete a Workspace.
|
|
235
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
236
|
+
* @param workspaceName The name of the Workspace.
|
|
237
|
+
* @param options The options parameters.
|
|
238
|
+
*/
|
|
239
|
+
async beginDelete(resourceGroupName, workspaceName, options) {
|
|
240
|
+
const directSendOperation = async (args, spec) => {
|
|
241
|
+
return this.client.sendOperationRequest(args, spec);
|
|
242
|
+
};
|
|
243
|
+
const sendOperationFn = async (args, spec) => {
|
|
244
|
+
var _a;
|
|
245
|
+
let currentRawResponse = undefined;
|
|
246
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
247
|
+
const callback = (rawResponse, flatResponse) => {
|
|
248
|
+
currentRawResponse = rawResponse;
|
|
249
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
250
|
+
};
|
|
251
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
252
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
253
|
+
return {
|
|
254
|
+
flatResponse,
|
|
255
|
+
rawResponse: {
|
|
256
|
+
statusCode: currentRawResponse.status,
|
|
257
|
+
body: currentRawResponse.parsedBody,
|
|
258
|
+
headers: currentRawResponse.headers.toJSON()
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
const lro = createLroSpec({
|
|
263
|
+
sendOperationFn,
|
|
264
|
+
args: { resourceGroupName, workspaceName, options },
|
|
265
|
+
spec: deleteOperationSpec
|
|
266
|
+
});
|
|
267
|
+
const poller = await createHttpPoller(lro, {
|
|
268
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
269
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
270
|
+
resourceLocationConfig: "azure-async-operation"
|
|
271
|
+
});
|
|
272
|
+
await poller.poll();
|
|
273
|
+
return poller;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Delete a Workspace.
|
|
277
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
278
|
+
* @param workspaceName The name of the Workspace.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
async beginDeleteAndWait(resourceGroupName, workspaceName, options) {
|
|
282
|
+
const poller = await this.beginDelete(resourceGroupName, workspaceName, options);
|
|
283
|
+
return poller.pollUntilDone();
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* ListBySubscriptionNext
|
|
287
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
288
|
+
* @param options The options parameters.
|
|
289
|
+
*/
|
|
290
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
291
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* ListByResourceGroupNext
|
|
295
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
296
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
297
|
+
* @param options The options parameters.
|
|
298
|
+
*/
|
|
299
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
300
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
// Operation Specifications
|
|
304
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
305
|
+
const listBySubscriptionOperationSpec = {
|
|
306
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Easm/workspaces",
|
|
307
|
+
httpMethod: "GET",
|
|
308
|
+
responses: {
|
|
309
|
+
200: {
|
|
310
|
+
bodyMapper: Mappers.WorkspaceResourceList
|
|
311
|
+
},
|
|
312
|
+
default: {
|
|
313
|
+
bodyMapper: Mappers.ErrorResponse
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
queryParameters: [Parameters.apiVersion],
|
|
317
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
318
|
+
headerParameters: [Parameters.accept],
|
|
319
|
+
serializer
|
|
320
|
+
};
|
|
321
|
+
const listByResourceGroupOperationSpec = {
|
|
322
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces",
|
|
323
|
+
httpMethod: "GET",
|
|
324
|
+
responses: {
|
|
325
|
+
200: {
|
|
326
|
+
bodyMapper: Mappers.WorkspaceResourceList
|
|
327
|
+
},
|
|
328
|
+
default: {
|
|
329
|
+
bodyMapper: Mappers.ErrorResponse
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
queryParameters: [Parameters.apiVersion],
|
|
333
|
+
urlParameters: [
|
|
334
|
+
Parameters.$host,
|
|
335
|
+
Parameters.subscriptionId,
|
|
336
|
+
Parameters.resourceGroupName
|
|
337
|
+
],
|
|
338
|
+
headerParameters: [Parameters.accept],
|
|
339
|
+
serializer
|
|
340
|
+
};
|
|
341
|
+
const getOperationSpec = {
|
|
342
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}",
|
|
343
|
+
httpMethod: "GET",
|
|
344
|
+
responses: {
|
|
345
|
+
200: {
|
|
346
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
347
|
+
},
|
|
348
|
+
default: {
|
|
349
|
+
bodyMapper: Mappers.ErrorResponse
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
queryParameters: [Parameters.apiVersion],
|
|
353
|
+
urlParameters: [
|
|
354
|
+
Parameters.$host,
|
|
355
|
+
Parameters.subscriptionId,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.workspaceName
|
|
358
|
+
],
|
|
359
|
+
headerParameters: [Parameters.accept],
|
|
360
|
+
serializer
|
|
361
|
+
};
|
|
362
|
+
const createAndUpdateOperationSpec = {
|
|
363
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}",
|
|
364
|
+
httpMethod: "PUT",
|
|
365
|
+
responses: {
|
|
366
|
+
200: {
|
|
367
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
368
|
+
},
|
|
369
|
+
201: {
|
|
370
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
371
|
+
},
|
|
372
|
+
202: {
|
|
373
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
374
|
+
},
|
|
375
|
+
204: {
|
|
376
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
377
|
+
},
|
|
378
|
+
default: {
|
|
379
|
+
bodyMapper: Mappers.ErrorResponse
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
requestBody: Parameters.workspaceResource,
|
|
383
|
+
queryParameters: [Parameters.apiVersion],
|
|
384
|
+
urlParameters: [
|
|
385
|
+
Parameters.$host,
|
|
386
|
+
Parameters.subscriptionId,
|
|
387
|
+
Parameters.resourceGroupName,
|
|
388
|
+
Parameters.workspaceName
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
391
|
+
mediaType: "json",
|
|
392
|
+
serializer
|
|
393
|
+
};
|
|
394
|
+
const updateOperationSpec = {
|
|
395
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}",
|
|
396
|
+
httpMethod: "PATCH",
|
|
397
|
+
responses: {
|
|
398
|
+
200: {
|
|
399
|
+
bodyMapper: Mappers.WorkspaceResource
|
|
400
|
+
},
|
|
401
|
+
default: {
|
|
402
|
+
bodyMapper: Mappers.ErrorResponse
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
requestBody: Parameters.workspacePatchResource,
|
|
406
|
+
queryParameters: [Parameters.apiVersion],
|
|
407
|
+
urlParameters: [
|
|
408
|
+
Parameters.$host,
|
|
409
|
+
Parameters.subscriptionId,
|
|
410
|
+
Parameters.resourceGroupName,
|
|
411
|
+
Parameters.workspaceName
|
|
412
|
+
],
|
|
413
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
414
|
+
mediaType: "json",
|
|
415
|
+
serializer
|
|
416
|
+
};
|
|
417
|
+
const deleteOperationSpec = {
|
|
418
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}",
|
|
419
|
+
httpMethod: "DELETE",
|
|
420
|
+
responses: {
|
|
421
|
+
200: {},
|
|
422
|
+
201: {},
|
|
423
|
+
202: {},
|
|
424
|
+
204: {},
|
|
425
|
+
default: {
|
|
426
|
+
bodyMapper: Mappers.ErrorResponse
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
queryParameters: [Parameters.apiVersion],
|
|
430
|
+
urlParameters: [
|
|
431
|
+
Parameters.$host,
|
|
432
|
+
Parameters.subscriptionId,
|
|
433
|
+
Parameters.resourceGroupName,
|
|
434
|
+
Parameters.workspaceName
|
|
435
|
+
],
|
|
436
|
+
headerParameters: [Parameters.accept],
|
|
437
|
+
serializer
|
|
438
|
+
};
|
|
439
|
+
const listBySubscriptionNextOperationSpec = {
|
|
440
|
+
path: "{nextLink}",
|
|
441
|
+
httpMethod: "GET",
|
|
442
|
+
responses: {
|
|
443
|
+
200: {
|
|
444
|
+
bodyMapper: Mappers.WorkspaceResourceList
|
|
445
|
+
},
|
|
446
|
+
default: {
|
|
447
|
+
bodyMapper: Mappers.ErrorResponse
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
urlParameters: [
|
|
451
|
+
Parameters.$host,
|
|
452
|
+
Parameters.subscriptionId,
|
|
453
|
+
Parameters.nextLink
|
|
454
|
+
],
|
|
455
|
+
headerParameters: [Parameters.accept],
|
|
456
|
+
serializer
|
|
457
|
+
};
|
|
458
|
+
const listByResourceGroupNextOperationSpec = {
|
|
459
|
+
path: "{nextLink}",
|
|
460
|
+
httpMethod: "GET",
|
|
461
|
+
responses: {
|
|
462
|
+
200: {
|
|
463
|
+
bodyMapper: Mappers.WorkspaceResourceList
|
|
464
|
+
},
|
|
465
|
+
default: {
|
|
466
|
+
bodyMapper: Mappers.ErrorResponse
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
urlParameters: [
|
|
470
|
+
Parameters.$host,
|
|
471
|
+
Parameters.subscriptionId,
|
|
472
|
+
Parameters.resourceGroupName,
|
|
473
|
+
Parameters.nextLink
|
|
474
|
+
],
|
|
475
|
+
headerParameters: [Parameters.accept],
|
|
476
|
+
serializer
|
|
477
|
+
};
|
|
478
|
+
//# sourceMappingURL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,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,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 { Workspaces } 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 { EasmMgmtClient } from \"../easmMgmtClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n WorkspaceResource,\n WorkspacesListBySubscriptionNextOptionalParams,\n WorkspacesListBySubscriptionOptionalParams,\n WorkspacesListBySubscriptionResponse,\n WorkspacesListByResourceGroupNextOptionalParams,\n WorkspacesListByResourceGroupOptionalParams,\n WorkspacesListByResourceGroupResponse,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateAndUpdateOptionalParams,\n WorkspacesCreateAndUpdateResponse,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspacesListBySubscriptionNextResponse,\n WorkspacesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Workspaces operations. */\nexport class WorkspacesImpl implements Workspaces {\n private readonly client: EasmMgmtClient;\n\n /**\n * Initialize a new instance of the class Workspaces class.\n * @param client Reference to the service client\n */\n constructor(client: EasmMgmtClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of workspaces under the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: WorkspacesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<WorkspaceResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: WorkspacesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<WorkspaceResource[]> {\n let result: WorkspacesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: WorkspacesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<WorkspaceResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of workspaces in the given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<WorkspaceResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<WorkspaceResource[]> {\n let result: WorkspacesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<WorkspaceResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of workspaces under the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: WorkspacesListBySubscriptionOptionalParams\n ): Promise<WorkspacesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns a list of workspaces in the given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): Promise<WorkspacesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Returns a workspace with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a Workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n async beginCreateAndUpdate(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesCreateAndUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspacesCreateAndUpdateResponse>,\n WorkspacesCreateAndUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<WorkspacesCreateAndUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, workspaceName, options },\n spec: createAndUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n WorkspacesCreateAndUpdateResponse,\n OperationState<WorkspacesCreateAndUpdateResponse>\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 * Create or update a Workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n async beginCreateAndUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesCreateAndUpdateOptionalParams\n ): Promise<WorkspacesCreateAndUpdateResponse> {\n const poller = await this.beginCreateAndUpdate(\n resourceGroupName,\n workspaceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a Workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Delete a Workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, workspaceName, options },\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 * Delete a Workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the Workspace.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: WorkspacesListBySubscriptionNextOptionalParams\n ): Promise<WorkspacesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: WorkspacesListByResourceGroupNextOptionalParams\n ): Promise<WorkspacesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Easm/workspaces\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResourceList\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResource\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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createAndUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResource\n },\n 201: {\n bodyMapper: Mappers.WorkspaceResource\n },\n 202: {\n bodyMapper: Mappers.WorkspaceResource\n },\n 204: {\n bodyMapper: Mappers.WorkspaceResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.workspaceResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.workspacePatchResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}\",\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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./workspaces.js";
|
|
9
|
+
export * from "./labels.js";
|
|
10
|
+
export * from "./tasks.js";
|
|
11
|
+
export * from "./operations.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./workspaces.js\";\nexport * from \"./labels.js\";\nexport * from \"./tasks.js\";\nexport * from \"./operations.js\";\n"]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { LabelResource, LabelsListByWorkspaceOptionalParams, LabelsGetByWorkspaceOptionalParams, LabelsGetByWorkspaceResponse, LabelsCreateAndUpdateOptionalParams, LabelsCreateAndUpdateResponse, LabelsUpdateOptionalParams, LabelsUpdateResponse, LabelsDeleteOptionalParams } from "../models/index.js";
|
|
4
|
+
/** Interface representing a Labels. */
|
|
5
|
+
export interface Labels {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a list of labels in the given workspace.
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param workspaceName The name of the Workspace.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LabelsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LabelResource>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns a label in the given workspace.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the Workspace.
|
|
17
|
+
* @param labelName The name of the Label.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
getByWorkspace(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsGetByWorkspaceOptionalParams): Promise<LabelsGetByWorkspaceResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Create or update a Label.
|
|
23
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
|
+
* @param workspaceName The name of the Workspace.
|
|
25
|
+
* @param labelName The name of the Label.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LabelsCreateAndUpdateResponse>, LabelsCreateAndUpdateResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Create or update a Label.
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param workspaceName The name of the Workspace.
|
|
33
|
+
* @param labelName The name of the Label.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<LabelsCreateAndUpdateResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Update a Label.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param workspaceName The name of the Workspace.
|
|
41
|
+
* @param labelName The name of the Label.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
update(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsUpdateOptionalParams): Promise<LabelsUpdateResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete a Label.
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
+
* @param workspaceName The name of the Workspace.
|
|
49
|
+
* @param labelName The name of the Label.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginDelete(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete a Label.
|
|
55
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
+
* @param workspaceName The name of the Workspace.
|
|
57
|
+
* @param labelName The name of the Label.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<void>;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/labels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE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B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=labels.js.map
|