@azure/arm-portal 1.0.0-beta.4 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -6
- package/LICENSE +4 -4
- package/README.md +27 -18
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +17 -17
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +15 -6
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dashboards.d.ts +3 -3
- package/dist/browser/operations/dashboards.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dashboards.js +56 -65
- package/dist/browser/operations/dashboards.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/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/listTenantConfigurationViolations.d.ts +3 -3
- package/dist/browser/operations/listTenantConfigurationViolations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/listTenantConfigurationViolations.js +30 -34
- package/dist/browser/operations/listTenantConfigurationViolations.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 +30 -34
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tenantConfigurations.d.ts +3 -3
- package/dist/browser/operations/tenantConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tenantConfigurations.js +30 -34
- package/dist/browser/operations/tenantConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/dashboards.d.ts +1 -1
- package/dist/browser/operationsInterfaces/dashboards.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dashboards.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/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/listTenantConfigurationViolations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/listTenantConfigurationViolations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/listTenantConfigurationViolations.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/tenantConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/tenantConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tenantConfigurations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/portal.d.ts +2 -2
- package/dist/browser/portal.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/portal.js +49 -38
- package/dist/browser/portal.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/models/index.d.ts +336 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +17 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +28 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +636 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +14 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +123 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/dashboards.d.ts +83 -0
- package/dist/commonjs/operations/dashboards.d.ts.map +1 -0
- package/dist/commonjs/operations/dashboards.js +357 -0
- package/dist/commonjs/operations/dashboards.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/listTenantConfigurationViolations.d.ts +32 -0
- package/dist/commonjs/operations/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/commonjs/operations/listTenantConfigurationViolations.js +121 -0
- package/dist/commonjs/operations/listTenantConfigurationViolations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/tenantConfigurations.d.ts +52 -0
- package/dist/commonjs/operations/tenantConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/tenantConfigurations.js +200 -0
- package/dist/commonjs/operations/tenantConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dashboards.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/dashboards.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dashboards.js +10 -0
- package/dist/commonjs/operationsInterfaces/dashboards.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/listTenantConfigurationViolations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/listTenantConfigurationViolations.js +10 -0
- package/dist/commonjs/operationsInterfaces/listTenantConfigurationViolations.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/tenantConfigurations.d.ts +31 -0
- package/dist/commonjs/operationsInterfaces/tenantConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tenantConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/tenantConfigurations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/portal.d.ts +24 -0
- package/dist/commonjs/portal.d.ts.map +1 -0
- package/dist/commonjs/portal.js +118 -0
- package/dist/commonjs/portal.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- 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 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +336 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +28 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +633 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +14 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +120 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/dashboards.d.ts +83 -0
- package/dist/esm/operations/dashboards.d.ts.map +1 -0
- package/dist/esm/operations/dashboards.js +352 -0
- package/dist/esm/operations/dashboards.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/listTenantConfigurationViolations.d.ts +32 -0
- package/dist/esm/operations/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/esm/operations/listTenantConfigurationViolations.js +116 -0
- package/dist/esm/operations/listTenantConfigurationViolations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/tenantConfigurations.d.ts +52 -0
- package/dist/esm/operations/tenantConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/tenantConfigurations.js +195 -0
- package/dist/esm/operations/tenantConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/dashboards.d.ts +47 -0
- package/dist/esm/operationsInterfaces/dashboards.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dashboards.js +9 -0
- package/dist/esm/operationsInterfaces/dashboards.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/listTenantConfigurationViolations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/listTenantConfigurationViolations.js +9 -0
- package/dist/esm/operationsInterfaces/listTenantConfigurationViolations.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/tenantConfigurations.d.ts +31 -0
- package/dist/esm/operationsInterfaces/tenantConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tenantConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/tenantConfigurations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/portal.d.ts +24 -0
- package/dist/esm/portal.d.ts.map +1 -0
- package/dist/esm/portal.js +113 -0
- package/dist/esm/portal.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/models/index.d.ts +336 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +14 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +28 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +633 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +14 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +120 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/dashboards.d.ts +83 -0
- package/dist/react-native/operations/dashboards.d.ts.map +1 -0
- package/dist/react-native/operations/dashboards.js +352 -0
- package/dist/react-native/operations/dashboards.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/listTenantConfigurationViolations.d.ts +32 -0
- package/dist/react-native/operations/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/react-native/operations/listTenantConfigurationViolations.js +116 -0
- package/dist/react-native/operations/listTenantConfigurationViolations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/tenantConfigurations.d.ts +52 -0
- package/dist/react-native/operations/tenantConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/tenantConfigurations.js +195 -0
- package/dist/react-native/operations/tenantConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dashboards.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/dashboards.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dashboards.js +9 -0
- package/dist/react-native/operationsInterfaces/dashboards.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/listTenantConfigurationViolations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/listTenantConfigurationViolations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/listTenantConfigurationViolations.js +9 -0
- package/dist/react-native/operationsInterfaces/listTenantConfigurationViolations.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/tenantConfigurations.d.ts +31 -0
- package/dist/react-native/operationsInterfaces/tenantConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tenantConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/tenantConfigurations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/portal.d.ts +24 -0
- package/dist/react-native/portal.d.ts.map +1 -0
- package/dist/react-native/portal.js +113 -0
- package/dist/react-native/portal.js.map +1 -0
- package/package.json +87 -76
- package/review/{arm-portal.api.md → arm-portal-node.api.md} +3 -0
- package/dist/index.js +0 -1697
- 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/dashboardsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsCreateOrUpdateSample.js +0 -46
- package/dist-esm/samples-dev/dashboardsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/dashboardsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/dashboardsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dashboardsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsGetSample.js +0 -31
- package/dist-esm/samples-dev/dashboardsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dashboardsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/dashboardsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/dashboardsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/dashboardsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/dashboardsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dashboardsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dashboardsUpdateSample.js +0 -34
- package/dist-esm/samples-dev/dashboardsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/listTenantConfigurationViolationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/listTenantConfigurationViolationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/listTenantConfigurationViolationsListSample.js +0 -43
- package/dist-esm/samples-dev/listTenantConfigurationViolationsListSample.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 -43
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/tenantConfigurationsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsCreateSample.js +0 -33
- package/dist-esm/samples-dev/tenantConfigurationsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/tenantConfigurationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsDeleteSample.js +0 -30
- package/dist-esm/samples-dev/tenantConfigurationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/tenantConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsGetSample.js +0 -30
- package/dist-esm/samples-dev/tenantConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/tenantConfigurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tenantConfigurationsListSample.js +0 -43
- package/dist-esm/samples-dev/tenantConfigurationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/dashboards.d.ts.map +0 -1
- package/dist-esm/src/operations/dashboards.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/listTenantConfigurationViolations.d.ts.map +0 -1
- package/dist-esm/src/operations/listTenantConfigurationViolations.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/tenantConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/tenantConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dashboards.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dashboards.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/listTenantConfigurationViolations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tenantConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tenantConfigurations.js.map +0 -1
- package/dist-esm/src/portal.d.ts.map +0 -1
- package/dist-esm/src/portal.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/models/index.ts +0 -390
- package/src/models/mappers.ts +0 -658
- package/src/models/parameters.ts +0 -141
- package/src/operations/dashboards.ts +0 -451
- package/src/operations/index.ts +0 -12
- package/src/operations/listTenantConfigurationViolations.ts +0 -138
- package/src/operations/operations.ts +0 -137
- package/src/operations/tenantConfigurations.ts +0 -244
- package/src/operationsInterfaces/dashboards.ts +0 -91
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/listTenantConfigurationViolations.ts +0 -25
- package/src/operationsInterfaces/operations.ts +0 -25
- package/src/operationsInterfaces/tenantConfigurations.ts +0 -61
- package/src/portal.ts +0 -153
- package/tsconfig.json +0 -33
- package/types/arm-portal.d.ts +0 -509
- /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/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/dashboards.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/listTenantConfigurationViolations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/tenantConfigurations.js +0 -0
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Dashboards operations. */
|
|
14
14
|
export class DashboardsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Dashboards class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -33,40 +34,36 @@ export class DashboardsImpl {
|
|
|
33
34
|
[Symbol.asyncIterator]() {
|
|
34
35
|
return this;
|
|
35
36
|
},
|
|
36
|
-
byPage: () => {
|
|
37
|
-
|
|
37
|
+
byPage: (settings) => {
|
|
38
|
+
if (settings?.maxPageSize) {
|
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
+
}
|
|
41
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings?.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield page;
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
52
62
|
}
|
|
53
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
58
|
-
const page = _c.value;
|
|
59
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
-
finally {
|
|
64
|
-
try {
|
|
65
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
66
|
-
}
|
|
67
|
-
finally { if (e_1) throw e_1.error; }
|
|
68
|
-
}
|
|
69
|
-
});
|
|
63
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
64
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
65
|
+
yield* page;
|
|
66
|
+
}
|
|
70
67
|
}
|
|
71
68
|
/**
|
|
72
69
|
* Gets all the dashboards within a subscription.
|
|
@@ -81,40 +78,36 @@ export class DashboardsImpl {
|
|
|
81
78
|
[Symbol.asyncIterator]() {
|
|
82
79
|
return this;
|
|
83
80
|
},
|
|
84
|
-
byPage: () => {
|
|
85
|
-
|
|
81
|
+
byPage: (settings) => {
|
|
82
|
+
if (settings?.maxPageSize) {
|
|
83
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
84
|
+
}
|
|
85
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
listBySubscriptionPagingPage(options) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
90
|
+
let result;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._listBySubscription(options);
|
|
94
|
+
let page = result.value || [];
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
setContinuationToken(page, continuationToken);
|
|
97
|
+
yield page;
|
|
98
|
+
}
|
|
99
|
+
while (continuationToken) {
|
|
100
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
setContinuationToken(page, continuationToken);
|
|
104
|
+
yield page;
|
|
105
|
+
}
|
|
100
106
|
}
|
|
101
|
-
listBySubscriptionPagingAll(options) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
-
const page = _c.value;
|
|
107
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
-
finally {
|
|
112
|
-
try {
|
|
113
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
-
}
|
|
115
|
-
finally { if (e_2) throw e_2.error; }
|
|
116
|
-
}
|
|
117
|
-
});
|
|
107
|
+
async *listBySubscriptionPagingAll(options) {
|
|
108
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
109
|
+
yield* page;
|
|
110
|
+
}
|
|
118
111
|
}
|
|
119
112
|
/**
|
|
120
113
|
* Creates or updates a Dashboard.
|
|
@@ -328,7 +321,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
328
321
|
bodyMapper: Mappers.ErrorResponse
|
|
329
322
|
}
|
|
330
323
|
},
|
|
331
|
-
queryParameters: [Parameters.apiVersion],
|
|
332
324
|
urlParameters: [
|
|
333
325
|
Parameters.$host,
|
|
334
326
|
Parameters.nextLink,
|
|
@@ -349,7 +341,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
349
341
|
bodyMapper: Mappers.ErrorResponse
|
|
350
342
|
}
|
|
351
343
|
},
|
|
352
|
-
queryParameters: [Parameters.apiVersion],
|
|
353
344
|
urlParameters: [
|
|
354
345
|
Parameters.$host,
|
|
355
346
|
Parameters.nextLink,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../../../src/operations/dashboards.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI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AAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;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 { Dashboards } 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 { Portal } from \"../portal.js\";\nimport {\n Dashboard,\n DashboardsListByResourceGroupNextOptionalParams,\n DashboardsListByResourceGroupOptionalParams,\n DashboardsListByResourceGroupResponse,\n DashboardsListBySubscriptionNextOptionalParams,\n DashboardsListBySubscriptionOptionalParams,\n DashboardsListBySubscriptionResponse,\n DashboardsCreateOrUpdateOptionalParams,\n DashboardsCreateOrUpdateResponse,\n DashboardsDeleteOptionalParams,\n DashboardsGetOptionalParams,\n DashboardsGetResponse,\n PatchableDashboard,\n DashboardsUpdateOptionalParams,\n DashboardsUpdateResponse,\n DashboardsListByResourceGroupNextResponse,\n DashboardsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Dashboards operations. */\nexport class DashboardsImpl implements Dashboards {\n private readonly client: Portal;\n\n /**\n * Initialize a new instance of the class Dashboards class.\n * @param client Reference to the service client\n */\n constructor(client: Portal) {\n this.client = client;\n }\n\n /**\n * Gets all the Dashboards within a resource group.\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: DashboardsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Dashboard> {\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?: DashboardsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Dashboard[]> {\n let result: DashboardsListByResourceGroupResponse;\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?: DashboardsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Dashboard> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the dashboards within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: DashboardsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Dashboard> {\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?: DashboardsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Dashboard[]> {\n let result: DashboardsListBySubscriptionResponse;\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?: DashboardsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Dashboard> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a Dashboard.\n * @param resourceGroupName The name of the resource group.\n * @param dashboardName The name of the dashboard.\n * @param dashboard The parameters required to create or update a dashboard.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n dashboardName: string,\n dashboard: Dashboard,\n options?: DashboardsCreateOrUpdateOptionalParams\n ): Promise<DashboardsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dashboardName, dashboard, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the Dashboard.\n * @param resourceGroupName The name of the resource group.\n * @param dashboardName The name of the dashboard.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n dashboardName: string,\n options?: DashboardsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dashboardName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the Dashboard.\n * @param resourceGroupName The name of the resource group.\n * @param dashboardName The name of the dashboard.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n dashboardName: string,\n options?: DashboardsGetOptionalParams\n ): Promise<DashboardsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dashboardName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates an existing Dashboard.\n * @param resourceGroupName The name of the resource group.\n * @param dashboardName The name of the dashboard.\n * @param dashboard The updatable fields of a Dashboard.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n dashboardName: string,\n dashboard: PatchableDashboard,\n options?: DashboardsUpdateOptionalParams\n ): Promise<DashboardsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dashboardName, dashboard, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets all the Dashboards within a resource group.\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: DashboardsListByResourceGroupOptionalParams\n ): Promise<DashboardsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets all the dashboards within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: DashboardsListBySubscriptionOptionalParams\n ): Promise<DashboardsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group.\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?: DashboardsListByResourceGroupNextOptionalParams\n ): Promise<DashboardsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\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?: DashboardsListBySubscriptionNextOptionalParams\n ): Promise<DashboardsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Dashboard\n },\n 201: {\n bodyMapper: Mappers.Dashboard\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.dashboard,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.dashboardName\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.Portal/dashboards/{dashboardName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.dashboardName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Dashboard\n },\n 404: {},\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.dashboardName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Dashboard\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.dashboard1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.dashboardName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DashboardListResult\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 listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DashboardListResult\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 listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DashboardListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\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.DashboardListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./operations";
|
|
9
|
-
export * from "./dashboards";
|
|
10
|
-
export * from "./tenantConfigurations";
|
|
11
|
-
export * from "./listTenantConfigurationViolations";
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./dashboards.js";
|
|
10
|
+
export * from "./tenantConfigurations.js";
|
|
11
|
+
export * from "./listTenantConfigurationViolations.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,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 \"./operations.js\";\nexport * from \"./dashboards.js\";\nexport * from \"./tenantConfigurations.js\";\nexport * from \"./listTenantConfigurationViolations.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ListTenantConfigurationViolations } from "../operationsInterfaces";
|
|
3
|
-
import { Portal } from "../portal";
|
|
4
|
-
import { Violation, ListTenantConfigurationViolationsListOptionalParams } from "../models";
|
|
2
|
+
import { ListTenantConfigurationViolations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { Portal } from "../portal.js";
|
|
4
|
+
import { Violation, ListTenantConfigurationViolationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing ListTenantConfigurationViolations operations. */
|
|
6
6
|
export declare class ListTenantConfigurationViolationsImpl implements ListTenantConfigurationViolations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTenantConfigurationViolations.d.ts","sourceRoot":"","sources":["../../../src/operations/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAIrF,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,SAAS,EAET,mDAAmD,EAGpD,MAAM,oBAAoB,CAAC;AAG5B,qEAAqE;AACrE,qBAAa,qCACX,YAAW,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing ListTenantConfigurationViolations operations. */
|
|
14
14
|
export class ListTenantConfigurationViolationsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class ListTenantConfigurationViolations class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -32,40 +33,36 @@ export class ListTenantConfigurationViolationsImpl {
|
|
|
32
33
|
[Symbol.asyncIterator]() {
|
|
33
34
|
return this;
|
|
34
35
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
37
41
|
}
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
let page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
|
-
listPagingAll(options) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
-
const page = _c.value;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
69
66
|
}
|
|
70
67
|
/**
|
|
71
68
|
* Gets list of items that violate tenant's configuration.
|
|
@@ -112,7 +109,6 @@ const listNextOperationSpec = {
|
|
|
112
109
|
bodyMapper: Mappers.ErrorResponse
|
|
113
110
|
}
|
|
114
111
|
},
|
|
115
|
-
queryParameters: [Parameters.apiVersion],
|
|
116
112
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
117
113
|
headerParameters: [Parameters.accept],
|
|
118
114
|
serializer
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTenantConfigurationViolations.js","sourceRoot":"","sources":["../../../src/operations/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAE/B,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE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AAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAAiE;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,+DAA+D;IACrE,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ListTenantConfigurationViolations } 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 { Portal } from \"../portal.js\";\nimport {\n Violation,\n ListTenantConfigurationViolationsListNextOptionalParams,\n ListTenantConfigurationViolationsListOptionalParams,\n ListTenantConfigurationViolationsListResponse,\n ListTenantConfigurationViolationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ListTenantConfigurationViolations operations. */\nexport class ListTenantConfigurationViolationsImpl\n implements ListTenantConfigurationViolations {\n private readonly client: Portal;\n\n /**\n * Initialize a new instance of the class ListTenantConfigurationViolations class.\n * @param client Reference to the service client\n */\n constructor(client: Portal) {\n this.client = client;\n }\n\n /**\n * Gets list of items that violate tenant's configuration.\n * @param options The options parameters.\n */\n public list(\n options?: ListTenantConfigurationViolationsListOptionalParams\n ): PagedAsyncIterableIterator<Violation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: ListTenantConfigurationViolationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Violation[]> {\n let result: ListTenantConfigurationViolationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ListTenantConfigurationViolationsListOptionalParams\n ): AsyncIterableIterator<Violation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets list of items that violate tenant's configuration.\n * @param options The options parameters.\n */\n private _list(\n options?: ListTenantConfigurationViolationsListOptionalParams\n ): Promise<ListTenantConfigurationViolationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ListTenantConfigurationViolationsListNextOptionalParams\n ): Promise<ListTenantConfigurationViolationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Portal/listTenantConfigurationViolations\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ViolationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ViolationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { Portal } from "../portal";
|
|
4
|
-
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { Portal } from "../portal.js";
|
|
4
|
+
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,yBAAyB,EAEzB,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Operations operations. */
|
|
14
14
|
export class OperationsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Operations class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -32,40 +33,36 @@ export class OperationsImpl {
|
|
|
32
33
|
[Symbol.asyncIterator]() {
|
|
33
34
|
return this;
|
|
34
35
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
37
41
|
}
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
let page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
|
-
listPagingAll(options) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
-
const page = _c.value;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
69
66
|
}
|
|
70
67
|
/**
|
|
71
68
|
* The Microsoft Portal operations API.
|
|
@@ -112,7 +109,6 @@ const listNextOperationSpec = {
|
|
|
112
109
|
bodyMapper: Mappers.ErrorResponse
|
|
113
110
|
}
|
|
114
111
|
},
|
|
115
|
-
queryParameters: [Parameters.apiVersion],
|
|
116
112
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
117
113
|
headerParameters: [Parameters.accept],
|
|
118
114
|
serializer
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;g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,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { Portal } from \"../portal.js\";\nimport {\n ResourceProviderOperation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: Portal;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: Portal) {\n this.client = client;\n }\n\n /**\n * The Microsoft Portal operations API.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<ResourceProviderOperation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ResourceProviderOperation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<ResourceProviderOperation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The Microsoft Portal operations API.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Portal/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceProviderOperationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceProviderOperationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { TenantConfigurations } from "../operationsInterfaces";
|
|
3
|
-
import { Portal } from "../portal";
|
|
4
|
-
import { Configuration, TenantConfigurationsListOptionalParams, ConfigurationName, TenantConfigurationsGetOptionalParams, TenantConfigurationsGetResponse, TenantConfigurationsCreateOptionalParams, TenantConfigurationsCreateResponse, TenantConfigurationsDeleteOptionalParams } from "../models";
|
|
2
|
+
import { TenantConfigurations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { Portal } from "../portal.js";
|
|
4
|
+
import { Configuration, TenantConfigurationsListOptionalParams, ConfigurationName, TenantConfigurationsGetOptionalParams, TenantConfigurationsGetResponse, TenantConfigurationsCreateOptionalParams, TenantConfigurationsCreateResponse, TenantConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing TenantConfigurations operations. */
|
|
6
6
|
export declare class TenantConfigurationsImpl implements TenantConfigurations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenantConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/tenantConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,aAAa,EAEb,sCAAsC,EAEtC,iBAAiB,EACjB,qCAAqC,EACrC,+BAA+B,EAC/B,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EAEzC,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,aAAa,CAAC;YAkB7B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,aAAa,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;OAIG;IACH,MAAM,CACJ,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing TenantConfigurations operations. */
|
|
14
14
|
export class TenantConfigurationsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class TenantConfigurations class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -32,40 +33,36 @@ export class TenantConfigurationsImpl {
|
|
|
32
33
|
[Symbol.asyncIterator]() {
|
|
33
34
|
return this;
|
|
34
35
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
37
41
|
}
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
let page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
|
-
listPagingAll(options) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
-
const page = _c.value;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
69
66
|
}
|
|
70
67
|
/**
|
|
71
68
|
* Gets list of the tenant configurations.
|
|
@@ -191,7 +188,6 @@ const listNextOperationSpec = {
|
|
|
191
188
|
bodyMapper: Mappers.ErrorResponse
|
|
192
189
|
}
|
|
193
190
|
},
|
|
194
|
-
queryParameters: [Parameters.apiVersion],
|
|
195
191
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
196
192
|
headerParameters: [Parameters.accept],
|
|
197
193
|
serializer
|