@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,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.taskId = exports.labelPatchResource = exports.labelResource = exports.labelName = exports.nextLink = exports.workspacePatchResource = exports.workspaceResource = exports.contentType = exports.workspaceName = exports.resourceGroupName = exports.subscriptionId = exports.apiVersion = exports.$host = exports.accept = void 0;
|
|
11
|
+
const mappers_js_1 = require("../models/mappers.js");
|
|
12
|
+
exports.accept = {
|
|
13
|
+
parameterPath: "accept",
|
|
14
|
+
mapper: {
|
|
15
|
+
defaultValue: "application/json",
|
|
16
|
+
isConstant: true,
|
|
17
|
+
serializedName: "Accept",
|
|
18
|
+
type: {
|
|
19
|
+
name: "String"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.$host = {
|
|
24
|
+
parameterPath: "$host",
|
|
25
|
+
mapper: {
|
|
26
|
+
serializedName: "$host",
|
|
27
|
+
required: true,
|
|
28
|
+
type: {
|
|
29
|
+
name: "String"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
skipEncoding: true
|
|
33
|
+
};
|
|
34
|
+
exports.apiVersion = {
|
|
35
|
+
parameterPath: "apiVersion",
|
|
36
|
+
mapper: {
|
|
37
|
+
defaultValue: "2023-04-01-preview",
|
|
38
|
+
isConstant: true,
|
|
39
|
+
serializedName: "api-version",
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.subscriptionId = {
|
|
46
|
+
parameterPath: "subscriptionId",
|
|
47
|
+
mapper: {
|
|
48
|
+
constraints: {
|
|
49
|
+
MinLength: 1
|
|
50
|
+
},
|
|
51
|
+
serializedName: "subscriptionId",
|
|
52
|
+
required: true,
|
|
53
|
+
type: {
|
|
54
|
+
name: "String"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.resourceGroupName = {
|
|
59
|
+
parameterPath: "resourceGroupName",
|
|
60
|
+
mapper: {
|
|
61
|
+
constraints: {
|
|
62
|
+
MaxLength: 90,
|
|
63
|
+
MinLength: 1
|
|
64
|
+
},
|
|
65
|
+
serializedName: "resourceGroupName",
|
|
66
|
+
required: true,
|
|
67
|
+
type: {
|
|
68
|
+
name: "String"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
exports.workspaceName = {
|
|
73
|
+
parameterPath: "workspaceName",
|
|
74
|
+
mapper: {
|
|
75
|
+
serializedName: "workspaceName",
|
|
76
|
+
required: true,
|
|
77
|
+
type: {
|
|
78
|
+
name: "String"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
exports.contentType = {
|
|
83
|
+
parameterPath: ["options", "contentType"],
|
|
84
|
+
mapper: {
|
|
85
|
+
defaultValue: "application/json",
|
|
86
|
+
isConstant: true,
|
|
87
|
+
serializedName: "Content-Type",
|
|
88
|
+
type: {
|
|
89
|
+
name: "String"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
exports.workspaceResource = {
|
|
94
|
+
parameterPath: ["options", "workspaceResource"],
|
|
95
|
+
mapper: mappers_js_1.WorkspaceResource
|
|
96
|
+
};
|
|
97
|
+
exports.workspacePatchResource = {
|
|
98
|
+
parameterPath: ["options", "workspacePatchResource"],
|
|
99
|
+
mapper: mappers_js_1.WorkspacePatchResource
|
|
100
|
+
};
|
|
101
|
+
exports.nextLink = {
|
|
102
|
+
parameterPath: "nextLink",
|
|
103
|
+
mapper: {
|
|
104
|
+
serializedName: "nextLink",
|
|
105
|
+
required: true,
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
skipEncoding: true
|
|
111
|
+
};
|
|
112
|
+
exports.labelName = {
|
|
113
|
+
parameterPath: "labelName",
|
|
114
|
+
mapper: {
|
|
115
|
+
serializedName: "labelName",
|
|
116
|
+
required: true,
|
|
117
|
+
type: {
|
|
118
|
+
name: "String"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
exports.labelResource = {
|
|
123
|
+
parameterPath: ["options", "labelResource"],
|
|
124
|
+
mapper: mappers_js_1.LabelResource
|
|
125
|
+
};
|
|
126
|
+
exports.labelPatchResource = {
|
|
127
|
+
parameterPath: ["options", "labelPatchResource"],
|
|
128
|
+
mapper: mappers_js_1.LabelPatchResource
|
|
129
|
+
};
|
|
130
|
+
exports.taskId = {
|
|
131
|
+
parameterPath: "taskId",
|
|
132
|
+
mapper: {
|
|
133
|
+
serializedName: "taskId",
|
|
134
|
+
required: true,
|
|
135
|
+
type: {
|
|
136
|
+
name: "String"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAK8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,aAAa,GAA0B;IAClD,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE;QACN,cAAc,EAAE,eAAe;QAC/B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACnD,aAAa,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC;IAC/C,MAAM,EAAE,8BAAuB;CAChC,CAAC;AAEW,QAAA,sBAAsB,GAAuB;IACxD,aAAa,EAAE,CAAC,SAAS,EAAE,wBAAwB,CAAC;IACpD,MAAM,EAAE,mCAA4B;CACrC,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,SAAS,GAA0B;IAC9C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,aAAa,GAAuB;IAC/C,aAAa,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;IAC3C,MAAM,EAAE,0BAAmB;CAC5B,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,oBAAoB,CAAC;IAChD,MAAM,EAAE,+BAAwB;CACjC,CAAC;AAEW,QAAA,MAAM,GAA0B;IAC3C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n WorkspaceResource as WorkspaceResourceMapper,\n WorkspacePatchResource as WorkspacePatchResourceMapper,\n LabelResource as LabelResourceMapper,\n LabelPatchResource as LabelPatchResourceMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-04-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceResource: OperationParameter = {\n parameterPath: [\"options\", \"workspaceResource\"],\n mapper: WorkspaceResourceMapper\n};\n\nexport const workspacePatchResource: OperationParameter = {\n parameterPath: [\"options\", \"workspacePatchResource\"],\n mapper: WorkspacePatchResourceMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const labelName: OperationURLParameter = {\n parameterPath: \"labelName\",\n mapper: {\n serializedName: \"labelName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const labelResource: OperationParameter = {\n parameterPath: [\"options\", \"labelResource\"],\n mapper: LabelResourceMapper\n};\n\nexport const labelPatchResource: OperationParameter = {\n parameterPath: [\"options\", \"labelPatchResource\"],\n mapper: LabelPatchResourceMapper\n};\n\nexport const taskId: OperationURLParameter = {\n parameterPath: \"taskId\",\n mapper: {\n serializedName: \"taskId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./workspaces.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./labels.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./tasks.js"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,sDAA4B;AAC5B,qDAA2B;AAC3B,0DAAgC","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,87 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Labels } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EasmMgmtClient } from "../easmMgmtClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { LabelResource, LabelsListByWorkspaceOptionalParams, LabelsGetByWorkspaceOptionalParams, LabelsGetByWorkspaceResponse, LabelsCreateAndUpdateOptionalParams, LabelsCreateAndUpdateResponse, LabelsUpdateOptionalParams, LabelsUpdateResponse, LabelsDeleteOptionalParams } from "../models/index.js";
|
|
6
|
+
/** Class containing Labels operations. */
|
|
7
|
+
export declare class LabelsImpl implements Labels {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Labels class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: EasmMgmtClient);
|
|
14
|
+
/**
|
|
15
|
+
* Returns a list of labels in the given workspace.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param workspaceName The name of the Workspace.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LabelsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LabelResource>;
|
|
21
|
+
private listByWorkspacePagingPage;
|
|
22
|
+
private listByWorkspacePagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Returns a list of labels in the given workspace.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the Workspace.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listByWorkspace;
|
|
30
|
+
/**
|
|
31
|
+
* Returns a label in the given workspace.
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param workspaceName The name of the Workspace.
|
|
34
|
+
* @param labelName The name of the Label.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
getByWorkspace(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsGetByWorkspaceOptionalParams): Promise<LabelsGetByWorkspaceResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Create or update a Label.
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param workspaceName The name of the Workspace.
|
|
42
|
+
* @param labelName The name of the Label.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LabelsCreateAndUpdateResponse>, LabelsCreateAndUpdateResponse>>;
|
|
46
|
+
/**
|
|
47
|
+
* Create or update a Label.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param workspaceName The name of the Workspace.
|
|
50
|
+
* @param labelName The name of the Label.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<LabelsCreateAndUpdateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Update a Label.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param workspaceName The name of the Workspace.
|
|
58
|
+
* @param labelName The name of the Label.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
update(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsUpdateOptionalParams): Promise<LabelsUpdateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete a Label.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param workspaceName The name of the Workspace.
|
|
66
|
+
* @param labelName The name of the Label.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginDelete(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
70
|
+
/**
|
|
71
|
+
* Delete a Label.
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param workspaceName The name of the Workspace.
|
|
74
|
+
* @param labelName The name of the Label.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* ListByWorkspaceNext
|
|
80
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
81
|
+
* @param workspaceName The name of the Workspace.
|
|
82
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
private _listByWorkspaceNext;
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/operations/labels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAI1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,aAAa,EAEb,mCAAmC,EAEnC,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAE3B,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;OAKG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,aAAa,CAAC;YA2B7B,yBAAyB;YAiCzB,wBAAwB;IAcvC;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAWxB;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;OAMG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF;IAyDD;;;;;;OAMG;IACG,2BAA2B,CAC/B,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAUzC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAsDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;CAW7B"}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LabelsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing Labels operations. */
|
|
20
|
+
class LabelsImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class Labels class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Returns a list of labels in the given workspace.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param workspaceName The name of the Workspace.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
35
|
+
const iter = this.listByWorkspacePagingAll(resourceGroupName, workspaceName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = yield tslib_1.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield yield tslib_1.__await(page);
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = yield tslib_1.__await(this._listByWorkspaceNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield yield tslib_1.__await(page);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
|
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
|
|
73
|
+
var _a, e_1, _b, _c;
|
|
74
|
+
try {
|
|
75
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
+
_c = _f.value;
|
|
77
|
+
_d = false;
|
|
78
|
+
const page = _c;
|
|
79
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
+
finally {
|
|
84
|
+
try {
|
|
85
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
+
}
|
|
87
|
+
finally { if (e_1) throw e_1.error; }
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Returns a list of labels in the given workspace.
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param workspaceName The name of the Workspace.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
_listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
98
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listByWorkspaceOperationSpec);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns a label in the given workspace.
|
|
102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
+
* @param workspaceName The name of the Workspace.
|
|
104
|
+
* @param labelName The name of the Label.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
getByWorkspace(resourceGroupName, workspaceName, labelName, options) {
|
|
108
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, labelName, options }, getByWorkspaceOperationSpec);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Create or update a Label.
|
|
112
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
+
* @param workspaceName The name of the Workspace.
|
|
114
|
+
* @param labelName The name of the Label.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
async beginCreateAndUpdate(resourceGroupName, workspaceName, labelName, options) {
|
|
118
|
+
const directSendOperation = async (args, spec) => {
|
|
119
|
+
return this.client.sendOperationRequest(args, spec);
|
|
120
|
+
};
|
|
121
|
+
const sendOperationFn = async (args, spec) => {
|
|
122
|
+
var _a;
|
|
123
|
+
let currentRawResponse = undefined;
|
|
124
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
125
|
+
const callback = (rawResponse, flatResponse) => {
|
|
126
|
+
currentRawResponse = rawResponse;
|
|
127
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
128
|
+
};
|
|
129
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
130
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
131
|
+
return {
|
|
132
|
+
flatResponse,
|
|
133
|
+
rawResponse: {
|
|
134
|
+
statusCode: currentRawResponse.status,
|
|
135
|
+
body: currentRawResponse.parsedBody,
|
|
136
|
+
headers: currentRawResponse.headers.toJSON()
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
141
|
+
sendOperationFn,
|
|
142
|
+
args: { resourceGroupName, workspaceName, labelName, options },
|
|
143
|
+
spec: createAndUpdateOperationSpec
|
|
144
|
+
});
|
|
145
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
146
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
147
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
148
|
+
resourceLocationConfig: "azure-async-operation"
|
|
149
|
+
});
|
|
150
|
+
await poller.poll();
|
|
151
|
+
return poller;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Create or update a Label.
|
|
155
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
+
* @param workspaceName The name of the Workspace.
|
|
157
|
+
* @param labelName The name of the Label.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
async beginCreateAndUpdateAndWait(resourceGroupName, workspaceName, labelName, options) {
|
|
161
|
+
const poller = await this.beginCreateAndUpdate(resourceGroupName, workspaceName, labelName, options);
|
|
162
|
+
return poller.pollUntilDone();
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Update a Label.
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param workspaceName The name of the Workspace.
|
|
168
|
+
* @param labelName The name of the Label.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
update(resourceGroupName, workspaceName, labelName, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, labelName, options }, updateOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Delete a Label.
|
|
176
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
177
|
+
* @param workspaceName The name of the Workspace.
|
|
178
|
+
* @param labelName The name of the Label.
|
|
179
|
+
* @param options The options parameters.
|
|
180
|
+
*/
|
|
181
|
+
async beginDelete(resourceGroupName, workspaceName, labelName, options) {
|
|
182
|
+
const directSendOperation = async (args, spec) => {
|
|
183
|
+
return this.client.sendOperationRequest(args, spec);
|
|
184
|
+
};
|
|
185
|
+
const sendOperationFn = async (args, spec) => {
|
|
186
|
+
var _a;
|
|
187
|
+
let currentRawResponse = undefined;
|
|
188
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
189
|
+
const callback = (rawResponse, flatResponse) => {
|
|
190
|
+
currentRawResponse = rawResponse;
|
|
191
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
192
|
+
};
|
|
193
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
194
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
195
|
+
return {
|
|
196
|
+
flatResponse,
|
|
197
|
+
rawResponse: {
|
|
198
|
+
statusCode: currentRawResponse.status,
|
|
199
|
+
body: currentRawResponse.parsedBody,
|
|
200
|
+
headers: currentRawResponse.headers.toJSON()
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
205
|
+
sendOperationFn,
|
|
206
|
+
args: { resourceGroupName, workspaceName, labelName, options },
|
|
207
|
+
spec: deleteOperationSpec
|
|
208
|
+
});
|
|
209
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
210
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
211
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
212
|
+
resourceLocationConfig: "azure-async-operation"
|
|
213
|
+
});
|
|
214
|
+
await poller.poll();
|
|
215
|
+
return poller;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Delete a Label.
|
|
219
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
220
|
+
* @param workspaceName The name of the Workspace.
|
|
221
|
+
* @param labelName The name of the Label.
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
async beginDeleteAndWait(resourceGroupName, workspaceName, labelName, options) {
|
|
225
|
+
const poller = await this.beginDelete(resourceGroupName, workspaceName, labelName, options);
|
|
226
|
+
return poller.pollUntilDone();
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* ListByWorkspaceNext
|
|
230
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
231
|
+
* @param workspaceName The name of the Workspace.
|
|
232
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
_listByWorkspaceNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
236
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listByWorkspaceNextOperationSpec);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
exports.LabelsImpl = LabelsImpl;
|
|
240
|
+
// Operation Specifications
|
|
241
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
242
|
+
const listByWorkspaceOperationSpec = {
|
|
243
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}/labels",
|
|
244
|
+
httpMethod: "GET",
|
|
245
|
+
responses: {
|
|
246
|
+
200: {
|
|
247
|
+
bodyMapper: Mappers.LabelResourceList
|
|
248
|
+
},
|
|
249
|
+
default: {
|
|
250
|
+
bodyMapper: Mappers.ErrorResponse
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
queryParameters: [Parameters.apiVersion],
|
|
254
|
+
urlParameters: [
|
|
255
|
+
Parameters.$host,
|
|
256
|
+
Parameters.subscriptionId,
|
|
257
|
+
Parameters.resourceGroupName,
|
|
258
|
+
Parameters.workspaceName
|
|
259
|
+
],
|
|
260
|
+
headerParameters: [Parameters.accept],
|
|
261
|
+
serializer
|
|
262
|
+
};
|
|
263
|
+
const getByWorkspaceOperationSpec = {
|
|
264
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}/labels/{labelName}",
|
|
265
|
+
httpMethod: "GET",
|
|
266
|
+
responses: {
|
|
267
|
+
200: {
|
|
268
|
+
bodyMapper: Mappers.LabelResource
|
|
269
|
+
},
|
|
270
|
+
default: {
|
|
271
|
+
bodyMapper: Mappers.ErrorResponse
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
queryParameters: [Parameters.apiVersion],
|
|
275
|
+
urlParameters: [
|
|
276
|
+
Parameters.$host,
|
|
277
|
+
Parameters.subscriptionId,
|
|
278
|
+
Parameters.resourceGroupName,
|
|
279
|
+
Parameters.workspaceName,
|
|
280
|
+
Parameters.labelName
|
|
281
|
+
],
|
|
282
|
+
headerParameters: [Parameters.accept],
|
|
283
|
+
serializer
|
|
284
|
+
};
|
|
285
|
+
const createAndUpdateOperationSpec = {
|
|
286
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}/labels/{labelName}",
|
|
287
|
+
httpMethod: "PUT",
|
|
288
|
+
responses: {
|
|
289
|
+
200: {
|
|
290
|
+
bodyMapper: Mappers.LabelResource
|
|
291
|
+
},
|
|
292
|
+
201: {
|
|
293
|
+
bodyMapper: Mappers.LabelResource
|
|
294
|
+
},
|
|
295
|
+
202: {
|
|
296
|
+
bodyMapper: Mappers.LabelResource
|
|
297
|
+
},
|
|
298
|
+
204: {
|
|
299
|
+
bodyMapper: Mappers.LabelResource
|
|
300
|
+
},
|
|
301
|
+
default: {
|
|
302
|
+
bodyMapper: Mappers.ErrorResponse
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
requestBody: Parameters.labelResource,
|
|
306
|
+
queryParameters: [Parameters.apiVersion],
|
|
307
|
+
urlParameters: [
|
|
308
|
+
Parameters.$host,
|
|
309
|
+
Parameters.subscriptionId,
|
|
310
|
+
Parameters.resourceGroupName,
|
|
311
|
+
Parameters.workspaceName,
|
|
312
|
+
Parameters.labelName
|
|
313
|
+
],
|
|
314
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
315
|
+
mediaType: "json",
|
|
316
|
+
serializer
|
|
317
|
+
};
|
|
318
|
+
const updateOperationSpec = {
|
|
319
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}/labels/{labelName}",
|
|
320
|
+
httpMethod: "PATCH",
|
|
321
|
+
responses: {
|
|
322
|
+
200: {
|
|
323
|
+
bodyMapper: Mappers.LabelResource
|
|
324
|
+
},
|
|
325
|
+
default: {
|
|
326
|
+
bodyMapper: Mappers.ErrorResponse
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
requestBody: Parameters.labelPatchResource,
|
|
330
|
+
queryParameters: [Parameters.apiVersion],
|
|
331
|
+
urlParameters: [
|
|
332
|
+
Parameters.$host,
|
|
333
|
+
Parameters.subscriptionId,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.workspaceName,
|
|
336
|
+
Parameters.labelName
|
|
337
|
+
],
|
|
338
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
339
|
+
mediaType: "json",
|
|
340
|
+
serializer
|
|
341
|
+
};
|
|
342
|
+
const deleteOperationSpec = {
|
|
343
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}/labels/{labelName}",
|
|
344
|
+
httpMethod: "DELETE",
|
|
345
|
+
responses: {
|
|
346
|
+
200: {},
|
|
347
|
+
201: {},
|
|
348
|
+
202: {},
|
|
349
|
+
204: {},
|
|
350
|
+
default: {
|
|
351
|
+
bodyMapper: Mappers.ErrorResponse
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
queryParameters: [Parameters.apiVersion],
|
|
355
|
+
urlParameters: [
|
|
356
|
+
Parameters.$host,
|
|
357
|
+
Parameters.subscriptionId,
|
|
358
|
+
Parameters.resourceGroupName,
|
|
359
|
+
Parameters.workspaceName,
|
|
360
|
+
Parameters.labelName
|
|
361
|
+
],
|
|
362
|
+
headerParameters: [Parameters.accept],
|
|
363
|
+
serializer
|
|
364
|
+
};
|
|
365
|
+
const listByWorkspaceNextOperationSpec = {
|
|
366
|
+
path: "{nextLink}",
|
|
367
|
+
httpMethod: "GET",
|
|
368
|
+
responses: {
|
|
369
|
+
200: {
|
|
370
|
+
bodyMapper: Mappers.LabelResourceList
|
|
371
|
+
},
|
|
372
|
+
default: {
|
|
373
|
+
bodyMapper: Mappers.ErrorResponse
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
urlParameters: [
|
|
377
|
+
Parameters.$host,
|
|
378
|
+
Parameters.subscriptionId,
|
|
379
|
+
Parameters.resourceGroupName,
|
|
380
|
+
Parameters.workspaceName,
|
|
381
|
+
Parameters.nextLink
|
|
382
|
+
],
|
|
383
|
+
headerParameters: [Parameters.accept],
|
|
384
|
+
serializer
|
|
385
|
+
};
|
|
386
|
+
//# sourceMappingURL=labels.js.map
|