@azure/arm-servicenetworking 2.0.1-alpha.20250514.1 → 2.1.0-beta.1
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 +20 -9
- package/LICENSE +1 -1
- package/README.md +4 -3
- package/dist/browser/api/associationsInterface/index.d.ts +2 -25
- package/dist/browser/api/associationsInterface/index.d.ts.map +1 -1
- package/dist/browser/api/associationsInterface/index.js +1 -119
- package/dist/browser/api/associationsInterface/index.js.map +1 -1
- package/dist/browser/api/associationsInterface/operations.d.ts +32 -0
- package/dist/browser/api/associationsInterface/operations.d.ts.map +1 -0
- package/dist/browser/api/associationsInterface/operations.js +162 -0
- package/dist/browser/api/associationsInterface/operations.js.map +1 -0
- package/dist/browser/api/associationsInterface/options.d.ts +21 -0
- package/dist/browser/api/associationsInterface/options.d.ts.map +1 -0
- package/dist/browser/api/associationsInterface/options.js.map +1 -0
- package/dist/browser/api/frontendsInterface/index.d.ts +2 -25
- package/dist/browser/api/frontendsInterface/index.d.ts.map +1 -1
- package/dist/browser/api/frontendsInterface/index.js +1 -119
- package/dist/browser/api/frontendsInterface/index.js.map +1 -1
- package/dist/browser/api/frontendsInterface/operations.d.ts +32 -0
- package/dist/browser/api/frontendsInterface/operations.d.ts.map +1 -0
- package/dist/browser/api/frontendsInterface/operations.js +162 -0
- package/dist/browser/api/frontendsInterface/operations.js.map +1 -0
- package/dist/browser/api/frontendsInterface/options.d.ts +21 -0
- package/dist/browser/api/frontendsInterface/options.d.ts.map +1 -0
- package/dist/browser/api/frontendsInterface/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +0 -6
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +0 -5
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +2 -8
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +1 -20
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/securityPoliciesInterface/index.d.ts +2 -25
- package/dist/browser/api/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/browser/api/securityPoliciesInterface/index.js +1 -127
- package/dist/browser/api/securityPoliciesInterface/index.js.map +1 -1
- package/dist/browser/api/securityPoliciesInterface/operations.d.ts +32 -0
- package/dist/browser/api/securityPoliciesInterface/operations.d.ts.map +1 -0
- package/dist/browser/api/securityPoliciesInterface/operations.js +170 -0
- package/dist/browser/api/securityPoliciesInterface/operations.js.map +1 -0
- package/dist/browser/api/securityPoliciesInterface/options.d.ts +21 -0
- package/dist/browser/api/securityPoliciesInterface/options.d.ts.map +1 -0
- package/dist/browser/api/securityPoliciesInterface/options.js +4 -0
- package/dist/browser/api/securityPoliciesInterface/options.js.map +1 -0
- package/dist/browser/api/serviceNetworkingManagementContext.js +2 -2
- package/dist/browser/api/serviceNetworkingManagementContext.js.map +1 -1
- package/dist/browser/api/trafficControllerInterface/index.d.ts +2 -29
- package/dist/browser/api/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/browser/api/trafficControllerInterface/index.js +1 -150
- package/dist/browser/api/trafficControllerInterface/index.js.map +1 -1
- package/dist/browser/api/trafficControllerInterface/operations.d.ts +36 -0
- package/dist/browser/api/trafficControllerInterface/operations.d.ts.map +1 -0
- package/dist/browser/api/trafficControllerInterface/operations.js +192 -0
- package/dist/browser/api/trafficControllerInterface/operations.js.map +1 -0
- package/dist/browser/api/trafficControllerInterface/options.d.ts +24 -0
- package/dist/browser/api/trafficControllerInterface/options.d.ts.map +1 -0
- package/dist/browser/api/trafficControllerInterface/options.js +4 -0
- package/dist/browser/api/trafficControllerInterface/options.js.map +1 -0
- package/dist/browser/classic/associationsInterface/index.d.ts +6 -1
- package/dist/browser/classic/associationsInterface/index.d.ts.map +1 -1
- package/dist/browser/classic/associationsInterface/index.js +6 -6
- package/dist/browser/classic/associationsInterface/index.js.map +1 -1
- package/dist/browser/classic/frontendsInterface/index.d.ts +6 -1
- package/dist/browser/classic/frontendsInterface/index.d.ts.map +1 -1
- package/dist/browser/classic/frontendsInterface/index.js +6 -6
- package/dist/browser/classic/frontendsInterface/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +1 -1
- package/dist/browser/classic/operations/index.d.ts.map +1 -1
- package/dist/browser/classic/operations/index.js +2 -2
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/securityPoliciesInterface/index.d.ts +6 -1
- package/dist/browser/classic/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/browser/classic/securityPoliciesInterface/index.js +6 -6
- package/dist/browser/classic/securityPoliciesInterface/index.js.map +1 -1
- package/dist/browser/classic/trafficControllerInterface/index.d.ts +6 -1
- package/dist/browser/classic/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/browser/classic/trafficControllerInterface/index.js +7 -7
- package/dist/browser/classic/trafficControllerInterface/index.js.map +1 -1
- package/dist/browser/index.d.ts +7 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +309 -241
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +313 -217
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +12 -12
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/serviceNetworkingManagementClient.d.ts +1 -1
- package/dist/browser/serviceNetworkingManagementClient.d.ts.map +1 -1
- package/dist/browser/serviceNetworkingManagementClient.js +1 -1
- package/dist/browser/serviceNetworkingManagementClient.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/associationsInterface/index.d.ts +2 -25
- package/dist/commonjs/api/associationsInterface/index.d.ts.map +1 -1
- package/dist/commonjs/api/associationsInterface/index.js +7 -134
- package/dist/commonjs/api/associationsInterface/index.js.map +1 -1
- package/dist/commonjs/api/associationsInterface/operations.d.ts +32 -0
- package/dist/commonjs/api/associationsInterface/operations.d.ts.map +1 -0
- package/dist/commonjs/api/associationsInterface/operations.js +179 -0
- package/dist/commonjs/api/associationsInterface/operations.js.map +1 -0
- package/dist/commonjs/api/associationsInterface/options.d.ts +21 -0
- package/dist/commonjs/api/associationsInterface/options.d.ts.map +1 -0
- package/dist/commonjs/api/associationsInterface/options.js.map +1 -0
- package/dist/commonjs/api/frontendsInterface/index.d.ts +2 -25
- package/dist/commonjs/api/frontendsInterface/index.d.ts.map +1 -1
- package/dist/commonjs/api/frontendsInterface/index.js +7 -134
- package/dist/commonjs/api/frontendsInterface/index.js.map +1 -1
- package/dist/commonjs/api/frontendsInterface/operations.d.ts +32 -0
- package/dist/commonjs/api/frontendsInterface/operations.d.ts.map +1 -0
- package/dist/commonjs/api/frontendsInterface/operations.js +179 -0
- package/dist/commonjs/api/frontendsInterface/operations.js.map +1 -0
- package/dist/commonjs/api/frontendsInterface/options.d.ts +21 -0
- package/dist/commonjs/api/frontendsInterface/options.d.ts.map +1 -0
- package/dist/commonjs/api/frontendsInterface/options.js +5 -0
- package/dist/commonjs/api/frontendsInterface/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +0 -6
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -28
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +2 -8
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +3 -23
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/securityPoliciesInterface/index.d.ts +2 -25
- package/dist/commonjs/api/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/commonjs/api/securityPoliciesInterface/index.js +7 -142
- package/dist/commonjs/api/securityPoliciesInterface/index.js.map +1 -1
- package/dist/commonjs/api/securityPoliciesInterface/operations.d.ts +32 -0
- package/dist/commonjs/api/securityPoliciesInterface/operations.d.ts.map +1 -0
- package/dist/commonjs/api/securityPoliciesInterface/operations.js +187 -0
- package/dist/commonjs/api/securityPoliciesInterface/operations.js.map +1 -0
- package/dist/commonjs/api/securityPoliciesInterface/options.d.ts +21 -0
- package/dist/commonjs/api/securityPoliciesInterface/options.d.ts.map +1 -0
- package/dist/commonjs/api/securityPoliciesInterface/options.js +5 -0
- package/dist/commonjs/api/securityPoliciesInterface/options.js.map +1 -0
- package/dist/commonjs/api/serviceNetworkingManagementContext.js +2 -2
- package/dist/commonjs/api/serviceNetworkingManagementContext.js.map +1 -1
- package/dist/commonjs/api/trafficControllerInterface/index.d.ts +2 -29
- package/dist/commonjs/api/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/commonjs/api/trafficControllerInterface/index.js +8 -168
- package/dist/commonjs/api/trafficControllerInterface/index.js.map +1 -1
- package/dist/commonjs/api/trafficControllerInterface/operations.d.ts +36 -0
- package/dist/commonjs/api/trafficControllerInterface/operations.d.ts.map +1 -0
- package/dist/commonjs/api/trafficControllerInterface/operations.js +212 -0
- package/dist/commonjs/api/trafficControllerInterface/operations.js.map +1 -0
- package/dist/commonjs/api/trafficControllerInterface/options.d.ts +24 -0
- package/dist/commonjs/api/trafficControllerInterface/options.d.ts.map +1 -0
- package/dist/commonjs/api/trafficControllerInterface/options.js +5 -0
- package/dist/commonjs/api/trafficControllerInterface/options.js.map +1 -0
- package/dist/commonjs/classic/associationsInterface/index.d.ts +6 -1
- package/dist/commonjs/classic/associationsInterface/index.d.ts.map +1 -1
- package/dist/commonjs/classic/associationsInterface/index.js +6 -6
- package/dist/commonjs/classic/associationsInterface/index.js.map +1 -1
- package/dist/commonjs/classic/frontendsInterface/index.d.ts +6 -1
- package/dist/commonjs/classic/frontendsInterface/index.d.ts.map +1 -1
- package/dist/commonjs/classic/frontendsInterface/index.js +6 -6
- package/dist/commonjs/classic/frontendsInterface/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +1 -1
- 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/classic/securityPoliciesInterface/index.d.ts +6 -1
- package/dist/commonjs/classic/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/commonjs/classic/securityPoliciesInterface/index.js +6 -6
- package/dist/commonjs/classic/securityPoliciesInterface/index.js.map +1 -1
- package/dist/commonjs/classic/trafficControllerInterface/index.d.ts +6 -1
- package/dist/commonjs/classic/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/commonjs/classic/trafficControllerInterface/index.js +7 -7
- package/dist/commonjs/classic/trafficControllerInterface/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +7 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -4
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +5 -4
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +309 -241
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +384 -279
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +12 -12
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/serviceNetworkingManagementClient.d.ts +1 -1
- package/dist/commonjs/serviceNetworkingManagementClient.d.ts.map +1 -1
- package/dist/commonjs/serviceNetworkingManagementClient.js +12 -12
- package/dist/commonjs/serviceNetworkingManagementClient.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/esm/api/associationsInterface/index.d.ts +2 -25
- package/dist/esm/api/associationsInterface/index.d.ts.map +1 -1
- package/dist/esm/api/associationsInterface/index.js +1 -119
- package/dist/esm/api/associationsInterface/index.js.map +1 -1
- package/dist/esm/api/associationsInterface/operations.d.ts +32 -0
- package/dist/esm/api/associationsInterface/operations.d.ts.map +1 -0
- package/dist/esm/api/associationsInterface/operations.js +162 -0
- package/dist/esm/api/associationsInterface/operations.js.map +1 -0
- package/dist/esm/api/associationsInterface/options.d.ts +21 -0
- package/dist/esm/api/associationsInterface/options.d.ts.map +1 -0
- package/dist/esm/api/associationsInterface/options.js +4 -0
- package/dist/esm/api/associationsInterface/options.js.map +1 -0
- package/dist/esm/api/frontendsInterface/index.d.ts +2 -25
- package/dist/esm/api/frontendsInterface/index.d.ts.map +1 -1
- package/dist/esm/api/frontendsInterface/index.js +1 -119
- package/dist/esm/api/frontendsInterface/index.js.map +1 -1
- package/dist/esm/api/frontendsInterface/operations.d.ts +32 -0
- package/dist/esm/api/frontendsInterface/operations.d.ts.map +1 -0
- package/dist/esm/api/frontendsInterface/operations.js +162 -0
- package/dist/esm/api/frontendsInterface/operations.js.map +1 -0
- package/dist/esm/api/frontendsInterface/options.d.ts +21 -0
- package/dist/esm/api/frontendsInterface/options.d.ts.map +1 -0
- package/dist/esm/api/frontendsInterface/options.js +4 -0
- package/dist/esm/api/frontendsInterface/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +0 -6
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +0 -5
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +2 -8
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +1 -20
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/securityPoliciesInterface/index.d.ts +2 -25
- package/dist/esm/api/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/esm/api/securityPoliciesInterface/index.js +1 -127
- package/dist/esm/api/securityPoliciesInterface/index.js.map +1 -1
- package/dist/esm/api/securityPoliciesInterface/operations.d.ts +32 -0
- package/dist/esm/api/securityPoliciesInterface/operations.d.ts.map +1 -0
- package/dist/esm/api/securityPoliciesInterface/operations.js +170 -0
- package/dist/esm/api/securityPoliciesInterface/operations.js.map +1 -0
- package/dist/esm/api/securityPoliciesInterface/options.d.ts +21 -0
- package/dist/esm/api/securityPoliciesInterface/options.d.ts.map +1 -0
- package/dist/esm/api/securityPoliciesInterface/options.js +4 -0
- package/dist/esm/api/securityPoliciesInterface/options.js.map +1 -0
- package/dist/esm/api/serviceNetworkingManagementContext.js +2 -2
- package/dist/esm/api/serviceNetworkingManagementContext.js.map +1 -1
- package/dist/esm/api/trafficControllerInterface/index.d.ts +2 -29
- package/dist/esm/api/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/esm/api/trafficControllerInterface/index.js +1 -150
- package/dist/esm/api/trafficControllerInterface/index.js.map +1 -1
- package/dist/esm/api/trafficControllerInterface/operations.d.ts +36 -0
- package/dist/esm/api/trafficControllerInterface/operations.d.ts.map +1 -0
- package/dist/esm/api/trafficControllerInterface/operations.js +192 -0
- package/dist/esm/api/trafficControllerInterface/operations.js.map +1 -0
- package/dist/esm/api/trafficControllerInterface/options.d.ts +24 -0
- package/dist/esm/api/trafficControllerInterface/options.d.ts.map +1 -0
- package/dist/esm/api/trafficControllerInterface/options.js +4 -0
- package/dist/esm/api/trafficControllerInterface/options.js.map +1 -0
- package/dist/esm/classic/associationsInterface/index.d.ts +6 -1
- package/dist/esm/classic/associationsInterface/index.d.ts.map +1 -1
- package/dist/esm/classic/associationsInterface/index.js +6 -6
- package/dist/esm/classic/associationsInterface/index.js.map +1 -1
- package/dist/esm/classic/frontendsInterface/index.d.ts +6 -1
- package/dist/esm/classic/frontendsInterface/index.d.ts.map +1 -1
- package/dist/esm/classic/frontendsInterface/index.js +6 -6
- package/dist/esm/classic/frontendsInterface/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +1 -1
- package/dist/esm/classic/operations/index.d.ts.map +1 -1
- package/dist/esm/classic/operations/index.js +2 -2
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/securityPoliciesInterface/index.d.ts +6 -1
- package/dist/esm/classic/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/esm/classic/securityPoliciesInterface/index.js +6 -6
- package/dist/esm/classic/securityPoliciesInterface/index.js.map +1 -1
- package/dist/esm/classic/trafficControllerInterface/index.d.ts +6 -1
- package/dist/esm/classic/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/esm/classic/trafficControllerInterface/index.js +7 -7
- package/dist/esm/classic/trafficControllerInterface/index.js.map +1 -1
- package/dist/esm/index.d.ts +7 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +309 -241
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +313 -217
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +12 -12
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/serviceNetworkingManagementClient.d.ts +1 -1
- package/dist/esm/serviceNetworkingManagementClient.d.ts.map +1 -1
- package/dist/esm/serviceNetworkingManagementClient.js +1 -1
- package/dist/esm/serviceNetworkingManagementClient.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/associationsInterface/index.d.ts +2 -25
- package/dist/react-native/api/associationsInterface/index.d.ts.map +1 -1
- package/dist/react-native/api/associationsInterface/index.js +1 -119
- package/dist/react-native/api/associationsInterface/index.js.map +1 -1
- package/dist/react-native/api/associationsInterface/operations.d.ts +32 -0
- package/dist/react-native/api/associationsInterface/operations.d.ts.map +1 -0
- package/dist/react-native/api/associationsInterface/operations.js +162 -0
- package/dist/react-native/api/associationsInterface/operations.js.map +1 -0
- package/dist/react-native/api/associationsInterface/options.d.ts +21 -0
- package/dist/react-native/api/associationsInterface/options.d.ts.map +1 -0
- package/dist/react-native/api/associationsInterface/options.js +4 -0
- package/dist/react-native/api/associationsInterface/options.js.map +1 -0
- package/dist/react-native/api/frontendsInterface/index.d.ts +2 -25
- package/dist/react-native/api/frontendsInterface/index.d.ts.map +1 -1
- package/dist/react-native/api/frontendsInterface/index.js +1 -119
- package/dist/react-native/api/frontendsInterface/index.js.map +1 -1
- package/dist/react-native/api/frontendsInterface/operations.d.ts +32 -0
- package/dist/react-native/api/frontendsInterface/operations.d.ts.map +1 -0
- package/dist/react-native/api/frontendsInterface/operations.js +162 -0
- package/dist/react-native/api/frontendsInterface/operations.js.map +1 -0
- package/dist/react-native/api/frontendsInterface/options.d.ts +21 -0
- package/dist/react-native/api/frontendsInterface/options.d.ts.map +1 -0
- package/dist/react-native/api/frontendsInterface/options.js +4 -0
- package/dist/react-native/api/frontendsInterface/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +0 -6
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +0 -5
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +2 -8
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +1 -20
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/securityPoliciesInterface/index.d.ts +2 -25
- package/dist/react-native/api/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/react-native/api/securityPoliciesInterface/index.js +1 -127
- package/dist/react-native/api/securityPoliciesInterface/index.js.map +1 -1
- package/dist/react-native/api/securityPoliciesInterface/operations.d.ts +32 -0
- package/dist/react-native/api/securityPoliciesInterface/operations.d.ts.map +1 -0
- package/dist/react-native/api/securityPoliciesInterface/operations.js +170 -0
- package/dist/react-native/api/securityPoliciesInterface/operations.js.map +1 -0
- package/dist/react-native/api/securityPoliciesInterface/options.d.ts +21 -0
- package/dist/react-native/api/securityPoliciesInterface/options.d.ts.map +1 -0
- package/dist/react-native/api/securityPoliciesInterface/options.js +4 -0
- package/dist/react-native/api/securityPoliciesInterface/options.js.map +1 -0
- package/dist/react-native/api/serviceNetworkingManagementContext.js +2 -2
- package/dist/react-native/api/serviceNetworkingManagementContext.js.map +1 -1
- package/dist/react-native/api/trafficControllerInterface/index.d.ts +2 -29
- package/dist/react-native/api/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/react-native/api/trafficControllerInterface/index.js +1 -150
- package/dist/react-native/api/trafficControllerInterface/index.js.map +1 -1
- package/dist/react-native/api/trafficControllerInterface/operations.d.ts +36 -0
- package/dist/react-native/api/trafficControllerInterface/operations.d.ts.map +1 -0
- package/dist/react-native/api/trafficControllerInterface/operations.js +192 -0
- package/dist/react-native/api/trafficControllerInterface/operations.js.map +1 -0
- package/dist/react-native/api/trafficControllerInterface/options.d.ts +24 -0
- package/dist/react-native/api/trafficControllerInterface/options.d.ts.map +1 -0
- package/dist/react-native/api/trafficControllerInterface/options.js +4 -0
- package/dist/react-native/api/trafficControllerInterface/options.js.map +1 -0
- package/dist/react-native/classic/associationsInterface/index.d.ts +6 -1
- package/dist/react-native/classic/associationsInterface/index.d.ts.map +1 -1
- package/dist/react-native/classic/associationsInterface/index.js +6 -6
- package/dist/react-native/classic/associationsInterface/index.js.map +1 -1
- package/dist/react-native/classic/frontendsInterface/index.d.ts +6 -1
- package/dist/react-native/classic/frontendsInterface/index.d.ts.map +1 -1
- package/dist/react-native/classic/frontendsInterface/index.js +6 -6
- package/dist/react-native/classic/frontendsInterface/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +1 -1
- package/dist/react-native/classic/operations/index.d.ts.map +1 -1
- package/dist/react-native/classic/operations/index.js +2 -2
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/securityPoliciesInterface/index.d.ts +6 -1
- package/dist/react-native/classic/securityPoliciesInterface/index.d.ts.map +1 -1
- package/dist/react-native/classic/securityPoliciesInterface/index.js +6 -6
- package/dist/react-native/classic/securityPoliciesInterface/index.js.map +1 -1
- package/dist/react-native/classic/trafficControllerInterface/index.d.ts +6 -1
- package/dist/react-native/classic/trafficControllerInterface/index.d.ts.map +1 -1
- package/dist/react-native/classic/trafficControllerInterface/index.js +7 -7
- package/dist/react-native/classic/trafficControllerInterface/index.js.map +1 -1
- package/dist/react-native/index.d.ts +7 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +309 -241
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +313 -217
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +12 -12
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/serviceNetworkingManagementClient.d.ts +1 -1
- package/dist/react-native/serviceNetworkingManagementClient.d.ts.map +1 -1
- package/dist/react-native/serviceNetworkingManagementClient.js +1 -1
- package/dist/react-native/serviceNetworkingManagementClient.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +125 -11
- package/review/arm-servicenetworking-api-associationsInterface.api.md +51 -0
- package/review/arm-servicenetworking-api-frontendsInterface.api.md +51 -0
- package/review/arm-servicenetworking-api-operations.api.md +19 -0
- package/review/arm-servicenetworking-api-securityPoliciesInterface.api.md +51 -0
- package/review/arm-servicenetworking-api-trafficControllerInterface.api.md +58 -0
- package/review/arm-servicenetworking-api.api.md +27 -0
- package/review/arm-servicenetworking-models.api.md +41 -1
- package/review/arm-servicenetworking.api.md +41 -1
- package/dist/browser/api/options.d.ts +0 -84
- package/dist/browser/api/options.d.ts.map +0 -1
- package/dist/browser/api/options.js.map +0 -1
- package/dist/commonjs/api/options.d.ts +0 -84
- package/dist/commonjs/api/options.d.ts.map +0 -1
- package/dist/commonjs/api/options.js.map +0 -1
- package/dist/esm/api/options.d.ts +0 -84
- package/dist/esm/api/options.d.ts.map +0 -1
- package/dist/esm/api/options.js.map +0 -1
- package/dist/react-native/api/options.d.ts +0 -84
- package/dist/react-native/api/options.d.ts.map +0 -1
- package/dist/react-native/api/options.js.map +0 -1
- /package/dist/browser/api/{options.js → associationsInterface/options.js} +0 -0
- /package/dist/{esm/api → browser/api/frontendsInterface}/options.js +0 -0
- /package/dist/{react-native/api → browser/api/operations}/options.js +0 -0
- /package/dist/commonjs/api/{options.js → associationsInterface/options.js} +0 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports._listByTrafficControllerSend = _listByTrafficControllerSend;
|
|
6
|
+
exports._listByTrafficControllerDeserialize = _listByTrafficControllerDeserialize;
|
|
7
|
+
exports.listByTrafficController = listByTrafficController;
|
|
8
|
+
exports._$deleteSend = _$deleteSend;
|
|
9
|
+
exports._$deleteDeserialize = _$deleteDeserialize;
|
|
10
|
+
exports.$delete = $delete;
|
|
11
|
+
exports._updateSend = _updateSend;
|
|
12
|
+
exports._updateDeserialize = _updateDeserialize;
|
|
13
|
+
exports.update = update;
|
|
14
|
+
exports._createOrUpdateSend = _createOrUpdateSend;
|
|
15
|
+
exports._createOrUpdateDeserialize = _createOrUpdateDeserialize;
|
|
16
|
+
exports.createOrUpdate = createOrUpdate;
|
|
17
|
+
exports._getSend = _getSend;
|
|
18
|
+
exports._getDeserialize = _getDeserialize;
|
|
19
|
+
exports.get = get;
|
|
20
|
+
const models_js_1 = require("../../models/models.js");
|
|
21
|
+
const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
|
|
22
|
+
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
23
|
+
const urlTemplate_js_1 = require("../../static-helpers/urlTemplate.js");
|
|
24
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
25
|
+
function _listByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options = {
|
|
26
|
+
requestOptions: {},
|
|
27
|
+
}) {
|
|
28
|
+
var _a, _b;
|
|
29
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends{?api%2Dversion}", {
|
|
30
|
+
subscriptionId: context.subscriptionId,
|
|
31
|
+
resourceGroupName: resourceGroupName,
|
|
32
|
+
trafficControllerName: trafficControllerName,
|
|
33
|
+
"api%2Dversion": context.apiVersion,
|
|
34
|
+
}, {
|
|
35
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
36
|
+
});
|
|
37
|
+
return context.path(path).get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
38
|
+
}
|
|
39
|
+
async function _listByTrafficControllerDeserialize(result) {
|
|
40
|
+
const expectedStatuses = ["200"];
|
|
41
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
42
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
43
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
44
|
+
throw error;
|
|
45
|
+
}
|
|
46
|
+
return (0, models_js_1._frontendListResultDeserializer)(result.body);
|
|
47
|
+
}
|
|
48
|
+
/** List Frontend resources by TrafficController */
|
|
49
|
+
function listByTrafficController(context, resourceGroupName, trafficControllerName, options = {
|
|
50
|
+
requestOptions: {},
|
|
51
|
+
}) {
|
|
52
|
+
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options), _listByTrafficControllerDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
53
|
+
}
|
|
54
|
+
function _$deleteSend(context, resourceGroupName, trafficControllerName, frontendName, options = { requestOptions: {} }) {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}", {
|
|
57
|
+
subscriptionId: context.subscriptionId,
|
|
58
|
+
resourceGroupName: resourceGroupName,
|
|
59
|
+
trafficControllerName: trafficControllerName,
|
|
60
|
+
frontendName: frontendName,
|
|
61
|
+
"api%2Dversion": context.apiVersion,
|
|
62
|
+
}, {
|
|
63
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
64
|
+
});
|
|
65
|
+
return context.path(path).delete(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
66
|
+
}
|
|
67
|
+
async function _$deleteDeserialize(result) {
|
|
68
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
69
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
70
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
71
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
72
|
+
throw error;
|
|
73
|
+
}
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
/** Delete a Frontend */
|
|
77
|
+
/**
|
|
78
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
79
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
80
|
+
* to the operation to override the generated name.
|
|
81
|
+
*/
|
|
82
|
+
function $delete(context, resourceGroupName, trafficControllerName, frontendName, options = { requestOptions: {} }) {
|
|
83
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
84
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
85
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
86
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, trafficControllerName, frontendName, options),
|
|
87
|
+
resourceLocationConfig: "location",
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function _updateSend(context, resourceGroupName, trafficControllerName, frontendName, properties, options = { requestOptions: {} }) {
|
|
91
|
+
var _a, _b;
|
|
92
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}", {
|
|
93
|
+
subscriptionId: context.subscriptionId,
|
|
94
|
+
resourceGroupName: resourceGroupName,
|
|
95
|
+
trafficControllerName: trafficControllerName,
|
|
96
|
+
frontendName: frontendName,
|
|
97
|
+
"api%2Dversion": context.apiVersion,
|
|
98
|
+
}, {
|
|
99
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
100
|
+
});
|
|
101
|
+
return context.path(path).patch(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: (0, models_js_1.frontendUpdateSerializer)(properties) }));
|
|
102
|
+
}
|
|
103
|
+
async function _updateDeserialize(result) {
|
|
104
|
+
const expectedStatuses = ["200"];
|
|
105
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
106
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
107
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
108
|
+
throw error;
|
|
109
|
+
}
|
|
110
|
+
return (0, models_js_1.frontendDeserializer)(result.body);
|
|
111
|
+
}
|
|
112
|
+
/** Update a Frontend */
|
|
113
|
+
async function update(context, resourceGroupName, trafficControllerName, frontendName, properties, options = { requestOptions: {} }) {
|
|
114
|
+
const result = await _updateSend(context, resourceGroupName, trafficControllerName, frontendName, properties, options);
|
|
115
|
+
return _updateDeserialize(result);
|
|
116
|
+
}
|
|
117
|
+
function _createOrUpdateSend(context, resourceGroupName, trafficControllerName, frontendName, resource, options = {
|
|
118
|
+
requestOptions: {},
|
|
119
|
+
}) {
|
|
120
|
+
var _a, _b;
|
|
121
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}", {
|
|
122
|
+
subscriptionId: context.subscriptionId,
|
|
123
|
+
resourceGroupName: resourceGroupName,
|
|
124
|
+
trafficControllerName: trafficControllerName,
|
|
125
|
+
frontendName: frontendName,
|
|
126
|
+
"api%2Dversion": context.apiVersion,
|
|
127
|
+
}, {
|
|
128
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
129
|
+
});
|
|
130
|
+
return context.path(path).put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: (0, models_js_1.frontendSerializer)(resource) }));
|
|
131
|
+
}
|
|
132
|
+
async function _createOrUpdateDeserialize(result) {
|
|
133
|
+
const expectedStatuses = ["200", "201"];
|
|
134
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
135
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
136
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
137
|
+
throw error;
|
|
138
|
+
}
|
|
139
|
+
return (0, models_js_1.frontendDeserializer)(result.body);
|
|
140
|
+
}
|
|
141
|
+
/** Create a Frontend */
|
|
142
|
+
function createOrUpdate(context, resourceGroupName, trafficControllerName, frontendName, resource, options = {
|
|
143
|
+
requestOptions: {},
|
|
144
|
+
}) {
|
|
145
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201"], {
|
|
146
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
147
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
148
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, trafficControllerName, frontendName, resource, options),
|
|
149
|
+
resourceLocationConfig: "azure-async-operation",
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
function _getSend(context, resourceGroupName, trafficControllerName, frontendName, options = { requestOptions: {} }) {
|
|
153
|
+
var _a, _b;
|
|
154
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}", {
|
|
155
|
+
subscriptionId: context.subscriptionId,
|
|
156
|
+
resourceGroupName: resourceGroupName,
|
|
157
|
+
trafficControllerName: trafficControllerName,
|
|
158
|
+
frontendName: frontendName,
|
|
159
|
+
"api%2Dversion": context.apiVersion,
|
|
160
|
+
}, {
|
|
161
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
162
|
+
});
|
|
163
|
+
return context.path(path).get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
164
|
+
}
|
|
165
|
+
async function _getDeserialize(result) {
|
|
166
|
+
const expectedStatuses = ["200"];
|
|
167
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
168
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
169
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
170
|
+
throw error;
|
|
171
|
+
}
|
|
172
|
+
return (0, models_js_1.frontendDeserializer)(result.body);
|
|
173
|
+
}
|
|
174
|
+
/** Get a Frontend */
|
|
175
|
+
async function get(context, resourceGroupName, trafficControllerName, frontendName, options = { requestOptions: {} }) {
|
|
176
|
+
const result = await _getSend(context, resourceGroupName, trafficControllerName, frontendName, options);
|
|
177
|
+
return _getDeserialize(result);
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/frontendsInterface/operations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkClC,oEA2BC;AAED,kFAWC;AAGD,0DAeC;AAED,oCA2BC;AAED,kDASC;AAQD,0BAcC;AAED,kCA8BC;AAED,gDASC;AAGD,wBAiBC;AAED,kDAgCC;AAED,gEASC;AAGD,wCAwBC;AAED,4BA2BC;AAED,0CASC;AAGD,kBAeC;AAxVD,sDASgC;AAQhC,8EAA8E;AAC9E,4EAG+C;AAC/C,wEAAwE;AACxE,yDAKiC;AAGjC,SAAgB,4BAA4B,CAC1C,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,UAAmE;IACjE,cAAc,EAAE,E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,EACP,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ServiceNetworkingManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n Frontend,\n frontendSerializer,\n frontendDeserializer,\n FrontendUpdate,\n frontendUpdateSerializer,\n _FrontendListResult,\n _frontendListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n FrontendsInterfaceListByTrafficControllerOptionalParams,\n FrontendsInterfaceDeleteOptionalParams,\n FrontendsInterfaceUpdateOptionalParams,\n FrontendsInterfaceCreateOrUpdateOptionalParams,\n FrontendsInterfaceGetOptionalParams,\n} from \"./options.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listByTrafficControllerSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n options: FrontendsInterfaceListByTrafficControllerOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n trafficControllerName: trafficControllerName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByTrafficControllerDeserialize(\n result: PathUncheckedResponse,\n): Promise<_FrontendListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _frontendListResultDeserializer(result.body);\n}\n\n/** List Frontend resources by TrafficController */\nexport function listByTrafficController(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n options: FrontendsInterfaceListByTrafficControllerOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<Frontend> {\n return buildPagedAsyncIterator(\n context,\n () => _listByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options),\n _listByTrafficControllerDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n options: FrontendsInterfaceDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n trafficControllerName: trafficControllerName,\n frontendName: frontendName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a Frontend */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n options: FrontendsInterfaceDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, trafficControllerName, frontendName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n properties: FrontendUpdate,\n options: FrontendsInterfaceUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n trafficControllerName: trafficControllerName,\n frontendName: frontendName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: frontendUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<Frontend> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return frontendDeserializer(result.body);\n}\n\n/** Update a Frontend */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n properties: FrontendUpdate,\n options: FrontendsInterfaceUpdateOptionalParams = { requestOptions: {} },\n): Promise<Frontend> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n trafficControllerName,\n frontendName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n resource: Frontend,\n options: FrontendsInterfaceCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n trafficControllerName: trafficControllerName,\n frontendName: frontendName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: frontendSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Frontend> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return frontendDeserializer(result.body);\n}\n\n/** Create a Frontend */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n resource: Frontend,\n options: FrontendsInterfaceCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<Frontend>, Frontend> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n trafficControllerName,\n frontendName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<Frontend>, Frontend>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n options: FrontendsInterfaceGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n trafficControllerName: trafficControllerName,\n frontendName: frontendName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Frontend> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return frontendDeserializer(result.body);\n}\n\n/** Get a Frontend */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n frontendName: string,\n options: FrontendsInterfaceGetOptionalParams = { requestOptions: {} },\n): Promise<Frontend> {\n const result = await _getSend(\n context,\n resourceGroupName,\n trafficControllerName,\n frontendName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface FrontendsInterfaceListByTrafficControllerOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface FrontendsInterfaceDeleteOptionalParams extends OperationOptions {
|
|
7
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
8
|
+
updateIntervalInMs?: number;
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters. */
|
|
11
|
+
export interface FrontendsInterfaceUpdateOptionalParams extends OperationOptions {
|
|
12
|
+
}
|
|
13
|
+
/** Optional parameters. */
|
|
14
|
+
export interface FrontendsInterfaceCreateOrUpdateOptionalParams extends OperationOptions {
|
|
15
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
16
|
+
updateIntervalInMs?: number;
|
|
17
|
+
}
|
|
18
|
+
/** Optional parameters. */
|
|
19
|
+
export interface FrontendsInterfaceGetOptionalParams extends OperationOptions {
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/frontendsInterface/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,uDAAwD,SAAQ,gBAAgB;CAAG;AAEpG,2BAA2B;AAC3B,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;IAC9E,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;CAAG;AAEnF,2BAA2B;AAC3B,MAAM,WAAW,8CAA+C,SAAQ,gBAAgB;IACtF,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,mCAAoC,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/frontendsInterface/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface FrontendsInterfaceListByTrafficControllerOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface FrontendsInterfaceDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface FrontendsInterfaceUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface FrontendsInterfaceCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface FrontendsInterfaceGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export { OperationsListOptionalParams, TrafficControllerInterfaceListBySubscriptionOptionalParams, TrafficControllerInterfaceListByResourceGroupOptionalParams, TrafficControllerInterfaceDeleteOptionalParams, TrafficControllerInterfaceUpdateOptionalParams, TrafficControllerInterfaceCreateOrUpdateOptionalParams, TrafficControllerInterfaceGetOptionalParams, SecurityPoliciesInterfaceListByTrafficControllerOptionalParams, SecurityPoliciesInterfaceDeleteOptionalParams, SecurityPoliciesInterfaceUpdateOptionalParams, SecurityPoliciesInterfaceCreateOrUpdateOptionalParams, SecurityPoliciesInterfaceGetOptionalParams, FrontendsInterfaceListByTrafficControllerOptionalParams, FrontendsInterfaceDeleteOptionalParams, FrontendsInterfaceUpdateOptionalParams, FrontendsInterfaceCreateOrUpdateOptionalParams, FrontendsInterfaceGetOptionalParams, AssociationsInterfaceListByTrafficControllerOptionalParams, AssociationsInterfaceDeleteOptionalParams, AssociationsInterfaceUpdateOptionalParams, AssociationsInterfaceCreateOrUpdateOptionalParams, AssociationsInterfaceGetOptionalParams, } from "./options.js";
|
|
2
1
|
export { createServiceNetworkingManagement, ServiceNetworkingManagementContext, ServiceNetworkingManagementClientOptionalParams, } from "./serviceNetworkingManagementContext.js";
|
|
3
|
-
export { associationsInterfaceListByTrafficController, associationsInterfaceDelete, associationsInterfaceUpdate, associationsInterfaceCreateOrUpdate, associationsInterfaceGet, } from "./associationsInterface/index.js";
|
|
4
|
-
export { frontendsInterfaceListByTrafficController, frontendsInterfaceDelete, frontendsInterfaceUpdate, frontendsInterfaceCreateOrUpdate, frontendsInterfaceGet, } from "./frontendsInterface/index.js";
|
|
5
|
-
export { operationsList } from "./operations/index.js";
|
|
6
|
-
export { securityPoliciesInterfaceListByTrafficController, securityPoliciesInterfaceDelete, securityPoliciesInterfaceUpdate, securityPoliciesInterfaceCreateOrUpdate, securityPoliciesInterfaceGet, } from "./securityPoliciesInterface/index.js";
|
|
7
|
-
export { trafficControllerInterfaceListBySubscription, trafficControllerInterfaceListByResourceGroup, trafficControllerInterfaceDelete, trafficControllerInterfaceUpdate, trafficControllerInterfaceCreateOrUpdate, trafficControllerInterfaceGet, } from "./trafficControllerInterface/index.js";
|
|
8
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,+CAA+C,GAChD,MAAM,yCAAyC,CAAC"}
|
|
@@ -2,34 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT License.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.createServiceNetworkingManagement = void 0;
|
|
6
6
|
var serviceNetworkingManagementContext_js_1 = require("./serviceNetworkingManagementContext.js");
|
|
7
7
|
Object.defineProperty(exports, "createServiceNetworkingManagement", { enumerable: true, get: function () { return serviceNetworkingManagementContext_js_1.createServiceNetworkingManagement; } });
|
|
8
|
-
var index_js_1 = require("./associationsInterface/index.js");
|
|
9
|
-
Object.defineProperty(exports, "associationsInterfaceListByTrafficController", { enumerable: true, get: function () { return index_js_1.associationsInterfaceListByTrafficController; } });
|
|
10
|
-
Object.defineProperty(exports, "associationsInterfaceDelete", { enumerable: true, get: function () { return index_js_1.associationsInterfaceDelete; } });
|
|
11
|
-
Object.defineProperty(exports, "associationsInterfaceUpdate", { enumerable: true, get: function () { return index_js_1.associationsInterfaceUpdate; } });
|
|
12
|
-
Object.defineProperty(exports, "associationsInterfaceCreateOrUpdate", { enumerable: true, get: function () { return index_js_1.associationsInterfaceCreateOrUpdate; } });
|
|
13
|
-
Object.defineProperty(exports, "associationsInterfaceGet", { enumerable: true, get: function () { return index_js_1.associationsInterfaceGet; } });
|
|
14
|
-
var index_js_2 = require("./frontendsInterface/index.js");
|
|
15
|
-
Object.defineProperty(exports, "frontendsInterfaceListByTrafficController", { enumerable: true, get: function () { return index_js_2.frontendsInterfaceListByTrafficController; } });
|
|
16
|
-
Object.defineProperty(exports, "frontendsInterfaceDelete", { enumerable: true, get: function () { return index_js_2.frontendsInterfaceDelete; } });
|
|
17
|
-
Object.defineProperty(exports, "frontendsInterfaceUpdate", { enumerable: true, get: function () { return index_js_2.frontendsInterfaceUpdate; } });
|
|
18
|
-
Object.defineProperty(exports, "frontendsInterfaceCreateOrUpdate", { enumerable: true, get: function () { return index_js_2.frontendsInterfaceCreateOrUpdate; } });
|
|
19
|
-
Object.defineProperty(exports, "frontendsInterfaceGet", { enumerable: true, get: function () { return index_js_2.frontendsInterfaceGet; } });
|
|
20
|
-
var index_js_3 = require("./operations/index.js");
|
|
21
|
-
Object.defineProperty(exports, "operationsList", { enumerable: true, get: function () { return index_js_3.operationsList; } });
|
|
22
|
-
var index_js_4 = require("./securityPoliciesInterface/index.js");
|
|
23
|
-
Object.defineProperty(exports, "securityPoliciesInterfaceListByTrafficController", { enumerable: true, get: function () { return index_js_4.securityPoliciesInterfaceListByTrafficController; } });
|
|
24
|
-
Object.defineProperty(exports, "securityPoliciesInterfaceDelete", { enumerable: true, get: function () { return index_js_4.securityPoliciesInterfaceDelete; } });
|
|
25
|
-
Object.defineProperty(exports, "securityPoliciesInterfaceUpdate", { enumerable: true, get: function () { return index_js_4.securityPoliciesInterfaceUpdate; } });
|
|
26
|
-
Object.defineProperty(exports, "securityPoliciesInterfaceCreateOrUpdate", { enumerable: true, get: function () { return index_js_4.securityPoliciesInterfaceCreateOrUpdate; } });
|
|
27
|
-
Object.defineProperty(exports, "securityPoliciesInterfaceGet", { enumerable: true, get: function () { return index_js_4.securityPoliciesInterfaceGet; } });
|
|
28
|
-
var index_js_5 = require("./trafficControllerInterface/index.js");
|
|
29
|
-
Object.defineProperty(exports, "trafficControllerInterfaceListBySubscription", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceListBySubscription; } });
|
|
30
|
-
Object.defineProperty(exports, "trafficControllerInterfaceListByResourceGroup", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceListByResourceGroup; } });
|
|
31
|
-
Object.defineProperty(exports, "trafficControllerInterfaceDelete", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceDelete; } });
|
|
32
|
-
Object.defineProperty(exports, "trafficControllerInterfaceUpdate", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceUpdate; } });
|
|
33
|
-
Object.defineProperty(exports, "trafficControllerInterfaceCreateOrUpdate", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceCreateOrUpdate; } });
|
|
34
|
-
Object.defineProperty(exports, "trafficControllerInterfaceGet", { enumerable: true, get: function () { return index_js_5.trafficControllerInterfaceGet; } });
|
|
35
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iGAIiD;AAH/C,0JAAA,iCAAiC,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createServiceNetworkingManagement,\n ServiceNetworkingManagementContext,\n ServiceNetworkingManagementClientOptionalParams,\n} from \"./serviceNetworkingManagementContext.js\";\n"]}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
-
export declare function _operationsListSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
6
|
-
export declare function _operationsListDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
7
|
-
/** List the operations for the provider */
|
|
8
|
-
export declare function operationsList(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1
|
+
export { list } from "./operations.js";
|
|
2
|
+
export { OperationsListOptionalParams } from "./options.js";
|
|
9
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -2,27 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT License.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
|
|
7
|
-
exports.
|
|
8
|
-
const models_js_1 = require("../../models/models.js");
|
|
9
|
-
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
10
|
-
const core_client_1 = require("@azure-rest/core-client");
|
|
11
|
-
function _operationsListSend(context, options = { requestOptions: {} }) {
|
|
12
|
-
var _a;
|
|
13
|
-
return context.path("/providers/Microsoft.ServiceNetworking/operations").get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion } }));
|
|
14
|
-
}
|
|
15
|
-
async function _operationsListDeserialize(result) {
|
|
16
|
-
const expectedStatuses = ["200"];
|
|
17
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
18
|
-
const error = (0, core_client_1.createRestError)(result);
|
|
19
|
-
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
20
|
-
throw error;
|
|
21
|
-
}
|
|
22
|
-
return (0, models_js_1._operationListResultDeserializer)(result.body);
|
|
23
|
-
}
|
|
24
|
-
/** List the operations for the provider */
|
|
25
|
-
function operationsList(context, options = { requestOptions: {} }) {
|
|
26
|
-
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _operationsListSend(context, options), _operationsListDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
27
|
-
}
|
|
5
|
+
exports.list = void 0;
|
|
6
|
+
var operations_js_1 = require("./operations.js");
|
|
7
|
+
Object.defineProperty(exports, "list", { enumerable: true, get: function () { return operations_js_1.list; } });
|
|
28
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAAuC;AAA9B,qGAAA,IAAI,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport { OperationsListOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceNetworkingManagementContext as Client } from "../index.js";
|
|
2
|
+
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
+
import { OperationsListOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
+
/** List the operations for the provider */
|
|
9
|
+
export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kCAAkC,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAEL,oBAAoB,EAEpB,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAiBlB;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAS/B;AAED,2CAA2C;AAC3C,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAQvC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports._listSend = _listSend;
|
|
6
|
+
exports._listDeserialize = _listDeserialize;
|
|
7
|
+
exports.list = list;
|
|
8
|
+
const models_js_1 = require("../../models/models.js");
|
|
9
|
+
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
10
|
+
const urlTemplate_js_1 = require("../../static-helpers/urlTemplate.js");
|
|
11
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
12
|
+
function _listSend(context, options = { requestOptions: {} }) {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
const path = (0, urlTemplate_js_1.expandUrlTemplate)("/providers/Microsoft.ServiceNetworking/operations{?api%2Dversion}", {
|
|
15
|
+
"api%2Dversion": context.apiVersion,
|
|
16
|
+
}, {
|
|
17
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
18
|
+
});
|
|
19
|
+
return context.path(path).get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
20
|
+
}
|
|
21
|
+
async function _listDeserialize(result) {
|
|
22
|
+
const expectedStatuses = ["200"];
|
|
23
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
24
|
+
const error = (0, core_client_1.createRestError)(result);
|
|
25
|
+
error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
28
|
+
return (0, models_js_1._operationListResultDeserializer)(result.body);
|
|
29
|
+
}
|
|
30
|
+
/** List the operations for the provider */
|
|
31
|
+
function list(context, options = { requestOptions: {} }) {
|
|
32
|
+
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsBlC,8BAoBC;AAED,4CAWC;AAGD,oBAWC;AAlED,sDAKgC;AAEhC,4EAG+C;AAC/C,wEAAwE;AACxE,yDAKiC;AAEjC,SAAgB,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,IAAA,kCAAiB,EAC5B,mEAAmE,EACnE;QACE,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,IAAA,iDAAmC,EAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,IAAA,qCAAyB,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAA,4CAAgC,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,SAAgB,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ServiceNetworkingManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n} from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.ServiceNetworking/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
-
export declare function _securityPoliciesInterfaceListByTrafficControllerSend(context: Client, resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _securityPoliciesInterfaceListByTrafficControllerDeserialize(result: PathUncheckedResponse): Promise<_SecurityPolicyListResult>;
|
|
8
|
-
/** List SecurityPolicy resources by TrafficController */
|
|
9
|
-
export declare function securityPoliciesInterfaceListByTrafficController(context: Client, resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<SecurityPolicy>;
|
|
10
|
-
export declare function _securityPoliciesInterfaceDeleteSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): StreamableMethod;
|
|
11
|
-
export declare function _securityPoliciesInterfaceDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
12
|
-
/** Delete a SecurityPolicy */
|
|
13
|
-
export declare function securityPoliciesInterfaceDelete(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
14
|
-
export declare function _securityPoliciesInterfaceUpdateSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): StreamableMethod;
|
|
15
|
-
export declare function _securityPoliciesInterfaceUpdateDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
16
|
-
/** Update a SecurityPolicy */
|
|
17
|
-
export declare function securityPoliciesInterfaceUpdate(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): Promise<SecurityPolicy>;
|
|
18
|
-
export declare function _securityPoliciesInterfaceCreateOrUpdateSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): StreamableMethod;
|
|
19
|
-
export declare function _securityPoliciesInterfaceCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
20
|
-
/** Create a SecurityPolicy */
|
|
21
|
-
export declare function securityPoliciesInterfaceCreateOrUpdate(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>;
|
|
22
|
-
export declare function _securityPoliciesInterfaceGetSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): StreamableMethod;
|
|
23
|
-
export declare function _securityPoliciesInterfaceGetDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
24
|
-
/** Get a SecurityPolicy */
|
|
25
|
-
export declare function securityPoliciesInterfaceGet(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): Promise<SecurityPolicy>;
|
|
1
|
+
export { listByTrafficController, $delete, update, createOrUpdate, get } from "./operations.js";
|
|
2
|
+
export { SecurityPoliciesInterfaceListByTrafficControllerOptionalParams, SecurityPoliciesInterfaceDeleteOptionalParams, SecurityPoliciesInterfaceUpdateOptionalParams, SecurityPoliciesInterfaceCreateOrUpdateOptionalParams, SecurityPoliciesInterfaceGetOptionalParams, } from "./options.js";
|
|
26
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/securityPoliciesInterface/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/securityPoliciesInterface/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EACL,8DAA8D,EAC9D,6CAA6C,EAC7C,6CAA6C,EAC7C,qDAAqD,EACrD,0CAA0C,GAC3C,MAAM,cAAc,CAAC"}
|