@azure/arm-edgezones 1.0.0-beta.2 → 1.0.0-beta.4
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 +17 -1
- package/LICENSE +4 -4
- package/README.md +24 -15
- package/dist/browser/api/edgeZonesContext.d.ts +3 -3
- package/dist/browser/api/edgeZonesContext.d.ts.map +1 -1
- package/dist/browser/api/edgeZonesContext.js +32 -6
- package/dist/browser/api/edgeZonesContext.js.map +1 -1
- package/dist/browser/api/extendedZones/index.d.ts +11 -12
- package/dist/browser/api/extendedZones/index.d.ts.map +1 -1
- package/dist/browser/api/extendedZones/index.js +21 -158
- package/dist/browser/api/extendedZones/index.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +6 -7
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +9 -27
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/classic/extendedZones/index.d.ts +3 -3
- package/dist/browser/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/browser/classic/extendedZones/index.js +4 -2
- package/dist/browser/classic/extendedZones/index.js.map +1 -1
- package/dist/browser/classic/index.js +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +3 -3
- package/dist/browser/classic/operations/index.d.ts.map +1 -1
- package/dist/browser/classic/operations/index.js +4 -2
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/edgeZonesClient.d.ts +2 -2
- package/dist/browser/edgeZonesClient.d.ts.map +1 -1
- package/dist/browser/edgeZonesClient.js +14 -5
- package/dist/browser/edgeZonesClient.js.map +1 -1
- package/dist/browser/helpers/serializerHelpers.js +1 -1
- package/dist/browser/helpers/serializerHelpers.js.map +1 -1
- package/dist/browser/index.d.ts +5 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.js +1 -1
- package/dist/browser/logger.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -3
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -2
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +101 -79
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +170 -28
- package/dist/browser/models/models.js.map +1 -1
- package/dist/{commonjs/models/pagingTypes.d.ts → browser/static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +118 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/api/edgeZonesContext.d.ts +3 -3
- package/dist/commonjs/api/edgeZonesContext.d.ts.map +1 -1
- package/dist/commonjs/api/edgeZonesContext.js +32 -7
- package/dist/commonjs/api/edgeZonesContext.js.map +1 -1
- package/dist/commonjs/api/extendedZones/index.d.ts +11 -12
- package/dist/commonjs/api/extendedZones/index.d.ts.map +1 -1
- package/dist/commonjs/api/extendedZones/index.js +20 -157
- package/dist/commonjs/api/extendedZones/index.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -1
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +6 -7
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +8 -26
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/{models → api}/options.js +1 -1
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/classic/extendedZones/index.d.ts +3 -3
- package/dist/commonjs/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/commonjs/classic/extendedZones/index.js +4 -2
- package/dist/commonjs/classic/extendedZones/index.js.map +1 -1
- package/dist/commonjs/classic/index.js +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +3 -3
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/operations/index.js +4 -2
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/edgeZonesClient.d.ts +2 -2
- package/dist/commonjs/edgeZonesClient.d.ts.map +1 -1
- package/dist/commonjs/edgeZonesClient.js +14 -5
- package/dist/commonjs/edgeZonesClient.js.map +1 -1
- package/dist/commonjs/helpers/serializerHelpers.js +1 -1
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -1
- package/dist/commonjs/index.d.ts +5 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/logger.js +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +101 -79
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +190 -29
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/{browser/models/pagingTypes.d.ts → commonjs/static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/{api → static-helpers}/pagingHelpers.js +36 -56
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/edgeZonesContext.d.ts +3 -3
- package/dist/esm/api/edgeZonesContext.d.ts.map +1 -1
- package/dist/esm/api/edgeZonesContext.js +32 -6
- package/dist/esm/api/edgeZonesContext.js.map +1 -1
- package/dist/esm/api/extendedZones/index.d.ts +11 -12
- package/dist/esm/api/extendedZones/index.d.ts.map +1 -1
- package/dist/esm/api/extendedZones/index.js +21 -158
- package/dist/esm/api/extendedZones/index.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +6 -7
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +9 -27
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/classic/extendedZones/index.d.ts +3 -3
- package/dist/esm/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/esm/classic/extendedZones/index.js +4 -2
- package/dist/esm/classic/extendedZones/index.js.map +1 -1
- package/dist/esm/classic/index.js +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +3 -3
- package/dist/esm/classic/operations/index.d.ts.map +1 -1
- package/dist/esm/classic/operations/index.js +4 -2
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/edgeZonesClient.d.ts +2 -2
- package/dist/esm/edgeZonesClient.d.ts.map +1 -1
- package/dist/esm/edgeZonesClient.js +14 -5
- package/dist/esm/edgeZonesClient.js.map +1 -1
- package/dist/esm/helpers/serializerHelpers.js +1 -1
- package/dist/esm/helpers/serializerHelpers.js.map +1 -1
- package/dist/esm/index.d.ts +5 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +101 -79
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +170 -28
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +118 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/api/edgeZonesContext.d.ts +3 -3
- package/dist/react-native/api/edgeZonesContext.d.ts.map +1 -1
- package/dist/react-native/api/edgeZonesContext.js +32 -6
- package/dist/react-native/api/edgeZonesContext.js.map +1 -1
- package/dist/react-native/api/extendedZones/index.d.ts +11 -12
- package/dist/react-native/api/extendedZones/index.d.ts.map +1 -1
- package/dist/react-native/api/extendedZones/index.js +21 -158
- package/dist/react-native/api/extendedZones/index.js.map +1 -1
- package/dist/react-native/api/index.d.ts +2 -1
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +6 -7
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +9 -27
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/classic/extendedZones/index.d.ts +3 -3
- package/dist/react-native/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/react-native/classic/extendedZones/index.js +4 -2
- package/dist/react-native/classic/extendedZones/index.js.map +1 -1
- package/dist/react-native/classic/index.js +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +3 -3
- package/dist/react-native/classic/operations/index.d.ts.map +1 -1
- package/dist/react-native/classic/operations/index.js +4 -2
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/edgeZonesClient.d.ts +2 -2
- package/dist/react-native/edgeZonesClient.d.ts.map +1 -1
- package/dist/react-native/edgeZonesClient.js +14 -5
- package/dist/react-native/edgeZonesClient.js.map +1 -1
- package/dist/react-native/helpers/serializerHelpers.js +1 -1
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -1
- package/dist/react-native/index.d.ts +5 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/logger.js +1 -1
- package/dist/react-native/logger.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -3
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -2
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +101 -79
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +170 -28
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +118 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/package.json +46 -86
- package/review/{arm-edgezones-models.api.md → arm-edgezones-models-node.api.md} +0 -39
- package/dist/browser/api/pagingHelpers.d.ts +0 -7
- package/dist/browser/api/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/api/pagingHelpers.js +0 -138
- package/dist/browser/api/pagingHelpers.js.map +0 -1
- package/dist/browser/models/options.d.ts.map +0 -1
- package/dist/browser/models/options.js +0 -4
- package/dist/browser/models/options.js.map +0 -1
- package/dist/browser/models/pagingTypes.d.ts.map +0 -1
- package/dist/browser/models/pagingTypes.js +0 -4
- package/dist/browser/models/pagingTypes.js.map +0 -1
- package/dist/browser/rest/clientDefinitions.d.ts +0 -39
- package/dist/browser/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/browser/rest/clientDefinitions.js +0 -4
- package/dist/browser/rest/clientDefinitions.js.map +0 -1
- package/dist/browser/rest/edgeZonesClient.d.ts +0 -15
- package/dist/browser/rest/edgeZonesClient.d.ts.map +0 -1
- package/dist/browser/rest/edgeZonesClient.js +0 -42
- package/dist/browser/rest/edgeZonesClient.js.map +0 -1
- package/dist/browser/rest/index.d.ts +0 -10
- package/dist/browser/rest/index.d.ts.map +0 -1
- package/dist/browser/rest/index.js +0 -12
- package/dist/browser/rest/index.js.map +0 -1
- package/dist/browser/rest/isUnexpected.d.ts +0 -7
- package/dist/browser/rest/isUnexpected.d.ts.map +0 -1
- package/dist/browser/rest/isUnexpected.js +0 -74
- package/dist/browser/rest/isUnexpected.js.map +0 -1
- package/dist/browser/rest/outputModels.d.ts +0 -282
- package/dist/browser/rest/outputModels.d.ts.map +0 -1
- package/dist/browser/rest/outputModels.js +0 -4
- package/dist/browser/rest/outputModels.js.map +0 -1
- package/dist/browser/rest/paginateHelper.d.ts +0 -43
- package/dist/browser/rest/paginateHelper.d.ts.map +0 -1
- package/dist/browser/rest/paginateHelper.js +0 -70
- package/dist/browser/rest/paginateHelper.js.map +0 -1
- package/dist/browser/rest/parameters.d.ts +0 -7
- package/dist/browser/rest/parameters.d.ts.map +0 -1
- package/dist/browser/rest/parameters.js +0 -4
- package/dist/browser/rest/parameters.js.map +0 -1
- package/dist/browser/rest/responses.d.ts +0 -48
- package/dist/browser/rest/responses.d.ts.map +0 -1
- package/dist/browser/rest/responses.js +0 -4
- package/dist/browser/rest/responses.js.map +0 -1
- package/dist/commonjs/api/pagingHelpers.d.ts +0 -7
- package/dist/commonjs/api/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/api/pagingHelpers.js.map +0 -1
- package/dist/commonjs/models/options.d.ts.map +0 -1
- package/dist/commonjs/models/options.js.map +0 -1
- package/dist/commonjs/models/pagingTypes.d.ts.map +0 -1
- package/dist/commonjs/models/pagingTypes.js +0 -5
- package/dist/commonjs/models/pagingTypes.js.map +0 -1
- package/dist/commonjs/rest/clientDefinitions.d.ts +0 -39
- package/dist/commonjs/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/commonjs/rest/clientDefinitions.js +0 -5
- package/dist/commonjs/rest/clientDefinitions.js.map +0 -1
- package/dist/commonjs/rest/edgeZonesClient.d.ts +0 -15
- package/dist/commonjs/rest/edgeZonesClient.d.ts.map +0 -1
- package/dist/commonjs/rest/edgeZonesClient.js +0 -45
- package/dist/commonjs/rest/edgeZonesClient.js.map +0 -1
- package/dist/commonjs/rest/index.d.ts +0 -10
- package/dist/commonjs/rest/index.d.ts.map +0 -1
- package/dist/commonjs/rest/index.js +0 -15
- package/dist/commonjs/rest/index.js.map +0 -1
- package/dist/commonjs/rest/isUnexpected.d.ts +0 -7
- package/dist/commonjs/rest/isUnexpected.d.ts.map +0 -1
- package/dist/commonjs/rest/isUnexpected.js +0 -77
- package/dist/commonjs/rest/isUnexpected.js.map +0 -1
- package/dist/commonjs/rest/outputModels.d.ts +0 -282
- package/dist/commonjs/rest/outputModels.d.ts.map +0 -1
- package/dist/commonjs/rest/outputModels.js +0 -5
- package/dist/commonjs/rest/outputModels.js.map +0 -1
- package/dist/commonjs/rest/paginateHelper.d.ts +0 -43
- package/dist/commonjs/rest/paginateHelper.d.ts.map +0 -1
- package/dist/commonjs/rest/paginateHelper.js +0 -73
- package/dist/commonjs/rest/paginateHelper.js.map +0 -1
- package/dist/commonjs/rest/parameters.d.ts +0 -7
- package/dist/commonjs/rest/parameters.d.ts.map +0 -1
- package/dist/commonjs/rest/parameters.js +0 -5
- package/dist/commonjs/rest/parameters.js.map +0 -1
- package/dist/commonjs/rest/responses.d.ts +0 -48
- package/dist/commonjs/rest/responses.d.ts.map +0 -1
- package/dist/commonjs/rest/responses.js +0 -5
- package/dist/commonjs/rest/responses.js.map +0 -1
- package/dist/esm/api/pagingHelpers.d.ts +0 -7
- package/dist/esm/api/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/api/pagingHelpers.js +0 -138
- package/dist/esm/api/pagingHelpers.js.map +0 -1
- package/dist/esm/models/options.d.ts.map +0 -1
- package/dist/esm/models/options.js +0 -4
- package/dist/esm/models/options.js.map +0 -1
- package/dist/esm/models/pagingTypes.d.ts.map +0 -1
- package/dist/esm/models/pagingTypes.js +0 -4
- package/dist/esm/models/pagingTypes.js.map +0 -1
- package/dist/esm/rest/clientDefinitions.d.ts +0 -39
- package/dist/esm/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/esm/rest/clientDefinitions.js +0 -4
- package/dist/esm/rest/clientDefinitions.js.map +0 -1
- package/dist/esm/rest/edgeZonesClient.d.ts +0 -15
- package/dist/esm/rest/edgeZonesClient.d.ts.map +0 -1
- package/dist/esm/rest/edgeZonesClient.js +0 -42
- package/dist/esm/rest/edgeZonesClient.js.map +0 -1
- package/dist/esm/rest/index.d.ts +0 -10
- package/dist/esm/rest/index.d.ts.map +0 -1
- package/dist/esm/rest/index.js +0 -12
- package/dist/esm/rest/index.js.map +0 -1
- package/dist/esm/rest/isUnexpected.d.ts +0 -7
- package/dist/esm/rest/isUnexpected.d.ts.map +0 -1
- package/dist/esm/rest/isUnexpected.js +0 -74
- package/dist/esm/rest/isUnexpected.js.map +0 -1
- package/dist/esm/rest/outputModels.d.ts +0 -282
- package/dist/esm/rest/outputModels.d.ts.map +0 -1
- package/dist/esm/rest/outputModels.js +0 -4
- package/dist/esm/rest/outputModels.js.map +0 -1
- package/dist/esm/rest/paginateHelper.d.ts +0 -43
- package/dist/esm/rest/paginateHelper.d.ts.map +0 -1
- package/dist/esm/rest/paginateHelper.js +0 -70
- package/dist/esm/rest/paginateHelper.js.map +0 -1
- package/dist/esm/rest/parameters.d.ts +0 -7
- package/dist/esm/rest/parameters.d.ts.map +0 -1
- package/dist/esm/rest/parameters.js +0 -4
- package/dist/esm/rest/parameters.js.map +0 -1
- package/dist/esm/rest/responses.d.ts +0 -48
- package/dist/esm/rest/responses.d.ts.map +0 -1
- package/dist/esm/rest/responses.js +0 -4
- package/dist/esm/rest/responses.js.map +0 -1
- package/dist/react-native/api/pagingHelpers.d.ts +0 -7
- package/dist/react-native/api/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/api/pagingHelpers.js +0 -138
- package/dist/react-native/api/pagingHelpers.js.map +0 -1
- package/dist/react-native/models/options.d.ts.map +0 -1
- package/dist/react-native/models/options.js +0 -4
- package/dist/react-native/models/options.js.map +0 -1
- package/dist/react-native/models/pagingTypes.d.ts.map +0 -1
- package/dist/react-native/models/pagingTypes.js +0 -4
- package/dist/react-native/models/pagingTypes.js.map +0 -1
- package/dist/react-native/rest/clientDefinitions.d.ts +0 -39
- package/dist/react-native/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/react-native/rest/clientDefinitions.js +0 -4
- package/dist/react-native/rest/clientDefinitions.js.map +0 -1
- package/dist/react-native/rest/edgeZonesClient.d.ts +0 -15
- package/dist/react-native/rest/edgeZonesClient.d.ts.map +0 -1
- package/dist/react-native/rest/edgeZonesClient.js +0 -42
- package/dist/react-native/rest/edgeZonesClient.js.map +0 -1
- package/dist/react-native/rest/index.d.ts +0 -10
- package/dist/react-native/rest/index.d.ts.map +0 -1
- package/dist/react-native/rest/index.js +0 -12
- package/dist/react-native/rest/index.js.map +0 -1
- package/dist/react-native/rest/isUnexpected.d.ts +0 -7
- package/dist/react-native/rest/isUnexpected.d.ts.map +0 -1
- package/dist/react-native/rest/isUnexpected.js +0 -74
- package/dist/react-native/rest/isUnexpected.js.map +0 -1
- package/dist/react-native/rest/outputModels.d.ts +0 -282
- package/dist/react-native/rest/outputModels.d.ts.map +0 -1
- package/dist/react-native/rest/outputModels.js +0 -4
- package/dist/react-native/rest/outputModels.js.map +0 -1
- package/dist/react-native/rest/paginateHelper.d.ts +0 -43
- package/dist/react-native/rest/paginateHelper.d.ts.map +0 -1
- package/dist/react-native/rest/paginateHelper.js +0 -70
- package/dist/react-native/rest/paginateHelper.js.map +0 -1
- package/dist/react-native/rest/parameters.d.ts +0 -7
- package/dist/react-native/rest/parameters.d.ts.map +0 -1
- package/dist/react-native/rest/parameters.js +0 -4
- package/dist/react-native/rest/parameters.js.map +0 -1
- package/dist/react-native/rest/responses.d.ts +0 -48
- package/dist/react-native/rest/responses.d.ts.map +0 -1
- package/dist/react-native/rest/responses.js +0 -4
- package/dist/react-native/rest/responses.js.map +0 -1
- package/review/arm-edgezones-api.api.md +0 -46
- /package/dist/browser/{models → api}/options.d.ts +0 -0
- /package/dist/commonjs/{models → api}/options.d.ts +0 -0
- /package/dist/esm/{models → api}/options.d.ts +0 -0
- /package/dist/react-native/{models → api}/options.d.ts +0 -0
- /package/review/{arm-edgezones.api.md → arm-edgezones-node.api.md} +0 -0
|
@@ -1,59 +1,9 @@
|
|
|
1
|
-
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
2
|
-
export interface Resource {
|
|
3
|
-
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
4
|
-
readonly id?: string;
|
|
5
|
-
/** The name of the resource */
|
|
6
|
-
readonly name?: string;
|
|
7
|
-
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
8
|
-
readonly type?: string;
|
|
9
|
-
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
10
|
-
readonly systemData?: SystemData;
|
|
11
|
-
}
|
|
12
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
13
|
-
export interface SystemData {
|
|
14
|
-
/** The identity that created the resource. */
|
|
15
|
-
createdBy?: string;
|
|
16
|
-
/** The type of identity that created the resource. */
|
|
17
|
-
createdByType?: CreatedByType;
|
|
18
|
-
/** The timestamp of resource creation (UTC). */
|
|
19
|
-
createdAt?: Date;
|
|
20
|
-
/** The identity that last modified the resource. */
|
|
21
|
-
lastModifiedBy?: string;
|
|
22
|
-
/** The type of identity that last modified the resource. */
|
|
23
|
-
lastModifiedByType?: CreatedByType;
|
|
24
|
-
/** The timestamp of resource last modification (UTC) */
|
|
25
|
-
lastModifiedAt?: Date;
|
|
26
|
-
}
|
|
27
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
28
|
-
export declare enum KnownCreatedByType {
|
|
29
|
-
/** User */
|
|
30
|
-
User = "User",
|
|
31
|
-
/** Application */
|
|
32
|
-
Application = "Application",
|
|
33
|
-
/** ManagedIdentity */
|
|
34
|
-
ManagedIdentity = "ManagedIdentity",
|
|
35
|
-
/** Key */
|
|
36
|
-
Key = "Key"
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* The kind of entity that created the resource. \
|
|
40
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
41
|
-
* this enum contains the known values that the service supports.
|
|
42
|
-
* ### Known values supported by the service
|
|
43
|
-
* **User** \
|
|
44
|
-
* **Application** \
|
|
45
|
-
* **ManagedIdentity** \
|
|
46
|
-
* **Key**
|
|
47
|
-
*/
|
|
48
|
-
export type CreatedByType = string;
|
|
49
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
50
|
-
export interface ProxyResource extends Resource {
|
|
51
|
-
}
|
|
52
1
|
/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */
|
|
53
2
|
export interface ExtendedZone extends ProxyResource {
|
|
54
3
|
/** The resource-specific properties for this resource. */
|
|
55
4
|
properties?: ExtendedZoneProperties;
|
|
56
5
|
}
|
|
6
|
+
export declare function extendedZoneDeserializer(item: any): ExtendedZone;
|
|
57
7
|
/** The properties of an Extended Zone resource. */
|
|
58
8
|
export interface ExtendedZoneProperties {
|
|
59
9
|
/** Status of the last operation performed by the subscription on the Edge Zone resource */
|
|
@@ -79,13 +29,18 @@ export interface ExtendedZoneProperties {
|
|
|
79
29
|
/** The Home Location of the Azure Extended Zone. */
|
|
80
30
|
readonly homeLocation: string;
|
|
81
31
|
}
|
|
82
|
-
|
|
32
|
+
export declare function extendedZonePropertiesDeserializer(item: any): ExtendedZoneProperties;
|
|
33
|
+
/** Alias for ProvisioningState */
|
|
34
|
+
export type ProvisioningState = string | ResourceProvisioningState | "Provisioning" | "Updating" | "Deleting" | "Accepted";
|
|
35
|
+
export declare function provisioningStateSerializer(item: ProvisioningState): any;
|
|
36
|
+
export declare function provisioningStateDeserializer(item: any): ProvisioningState;
|
|
37
|
+
/** The provisioning state of a resource type. */
|
|
83
38
|
export declare enum KnownResourceProvisioningState {
|
|
84
|
-
/**
|
|
39
|
+
/** Resource has been created. */
|
|
85
40
|
Succeeded = "Succeeded",
|
|
86
|
-
/**
|
|
41
|
+
/** Resource creation failed. */
|
|
87
42
|
Failed = "Failed",
|
|
88
|
-
/**
|
|
43
|
+
/** Resource creation was canceled. */
|
|
89
44
|
Canceled = "Canceled"
|
|
90
45
|
}
|
|
91
46
|
/**
|
|
@@ -93,20 +48,20 @@ export declare enum KnownResourceProvisioningState {
|
|
|
93
48
|
* {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
|
|
94
49
|
* this enum contains the known values that the service supports.
|
|
95
50
|
* ### Known values supported by the service
|
|
96
|
-
* **Succeeded
|
|
97
|
-
* **Failed
|
|
98
|
-
* **Canceled
|
|
51
|
+
* **Succeeded**: Resource has been created. \
|
|
52
|
+
* **Failed**: Resource creation failed. \
|
|
53
|
+
* **Canceled**: Resource creation was canceled.
|
|
99
54
|
*/
|
|
100
55
|
export type ResourceProvisioningState = string;
|
|
101
|
-
/**
|
|
56
|
+
/** The Azure Extended Zone registration status for a subscription */
|
|
102
57
|
export declare enum KnownRegistrationState {
|
|
103
|
-
/**
|
|
58
|
+
/** Subscription not registered for the Azure Extended Zone */
|
|
104
59
|
NotRegistered = "NotRegistered",
|
|
105
|
-
/**
|
|
60
|
+
/** Subscription pending registration for the Azure Extended Zone */
|
|
106
61
|
PendingRegister = "PendingRegister",
|
|
107
|
-
/**
|
|
62
|
+
/** Subscription is registered for the Azure Extended Zone */
|
|
108
63
|
Registered = "Registered",
|
|
109
|
-
/**
|
|
64
|
+
/** Subscription is pending unregistering for the Azure Extended Zone */
|
|
110
65
|
PendingUnregister = "PendingUnregister"
|
|
111
66
|
}
|
|
112
67
|
/**
|
|
@@ -114,17 +69,72 @@ export declare enum KnownRegistrationState {
|
|
|
114
69
|
* {@link KnownRegistrationState} can be used interchangeably with RegistrationState,
|
|
115
70
|
* this enum contains the known values that the service supports.
|
|
116
71
|
* ### Known values supported by the service
|
|
117
|
-
* **NotRegistered
|
|
118
|
-
* **PendingRegister
|
|
119
|
-
* **Registered
|
|
120
|
-
* **PendingUnregister
|
|
72
|
+
* **NotRegistered**: Subscription not registered for the Azure Extended Zone \
|
|
73
|
+
* **PendingRegister**: Subscription pending registration for the Azure Extended Zone \
|
|
74
|
+
* **Registered**: Subscription is registered for the Azure Extended Zone \
|
|
75
|
+
* **PendingUnregister**: Subscription is pending unregistering for the Azure Extended Zone
|
|
121
76
|
*/
|
|
122
77
|
export type RegistrationState = string;
|
|
78
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
79
|
+
export interface ProxyResource extends Resource {
|
|
80
|
+
}
|
|
81
|
+
export declare function proxyResourceDeserializer(item: any): ProxyResource;
|
|
82
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
83
|
+
export interface Resource {
|
|
84
|
+
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
85
|
+
readonly id?: string;
|
|
86
|
+
/** The name of the resource */
|
|
87
|
+
readonly name?: string;
|
|
88
|
+
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
89
|
+
readonly type?: string;
|
|
90
|
+
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
91
|
+
readonly systemData?: SystemData;
|
|
92
|
+
}
|
|
93
|
+
export declare function resourceDeserializer(item: any): Resource;
|
|
94
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
95
|
+
export interface SystemData {
|
|
96
|
+
/** The identity that created the resource. */
|
|
97
|
+
createdBy?: string;
|
|
98
|
+
/** The type of identity that created the resource. */
|
|
99
|
+
createdByType?: CreatedByType;
|
|
100
|
+
/** The timestamp of resource creation (UTC). */
|
|
101
|
+
createdAt?: Date;
|
|
102
|
+
/** The identity that last modified the resource. */
|
|
103
|
+
lastModifiedBy?: string;
|
|
104
|
+
/** The type of identity that last modified the resource. */
|
|
105
|
+
lastModifiedByType?: CreatedByType;
|
|
106
|
+
/** The timestamp of resource last modification (UTC) */
|
|
107
|
+
lastModifiedAt?: Date;
|
|
108
|
+
}
|
|
109
|
+
export declare function systemDataDeserializer(item: any): SystemData;
|
|
110
|
+
/** The kind of entity that created the resource. */
|
|
111
|
+
export declare enum KnownCreatedByType {
|
|
112
|
+
/** The entity was created by a user. */
|
|
113
|
+
User = "User",
|
|
114
|
+
/** The entity was created by an application. */
|
|
115
|
+
Application = "Application",
|
|
116
|
+
/** The entity was created by a managed identity. */
|
|
117
|
+
ManagedIdentity = "ManagedIdentity",
|
|
118
|
+
/** The entity was created by a key. */
|
|
119
|
+
Key = "Key"
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The kind of entity that created the resource. \
|
|
123
|
+
* {@link KnowncreatedByType} can be used interchangeably with createdByType,
|
|
124
|
+
* this enum contains the known values that the service supports.
|
|
125
|
+
* ### Known values supported by the service
|
|
126
|
+
* **User**: The entity was created by a user. \
|
|
127
|
+
* **Application**: The entity was created by an application. \
|
|
128
|
+
* **ManagedIdentity**: The entity was created by a managed identity. \
|
|
129
|
+
* **Key**: The entity was created by a key.
|
|
130
|
+
*/
|
|
131
|
+
export type CreatedByType = string;
|
|
123
132
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
124
133
|
export interface ErrorResponse {
|
|
125
134
|
/** The error object. */
|
|
126
135
|
error?: ErrorDetail;
|
|
127
136
|
}
|
|
137
|
+
export declare function errorResponseDeserializer(item: any): ErrorResponse;
|
|
128
138
|
/** The error detail. */
|
|
129
139
|
export interface ErrorDetail {
|
|
130
140
|
/** The error code. */
|
|
@@ -138,6 +148,8 @@ export interface ErrorDetail {
|
|
|
138
148
|
/** The error additional info. */
|
|
139
149
|
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
140
150
|
}
|
|
151
|
+
export declare function errorDetailDeserializer(item: any): ErrorDetail;
|
|
152
|
+
export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
|
|
141
153
|
/** The resource management error additional info. */
|
|
142
154
|
export interface ErrorAdditionalInfo {
|
|
143
155
|
/** The additional info type. */
|
|
@@ -145,6 +157,12 @@ export interface ErrorAdditionalInfo {
|
|
|
145
157
|
/** The additional info. */
|
|
146
158
|
readonly info?: Record<string, any>;
|
|
147
159
|
}
|
|
160
|
+
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
161
|
+
/** model interface _ErrorAdditionalInfoInfo */
|
|
162
|
+
export interface _ErrorAdditionalInfoInfo {
|
|
163
|
+
}
|
|
164
|
+
export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
|
|
165
|
+
export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
|
|
148
166
|
/** The response of a ExtendedZone list operation. */
|
|
149
167
|
export interface _ExtendedZoneListResult {
|
|
150
168
|
/** The ExtendedZone items on this page */
|
|
@@ -152,6 +170,8 @@ export interface _ExtendedZoneListResult {
|
|
|
152
170
|
/** The link to the next page of items */
|
|
153
171
|
nextLink?: string;
|
|
154
172
|
}
|
|
173
|
+
export declare function _extendedZoneListResultDeserializer(item: any): _ExtendedZoneListResult;
|
|
174
|
+
export declare function extendedZoneArrayDeserializer(result: Array<ExtendedZone>): any[];
|
|
155
175
|
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
156
176
|
export interface _OperationListResult {
|
|
157
177
|
/** The Operation items on this page */
|
|
@@ -159,6 +179,7 @@ export interface _OperationListResult {
|
|
|
159
179
|
/** The link to the next page of items */
|
|
160
180
|
nextLink?: string;
|
|
161
181
|
}
|
|
182
|
+
export declare function _operationListResultDeserializer(item: any): _OperationListResult;
|
|
162
183
|
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
163
184
|
export interface Operation {
|
|
164
185
|
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
@@ -172,6 +193,7 @@ export interface Operation {
|
|
|
172
193
|
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
173
194
|
actionType?: ActionType;
|
|
174
195
|
}
|
|
196
|
+
export declare function operationDeserializer(item: any): Operation;
|
|
175
197
|
/** Localized display information for and operation. */
|
|
176
198
|
export interface OperationDisplay {
|
|
177
199
|
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
@@ -183,13 +205,14 @@ export interface OperationDisplay {
|
|
|
183
205
|
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
184
206
|
readonly description?: string;
|
|
185
207
|
}
|
|
186
|
-
|
|
208
|
+
export declare function operationDisplayDeserializer(item: any): OperationDisplay;
|
|
209
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
187
210
|
export declare enum KnownOrigin {
|
|
188
|
-
/** user */
|
|
211
|
+
/** Indicates the operation is initiated by a user. */
|
|
189
212
|
user = "user",
|
|
190
|
-
/** system */
|
|
213
|
+
/** Indicates the operation is initiated by a system. */
|
|
191
214
|
system = "system",
|
|
192
|
-
/** user
|
|
215
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
193
216
|
"user,system" = "user,system"
|
|
194
217
|
}
|
|
195
218
|
/**
|
|
@@ -197,14 +220,14 @@ export declare enum KnownOrigin {
|
|
|
197
220
|
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
198
221
|
* this enum contains the known values that the service supports.
|
|
199
222
|
* ### Known values supported by the service
|
|
200
|
-
* **user
|
|
201
|
-
* **system
|
|
202
|
-
* **user,system
|
|
223
|
+
* **user**: Indicates the operation is initiated by a user. \
|
|
224
|
+
* **system**: Indicates the operation is initiated by a system. \
|
|
225
|
+
* **user,system**: Indicates the operation is initiated by a user or system.
|
|
203
226
|
*/
|
|
204
227
|
export type Origin = string;
|
|
205
|
-
/**
|
|
228
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
206
229
|
export declare enum KnownActionType {
|
|
207
|
-
/**
|
|
230
|
+
/** Actions are for internal-only APIs. */
|
|
208
231
|
Internal = "Internal"
|
|
209
232
|
}
|
|
210
233
|
/**
|
|
@@ -212,9 +235,8 @@ export declare enum KnownActionType {
|
|
|
212
235
|
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
213
236
|
* this enum contains the known values that the service supports.
|
|
214
237
|
* ### Known values supported by the service
|
|
215
|
-
* **Internal
|
|
238
|
+
* **Internal**: Actions are for internal-only APIs.
|
|
216
239
|
*/
|
|
217
240
|
export type ActionType = string;
|
|
218
|
-
|
|
219
|
-
export type ProvisioningState = string | ResourceProvisioningState | "Provisioning" | "Updating" | "Deleting" | "Accepted";
|
|
241
|
+
export declare function operationArrayDeserializer(result: Array<Operation>): any[];
|
|
220
242
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AA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1D;AAED,uDAAuD;AACvD,MAAM,WAAW,gBAAgB;IAC/B,8HAA8H;IAC9H,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,yIAAyI;IACzI,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,0JAA0J;IAC1J,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,6GAA6G;IAC7G,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAOxE;AAED,2IAA2I;AAC3I,oBAAY,WAAW;IACrB,sDAAsD;IACtD,IAAI,SAAS;IACb,wDAAwD;IACxD,MAAM,WAAW;IACjB,gEAAgE;IAChE,aAAa,gBAAgB;CAC9B;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B,gHAAgH;AAChH,oBAAY,eAAe;IACzB,0CAA0C;IAC1C,QAAQ,aAAa;CACtB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAI1E"}
|
|
@@ -1,56 +1,217 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.KnownActionType = exports.KnownOrigin = exports.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
exports.KnownActionType = exports.KnownOrigin = exports.KnownCreatedByType = exports.KnownRegistrationState = exports.KnownResourceProvisioningState = void 0;
|
|
6
|
+
exports.extendedZoneDeserializer = extendedZoneDeserializer;
|
|
7
|
+
exports.extendedZonePropertiesDeserializer = extendedZonePropertiesDeserializer;
|
|
8
|
+
exports.provisioningStateSerializer = provisioningStateSerializer;
|
|
9
|
+
exports.provisioningStateDeserializer = provisioningStateDeserializer;
|
|
10
|
+
exports.proxyResourceDeserializer = proxyResourceDeserializer;
|
|
11
|
+
exports.resourceDeserializer = resourceDeserializer;
|
|
12
|
+
exports.systemDataDeserializer = systemDataDeserializer;
|
|
13
|
+
exports.errorResponseDeserializer = errorResponseDeserializer;
|
|
14
|
+
exports.errorDetailDeserializer = errorDetailDeserializer;
|
|
15
|
+
exports.errorDetailArrayDeserializer = errorDetailArrayDeserializer;
|
|
16
|
+
exports.errorAdditionalInfoDeserializer = errorAdditionalInfoDeserializer;
|
|
17
|
+
exports._errorAdditionalInfoInfoDeserializer = _errorAdditionalInfoInfoDeserializer;
|
|
18
|
+
exports.errorAdditionalInfoArrayDeserializer = errorAdditionalInfoArrayDeserializer;
|
|
19
|
+
exports._extendedZoneListResultDeserializer = _extendedZoneListResultDeserializer;
|
|
20
|
+
exports.extendedZoneArrayDeserializer = extendedZoneArrayDeserializer;
|
|
21
|
+
exports._operationListResultDeserializer = _operationListResultDeserializer;
|
|
22
|
+
exports.operationDeserializer = operationDeserializer;
|
|
23
|
+
exports.operationDisplayDeserializer = operationDisplayDeserializer;
|
|
24
|
+
exports.operationArrayDeserializer = operationArrayDeserializer;
|
|
25
|
+
function extendedZoneDeserializer(item) {
|
|
26
|
+
return {
|
|
27
|
+
id: item["id"],
|
|
28
|
+
name: item["name"],
|
|
29
|
+
type: item["type"],
|
|
30
|
+
systemData: !item["systemData"]
|
|
31
|
+
? item["systemData"]
|
|
32
|
+
: systemDataDeserializer(item["systemData"]),
|
|
33
|
+
properties: !item["properties"]
|
|
34
|
+
? item["properties"]
|
|
35
|
+
: extendedZonePropertiesDeserializer(item["properties"]),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function extendedZonePropertiesDeserializer(item) {
|
|
39
|
+
return {
|
|
40
|
+
provisioningState: !item["provisioningState"]
|
|
41
|
+
? item["provisioningState"]
|
|
42
|
+
: provisioningStateDeserializer(item["provisioningState"]),
|
|
43
|
+
registrationState: item["registrationState"],
|
|
44
|
+
displayName: item["displayName"],
|
|
45
|
+
regionalDisplayName: item["regionalDisplayName"],
|
|
46
|
+
regionType: item["regionType"],
|
|
47
|
+
regionCategory: item["regionCategory"],
|
|
48
|
+
geography: item["geography"],
|
|
49
|
+
geographyGroup: item["geographyGroup"],
|
|
50
|
+
longitude: item["longitude"],
|
|
51
|
+
latitude: item["latitude"],
|
|
52
|
+
homeLocation: item["homeLocation"],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function provisioningStateSerializer(item) {
|
|
56
|
+
return item;
|
|
57
|
+
}
|
|
58
|
+
function provisioningStateDeserializer(item) {
|
|
59
|
+
return item;
|
|
60
|
+
}
|
|
61
|
+
/** The provisioning state of a resource type. */
|
|
19
62
|
var KnownResourceProvisioningState;
|
|
20
63
|
(function (KnownResourceProvisioningState) {
|
|
21
|
-
/**
|
|
64
|
+
/** Resource has been created. */
|
|
22
65
|
KnownResourceProvisioningState["Succeeded"] = "Succeeded";
|
|
23
|
-
/**
|
|
66
|
+
/** Resource creation failed. */
|
|
24
67
|
KnownResourceProvisioningState["Failed"] = "Failed";
|
|
25
|
-
/**
|
|
68
|
+
/** Resource creation was canceled. */
|
|
26
69
|
KnownResourceProvisioningState["Canceled"] = "Canceled";
|
|
27
70
|
})(KnownResourceProvisioningState || (exports.KnownResourceProvisioningState = KnownResourceProvisioningState = {}));
|
|
28
|
-
/**
|
|
71
|
+
/** The Azure Extended Zone registration status for a subscription */
|
|
29
72
|
var KnownRegistrationState;
|
|
30
73
|
(function (KnownRegistrationState) {
|
|
31
|
-
/**
|
|
74
|
+
/** Subscription not registered for the Azure Extended Zone */
|
|
32
75
|
KnownRegistrationState["NotRegistered"] = "NotRegistered";
|
|
33
|
-
/**
|
|
76
|
+
/** Subscription pending registration for the Azure Extended Zone */
|
|
34
77
|
KnownRegistrationState["PendingRegister"] = "PendingRegister";
|
|
35
|
-
/**
|
|
78
|
+
/** Subscription is registered for the Azure Extended Zone */
|
|
36
79
|
KnownRegistrationState["Registered"] = "Registered";
|
|
37
|
-
/**
|
|
80
|
+
/** Subscription is pending unregistering for the Azure Extended Zone */
|
|
38
81
|
KnownRegistrationState["PendingUnregister"] = "PendingUnregister";
|
|
39
82
|
})(KnownRegistrationState || (exports.KnownRegistrationState = KnownRegistrationState = {}));
|
|
40
|
-
|
|
83
|
+
function proxyResourceDeserializer(item) {
|
|
84
|
+
return {
|
|
85
|
+
id: item["id"],
|
|
86
|
+
name: item["name"],
|
|
87
|
+
type: item["type"],
|
|
88
|
+
systemData: !item["systemData"]
|
|
89
|
+
? item["systemData"]
|
|
90
|
+
: systemDataDeserializer(item["systemData"]),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function resourceDeserializer(item) {
|
|
94
|
+
return {
|
|
95
|
+
id: item["id"],
|
|
96
|
+
name: item["name"],
|
|
97
|
+
type: item["type"],
|
|
98
|
+
systemData: !item["systemData"]
|
|
99
|
+
? item["systemData"]
|
|
100
|
+
: systemDataDeserializer(item["systemData"]),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function systemDataDeserializer(item) {
|
|
104
|
+
return {
|
|
105
|
+
createdBy: item["createdBy"],
|
|
106
|
+
createdByType: item["createdByType"],
|
|
107
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
108
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
109
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
110
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
111
|
+
? item["lastModifiedAt"]
|
|
112
|
+
: new Date(item["lastModifiedAt"]),
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
/** The kind of entity that created the resource. */
|
|
116
|
+
var KnownCreatedByType;
|
|
117
|
+
(function (KnownCreatedByType) {
|
|
118
|
+
/** The entity was created by a user. */
|
|
119
|
+
KnownCreatedByType["User"] = "User";
|
|
120
|
+
/** The entity was created by an application. */
|
|
121
|
+
KnownCreatedByType["Application"] = "Application";
|
|
122
|
+
/** The entity was created by a managed identity. */
|
|
123
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
124
|
+
/** The entity was created by a key. */
|
|
125
|
+
KnownCreatedByType["Key"] = "Key";
|
|
126
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
|
127
|
+
function errorResponseDeserializer(item) {
|
|
128
|
+
return {
|
|
129
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function errorDetailDeserializer(item) {
|
|
133
|
+
return {
|
|
134
|
+
code: item["code"],
|
|
135
|
+
message: item["message"],
|
|
136
|
+
target: item["target"],
|
|
137
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
138
|
+
additionalInfo: !item["additionalInfo"]
|
|
139
|
+
? item["additionalInfo"]
|
|
140
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function errorDetailArrayDeserializer(result) {
|
|
144
|
+
return result.map((item) => {
|
|
145
|
+
return errorDetailDeserializer(item);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
function errorAdditionalInfoDeserializer(item) {
|
|
149
|
+
return {
|
|
150
|
+
type: item["type"],
|
|
151
|
+
info: !item["info"] ? item["info"] : _errorAdditionalInfoInfoDeserializer(item["info"]),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function _errorAdditionalInfoInfoDeserializer(item) {
|
|
155
|
+
return item;
|
|
156
|
+
}
|
|
157
|
+
function errorAdditionalInfoArrayDeserializer(result) {
|
|
158
|
+
return result.map((item) => {
|
|
159
|
+
return errorAdditionalInfoDeserializer(item);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function _extendedZoneListResultDeserializer(item) {
|
|
163
|
+
return {
|
|
164
|
+
value: extendedZoneArrayDeserializer(item["value"]),
|
|
165
|
+
nextLink: item["nextLink"],
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
function extendedZoneArrayDeserializer(result) {
|
|
169
|
+
return result.map((item) => {
|
|
170
|
+
return extendedZoneDeserializer(item);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
function _operationListResultDeserializer(item) {
|
|
174
|
+
return {
|
|
175
|
+
value: operationArrayDeserializer(item["value"]),
|
|
176
|
+
nextLink: item["nextLink"],
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function operationDeserializer(item) {
|
|
180
|
+
return {
|
|
181
|
+
name: item["name"],
|
|
182
|
+
isDataAction: item["isDataAction"],
|
|
183
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
184
|
+
origin: item["origin"],
|
|
185
|
+
actionType: item["actionType"],
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
function operationDisplayDeserializer(item) {
|
|
189
|
+
return {
|
|
190
|
+
provider: item["provider"],
|
|
191
|
+
resource: item["resource"],
|
|
192
|
+
operation: item["operation"],
|
|
193
|
+
description: item["description"],
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
41
197
|
var KnownOrigin;
|
|
42
198
|
(function (KnownOrigin) {
|
|
43
|
-
/** user */
|
|
199
|
+
/** Indicates the operation is initiated by a user. */
|
|
44
200
|
KnownOrigin["user"] = "user";
|
|
45
|
-
/** system */
|
|
201
|
+
/** Indicates the operation is initiated by a system. */
|
|
46
202
|
KnownOrigin["system"] = "system";
|
|
47
|
-
/** user
|
|
203
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
48
204
|
KnownOrigin["user,system"] = "user,system";
|
|
49
205
|
})(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
|
|
50
|
-
/**
|
|
206
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
51
207
|
var KnownActionType;
|
|
52
208
|
(function (KnownActionType) {
|
|
53
|
-
/**
|
|
209
|
+
/** Actions are for internal-only APIs. */
|
|
54
210
|
KnownActionType["Internal"] = "Internal";
|
|
55
211
|
})(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
|
|
212
|
+
function operationArrayDeserializer(result) {
|
|
213
|
+
return result.map((item) => {
|
|
214
|
+
return operationDeserializer(item);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
56
217
|
//# sourceMappingURL=models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AA8BlC,sEAAsE;AACtE,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B;AAiDD,kFAAkF;AAClF,IAAY,8BAOX;AAPD,WAAY,8BAA8B;IACxC,gBAAgB;IAChB,yDAAuB,CAAA;IACvB,aAAa;IACb,mDAAiB,CAAA;IACjB,eAAe;IACf,uDAAqB,CAAA;AACvB,CAAC,EAPW,8BAA8B,8CAA9B,8BAA8B,QAOzC;AAaD,0EAA0E;AAC1E,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,oBAAoB;IACpB,yDAA+B,CAAA;IAC/B,sBAAsB;IACtB,6DAAmC,CAAA;IACnC,iBAAiB;IACjB,mDAAyB,CAAA;IACzB,wBAAwB;IACxB,iEAAuC,CAAA;AACzC,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC;AAoFD,+DAA+D;AAC/D,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,kBAAkB;IAClB,0CAA6B,CAAA;AAC/B,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZone extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZoneProperties;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZoneProperties {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningState;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationState;\n /** Display name of the Azure Extended Zone. */\n readonly displayName: string;\n /** Regional display name of the Azure Extended Zone. */\n readonly regionalDisplayName: string;\n /** Type of region for the Azure Extended Zone. */\n readonly regionType: string;\n /** Category of region for the Azure Extended Zone. */\n readonly regionCategory: string;\n /** Geography of the Azure Extended Zone. */\n readonly geography: string;\n /** The Geography Group of the Azure Extended Zone. */\n readonly geographyGroup: string;\n /** The Longitude of the Azure Extended Zone. */\n readonly longitude: string;\n /** The Latitude of the Azure Extended Zone. */\n readonly latitude: string;\n /** The Home Location of the Azure Extended Zone. */\n readonly homeLocation: string;\n}\n\n/** Known values of {@link ResourceProvisioningState} that the service accepts. */\nexport enum KnownResourceProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type ResourceProvisioningState = string;\n\n/** Known values of {@link RegistrationState} that the service accepts. */\nexport enum KnownRegistrationState {\n /** NotRegistered */\n NotRegistered = \"NotRegistered\",\n /** PendingRegister */\n PendingRegister = \"PendingRegister\",\n /** Registered */\n Registered = \"Registered\",\n /** PendingUnregister */\n PendingUnregister = \"PendingUnregister\",\n}\n\n/**\n * The Azure Extended Zone registration status for a subscription \\\n * {@link KnownRegistrationState} can be used interchangeably with RegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotRegistered** \\\n * **PendingRegister** \\\n * **Registered** \\\n * **PendingUnregister**\n */\nexport type RegistrationState = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** The response of a ExtendedZone list operation. */\nexport interface _ExtendedZoneListResult {\n /** The ExtendedZone items on this page */\n value: ExtendedZone[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n readonly display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionType;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** user */\n user = \"user\",\n /** system */\n system = \"system\",\n /** user,system */\n \"user,system\" = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n/** Alias for ProvisioningState */\nexport type ProvisioningState =\n | string\n | ResourceProvisioningState\n | \"Provisioning\"\n | \"Updating\"\n | \"Deleting\"\n | \"Accepted\";\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/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J,CAAC;AAED,2IAA2I;AAC3I,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,sDAAsD;IACtD,4BAAa,CAAA;IACb,wDAAwD;IACxD,gCAAiB,CAAA;IACjB,gEAAgE;IAChE,0CAA6B,CAAA;AAC/B,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAaD,gHAAgH;AAChH,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAWD,SAAgB,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZone extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZoneProperties;\n}\n\nexport function extendedZoneDeserializer(item: any): ExtendedZone {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : extendedZonePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZoneProperties {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningState;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationState;\n /** Display name of the Azure Extended Zone. */\n readonly displayName: string;\n /** Regional display name of the Azure Extended Zone. */\n readonly regionalDisplayName: string;\n /** Type of region for the Azure Extended Zone. */\n readonly regionType: string;\n /** Category of region for the Azure Extended Zone. */\n readonly regionCategory: string;\n /** Geography of the Azure Extended Zone. */\n readonly geography: string;\n /** The Geography Group of the Azure Extended Zone. */\n readonly geographyGroup: string;\n /** The Longitude of the Azure Extended Zone. */\n readonly longitude: string;\n /** The Latitude of the Azure Extended Zone. */\n readonly latitude: string;\n /** The Home Location of the Azure Extended Zone. */\n readonly homeLocation: string;\n}\n\nexport function extendedZonePropertiesDeserializer(item: any): ExtendedZoneProperties {\n return {\n provisioningState: !item[\"provisioningState\"]\n ? item[\"provisioningState\"]\n : provisioningStateDeserializer(item[\"provisioningState\"]),\n registrationState: item[\"registrationState\"],\n displayName: item[\"displayName\"],\n regionalDisplayName: item[\"regionalDisplayName\"],\n regionType: item[\"regionType\"],\n regionCategory: item[\"regionCategory\"],\n geography: item[\"geography\"],\n geographyGroup: item[\"geographyGroup\"],\n longitude: item[\"longitude\"],\n latitude: item[\"latitude\"],\n homeLocation: item[\"homeLocation\"],\n };\n}\n\n/** Alias for ProvisioningState */\nexport type ProvisioningState =\n | string\n | ResourceProvisioningState\n | \"Provisioning\"\n | \"Updating\"\n | \"Deleting\"\n | \"Accepted\";\n\nexport function provisioningStateSerializer(item: ProvisioningState): any {\n return item;\n}\n\nexport function provisioningStateDeserializer(item: any): ProvisioningState {\n return item;\n}\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The Azure Extended Zone registration status for a subscription */\nexport enum KnownRegistrationState {\n /** Subscription not registered for the Azure Extended Zone */\n NotRegistered = \"NotRegistered\",\n /** Subscription pending registration for the Azure Extended Zone */\n PendingRegister = \"PendingRegister\",\n /** Subscription is registered for the Azure Extended Zone */\n Registered = \"Registered\",\n /** Subscription is pending unregistering for the Azure Extended Zone */\n PendingUnregister = \"PendingUnregister\",\n}\n\n/**\n * The Azure Extended Zone registration status for a subscription \\\n * {@link KnownRegistrationState} can be used interchangeably with RegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotRegistered**: Subscription not registered for the Azure Extended Zone \\\n * **PendingRegister**: Subscription pending registration for the Azure Extended Zone \\\n * **Registered**: Subscription is registered for the Azure Extended Zone \\\n * **PendingUnregister**: Subscription is pending unregistering for the Azure Extended Zone\n */\nexport type RegistrationState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The response of a ExtendedZone list operation. */\nexport interface _ExtendedZoneListResult {\n /** The ExtendedZone items on this page */\n value: ExtendedZone[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _extendedZoneListResultDeserializer(item: any): _ExtendedZoneListResult {\n return {\n value: extendedZoneArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function extendedZoneArrayDeserializer(result: Array<ExtendedZone>): any[] {\n return result.map((item) => {\n return extendedZoneDeserializer(item);\n });\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n readonly display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n user = \"user\",\n /** Indicates the operation is initiated by a system. */\n system = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n \"user,system\" = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n"]}
|