@azure/arm-edgezones 1.0.0-beta.1 → 1.0.0-beta.3
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 +19 -0
- package/README.md +0 -1
- 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 +29 -6
- package/dist/browser/api/edgeZonesContext.js.map +1 -1
- package/dist/browser/api/extendedZones/index.d.ts +15 -16
- package/dist/browser/api/extendedZones/index.d.ts.map +1 -1
- package/dist/browser/api/extendedZones/index.js +35 -172
- package/dist/browser/api/extendedZones/index.js.map +1 -1
- package/dist/browser/api/index.d.ts +4 -1
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +3 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +7 -8
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +11 -32
- 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 +6 -6
- 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 +3 -3
- 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 +2 -2
- 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 +106 -84
- 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/{esm/api → browser/static-helpers}/pagingHelpers.js +5 -6
- 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 +28 -6
- package/dist/commonjs/api/edgeZonesContext.js.map +1 -1
- package/dist/commonjs/api/extendedZones/index.d.ts +15 -16
- package/dist/commonjs/api/extendedZones/index.d.ts.map +1 -1
- package/dist/commonjs/api/extendedZones/index.js +46 -183
- package/dist/commonjs/api/extendedZones/index.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +4 -1
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +9 -2
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +7 -8
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +13 -34
- 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 +5 -5
- 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 +2 -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 +2 -2
- 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 +106 -84
- 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 +5 -6
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- 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 +29 -6
- package/dist/esm/api/edgeZonesContext.js.map +1 -1
- package/dist/esm/api/extendedZones/index.d.ts +15 -16
- package/dist/esm/api/extendedZones/index.d.ts.map +1 -1
- package/dist/esm/api/extendedZones/index.js +35 -172
- package/dist/esm/api/extendedZones/index.js.map +1 -1
- package/dist/esm/api/index.d.ts +4 -1
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +3 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +7 -8
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +11 -32
- 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 +6 -6
- 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 +3 -3
- 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 +2 -2
- 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 +106 -84
- 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/{browser/api → esm/static-helpers}/pagingHelpers.js +5 -6
- 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 +29 -6
- package/dist/react-native/api/edgeZonesContext.js.map +1 -1
- package/dist/react-native/api/extendedZones/index.d.ts +15 -16
- package/dist/react-native/api/extendedZones/index.d.ts.map +1 -1
- package/dist/react-native/api/extendedZones/index.js +35 -172
- package/dist/react-native/api/extendedZones/index.js.map +1 -1
- package/dist/react-native/api/index.d.ts +4 -1
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +3 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +7 -8
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +11 -32
- 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 +6 -6
- 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 +3 -3
- 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 +2 -2
- 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 +106 -84
- 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/{api → static-helpers}/pagingHelpers.js +5 -6
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/package.json +25 -105
- package/review/arm-edgezones-models.api.md +5 -44
- package/review/arm-edgezones.api.md +5 -5
- 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.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 -250
- 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 -250
- 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.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 -250
- 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.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 -250
- 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-extendedZones.api.md +0 -52
- package/review/arm-edgezones-api-operations.api.md +0 -25
- package/review/arm-edgezones-api.api.md +0 -30
- /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
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ListParameters, GetParameters, ListBySubscriptionParameters, RegisterParameters, UnregisterParameters } from "./parameters.js";
|
|
2
|
-
import { List200Response, ListDefaultResponse, Get200Response, GetDefaultResponse, ListBySubscription200Response, ListBySubscriptionDefaultResponse, Register200Response, RegisterDefaultResponse, Unregister200Response, UnregisterDefaultResponse } from "./responses.js";
|
|
3
|
-
import { Client, StreamableMethod } from "@azure-rest/core-client";
|
|
4
|
-
export interface List {
|
|
5
|
-
/** List the operations for the provider */
|
|
6
|
-
get(options?: ListParameters): StreamableMethod<List200Response | ListDefaultResponse>;
|
|
7
|
-
}
|
|
8
|
-
export interface Get {
|
|
9
|
-
/** Gets an Azure Extended Zone for a subscription */
|
|
10
|
-
get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;
|
|
11
|
-
}
|
|
12
|
-
export interface ListBySubscription {
|
|
13
|
-
/** Lists the Azure Extended Zones available to a subscription */
|
|
14
|
-
get(options?: ListBySubscriptionParameters): StreamableMethod<ListBySubscription200Response | ListBySubscriptionDefaultResponse>;
|
|
15
|
-
}
|
|
16
|
-
export interface Register {
|
|
17
|
-
/** Registers a subscription for an Extended Zone */
|
|
18
|
-
post(options: RegisterParameters): StreamableMethod<Register200Response | RegisterDefaultResponse>;
|
|
19
|
-
}
|
|
20
|
-
export interface Unregister {
|
|
21
|
-
/** Unregisters a subscription for an Extended Zone */
|
|
22
|
-
post(options: UnregisterParameters): StreamableMethod<Unregister200Response | UnregisterDefaultResponse>;
|
|
23
|
-
}
|
|
24
|
-
export interface Routes {
|
|
25
|
-
/** Resource for '/providers/Microsoft.EdgeZones/operations' has methods for the following verbs: get */
|
|
26
|
-
(path: "/providers/Microsoft.EdgeZones/operations"): List;
|
|
27
|
-
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}' has methods for the following verbs: get */
|
|
28
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}", subscriptionId: string, extendedZoneName: string): Get;
|
|
29
|
-
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones' has methods for the following verbs: get */
|
|
30
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones", subscriptionId: string): ListBySubscription;
|
|
31
|
-
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}/register' has methods for the following verbs: post */
|
|
32
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register", subscriptionId: string, extendedZoneName: string): Register;
|
|
33
|
-
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}/unregister' has methods for the following verbs: post */
|
|
34
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister", subscriptionId: string, extendedZoneName: string): Unregister;
|
|
35
|
-
}
|
|
36
|
-
export type EdgeZonesContext = Client & {
|
|
37
|
-
path: Routes;
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=clientDefinitions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,cAAc,EACd,aAAa,EACb,4BAA4B,EAC5B,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,6BAA6B,EAC7B,iCAAiC,EACjC,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,IAAI;IACnB,2CAA2C;IAC3C,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC,eAAe,GAAG,mBAAmB,CAAC,CAAC;CACxF;AAED,MAAM,WAAW,GAAG;IAClB,qDAAqD;IACrD,GAAG,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAC,cAAc,GAAG,kBAAkB,CAAC,CAAC;CACrF;AAED,MAAM,WAAW,kBAAkB;IACjC,iEAAiE;IACjE,GAAG,CACD,OAAO,CAAC,EAAE,4BAA4B,GACrC,gBAAgB,CAAC,6BAA6B,GAAG,iCAAiC,CAAC,CAAC;CACxF;AAED,MAAM,WAAW,QAAQ;IACvB,oDAAoD;IACpD,IAAI,CACF,OAAO,EAAE,kBAAkB,GAC1B,gBAAgB,CAAC,mBAAmB,GAAG,uBAAuB,CAAC,CAAC;CACpE;AAED,MAAM,WAAW,UAAU;IACzB,sDAAsD;IACtD,IAAI,CACF,OAAO,EAAE,oBAAoB,GAC5B,gBAAgB,CAAC,qBAAqB,GAAG,yBAAyB,CAAC,CAAC;CACxE;AAED,MAAM,WAAW,MAAM;IACrB,wGAAwG;IACxG,CAAC,IAAI,EAAE,2CAA2C,GAAG,IAAI,CAAC;IAC1D,iKAAiK;IACjK,CACE,IAAI,EAAE,gGAAgG,EACtG,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,GACvB,GAAG,CAAC;IACP,4IAA4I;IAC5I,CACE,IAAI,EAAE,6EAA6E,EACnF,cAAc,EAAE,MAAM,GACrB,kBAAkB,CAAC;IACtB,2KAA2K;IAC3K,CACE,IAAI,EAAE,yGAAyG,EAC/G,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,GACvB,QAAQ,CAAC;IACZ,6KAA6K;IAC7K,CACE,IAAI,EAAE,2GAA2G,EACjH,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC;CACf;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n ListParameters,\n GetParameters,\n ListBySubscriptionParameters,\n RegisterParameters,\n UnregisterParameters,\n} from \"./parameters.js\";\nimport {\n List200Response,\n ListDefaultResponse,\n Get200Response,\n GetDefaultResponse,\n ListBySubscription200Response,\n ListBySubscriptionDefaultResponse,\n Register200Response,\n RegisterDefaultResponse,\n Unregister200Response,\n UnregisterDefaultResponse,\n} from \"./responses.js\";\nimport { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface List {\n /** List the operations for the provider */\n get(options?: ListParameters): StreamableMethod<List200Response | ListDefaultResponse>;\n}\n\nexport interface Get {\n /** Gets an Azure Extended Zone for a subscription */\n get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;\n}\n\nexport interface ListBySubscription {\n /** Lists the Azure Extended Zones available to a subscription */\n get(\n options?: ListBySubscriptionParameters,\n ): StreamableMethod<ListBySubscription200Response | ListBySubscriptionDefaultResponse>;\n}\n\nexport interface Register {\n /** Registers a subscription for an Extended Zone */\n post(\n options: RegisterParameters,\n ): StreamableMethod<Register200Response | RegisterDefaultResponse>;\n}\n\nexport interface Unregister {\n /** Unregisters a subscription for an Extended Zone */\n post(\n options: UnregisterParameters,\n ): StreamableMethod<Unregister200Response | UnregisterDefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/providers/Microsoft.EdgeZones/operations' has methods for the following verbs: get */\n (path: \"/providers/Microsoft.EdgeZones/operations\"): List;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}' has methods for the following verbs: get */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\",\n subscriptionId: string,\n extendedZoneName: string,\n ): Get;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones' has methods for the following verbs: get */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\",\n subscriptionId: string,\n ): ListBySubscription;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}/register' has methods for the following verbs: post */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\",\n subscriptionId: string,\n extendedZoneName: string,\n ): Register;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}/unregister' has methods for the following verbs: post */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\",\n subscriptionId: string,\n extendedZoneName: string,\n ): Unregister;\n}\n\nexport type EdgeZonesContext = Client & {\n path: Routes;\n};\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ClientOptions } from "@azure-rest/core-client";
|
|
2
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
-
import { EdgeZonesContext } from "./clientDefinitions.js";
|
|
4
|
-
/** The optional parameters for the client */
|
|
5
|
-
export interface EdgeZonesContextOptions extends ClientOptions {
|
|
6
|
-
/** The api version option of the client */
|
|
7
|
-
apiVersion?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Initialize a new instance of `EdgeZonesContext`
|
|
11
|
-
* @param credentials - uniquely identify client credential
|
|
12
|
-
* @param options - the parameter for all optional parameters
|
|
13
|
-
*/
|
|
14
|
-
export default function createClient(credentials: TokenCredential, { apiVersion, ...options }?: EdgeZonesContextOptions): EdgeZonesContext;
|
|
15
|
-
//# sourceMappingURL=edgeZonesClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edgeZonesClient.d.ts","sourceRoot":"","sources":["../../../src/rest/edgeZonesClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAa,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,6CAA6C;AAC7C,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,uBAA4B,GAC9E,gBAAgB,CAsClB"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
import { __rest } from "tslib";
|
|
4
|
-
import { getClient } from "@azure-rest/core-client";
|
|
5
|
-
import { logger } from "../logger.js";
|
|
6
|
-
/**
|
|
7
|
-
* Initialize a new instance of `EdgeZonesContext`
|
|
8
|
-
* @param credentials - uniquely identify client credential
|
|
9
|
-
* @param options - the parameter for all optional parameters
|
|
10
|
-
*/
|
|
11
|
-
export default function createClient(credentials, _a = {}) {
|
|
12
|
-
var _b, _c, _d, _e, _f, _g;
|
|
13
|
-
var { apiVersion = "2024-04-01-preview" } = _a, options = __rest(_a, ["apiVersion"]);
|
|
14
|
-
const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `https://management.azure.com`;
|
|
15
|
-
const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.1`;
|
|
16
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
17
|
-
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
18
|
-
: `${userAgentInfo}`;
|
|
19
|
-
options = Object.assign(Object.assign({}, options), { userAgentOptions: {
|
|
20
|
-
userAgentPrefix,
|
|
21
|
-
}, loggingOptions: {
|
|
22
|
-
logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info,
|
|
23
|
-
}, credentials: {
|
|
24
|
-
scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
|
|
25
|
-
} });
|
|
26
|
-
const client = getClient(endpointUrl, credentials, options);
|
|
27
|
-
client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
28
|
-
client.pipeline.addPolicy({
|
|
29
|
-
name: "ClientApiVersionPolicy",
|
|
30
|
-
sendRequest: (req, next) => {
|
|
31
|
-
// Use the apiVersion defined in request url directly
|
|
32
|
-
// Append one if there is no apiVersion and we have one at client options
|
|
33
|
-
const url = new URL(req.url);
|
|
34
|
-
if (!url.searchParams.get("api-version") && apiVersion) {
|
|
35
|
-
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
36
|
-
}
|
|
37
|
-
return next(req);
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
return client;
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=edgeZonesClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edgeZonesClient.js","sourceRoot":"","sources":["../../../src/rest/edgeZonesClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,WAA4B,EAC5B,KAA6E,EAAE;;QAA/E,EAAE,UAAU,GAAG,oBAAoB,OAA4C,EAAvC,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,aAAa,GAAG,qCAAqC,CAAC;IAC5D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,EACD,cAAc,EAAE;YACd,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI;SACtD,EACD,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,CAAC;IACF,MAAM,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAqB,CAAC;IAEhF,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,UAAU,EAAE,CAAC;gBACvD,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { logger } from \"../logger.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { EdgeZonesContext } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface EdgeZonesContextOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `EdgeZonesContext`\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n credentials: TokenCredential,\n { apiVersion = \"2024-04-01-preview\", ...options }: EdgeZonesContextOptions = {},\n): EdgeZonesContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as EdgeZonesContext;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return client;\n}\n"]}
|
package/dist/esm/rest/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import EdgeZonesClient from "./edgeZonesClient.js";
|
|
2
|
-
export * from "./edgeZonesClient.js";
|
|
3
|
-
export * from "./parameters.js";
|
|
4
|
-
export * from "./responses.js";
|
|
5
|
-
export * from "./clientDefinitions.js";
|
|
6
|
-
export * from "./isUnexpected.js";
|
|
7
|
-
export * from "./outputModels.js";
|
|
8
|
-
export * from "./paginateHelper.js";
|
|
9
|
-
export default EdgeZonesClient;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rest/index.ts"],"names":[],"mappings":"AAGA,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC,eAAe,eAAe,CAAC"}
|
package/dist/esm/rest/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
import EdgeZonesClient from "./edgeZonesClient.js";
|
|
4
|
-
export * from "./edgeZonesClient.js";
|
|
5
|
-
export * from "./parameters.js";
|
|
6
|
-
export * from "./responses.js";
|
|
7
|
-
export * from "./clientDefinitions.js";
|
|
8
|
-
export * from "./isUnexpected.js";
|
|
9
|
-
export * from "./outputModels.js";
|
|
10
|
-
export * from "./paginateHelper.js";
|
|
11
|
-
export default EdgeZonesClient;
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rest/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC,eAAe,eAAe,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport EdgeZonesClient from \"./edgeZonesClient.js\";\n\nexport * from \"./edgeZonesClient.js\";\nexport * from \"./parameters.js\";\nexport * from \"./responses.js\";\nexport * from \"./clientDefinitions.js\";\nexport * from \"./isUnexpected.js\";\nexport * from \"./outputModels.js\";\nexport * from \"./paginateHelper.js\";\n\nexport default EdgeZonesClient;\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { List200Response, ListDefaultResponse, Get200Response, GetDefaultResponse, ListBySubscription200Response, ListBySubscriptionDefaultResponse, Register200Response, RegisterDefaultResponse, Unregister200Response, UnregisterDefaultResponse } from "./responses.js";
|
|
2
|
-
export declare function isUnexpected(response: List200Response | ListDefaultResponse): response is ListDefaultResponse;
|
|
3
|
-
export declare function isUnexpected(response: Get200Response | GetDefaultResponse): response is GetDefaultResponse;
|
|
4
|
-
export declare function isUnexpected(response: ListBySubscription200Response | ListBySubscriptionDefaultResponse): response is ListBySubscriptionDefaultResponse;
|
|
5
|
-
export declare function isUnexpected(response: Register200Response | RegisterDefaultResponse): response is RegisterDefaultResponse;
|
|
6
|
-
export declare function isUnexpected(response: Unregister200Response | UnregisterDefaultResponse): response is UnregisterDefaultResponse;
|
|
7
|
-
//# sourceMappingURL=isUnexpected.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isUnexpected.d.ts","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,6BAA6B,EAC7B,iCAAiC,EACjC,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAC;AAaxB,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,eAAe,GAAG,mBAAmB,GAC9C,QAAQ,IAAI,mBAAmB,CAAC;AACnC,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,cAAc,GAAG,kBAAkB,GAC5C,QAAQ,IAAI,kBAAkB,CAAC;AAClC,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,6BAA6B,GAAG,iCAAiC,GAC1E,QAAQ,IAAI,iCAAiC,CAAC;AACjD,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,mBAAmB,GAAG,uBAAuB,GACtD,QAAQ,IAAI,uBAAuB,CAAC;AACvC,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,qBAAqB,GAAG,yBAAyB,GAC1D,QAAQ,IAAI,yBAAyB,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
const responseMap = {
|
|
4
|
-
"GET /providers/Microsoft.EdgeZones/operations": ["200"],
|
|
5
|
-
"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}": ["200"],
|
|
6
|
-
"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones": ["200"],
|
|
7
|
-
"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register": ["200"],
|
|
8
|
-
"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister": ["200"],
|
|
9
|
-
};
|
|
10
|
-
export function isUnexpected(response) {
|
|
11
|
-
const lroOriginal = response.headers["x-ms-original-url"];
|
|
12
|
-
const url = new URL(lroOriginal !== null && lroOriginal !== void 0 ? lroOriginal : response.request.url);
|
|
13
|
-
const method = response.request.method;
|
|
14
|
-
let pathDetails = responseMap[`${method} ${url.pathname}`];
|
|
15
|
-
if (!pathDetails) {
|
|
16
|
-
pathDetails = getParametrizedPathSuccess(method, url.pathname);
|
|
17
|
-
}
|
|
18
|
-
return !pathDetails.includes(response.status);
|
|
19
|
-
}
|
|
20
|
-
function getParametrizedPathSuccess(method, path) {
|
|
21
|
-
var _a, _b, _c, _d;
|
|
22
|
-
const pathParts = path.split("/");
|
|
23
|
-
// Traverse list to match the longest candidate
|
|
24
|
-
// matchedLen: the length of candidate path
|
|
25
|
-
// matchedValue: the matched status code array
|
|
26
|
-
let matchedLen = -1, matchedValue = [];
|
|
27
|
-
// Iterate the responseMap to find a match
|
|
28
|
-
for (const [key, value] of Object.entries(responseMap)) {
|
|
29
|
-
// Extracting the path from the map key which is in format
|
|
30
|
-
// GET /path/foo
|
|
31
|
-
if (!key.startsWith(method)) {
|
|
32
|
-
continue;
|
|
33
|
-
}
|
|
34
|
-
const candidatePath = getPathFromMapKey(key);
|
|
35
|
-
// Get each part of the url path
|
|
36
|
-
const candidateParts = candidatePath.split("/");
|
|
37
|
-
// track if we have found a match to return the values found.
|
|
38
|
-
let found = true;
|
|
39
|
-
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
40
|
-
if (((_a = candidateParts[i]) === null || _a === void 0 ? void 0 : _a.startsWith("{")) && ((_b = candidateParts[i]) === null || _b === void 0 ? void 0 : _b.indexOf("}")) !== -1) {
|
|
41
|
-
const start = candidateParts[i].indexOf("}") + 1, end = (_c = candidateParts[i]) === null || _c === void 0 ? void 0 : _c.length;
|
|
42
|
-
// If the current part of the candidate is a "template" part
|
|
43
|
-
// Try to use the suffix of pattern to match the path
|
|
44
|
-
// {guid} ==> $
|
|
45
|
-
// {guid}:export ==> :export$
|
|
46
|
-
const isMatched = new RegExp(`${(_d = candidateParts[i]) === null || _d === void 0 ? void 0 : _d.slice(start, end)}`).test(pathParts[j] || "");
|
|
47
|
-
if (!isMatched) {
|
|
48
|
-
found = false;
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
continue;
|
|
52
|
-
}
|
|
53
|
-
// If the candidate part is not a template and
|
|
54
|
-
// the parts don't match mark the candidate as not found
|
|
55
|
-
// to move on with the next candidate path.
|
|
56
|
-
if (candidateParts[i] !== pathParts[j]) {
|
|
57
|
-
found = false;
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
// We finished evaluating the current candidate parts
|
|
62
|
-
// Update the matched value if and only if we found the longer pattern
|
|
63
|
-
if (found && candidatePath.length > matchedLen) {
|
|
64
|
-
matchedLen = candidatePath.length;
|
|
65
|
-
matchedValue = value;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return matchedValue;
|
|
69
|
-
}
|
|
70
|
-
function getPathFromMapKey(mapKey) {
|
|
71
|
-
const pathStart = mapKey.indexOf("/");
|
|
72
|
-
return mapKey.slice(pathStart);
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=isUnexpected.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,MAAM,WAAW,GAA6B;IAC5C,+CAA+C,EAAE,CAAC,KAAK,CAAC;IACxD,oGAAoG,EAClG,CAAC,KAAK,CAAC;IACT,iFAAiF,EAAE,CAAC,KAAK,CAAC;IAC1F,8GAA8G,EAC5G,CAAC,KAAK,CAAC;IACT,gHAAgH,EAC9G,CAAC,KAAK,CAAC;CACV,CAAC;AAiBF,MAAM,UAAU,YAAY,CAC1B,QAU6B;IAO7B,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC1D,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC;IACvC,IAAI,WAAW,GAAG,WAAW,CAAC,GAAG,MAAM,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC3D,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,WAAW,GAAG,0BAA0B,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IACjE,CAAC;IACD,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAA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DAA4D;gBAC5D,qDAAqD;gBACrD,eAAe;gBACf,6BAA6B;gBAC7B,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,GAAG,MAAA,cAAc,CAAC,CAAC,CAAC,0CAAE,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,IAAI,CAC1E,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CACnB,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,KAAK,GAAG,KAAK,CAAC;oBACd,MAAM;gBACR,CAAC;gBACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n List200Response,\n ListDefaultResponse,\n Get200Response,\n GetDefaultResponse,\n ListBySubscription200Response,\n ListBySubscriptionDefaultResponse,\n Register200Response,\n RegisterDefaultResponse,\n Unregister200Response,\n UnregisterDefaultResponse,\n} from \"./responses.js\";\n\nconst responseMap: Record<string, string[]> = {\n \"GET /providers/Microsoft.EdgeZones/operations\": [\"200\"],\n \"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\":\n [\"200\"],\n \"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\": [\"200\"],\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\":\n [\"200\"],\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\":\n [\"200\"],\n};\n\nexport function isUnexpected(\n response: List200Response | ListDefaultResponse,\n): response is ListDefaultResponse;\nexport function isUnexpected(\n response: Get200Response | GetDefaultResponse,\n): response is GetDefaultResponse;\nexport function isUnexpected(\n response: ListBySubscription200Response | ListBySubscriptionDefaultResponse,\n): response is ListBySubscriptionDefaultResponse;\nexport function isUnexpected(\n response: Register200Response | RegisterDefaultResponse,\n): response is RegisterDefaultResponse;\nexport function isUnexpected(\n response: Unregister200Response | UnregisterDefaultResponse,\n): response is UnregisterDefaultResponse;\nexport function isUnexpected(\n response:\n | List200Response\n | ListDefaultResponse\n | Get200Response\n | GetDefaultResponse\n | ListBySubscription200Response\n | ListBySubscriptionDefaultResponse\n | Register200Response\n | RegisterDefaultResponse\n | Unregister200Response\n | UnregisterDefaultResponse,\n): response is\n | ListDefaultResponse\n | GetDefaultResponse\n | ListBySubscriptionDefaultResponse\n | RegisterDefaultResponse\n | UnregisterDefaultResponse {\n const lroOriginal = response.headers[\"x-ms-original-url\"];\n const url = new URL(lroOriginal ?? response.request.url);\n const method = response.request.method;\n let pathDetails = responseMap[`${method} ${url.pathname}`];\n if (!pathDetails) {\n pathDetails = getParametrizedPathSuccess(method, url.pathname);\n }\n return !pathDetails.includes(response.status);\n}\n\nfunction getParametrizedPathSuccess(method: string, path: string): string[] {\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: string[] = [];\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(responseMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import { Paged } from "@azure/core-paging";
|
|
2
|
-
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
3
|
-
export interface OperationOutput {
|
|
4
|
-
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
5
|
-
readonly name?: string;
|
|
6
|
-
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
7
|
-
readonly isDataAction?: boolean;
|
|
8
|
-
/** Localized display information for this particular operation. */
|
|
9
|
-
display?: OperationDisplayOutput;
|
|
10
|
-
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
11
|
-
readonly origin?: OriginOutput;
|
|
12
|
-
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
13
|
-
actionType?: ActionTypeOutput;
|
|
14
|
-
}
|
|
15
|
-
/** Localized display information for and operation. */
|
|
16
|
-
export interface OperationDisplayOutput {
|
|
17
|
-
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
18
|
-
provider?: string;
|
|
19
|
-
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
20
|
-
resource?: string;
|
|
21
|
-
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
22
|
-
operation?: string;
|
|
23
|
-
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
24
|
-
description?: string;
|
|
25
|
-
}
|
|
26
|
-
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
27
|
-
export interface ErrorResponseOutput {
|
|
28
|
-
/** The error object. */
|
|
29
|
-
error?: ErrorDetailOutput;
|
|
30
|
-
}
|
|
31
|
-
/** The error detail. */
|
|
32
|
-
export interface ErrorDetailOutput {
|
|
33
|
-
/** The error code. */
|
|
34
|
-
readonly code?: string;
|
|
35
|
-
/** The error message. */
|
|
36
|
-
readonly message?: string;
|
|
37
|
-
/** The error target. */
|
|
38
|
-
readonly target?: string;
|
|
39
|
-
/** The error details. */
|
|
40
|
-
readonly details?: Array<ErrorDetailOutput>;
|
|
41
|
-
/** The error additional info. */
|
|
42
|
-
readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;
|
|
43
|
-
}
|
|
44
|
-
/** The resource management error additional info. */
|
|
45
|
-
export interface ErrorAdditionalInfoOutput {
|
|
46
|
-
/** The additional info type. */
|
|
47
|
-
readonly type?: string;
|
|
48
|
-
/** The additional info. */
|
|
49
|
-
readonly info?: Record<string, any>;
|
|
50
|
-
}
|
|
51
|
-
/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */
|
|
52
|
-
export interface ExtendedZoneOutput extends ProxyResourceOutput {
|
|
53
|
-
/** The resource-specific properties for this resource. */
|
|
54
|
-
properties?: ExtendedZonePropertiesOutput;
|
|
55
|
-
}
|
|
56
|
-
/** The properties of an Extended Zone resource. */
|
|
57
|
-
export interface ExtendedZonePropertiesOutput {
|
|
58
|
-
/** Status of the last operation performed by the subscription on the Edge Zone resource */
|
|
59
|
-
readonly provisioningState?: ProvisioningStateOutput;
|
|
60
|
-
/** Indicates the Azure Extended Zone registration’s approval status. */
|
|
61
|
-
readonly registrationState?: RegistrationStateOutput;
|
|
62
|
-
/** Display name of the Azure Extended Zone. */
|
|
63
|
-
readonly displayName: string;
|
|
64
|
-
/** Regional display name of the Azure Extended Zone. */
|
|
65
|
-
readonly regionalDisplayName: string;
|
|
66
|
-
/** Type of region for the Azure Extended Zone. */
|
|
67
|
-
readonly regionType: string;
|
|
68
|
-
/** Category of region for the Azure Extended Zone. */
|
|
69
|
-
readonly regionCategory: string;
|
|
70
|
-
/** Geography of the Azure Extended Zone. */
|
|
71
|
-
readonly geography: string;
|
|
72
|
-
/** The Geography Group of the Azure Extended Zone. */
|
|
73
|
-
readonly geographyGroup: string;
|
|
74
|
-
/** The Longitude of the Azure Extended Zone. */
|
|
75
|
-
readonly longitude: string;
|
|
76
|
-
/** The Latitude of the Azure Extended Zone. */
|
|
77
|
-
readonly latitude: string;
|
|
78
|
-
/** The Home Location of the Azure Extended Zone. */
|
|
79
|
-
readonly homeLocation: string;
|
|
80
|
-
}
|
|
81
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
82
|
-
export interface ProxyResourceOutput extends ResourceOutput {
|
|
83
|
-
}
|
|
84
|
-
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
85
|
-
export interface ResourceOutput {
|
|
86
|
-
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
87
|
-
readonly id?: string;
|
|
88
|
-
/** The name of the resource */
|
|
89
|
-
readonly name?: string;
|
|
90
|
-
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
91
|
-
readonly type?: string;
|
|
92
|
-
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
93
|
-
readonly systemData?: SystemDataOutput;
|
|
94
|
-
}
|
|
95
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
96
|
-
export interface SystemDataOutput {
|
|
97
|
-
/** The identity that created the resource. */
|
|
98
|
-
createdBy?: string;
|
|
99
|
-
/** The type of identity that created the resource. */
|
|
100
|
-
createdByType?: CreatedByTypeOutput;
|
|
101
|
-
/** The timestamp of resource creation (UTC). */
|
|
102
|
-
createdAt?: string;
|
|
103
|
-
/** The identity that last modified the resource. */
|
|
104
|
-
lastModifiedBy?: string;
|
|
105
|
-
/** The type of identity that last modified the resource. */
|
|
106
|
-
lastModifiedByType?: CreatedByTypeOutput;
|
|
107
|
-
/** The timestamp of resource last modification (UTC) */
|
|
108
|
-
lastModifiedAt?: string;
|
|
109
|
-
}
|
|
110
|
-
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
111
|
-
export interface TrackedResourceOutput extends ResourceOutput {
|
|
112
|
-
/** Resource tags. */
|
|
113
|
-
tags?: Record<string, string>;
|
|
114
|
-
/** The geo-location where the resource lives */
|
|
115
|
-
location: string;
|
|
116
|
-
}
|
|
117
|
-
/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */
|
|
118
|
-
export interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {
|
|
119
|
-
/**
|
|
120
|
-
* The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.
|
|
121
|
-
* If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
|
|
122
|
-
*/
|
|
123
|
-
managedBy?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.
|
|
126
|
-
* If supported, the resource provider must validate and persist this value.
|
|
127
|
-
*/
|
|
128
|
-
kind?: string;
|
|
129
|
-
/**
|
|
130
|
-
* The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.
|
|
131
|
-
* Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),
|
|
132
|
-
* If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
|
|
133
|
-
*/
|
|
134
|
-
eTag?: string;
|
|
135
|
-
identity?: IdentityOutput;
|
|
136
|
-
sku?: SkuOutput;
|
|
137
|
-
plan?: PlanOutput;
|
|
138
|
-
}
|
|
139
|
-
/** Identity for the resource. */
|
|
140
|
-
export interface IdentityOutput {
|
|
141
|
-
/** The principal ID of resource identity. The value must be an UUID. */
|
|
142
|
-
readonly principalId?: string;
|
|
143
|
-
/** The tenant ID of resource. The value must be an UUID. */
|
|
144
|
-
readonly tenantId?: string;
|
|
145
|
-
/** The identity type. */
|
|
146
|
-
type?: ResourceIdentityTypeOutput;
|
|
147
|
-
}
|
|
148
|
-
/** The resource model definition representing SKU */
|
|
149
|
-
export interface SkuOutput {
|
|
150
|
-
/** The name of the SKU. Ex - P3. It is typically a letter+number code */
|
|
151
|
-
name: string;
|
|
152
|
-
/** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
|
|
153
|
-
tier?: SkuTierOutput;
|
|
154
|
-
/** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
|
|
155
|
-
size?: string;
|
|
156
|
-
/** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
|
|
157
|
-
family?: string;
|
|
158
|
-
/** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
|
|
159
|
-
capacity?: number;
|
|
160
|
-
}
|
|
161
|
-
/** Plan for the resource. */
|
|
162
|
-
export interface PlanOutput {
|
|
163
|
-
/** A user defined name of the 3rd Party Artifact that is being procured. */
|
|
164
|
-
name: string;
|
|
165
|
-
/** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */
|
|
166
|
-
publisher: string;
|
|
167
|
-
/** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */
|
|
168
|
-
product: string;
|
|
169
|
-
/** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */
|
|
170
|
-
promotionCode?: string;
|
|
171
|
-
/** The version of the desired product/artifact. */
|
|
172
|
-
version?: string;
|
|
173
|
-
}
|
|
174
|
-
/** The base extension resource. */
|
|
175
|
-
export interface ExtensionResourceOutput extends ResourceOutput {
|
|
176
|
-
}
|
|
177
|
-
/** The resource model definition for an Azure Resource Manager resource with an etag. */
|
|
178
|
-
export interface AzureEntityResourceOutput extends ResourceOutput {
|
|
179
|
-
/** Resource Etag. */
|
|
180
|
-
readonly etag?: string;
|
|
181
|
-
}
|
|
182
|
-
/** A private link resource. */
|
|
183
|
-
export interface PrivateLinkResourceOutput extends ResourceOutput {
|
|
184
|
-
/** Resource properties. */
|
|
185
|
-
properties?: PrivateLinkResourcePropertiesOutput;
|
|
186
|
-
}
|
|
187
|
-
/** Properties of a private link resource. */
|
|
188
|
-
export interface PrivateLinkResourcePropertiesOutput {
|
|
189
|
-
/** The private link resource group id. */
|
|
190
|
-
readonly groupId?: string;
|
|
191
|
-
/** The private link resource required member names. */
|
|
192
|
-
readonly requiredMembers?: string[];
|
|
193
|
-
/** The private link resource private link DNS zone name. */
|
|
194
|
-
requiredZoneNames?: string[];
|
|
195
|
-
}
|
|
196
|
-
/** The private endpoint connection resource */
|
|
197
|
-
export interface PrivateEndpointConnectionOutput extends ResourceOutput {
|
|
198
|
-
/** The private endpoint connection properties */
|
|
199
|
-
properties?: PrivateEndpointConnectionPropertiesOutput;
|
|
200
|
-
}
|
|
201
|
-
/** Properties of the private endpoint connection. */
|
|
202
|
-
export interface PrivateEndpointConnectionPropertiesOutput {
|
|
203
|
-
/** The group ids for the private endpoint resource. */
|
|
204
|
-
readonly groupIds?: string[];
|
|
205
|
-
/** The private endpoint resource. */
|
|
206
|
-
privateEndpoint?: PrivateEndpointOutput;
|
|
207
|
-
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
208
|
-
privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;
|
|
209
|
-
/** The provisioning state of the private endpoint connection resource. */
|
|
210
|
-
readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;
|
|
211
|
-
}
|
|
212
|
-
/** The Private Endpoint resource. */
|
|
213
|
-
export interface PrivateEndpointOutput {
|
|
214
|
-
/** The resource identifier for private endpoint */
|
|
215
|
-
readonly id?: string;
|
|
216
|
-
}
|
|
217
|
-
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
218
|
-
export interface PrivateLinkServiceConnectionStateOutput {
|
|
219
|
-
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
220
|
-
status?: PrivateEndpointServiceConnectionStatusOutput;
|
|
221
|
-
/** The reason for approval/rejection of the connection. */
|
|
222
|
-
description?: string;
|
|
223
|
-
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
224
|
-
actionsRequired?: string;
|
|
225
|
-
}
|
|
226
|
-
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
227
|
-
export type OperationListResultOutput = Paged<OperationOutput>;
|
|
228
|
-
/** Alias for OriginOutput */
|
|
229
|
-
export type OriginOutput = string;
|
|
230
|
-
/** Alias for ActionTypeOutput */
|
|
231
|
-
export type ActionTypeOutput = string;
|
|
232
|
-
/** Alias for ResourceProvisioningStateOutput */
|
|
233
|
-
export type ResourceProvisioningStateOutput = string;
|
|
234
|
-
/** Alias for ProvisioningStateOutput */
|
|
235
|
-
export type ProvisioningStateOutput = string;
|
|
236
|
-
/** Alias for RegistrationStateOutput */
|
|
237
|
-
export type RegistrationStateOutput = string;
|
|
238
|
-
/** Alias for CreatedByTypeOutput */
|
|
239
|
-
export type CreatedByTypeOutput = string;
|
|
240
|
-
/** Alias for ResourceIdentityTypeOutput */
|
|
241
|
-
export type ResourceIdentityTypeOutput = "SystemAssigned";
|
|
242
|
-
/** Alias for SkuTierOutput */
|
|
243
|
-
export type SkuTierOutput = "Free" | "Basic" | "Standard" | "Premium";
|
|
244
|
-
/** Alias for PrivateEndpointServiceConnectionStatusOutput */
|
|
245
|
-
export type PrivateEndpointServiceConnectionStatusOutput = string;
|
|
246
|
-
/** Alias for PrivateEndpointConnectionProvisioningStateOutput */
|
|
247
|
-
export type PrivateEndpointConnectionProvisioningStateOutput = string;
|
|
248
|
-
/** The response of a ExtendedZone list operation. */
|
|
249
|
-
export type ExtendedZoneListResultOutput = Paged<ExtendedZoneOutput>;
|
|
250
|
-
//# sourceMappingURL=outputModels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,0FAA0F;AAC1F,MAAM,WAAW,eAAe;IAC9B,sLAAsL;IACtL,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,6JAA6J;IAC7J,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,2IAA2I;IAC3I,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;I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AAE,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,2GAA2G;AAC3G,MAAM,WAAW,uCAAuC;IACtD,uGAAuG;IACvG,MAAM,CAAC,EAAE,4CAA4C,CAAC;IACtD,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mGAAmG;IACnG,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qIAAqI;AACrI,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC;AAC/D,6BAA6B;AAC7B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,iCAAiC;AACjC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,gDAAgD;AAChD,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC;AACrD,wCAAwC;AACxC,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC7C,wCAAwC;AACxC,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC7C,oCAAoC;AACpC,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACzC,2CAA2C;AAC3C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AAC1D,8BAA8B;AAC9B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AACtE,6DAA6D;AAC7D,MAAM,MAAM,4CAA4C,GAAG,MAAM,CAAC;AAClE,iEAAiE;AACjE,MAAM,MAAM,gDAAgD,GAAG,MAAM,CAAC;AACtE,qDAAqD;AACrD,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Paged } from \"@azure/core-paging\";\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface OperationOutput {\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 display?: OperationDisplayOutput;\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?: OriginOutput;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionTypeOutput;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplayOutput {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n 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 operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponseOutput {\n /** The error object. */\n error?: ErrorDetailOutput;\n}\n\n/** The error detail. */\nexport interface ErrorDetailOutput {\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?: Array<ErrorDetailOutput>;\n /** The error additional info. */\n readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfoOutput {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZoneOutput extends ProxyResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZonePropertiesOutput;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZonePropertiesOutput {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningStateOutput;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationStateOutput;\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/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResourceOutput extends ResourceOutput {}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface ResourceOutput {\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?: SystemDataOutput;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemDataOutput {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByTypeOutput;\n /** The timestamp of resource creation (UTC). */\n createdAt?: string;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByTypeOutput;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResourceOutput extends ResourceOutput {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */\nexport interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {\n /**\n * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.\n * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.\n */\n managedBy?: string;\n /**\n * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.\n * If supported, the resource provider must validate and persist this value.\n */\n kind?: string;\n /**\n * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.\n * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),\n * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\n */\n eTag?: string;\n identity?: IdentityOutput;\n sku?: SkuOutput;\n plan?: PlanOutput;\n}\n\n/** Identity for the resource. */\nexport interface IdentityOutput {\n /** The principal ID of resource identity. The value must be an UUID. */\n readonly principalId?: string;\n /** The tenant ID of resource. The value must be an UUID. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityTypeOutput;\n}\n\n/** The resource model definition representing SKU */\nexport interface SkuOutput {\n /** The name of the SKU. Ex - P3. It is typically a letter+number code */\n name: string;\n /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */\n tier?: SkuTierOutput;\n /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */\n size?: string;\n /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */\n family?: string;\n /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */\n capacity?: number;\n}\n\n/** Plan for the resource. */\nexport interface PlanOutput {\n /** A user defined name of the 3rd Party Artifact that is being procured. */\n name: string;\n /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */\n publisher: string;\n /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */\n product: string;\n /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */\n promotionCode?: string;\n /** The version of the desired product/artifact. */\n version?: string;\n}\n\n/** The base extension resource. */\nexport interface ExtensionResourceOutput extends ResourceOutput {}\n\n/** The resource model definition for an Azure Resource Manager resource with an etag. */\nexport interface AzureEntityResourceOutput extends ResourceOutput {\n /** Resource Etag. */\n readonly etag?: string;\n}\n\n/** A private link resource. */\nexport interface PrivateLinkResourceOutput extends ResourceOutput {\n /** Resource properties. */\n properties?: PrivateLinkResourcePropertiesOutput;\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourcePropertiesOutput {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\n/** The private endpoint connection resource */\nexport interface PrivateEndpointConnectionOutput extends ResourceOutput {\n /** The private endpoint connection properties */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n}\n\n/** Properties of the private endpoint connection. */\nexport interface PrivateEndpointConnectionPropertiesOutput {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpointOutput;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpointOutput {\n /** The resource identifier for private endpoint */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionStateOutput {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatusOutput;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: 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 type OperationListResultOutput = Paged<OperationOutput>;\n/** Alias for OriginOutput */\nexport type OriginOutput = string;\n/** Alias for ActionTypeOutput */\nexport type ActionTypeOutput = string;\n/** Alias for ResourceProvisioningStateOutput */\nexport type ResourceProvisioningStateOutput = string;\n/** Alias for ProvisioningStateOutput */\nexport type ProvisioningStateOutput = string;\n/** Alias for RegistrationStateOutput */\nexport type RegistrationStateOutput = string;\n/** Alias for CreatedByTypeOutput */\nexport type CreatedByTypeOutput = string;\n/** Alias for ResourceIdentityTypeOutput */\nexport type ResourceIdentityTypeOutput = \"SystemAssigned\";\n/** Alias for SkuTierOutput */\nexport type SkuTierOutput = \"Free\" | \"Basic\" | \"Standard\" | \"Premium\";\n/** Alias for PrivateEndpointServiceConnectionStatusOutput */\nexport type PrivateEndpointServiceConnectionStatusOutput = string;\n/** Alias for PrivateEndpointConnectionProvisioningStateOutput */\nexport type PrivateEndpointConnectionProvisioningStateOutput = string;\n/** The response of a ExtendedZone list operation. */\nexport type ExtendedZoneListResultOutput = Paged<ExtendedZoneOutput>;\n"]}
|