@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
|
@@ -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"}
|
package/dist/esm/api/index.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
export { createServiceNetworkingManagement, } from "./serviceNetworkingManagementContext.js";
|
|
4
|
-
export { associationsInterfaceListByTrafficController, associationsInterfaceDelete, associationsInterfaceUpdate, associationsInterfaceCreateOrUpdate, associationsInterfaceGet, } from "./associationsInterface/index.js";
|
|
5
|
-
export { frontendsInterfaceListByTrafficController, frontendsInterfaceDelete, frontendsInterfaceUpdate, frontendsInterfaceCreateOrUpdate, frontendsInterfaceGet, } from "./frontendsInterface/index.js";
|
|
6
|
-
export { operationsList } from "./operations/index.js";
|
|
7
|
-
export { securityPoliciesInterfaceListByTrafficController, securityPoliciesInterfaceDelete, securityPoliciesInterfaceUpdate, securityPoliciesInterfaceCreateOrUpdate, securityPoliciesInterfaceGet, } from "./securityPoliciesInterface/index.js";
|
|
8
|
-
export { trafficControllerInterfaceListBySubscription, trafficControllerInterfaceListByResourceGroup, trafficControllerInterfaceDelete, trafficControllerInterfaceUpdate, trafficControllerInterfaceCreateOrUpdate, trafficControllerInterfaceGet, } from "./trafficControllerInterface/index.js";
|
|
9
4
|
//# 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,OAAO,EACL,iCAAiC,GAGlC,MAAM,yCAAyC,CAAC","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"}
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
6
|
-
export function _operationsListSend(context, options = { requestOptions: {} }) {
|
|
7
|
-
var _a;
|
|
8
|
-
return context.path("/providers/Microsoft.ServiceNetworking/operations").get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion } }));
|
|
9
|
-
}
|
|
10
|
-
export async function _operationsListDeserialize(result) {
|
|
11
|
-
const expectedStatuses = ["200"];
|
|
12
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
13
|
-
const error = createRestError(result);
|
|
14
|
-
error.details = errorResponseDeserializer(result.body);
|
|
15
|
-
throw error;
|
|
16
|
-
}
|
|
17
|
-
return _operationListResultDeserializer(result.body);
|
|
18
|
-
}
|
|
19
|
-
/** List the operations for the provider */
|
|
20
|
-
export function operationsList(context, options = { requestOptions: {} }) {
|
|
21
|
-
return buildPagedAsyncIterator(context, () => _operationsListSend(context, options), _operationsListDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
22
|
-
}
|
|
3
|
+
export { list } from "./operations.js";
|
|
23
4
|
//# 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,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","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,29 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, _operationListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const path = expandUrlTemplate("/providers/Microsoft.ServiceNetworking/operations{?api%2Dversion}", {
|
|
10
|
+
"api%2Dversion": context.apiVersion,
|
|
11
|
+
}, {
|
|
12
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
13
|
+
});
|
|
14
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
15
|
+
}
|
|
16
|
+
export async function _listDeserialize(result) {
|
|
17
|
+
const expectedStatuses = ["200"];
|
|
18
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
19
|
+
const error = createRestError(result);
|
|
20
|
+
error.details = errorResponseDeserializer(result.body);
|
|
21
|
+
throw error;
|
|
22
|
+
}
|
|
23
|
+
return _operationListResultDeserializer(result.body);
|
|
24
|
+
}
|
|
25
|
+
/** List the operations for the provider */
|
|
26
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
27
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
28
|
+
}
|
|
29
|
+
//# 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;AAGlC,OAAO,EACL,yBAAyB,EAEzB,gCAAgC,GAEjC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,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,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,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,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,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"}
|
|
@@ -1,130 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
-
export function _securityPoliciesInterfaceListByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options = {
|
|
8
|
-
requestOptions: {},
|
|
9
|
-
}) {
|
|
10
|
-
var _a;
|
|
11
|
-
return context
|
|
12
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies", context.subscriptionId, resourceGroupName, trafficControllerName)
|
|
13
|
-
.get(Object.assign(Object.assign({}, 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
|
-
export async function _securityPoliciesInterfaceListByTrafficControllerDeserialize(result) {
|
|
16
|
-
const expectedStatuses = ["200"];
|
|
17
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
18
|
-
const error = createRestError(result);
|
|
19
|
-
error.details = errorResponseDeserializer(result.body);
|
|
20
|
-
throw error;
|
|
21
|
-
}
|
|
22
|
-
return _securityPolicyListResultDeserializer(result.body);
|
|
23
|
-
}
|
|
24
|
-
/** List SecurityPolicy resources by TrafficController */
|
|
25
|
-
export function securityPoliciesInterfaceListByTrafficController(context, resourceGroupName, trafficControllerName, options = {
|
|
26
|
-
requestOptions: {},
|
|
27
|
-
}) {
|
|
28
|
-
return buildPagedAsyncIterator(context, () => _securityPoliciesInterfaceListByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options), _securityPoliciesInterfaceListByTrafficControllerDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
29
|
-
}
|
|
30
|
-
export function _securityPoliciesInterfaceDeleteSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options = {
|
|
31
|
-
requestOptions: {},
|
|
32
|
-
}) {
|
|
33
|
-
var _a;
|
|
34
|
-
return context
|
|
35
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", context.subscriptionId, resourceGroupName, trafficControllerName, securityPolicyName)
|
|
36
|
-
.delete(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion } }));
|
|
37
|
-
}
|
|
38
|
-
export async function _securityPoliciesInterfaceDeleteDeserialize(result) {
|
|
39
|
-
const expectedStatuses = ["202", "204", "200"];
|
|
40
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
41
|
-
const error = createRestError(result);
|
|
42
|
-
error.details = errorResponseDeserializer(result.body);
|
|
43
|
-
throw error;
|
|
44
|
-
}
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
/** Delete a SecurityPolicy */
|
|
48
|
-
export function securityPoliciesInterfaceDelete(context, resourceGroupName, trafficControllerName, securityPolicyName, options = {
|
|
49
|
-
requestOptions: {},
|
|
50
|
-
}) {
|
|
51
|
-
return getLongRunningPoller(context, _securityPoliciesInterfaceDeleteDeserialize, ["202", "204", "200"], {
|
|
52
|
-
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
53
|
-
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
54
|
-
getInitialResponse: () => _securityPoliciesInterfaceDeleteSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options),
|
|
55
|
-
resourceLocationConfig: "location",
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
export function _securityPoliciesInterfaceUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options = {
|
|
59
|
-
requestOptions: {},
|
|
60
|
-
}) {
|
|
61
|
-
var _a;
|
|
62
|
-
return context
|
|
63
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", context.subscriptionId, resourceGroupName, trafficControllerName, securityPolicyName)
|
|
64
|
-
.patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion }, body: securityPolicyUpdateSerializer(properties) }));
|
|
65
|
-
}
|
|
66
|
-
export async function _securityPoliciesInterfaceUpdateDeserialize(result) {
|
|
67
|
-
const expectedStatuses = ["200"];
|
|
68
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
69
|
-
const error = createRestError(result);
|
|
70
|
-
error.details = errorResponseDeserializer(result.body);
|
|
71
|
-
throw error;
|
|
72
|
-
}
|
|
73
|
-
return securityPolicyDeserializer(result.body);
|
|
74
|
-
}
|
|
75
|
-
/** Update a SecurityPolicy */
|
|
76
|
-
export async function securityPoliciesInterfaceUpdate(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options = {
|
|
77
|
-
requestOptions: {},
|
|
78
|
-
}) {
|
|
79
|
-
const result = await _securityPoliciesInterfaceUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options);
|
|
80
|
-
return _securityPoliciesInterfaceUpdateDeserialize(result);
|
|
81
|
-
}
|
|
82
|
-
export function _securityPoliciesInterfaceCreateOrUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options = {
|
|
83
|
-
requestOptions: {},
|
|
84
|
-
}) {
|
|
85
|
-
var _a;
|
|
86
|
-
return context
|
|
87
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", context.subscriptionId, resourceGroupName, trafficControllerName, securityPolicyName)
|
|
88
|
-
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion }, body: securityPolicySerializer(resource) }));
|
|
89
|
-
}
|
|
90
|
-
export async function _securityPoliciesInterfaceCreateOrUpdateDeserialize(result) {
|
|
91
|
-
const expectedStatuses = ["200", "201"];
|
|
92
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
93
|
-
const error = createRestError(result);
|
|
94
|
-
error.details = errorResponseDeserializer(result.body);
|
|
95
|
-
throw error;
|
|
96
|
-
}
|
|
97
|
-
return securityPolicyDeserializer(result.body);
|
|
98
|
-
}
|
|
99
|
-
/** Create a SecurityPolicy */
|
|
100
|
-
export function securityPoliciesInterfaceCreateOrUpdate(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options = {
|
|
101
|
-
requestOptions: {},
|
|
102
|
-
}) {
|
|
103
|
-
return getLongRunningPoller(context, _securityPoliciesInterfaceCreateOrUpdateDeserialize, ["200", "201"], {
|
|
104
|
-
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
105
|
-
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
106
|
-
getInitialResponse: () => _securityPoliciesInterfaceCreateOrUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options),
|
|
107
|
-
resourceLocationConfig: "azure-async-operation",
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
export function _securityPoliciesInterfaceGetSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options = { requestOptions: {} }) {
|
|
111
|
-
var _a;
|
|
112
|
-
return context
|
|
113
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", context.subscriptionId, resourceGroupName, trafficControllerName, securityPolicyName)
|
|
114
|
-
.get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_a = options.requestOptions) === null || _a === void 0 ? void 0 : _a.headers), queryParameters: { "api-version": context.apiVersion } }));
|
|
115
|
-
}
|
|
116
|
-
export async function _securityPoliciesInterfaceGetDeserialize(result) {
|
|
117
|
-
const expectedStatuses = ["200"];
|
|
118
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
119
|
-
const error = createRestError(result);
|
|
120
|
-
error.details = errorResponseDeserializer(result.body);
|
|
121
|
-
throw error;
|
|
122
|
-
}
|
|
123
|
-
return securityPolicyDeserializer(result.body);
|
|
124
|
-
}
|
|
125
|
-
/** Get a SecurityPolicy */
|
|
126
|
-
export async function securityPoliciesInterfaceGet(context, resourceGroupName, trafficControllerName, securityPolicyName, options = { requestOptions: {} }) {
|
|
127
|
-
const result = await _securityPoliciesInterfaceGetSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options);
|
|
128
|
-
return _securityPoliciesInterfaceGetDeserialize(result);
|
|
129
|
-
}
|
|
3
|
+
export { listByTrafficController, $delete, update, createOrUpdate, get } from "./operations.js";
|
|
130
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/securityPoliciesInterface/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,yBAAyB,EAEzB,wBAAwB,EACxB,0BAA0B,EAE1B,8BAA8B,EAE9B,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,qDAAqD,CACnE,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,UAA0E;IACxE,cAAc,EAAE,EAAE;CACnB;;IAED,OAAO,OAAO;SACX,IAAI,CACH,sKAAsK,EACtK,OAAO,CAAC,cAAc,EACtB,iBAAiB,EACjB,qBAAqB,CACtB;SACA,GAAG,iCACC,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,GAEpC,eAAe,EAAE,EAAE,aAAa,EAAE,OAAO,CAAC,UAAU,EAAE,IACtD,CAAC;AACP,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,4DAA4D,CAChF,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,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OA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,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,GAEpC,eAAe,EAAE,EAAE,aAAa,EAAE,OAAO,CAAC,UAAU,EAAE,IACtD,CAAC;AACP,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,wCAAwC,CAC5D,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,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,2BAA2B;AAC3B,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,kBAA0B,EAC1B,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,MAAM,MAAM,GAAG,MAAM,iCAAiC,CACpD,OAAO,EACP,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,CACR,CAAC;IACF,OAAO,wCAAwC,CAAC,MAAM,CAAC,CAAC;AAC1D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ServiceNetworkingManagementContext as Client,\n SecurityPoliciesInterfaceCreateOrUpdateOptionalParams,\n SecurityPoliciesInterfaceDeleteOptionalParams,\n SecurityPoliciesInterfaceGetOptionalParams,\n SecurityPoliciesInterfaceListByTrafficControllerOptionalParams,\n SecurityPoliciesInterfaceUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n errorResponseDeserializer,\n SecurityPolicy,\n securityPolicySerializer,\n securityPolicyDeserializer,\n SecurityPolicyUpdate,\n securityPolicyUpdateSerializer,\n _SecurityPolicyListResult,\n _securityPolicyListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.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 _securityPoliciesInterfaceListByTrafficControllerSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n options: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies\",\n context.subscriptionId,\n resourceGroupName,\n trafficControllerName,\n )\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n queryParameters: { \"api-version\": context.apiVersion },\n });\n}\n\nexport async function _securityPoliciesInterfaceListByTrafficControllerDeserialize(\n result: PathUncheckedResponse,\n): Promise<_SecurityPolicyListResult> {\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 _securityPolicyListResultDeserializer(result.body);\n}\n\n/** List SecurityPolicy resources by TrafficController */\nexport function securityPoliciesInterfaceListByTrafficController(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n options: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<SecurityPolicy> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _securityPoliciesInterfaceListByTrafficControllerSend(\n context,\n resourceGroupName,\n trafficControllerName,\n options,\n ),\n _securityPoliciesInterfaceListByTrafficControllerDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _securityPoliciesInterfaceDeleteSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n options: SecurityPoliciesInterfaceDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}\",\n context.subscriptionId,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n )\n .delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n queryParameters: { \"api-version\": context.apiVersion },\n });\n}\n\nexport async function _securityPoliciesInterfaceDeleteDeserialize(\n result: PathUncheckedResponse,\n): 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 SecurityPolicy */\nexport function securityPoliciesInterfaceDelete(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n options: SecurityPoliciesInterfaceDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _securityPoliciesInterfaceDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _securityPoliciesInterfaceDeleteSend(\n context,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _securityPoliciesInterfaceUpdateSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n properties: SecurityPolicyUpdate,\n options: SecurityPoliciesInterfaceUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}\",\n context.subscriptionId,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n queryParameters: { \"api-version\": context.apiVersion },\n body: securityPolicyUpdateSerializer(properties),\n });\n}\n\nexport async function _securityPoliciesInterfaceUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<SecurityPolicy> {\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 securityPolicyDeserializer(result.body);\n}\n\n/** Update a SecurityPolicy */\nexport async function securityPoliciesInterfaceUpdate(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n properties: SecurityPolicyUpdate,\n options: SecurityPoliciesInterfaceUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<SecurityPolicy> {\n const result = await _securityPoliciesInterfaceUpdateSend(\n context,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n properties,\n options,\n );\n return _securityPoliciesInterfaceUpdateDeserialize(result);\n}\n\nexport function _securityPoliciesInterfaceCreateOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n resource: SecurityPolicy,\n options: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}\",\n context.subscriptionId,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n queryParameters: { \"api-version\": context.apiVersion },\n body: securityPolicySerializer(resource),\n });\n}\n\nexport async function _securityPoliciesInterfaceCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<SecurityPolicy> {\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 securityPolicyDeserializer(result.body);\n}\n\n/** Create a SecurityPolicy */\nexport function securityPoliciesInterfaceCreateOrUpdate(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n resource: SecurityPolicy,\n options: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<SecurityPolicy>, SecurityPolicy> {\n return getLongRunningPoller(\n context,\n _securityPoliciesInterfaceCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _securityPoliciesInterfaceCreateOrUpdateSend(\n context,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>;\n}\n\nexport function _securityPoliciesInterfaceGetSend(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n options: SecurityPoliciesInterfaceGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}\",\n context.subscriptionId,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n )\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n queryParameters: { \"api-version\": context.apiVersion },\n });\n}\n\nexport async function _securityPoliciesInterfaceGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<SecurityPolicy> {\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 securityPolicyDeserializer(result.body);\n}\n\n/** Get a SecurityPolicy */\nexport async function securityPoliciesInterfaceGet(\n context: Client,\n resourceGroupName: string,\n trafficControllerName: string,\n securityPolicyName: string,\n options: SecurityPoliciesInterfaceGetOptionalParams = { requestOptions: {} },\n): Promise<SecurityPolicy> {\n const result = await _securityPoliciesInterfaceGetSend(\n context,\n resourceGroupName,\n trafficControllerName,\n securityPolicyName,\n options,\n );\n return _securityPoliciesInterfaceGetDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/securityPoliciesInterface/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByTrafficController, $delete, update, createOrUpdate, get } from \"./operations.js\";\nexport {\n SecurityPoliciesInterfaceListByTrafficControllerOptionalParams,\n SecurityPoliciesInterfaceDeleteOptionalParams,\n SecurityPoliciesInterfaceUpdateOptionalParams,\n SecurityPoliciesInterfaceCreateOrUpdateOptionalParams,\n SecurityPoliciesInterfaceGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ServiceNetworkingManagementContext as Client } from "../index.js";
|
|
2
|
+
import { SecurityPolicy, SecurityPolicyUpdate, _SecurityPolicyListResult } from "../../models/models.js";
|
|
3
|
+
import { SecurityPoliciesInterfaceListByTrafficControllerOptionalParams, SecurityPoliciesInterfaceDeleteOptionalParams, SecurityPoliciesInterfaceUpdateOptionalParams, SecurityPoliciesInterfaceCreateOrUpdateOptionalParams, SecurityPoliciesInterfaceGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listByTrafficControllerSend(context: Client, resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listByTrafficControllerDeserialize(result: PathUncheckedResponse): Promise<_SecurityPolicyListResult>;
|
|
9
|
+
/** List SecurityPolicy resources by TrafficController */
|
|
10
|
+
export declare function listByTrafficController(context: Client, resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<SecurityPolicy>;
|
|
11
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
13
|
+
/** Delete a SecurityPolicy */
|
|
14
|
+
/**
|
|
15
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
16
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
17
|
+
* to the operation to override the generated name.
|
|
18
|
+
*/
|
|
19
|
+
export declare function $delete(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
20
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): StreamableMethod;
|
|
21
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
22
|
+
/** Update a SecurityPolicy */
|
|
23
|
+
export declare function update(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): Promise<SecurityPolicy>;
|
|
24
|
+
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): StreamableMethod;
|
|
25
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
26
|
+
/** Create a SecurityPolicy */
|
|
27
|
+
export declare function createOrUpdate(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>;
|
|
28
|
+
export declare function _getSend(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): StreamableMethod;
|
|
29
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<SecurityPolicy>;
|
|
30
|
+
/** Get a SecurityPolicy */
|
|
31
|
+
export declare function get(context: Client, resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): Promise<SecurityPolicy>;
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/securityPoliciesInterface/operations.ts"],"names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iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,GAAE,0CAAmE,GAC3E,gBAAgB,CAqBlB;AAED,wBAAsB,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAS5F;AAED,2BAA2B;AAC3B,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,GAAE,0CAAmE,GAC3E,OAAO,CAAC,cAAc,CAAC,CASzB"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, securityPolicySerializer, securityPolicyDeserializer, securityPolicyUpdateSerializer, _securityPolicyListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
8
|
+
export function _listByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options = {
|
|
9
|
+
requestOptions: {},
|
|
10
|
+
}) {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies{?api%2Dversion}", {
|
|
13
|
+
subscriptionId: context.subscriptionId,
|
|
14
|
+
resourceGroupName: resourceGroupName,
|
|
15
|
+
trafficControllerName: trafficControllerName,
|
|
16
|
+
"api%2Dversion": context.apiVersion,
|
|
17
|
+
}, {
|
|
18
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
19
|
+
});
|
|
20
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
21
|
+
}
|
|
22
|
+
export async function _listByTrafficControllerDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
return _securityPolicyListResultDeserializer(result.body);
|
|
30
|
+
}
|
|
31
|
+
/** List SecurityPolicy resources by TrafficController */
|
|
32
|
+
export function listByTrafficController(context, resourceGroupName, trafficControllerName, options = {
|
|
33
|
+
requestOptions: {},
|
|
34
|
+
}) {
|
|
35
|
+
return buildPagedAsyncIterator(context, () => _listByTrafficControllerSend(context, resourceGroupName, trafficControllerName, options), _listByTrafficControllerDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
36
|
+
}
|
|
37
|
+
export function _$deleteSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options = {
|
|
38
|
+
requestOptions: {},
|
|
39
|
+
}) {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}{?api%2Dversion}", {
|
|
42
|
+
subscriptionId: context.subscriptionId,
|
|
43
|
+
resourceGroupName: resourceGroupName,
|
|
44
|
+
trafficControllerName: trafficControllerName,
|
|
45
|
+
securityPolicyName: securityPolicyName,
|
|
46
|
+
"api%2Dversion": context.apiVersion,
|
|
47
|
+
}, {
|
|
48
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
49
|
+
});
|
|
50
|
+
return context.path(path).delete(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
51
|
+
}
|
|
52
|
+
export async function _$deleteDeserialize(result) {
|
|
53
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
54
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
55
|
+
const error = createRestError(result);
|
|
56
|
+
error.details = errorResponseDeserializer(result.body);
|
|
57
|
+
throw error;
|
|
58
|
+
}
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
/** Delete a SecurityPolicy */
|
|
62
|
+
/**
|
|
63
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
64
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
65
|
+
* to the operation to override the generated name.
|
|
66
|
+
*/
|
|
67
|
+
export function $delete(context, resourceGroupName, trafficControllerName, securityPolicyName, options = {
|
|
68
|
+
requestOptions: {},
|
|
69
|
+
}) {
|
|
70
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
71
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
72
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
73
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options),
|
|
74
|
+
resourceLocationConfig: "location",
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
export function _updateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options = {
|
|
78
|
+
requestOptions: {},
|
|
79
|
+
}) {
|
|
80
|
+
var _a, _b;
|
|
81
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}{?api%2Dversion}", {
|
|
82
|
+
subscriptionId: context.subscriptionId,
|
|
83
|
+
resourceGroupName: resourceGroupName,
|
|
84
|
+
trafficControllerName: trafficControllerName,
|
|
85
|
+
securityPolicyName: securityPolicyName,
|
|
86
|
+
"api%2Dversion": context.apiVersion,
|
|
87
|
+
}, {
|
|
88
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
89
|
+
});
|
|
90
|
+
return context.path(path).patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: securityPolicyUpdateSerializer(properties) }));
|
|
91
|
+
}
|
|
92
|
+
export async function _updateDeserialize(result) {
|
|
93
|
+
const expectedStatuses = ["200"];
|
|
94
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
95
|
+
const error = createRestError(result);
|
|
96
|
+
error.details = errorResponseDeserializer(result.body);
|
|
97
|
+
throw error;
|
|
98
|
+
}
|
|
99
|
+
return securityPolicyDeserializer(result.body);
|
|
100
|
+
}
|
|
101
|
+
/** Update a SecurityPolicy */
|
|
102
|
+
export async function update(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options = {
|
|
103
|
+
requestOptions: {},
|
|
104
|
+
}) {
|
|
105
|
+
const result = await _updateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, properties, options);
|
|
106
|
+
return _updateDeserialize(result);
|
|
107
|
+
}
|
|
108
|
+
export function _createOrUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options = {
|
|
109
|
+
requestOptions: {},
|
|
110
|
+
}) {
|
|
111
|
+
var _a, _b;
|
|
112
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}{?api%2Dversion}", {
|
|
113
|
+
subscriptionId: context.subscriptionId,
|
|
114
|
+
resourceGroupName: resourceGroupName,
|
|
115
|
+
trafficControllerName: trafficControllerName,
|
|
116
|
+
securityPolicyName: securityPolicyName,
|
|
117
|
+
"api%2Dversion": context.apiVersion,
|
|
118
|
+
}, {
|
|
119
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
120
|
+
});
|
|
121
|
+
return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: securityPolicySerializer(resource) }));
|
|
122
|
+
}
|
|
123
|
+
export async function _createOrUpdateDeserialize(result) {
|
|
124
|
+
const expectedStatuses = ["200", "201"];
|
|
125
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
126
|
+
const error = createRestError(result);
|
|
127
|
+
error.details = errorResponseDeserializer(result.body);
|
|
128
|
+
throw error;
|
|
129
|
+
}
|
|
130
|
+
return securityPolicyDeserializer(result.body);
|
|
131
|
+
}
|
|
132
|
+
/** Create a SecurityPolicy */
|
|
133
|
+
export function createOrUpdate(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options = {
|
|
134
|
+
requestOptions: {},
|
|
135
|
+
}) {
|
|
136
|
+
return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201"], {
|
|
137
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
138
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
139
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, trafficControllerName, securityPolicyName, resource, options),
|
|
140
|
+
resourceLocationConfig: "azure-async-operation",
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
export function _getSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options = { requestOptions: {} }) {
|
|
144
|
+
var _a, _b;
|
|
145
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}{?api%2Dversion}", {
|
|
146
|
+
subscriptionId: context.subscriptionId,
|
|
147
|
+
resourceGroupName: resourceGroupName,
|
|
148
|
+
trafficControllerName: trafficControllerName,
|
|
149
|
+
securityPolicyName: securityPolicyName,
|
|
150
|
+
"api%2Dversion": context.apiVersion,
|
|
151
|
+
}, {
|
|
152
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
153
|
+
});
|
|
154
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
155
|
+
}
|
|
156
|
+
export async function _getDeserialize(result) {
|
|
157
|
+
const expectedStatuses = ["200"];
|
|
158
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
159
|
+
const error = createRestError(result);
|
|
160
|
+
error.details = errorResponseDeserializer(result.body);
|
|
161
|
+
throw error;
|
|
162
|
+
}
|
|
163
|
+
return securityPolicyDeserializer(result.body);
|
|
164
|
+
}
|
|
165
|
+
/** Get a SecurityPolicy */
|
|
166
|
+
export async function get(context, resourceGroupName, trafficControllerName, securityPolicyName, options = { requestOptions: {} }) {
|
|
167
|
+
const result = await _getSend(context, resourceGroupName, trafficControllerName, securityPolicyName, options);
|
|
168
|
+
return _getDeserialize(result);
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=operations.js.map
|