@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t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E,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 { TenantConfigurations } 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 Configuration,\n TenantConfigurationsListNextOptionalParams,\n TenantConfigurationsListOptionalParams,\n TenantConfigurationsListResponse,\n ConfigurationName,\n TenantConfigurationsGetOptionalParams,\n TenantConfigurationsGetResponse,\n TenantConfigurationsCreateOptionalParams,\n TenantConfigurationsCreateResponse,\n TenantConfigurationsDeleteOptionalParams,\n TenantConfigurationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TenantConfigurations operations. */\nexport class TenantConfigurationsImpl implements TenantConfigurations {\n private readonly client: Portal;\n\n /**\n * Initialize a new instance of the class TenantConfigurations 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 the tenant configurations.\n * @param options The options parameters.\n */\n public list(\n options?: TenantConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<Configuration> {\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?: TenantConfigurationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Configuration[]> {\n let result: TenantConfigurationsListResponse;\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?: TenantConfigurationsListOptionalParams\n ): AsyncIterableIterator<Configuration> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets list of the tenant configurations.\n * @param options The options parameters.\n */\n private _list(\n options?: TenantConfigurationsListOptionalParams\n ): Promise<TenantConfigurationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets the tenant configuration.\n * @param configurationName The configuration name. Value must be 'default'\n * @param options The options parameters.\n */\n get(\n configurationName: ConfigurationName,\n options?: TenantConfigurationsGetOptionalParams\n ): Promise<TenantConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { configurationName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create the tenant configuration. If configuration already exists - update it. User has to be a\n * Tenant Admin for this operation.\n * @param configurationName The configuration name. Value must be 'default'\n * @param tenantConfiguration The parameters required to create or update tenant configuration.\n * @param options The options parameters.\n */\n create(\n configurationName: ConfigurationName,\n tenantConfiguration: Configuration,\n options?: TenantConfigurationsCreateOptionalParams\n ): Promise<TenantConfigurationsCreateResponse> {\n return this.client.sendOperationRequest(\n { configurationName, tenantConfiguration, options },\n createOperationSpec\n );\n }\n\n /**\n * Delete the tenant configuration. User has to be a Tenant Admin for this operation.\n * @param configurationName The configuration name. Value must be 'default'\n * @param options The options parameters.\n */\n delete(\n configurationName: ConfigurationName,\n options?: TenantConfigurationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { configurationName, options },\n deleteOperationSpec\n );\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?: TenantConfigurationsListNextOptionalParams\n ): Promise<TenantConfigurationsListNextResponse> {\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/tenantConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationList\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 getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Portal/tenantConfigurations/{configurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Configuration\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.configurationName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Portal/tenantConfigurations/{configurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Configuration\n },\n 201: {\n bodyMapper: Mappers.Configuration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.tenantConfiguration,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.configurationName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Portal/tenantConfigurations/{configurationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.configurationName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Dashboard, DashboardsListByResourceGroupOptionalParams, DashboardsListBySubscriptionOptionalParams, DashboardsCreateOrUpdateOptionalParams, DashboardsCreateOrUpdateResponse, DashboardsDeleteOptionalParams, DashboardsGetOptionalParams, DashboardsGetResponse, PatchableDashboard, DashboardsUpdateOptionalParams, DashboardsUpdateResponse } from "../models";
|
|
2
|
+
import { Dashboard, DashboardsListByResourceGroupOptionalParams, DashboardsListBySubscriptionOptionalParams, DashboardsCreateOrUpdateOptionalParams, DashboardsCreateOrUpdateResponse, DashboardsDeleteOptionalParams, DashboardsGetOptionalParams, DashboardsGetResponse, PatchableDashboard, DashboardsUpdateOptionalParams, DashboardsUpdateResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Dashboards. */
|
|
4
4
|
export interface Dashboards {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboards.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dashboards.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,2CAA2C,EAC3C,0CAA0C,EAC1C,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,kBAAkB,EAClB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,kBAAkB,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dashboards.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Dashboard,\n DashboardsListByResourceGroupOptionalParams,\n DashboardsListBySubscriptionOptionalParams,\n DashboardsCreateOrUpdateOptionalParams,\n DashboardsCreateOrUpdateResponse,\n DashboardsDeleteOptionalParams,\n DashboardsGetOptionalParams,\n DashboardsGetResponse,\n PatchableDashboard,\n DashboardsUpdateOptionalParams,\n DashboardsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Dashboards. */\nexport interface Dashboards {\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 listByResourceGroup(\n resourceGroupName: string,\n options?: DashboardsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Dashboard>;\n /**\n * Gets all the dashboards within a subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: DashboardsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Dashboard>;\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 /**\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 /**\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 /**\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}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/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/operationsInterfaces/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"]}
|
package/{dist-esm/src → dist/browser}/operationsInterfaces/listTenantConfigurationViolations.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Violation, ListTenantConfigurationViolationsListOptionalParams } from "../models";
|
|
2
|
+
import { Violation, ListTenantConfigurationViolationsListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a ListTenantConfigurationViolations. */
|
|
4
4
|
export interface ListTenantConfigurationViolations {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listTenantConfigurationViolations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,mDAAmD,EACpD,MAAM,
|
|
1
|
+
{"version":3,"file":"listTenantConfigurationViolations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,mDAAmD,EACpD,MAAM,oBAAoB,CAAC;AAG5B,kEAAkE;AAClE,MAAM,WAAW,iCAAiC;IAChD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTenantConfigurationViolations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Violation,\n ListTenantConfigurationViolationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ListTenantConfigurationViolations. */\nexport interface ListTenantConfigurationViolations {\n /**\n * Gets list of items that violate tenant's configuration.\n * @param options The options parameters.\n */\n list(\n options?: ListTenantConfigurationViolationsListOptionalParams\n ): PagedAsyncIterableIterator<Violation>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { ResourceProviderOperation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Operations. */
|
|
4
4
|
export interface Operations {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;CAC1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n ResourceProviderOperation,\n OperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * The Microsoft Portal operations API.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<ResourceProviderOperation>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Configuration, TenantConfigurationsListOptionalParams, ConfigurationName, TenantConfigurationsGetOptionalParams, TenantConfigurationsGetResponse, TenantConfigurationsCreateOptionalParams, TenantConfigurationsCreateResponse, TenantConfigurationsDeleteOptionalParams } from "../models";
|
|
2
|
+
import { Configuration, TenantConfigurationsListOptionalParams, ConfigurationName, TenantConfigurationsGetOptionalParams, TenantConfigurationsGetResponse, TenantConfigurationsCreateOptionalParams, TenantConfigurationsCreateResponse, TenantConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a TenantConfigurations. */
|
|
4
4
|
export interface TenantConfigurations {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenantConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tenantConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,aAAa,EACb,sCAAsC,EACtC,iBAAiB,EACjB,qCAAqC,EACrC,+BAA+B,EAC/B,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;OAIG;IACH,GAAG,CACD,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,aAAa,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;OAIG;IACH,MAAM,CACJ,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenantConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tenantConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Configuration,\n TenantConfigurationsListOptionalParams,\n ConfigurationName,\n TenantConfigurationsGetOptionalParams,\n TenantConfigurationsGetResponse,\n TenantConfigurationsCreateOptionalParams,\n TenantConfigurationsCreateResponse,\n TenantConfigurationsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TenantConfigurations. */\nexport interface TenantConfigurations {\n /**\n * Gets list of the tenant configurations.\n * @param options The options parameters.\n */\n list(\n options?: TenantConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<Configuration>;\n /**\n * Gets the tenant configuration.\n * @param configurationName The configuration name. Value must be 'default'\n * @param options The options parameters.\n */\n get(\n configurationName: ConfigurationName,\n options?: TenantConfigurationsGetOptionalParams\n ): Promise<TenantConfigurationsGetResponse>;\n /**\n * Create the tenant configuration. If configuration already exists - update it. User has to be a\n * Tenant Admin for this operation.\n * @param configurationName The configuration name. Value must be 'default'\n * @param tenantConfiguration The parameters required to create or update tenant configuration.\n * @param options The options parameters.\n */\n create(\n configurationName: ConfigurationName,\n tenantConfiguration: Configuration,\n options?: TenantConfigurationsCreateOptionalParams\n ): Promise<TenantConfigurationsCreateResponse>;\n /**\n * Delete the tenant configuration. User has to be a Tenant Admin for this operation.\n * @param configurationName The configuration name. Value must be 'default'\n * @param options The options parameters.\n */\n delete(\n configurationName: ConfigurationName,\n options?: TenantConfigurationsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
if (typeof page !== "object" || page === null) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
|
21
|
+
}
|
|
22
|
+
export function setContinuationToken(page, continuationToken) {
|
|
23
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
27
|
+
pageInfo.continuationToken = continuationToken;
|
|
28
|
+
pageMap.set(page, pageInfo);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Operations, Dashboards, TenantConfigurations, ListTenantConfigurationViolations } from "./operationsInterfaces";
|
|
4
|
-
import { PortalOptionalParams } from "./models";
|
|
3
|
+
import { Operations, Dashboards, TenantConfigurations, ListTenantConfigurationViolations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { PortalOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class Portal extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
apiVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../src/portal.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,iCAAiC,EAClC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,qBAAa,MAAO,SAAQ,UAAU,CAAC,aAAa;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,oBAAoB;IAiFhC,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,iCAAiC,EAAE,iCAAiC,CAAC;CACtE"}
|
|
@@ -5,11 +5,13 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { OperationsImpl, DashboardsImpl, TenantConfigurationsImpl, ListTenantConfigurationViolationsImpl } from "./operations";
|
|
10
|
+
import { OperationsImpl, DashboardsImpl, TenantConfigurationsImpl, ListTenantConfigurationViolationsImpl } from "./operations/index.js";
|
|
12
11
|
export class Portal extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
13
15
|
/**
|
|
14
16
|
* Initializes a new instance of the Portal class.
|
|
15
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -18,7 +20,6 @@ export class Portal extends coreClient.ServiceClient {
|
|
|
18
20
|
* @param options The parameter options
|
|
19
21
|
*/
|
|
20
22
|
constructor(credentials, subscriptionId, options) {
|
|
21
|
-
var _a, _b;
|
|
22
23
|
if (credentials === undefined) {
|
|
23
24
|
throw new Error("'credentials' cannot be null");
|
|
24
25
|
}
|
|
@@ -33,32 +34,40 @@ export class Portal extends coreClient.ServiceClient {
|
|
|
33
34
|
requestContentType: "application/json; charset=utf-8",
|
|
34
35
|
credential: credentials
|
|
35
36
|
};
|
|
36
|
-
const packageDetails = `azsdk-js-arm-portal/1.0.0-beta.
|
|
37
|
+
const packageDetails = `azsdk-js-arm-portal/1.0.0-beta.6`;
|
|
37
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
40
|
: `${packageDetails}`;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
const optionsWithDefaults = {
|
|
42
|
+
...defaults,
|
|
43
|
+
...options,
|
|
44
|
+
userAgentOptions: {
|
|
44
45
|
userAgentPrefix
|
|
45
|
-
},
|
|
46
|
+
},
|
|
47
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
48
|
+
};
|
|
46
49
|
super(optionsWithDefaults);
|
|
47
|
-
|
|
50
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
51
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
48
52
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
49
|
-
|
|
53
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
50
54
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
}
|
|
56
|
+
if (!options ||
|
|
57
|
+
!options.pipeline ||
|
|
58
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
59
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
60
|
+
this.pipeline.removePolicy({
|
|
61
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
62
|
+
});
|
|
63
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
64
|
+
credential: credentials,
|
|
65
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
66
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
67
|
+
challengeCallbacks: {
|
|
68
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
62
71
|
}
|
|
63
72
|
// Parameter assignments
|
|
64
73
|
this.subscriptionId = subscriptionId;
|
|
@@ -78,25 +87,27 @@ export class Portal extends coreClient.ServiceClient {
|
|
|
78
87
|
}
|
|
79
88
|
const apiVersionPolicy = {
|
|
80
89
|
name: "CustomApiVersionPolicy",
|
|
81
|
-
sendRequest(request, next) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return next(request);
|
|
96
|
-
});
|
|
90
|
+
async sendRequest(request, next) {
|
|
91
|
+
const param = request.url.split("?");
|
|
92
|
+
if (param.length > 1) {
|
|
93
|
+
const newParams = param[1].split("&").map((item) => {
|
|
94
|
+
if (item.indexOf("api-version") > -1) {
|
|
95
|
+
return "api-version=" + apiVersion;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
return item;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
102
|
+
}
|
|
103
|
+
return next(request);
|
|
97
104
|
}
|
|
98
105
|
};
|
|
99
106
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
100
107
|
}
|
|
108
|
+
operations;
|
|
109
|
+
dashboards;
|
|
110
|
+
tenantConfigurations;
|
|
111
|
+
listTenantConfigurationViolations;
|
|
101
112
|
}
|
|
102
113
|
//# sourceMappingURL=portal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.js","sourceRoot":"","sources":["../../src/portal.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,qCAAqC,EACtC,MAAM,uBAAuB,CAAC;AAS/B,MAAM,OAAO,MAAO,SAAQ,UAAU,CAAC,aAAa;IAClD,KAAK,CAAS;IACd,UAAU,CAA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B;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,UAAU,CAAa;IACvB,oBAAoB,CAAuB;IAC3C,iCAAiC,CAAoC;CACtE","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n DashboardsImpl,\n TenantConfigurationsImpl,\n ListTenantConfigurationViolationsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Dashboards,\n TenantConfigurations,\n ListTenantConfigurationViolations\n} from \"./operationsInterfaces/index.js\";\nimport { PortalOptionalParams } from \"./models/index.js\";\n\nexport class Portal extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the Portal class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.\n * 00000000-0000-0000-0000-000000000000)\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PortalOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PortalOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-portal/1.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2020-09-01-preview\";\n this.operations = new OperationsImpl(this);\n this.dashboards = new DashboardsImpl(this);\n this.tenantConfigurations = new TenantConfigurationsImpl(this);\n this.listTenantConfigurationViolations = new ListTenantConfigurationViolationsImpl(\n this\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n dashboards: Dashboards;\n tenantConfigurations: TenantConfigurations;\n listTenantConfigurationViolations: ListTenantConfigurationViolations;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,cAAc,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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.Portal = exports.getContinuationToken = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
|
16
|
+
var portal_js_1 = require("./portal.js");
|
|
17
|
+
Object.defineProperty(exports, "Portal", { enumerable: true, get: function () { return portal_js_1.Portal; } });
|
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,yCAAqC;AAA5B,mGAAA,MAAM,OAAA;AACf,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { Portal } from \"./portal.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|