@azure/arm-managednetworkfabric 2.0.0-beta.1 → 2.0.0
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/README.md +1 -1
- package/dist/browser/api/accessControlLists/operations.d.ts +3 -8
- package/dist/browser/api/accessControlLists/operations.js +52 -47
- package/dist/browser/api/accessControlLists/operations.js.map +1 -1
- package/dist/browser/api/azureNetworkFabricManagementServiceAPIContext.js +4 -2
- package/dist/browser/api/azureNetworkFabricManagementServiceAPIContext.js.map +1 -1
- package/dist/browser/api/externalNetworks/index.d.ts +2 -2
- package/dist/browser/api/externalNetworks/index.js +1 -1
- package/dist/browser/api/externalNetworks/index.js.map +1 -1
- package/dist/browser/api/externalNetworks/operations.d.ts +11 -12
- package/dist/browser/api/externalNetworks/operations.js +84 -37
- package/dist/browser/api/externalNetworks/operations.js.map +1 -1
- package/dist/browser/api/externalNetworks/options.d.ts +5 -0
- package/dist/browser/api/externalNetworks/options.js.map +1 -1
- package/dist/browser/api/internalNetworks/index.d.ts +2 -2
- package/dist/browser/api/internalNetworks/index.js +1 -1
- package/dist/browser/api/internalNetworks/index.js.map +1 -1
- package/dist/browser/api/internalNetworks/operations.d.ts +15 -16
- package/dist/browser/api/internalNetworks/operations.js +94 -45
- package/dist/browser/api/internalNetworks/operations.js.map +1 -1
- package/dist/browser/api/internalNetworks/options.d.ts +5 -0
- package/dist/browser/api/internalNetworks/options.js.map +1 -1
- package/dist/browser/api/internetGatewayRules/operations.d.ts +0 -5
- package/dist/browser/api/internetGatewayRules/operations.js +29 -30
- package/dist/browser/api/internetGatewayRules/operations.js.map +1 -1
- package/dist/browser/api/internetGateways/operations.d.ts +0 -5
- package/dist/browser/api/internetGateways/operations.js +29 -30
- package/dist/browser/api/internetGateways/operations.js.map +1 -1
- package/dist/browser/api/ipCommunities/operations.d.ts +0 -5
- package/dist/browser/api/ipCommunities/operations.js +29 -30
- package/dist/browser/api/ipCommunities/operations.js.map +1 -1
- package/dist/browser/api/ipExtendedCommunities/operations.d.ts +0 -5
- package/dist/browser/api/ipExtendedCommunities/operations.js +29 -30
- package/dist/browser/api/ipExtendedCommunities/operations.js.map +1 -1
- package/dist/browser/api/ipPrefixes/operations.d.ts +0 -5
- package/dist/browser/api/ipPrefixes/operations.js +29 -30
- package/dist/browser/api/ipPrefixes/operations.js.map +1 -1
- package/dist/browser/api/l2IsolationDomains/operations.d.ts +3 -8
- package/dist/browser/api/l2IsolationDomains/operations.js +52 -47
- package/dist/browser/api/l2IsolationDomains/operations.js.map +1 -1
- package/dist/browser/api/l3IsolationDomains/operations.d.ts +4 -9
- package/dist/browser/api/l3IsolationDomains/operations.js +53 -48
- package/dist/browser/api/l3IsolationDomains/operations.js.map +1 -1
- package/dist/browser/api/neighborGroups/index.d.ts +2 -2
- package/dist/browser/api/neighborGroups/index.js +1 -1
- package/dist/browser/api/neighborGroups/index.js.map +1 -1
- package/dist/browser/api/neighborGroups/operations.d.ts +6 -7
- package/dist/browser/api/neighborGroups/operations.js +65 -31
- package/dist/browser/api/neighborGroups/operations.js.map +1 -1
- package/dist/browser/api/neighborGroups/options.d.ts +5 -0
- package/dist/browser/api/neighborGroups/options.js.map +1 -1
- package/dist/browser/api/networkBootstrapDevices/index.d.ts +3 -0
- package/dist/browser/api/networkBootstrapDevices/index.js +4 -0
- package/dist/browser/api/networkBootstrapDevices/index.js.map +1 -0
- package/dist/browser/api/networkBootstrapDevices/operations.d.ts +51 -0
- package/dist/browser/api/networkBootstrapDevices/operations.js +378 -0
- package/dist/browser/api/networkBootstrapDevices/operations.js.map +1 -0
- package/dist/browser/api/networkBootstrapDevices/options.d.ts +51 -0
- package/dist/browser/api/networkBootstrapDevices/options.js +4 -0
- package/dist/browser/api/networkBootstrapDevices/options.js.map +1 -0
- package/dist/browser/api/networkBootstrapInterfaces/index.d.ts +3 -0
- package/dist/browser/api/networkBootstrapInterfaces/index.js +4 -0
- package/dist/browser/api/networkBootstrapInterfaces/index.js.map +1 -0
- package/dist/browser/api/networkBootstrapInterfaces/operations.d.ts +31 -0
- package/dist/browser/api/networkBootstrapInterfaces/operations.js +223 -0
- package/dist/browser/api/networkBootstrapInterfaces/operations.js.map +1 -0
- package/dist/browser/api/networkBootstrapInterfaces/options.d.ts +28 -0
- package/dist/browser/api/networkBootstrapInterfaces/options.js +4 -0
- package/dist/browser/api/networkBootstrapInterfaces/options.js.map +1 -0
- package/dist/browser/api/networkDeviceSkus/operations.js +9 -9
- package/dist/browser/api/networkDeviceSkus/operations.js.map +1 -1
- package/dist/browser/api/networkDevices/index.d.ts +2 -2
- package/dist/browser/api/networkDevices/index.js +1 -1
- package/dist/browser/api/networkDevices/index.js.map +1 -1
- package/dist/browser/api/networkDevices/operations.d.ts +21 -18
- package/dist/browser/api/networkDevices/operations.js +148 -67
- package/dist/browser/api/networkDevices/operations.js.map +1 -1
- package/dist/browser/api/networkDevices/options.d.ts +10 -0
- package/dist/browser/api/networkDevices/options.js.map +1 -1
- package/dist/browser/api/networkFabricControllers/operations.d.ts +0 -5
- package/dist/browser/api/networkFabricControllers/operations.js +29 -30
- package/dist/browser/api/networkFabricControllers/operations.js.map +1 -1
- package/dist/browser/api/networkFabricSkus/operations.js +9 -9
- package/dist/browser/api/networkFabricSkus/operations.js.map +1 -1
- package/dist/browser/api/networkFabrics/index.d.ts +2 -2
- package/dist/browser/api/networkFabrics/index.js +1 -1
- package/dist/browser/api/networkFabrics/index.js.map +1 -1
- package/dist/browser/api/networkFabrics/operations.d.ts +55 -33
- package/dist/browser/api/networkFabrics/operations.js +294 -114
- package/dist/browser/api/networkFabrics/operations.js.map +1 -1
- package/dist/browser/api/networkFabrics/options.d.ts +23 -0
- package/dist/browser/api/networkFabrics/options.js.map +1 -1
- package/dist/browser/api/networkInterfaces/operations.d.ts +3 -8
- package/dist/browser/api/networkInterfaces/operations.js +33 -30
- package/dist/browser/api/networkInterfaces/operations.js.map +1 -1
- package/dist/browser/api/networkMonitors/operations.d.ts +1 -6
- package/dist/browser/api/networkMonitors/operations.js +37 -36
- package/dist/browser/api/networkMonitors/operations.js.map +1 -1
- package/dist/browser/api/networkPacketBrokers/operations.d.ts +0 -5
- package/dist/browser/api/networkPacketBrokers/operations.js +29 -30
- package/dist/browser/api/networkPacketBrokers/operations.js.map +1 -1
- package/dist/browser/api/networkRacks/operations.d.ts +0 -5
- package/dist/browser/api/networkRacks/operations.js +29 -30
- package/dist/browser/api/networkRacks/operations.js.map +1 -1
- package/dist/browser/api/networkTapRules/operations.d.ts +3 -8
- package/dist/browser/api/networkTapRules/operations.js +52 -47
- package/dist/browser/api/networkTapRules/operations.js.map +1 -1
- package/dist/browser/api/networkTaps/operations.d.ts +5 -10
- package/dist/browser/api/networkTaps/operations.js +46 -43
- package/dist/browser/api/networkTaps/operations.js.map +1 -1
- package/dist/browser/api/networkToNetworkInterconnects/index.d.ts +2 -2
- package/dist/browser/api/networkToNetworkInterconnects/index.js +1 -1
- package/dist/browser/api/networkToNetworkInterconnects/index.js.map +1 -1
- package/dist/browser/api/networkToNetworkInterconnects/operations.d.ts +11 -12
- package/dist/browser/api/networkToNetworkInterconnects/operations.js +84 -37
- package/dist/browser/api/networkToNetworkInterconnects/operations.js.map +1 -1
- package/dist/browser/api/networkToNetworkInterconnects/options.d.ts +5 -0
- package/dist/browser/api/networkToNetworkInterconnects/options.js.map +1 -1
- package/dist/browser/api/operations/operations.js +5 -7
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/routePolicies/operations.d.ts +3 -8
- package/dist/browser/api/routePolicies/operations.js +52 -47
- package/dist/browser/api/routePolicies/operations.js.map +1 -1
- package/dist/browser/azureNetworkFabricManagementServiceAPI.d.ts +6 -0
- package/dist/browser/azureNetworkFabricManagementServiceAPI.js +8 -0
- package/dist/browser/azureNetworkFabricManagementServiceAPI.js.map +1 -1
- package/dist/browser/classic/accessControlLists/index.d.ts +4 -9
- package/dist/browser/classic/accessControlLists/index.js.map +1 -1
- package/dist/browser/classic/externalNetworks/index.d.ts +14 -13
- package/dist/browser/classic/externalNetworks/index.js +10 -1
- package/dist/browser/classic/externalNetworks/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +2 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/internalNetworks/index.d.ts +18 -17
- package/dist/browser/classic/internalNetworks/index.js +10 -1
- package/dist/browser/classic/internalNetworks/index.js.map +1 -1
- package/dist/browser/classic/internetGatewayRules/index.d.ts +0 -5
- package/dist/browser/classic/internetGatewayRules/index.js.map +1 -1
- package/dist/browser/classic/internetGateways/index.d.ts +0 -5
- package/dist/browser/classic/internetGateways/index.js.map +1 -1
- package/dist/browser/classic/ipCommunities/index.d.ts +0 -5
- package/dist/browser/classic/ipCommunities/index.js.map +1 -1
- package/dist/browser/classic/ipExtendedCommunities/index.d.ts +0 -5
- package/dist/browser/classic/ipExtendedCommunities/index.js.map +1 -1
- package/dist/browser/classic/ipPrefixes/index.d.ts +0 -5
- package/dist/browser/classic/ipPrefixes/index.js.map +1 -1
- package/dist/browser/classic/l2IsolationDomains/index.d.ts +4 -9
- package/dist/browser/classic/l2IsolationDomains/index.js.map +1 -1
- package/dist/browser/classic/l3IsolationDomains/index.d.ts +5 -10
- package/dist/browser/classic/l3IsolationDomains/index.js.map +1 -1
- package/dist/browser/classic/neighborGroups/index.d.ts +8 -7
- package/dist/browser/classic/neighborGroups/index.js +10 -1
- package/dist/browser/classic/neighborGroups/index.js.map +1 -1
- package/dist/browser/classic/networkBootstrapDevices/index.d.ts +65 -0
- package/dist/browser/classic/networkBootstrapDevices/index.js +89 -0
- package/dist/browser/classic/networkBootstrapDevices/index.js.map +1 -0
- package/dist/browser/classic/networkBootstrapInterfaces/index.d.ts +39 -0
- package/dist/browser/classic/networkBootstrapInterfaces/index.js +52 -0
- package/dist/browser/classic/networkBootstrapInterfaces/index.js.map +1 -0
- package/dist/browser/classic/networkDevices/index.d.ts +29 -22
- package/dist/browser/classic/networkDevices/index.js +19 -1
- package/dist/browser/classic/networkDevices/index.js.map +1 -1
- package/dist/browser/classic/networkFabricControllers/index.d.ts +0 -5
- package/dist/browser/classic/networkFabricControllers/index.js.map +1 -1
- package/dist/browser/classic/networkFabrics/index.d.ts +76 -46
- package/dist/browser/classic/networkFabrics/index.js +37 -1
- package/dist/browser/classic/networkFabrics/index.js.map +1 -1
- package/dist/browser/classic/networkInterfaces/index.d.ts +4 -9
- package/dist/browser/classic/networkInterfaces/index.js.map +1 -1
- package/dist/browser/classic/networkMonitors/index.d.ts +1 -6
- package/dist/browser/classic/networkMonitors/index.js.map +1 -1
- package/dist/browser/classic/networkPacketBrokers/index.d.ts +0 -5
- package/dist/browser/classic/networkPacketBrokers/index.js.map +1 -1
- package/dist/browser/classic/networkRacks/index.d.ts +0 -5
- package/dist/browser/classic/networkRacks/index.js.map +1 -1
- package/dist/browser/classic/networkTapRules/index.d.ts +4 -9
- package/dist/browser/classic/networkTapRules/index.js.map +1 -1
- package/dist/browser/classic/networkTaps/index.d.ts +7 -12
- package/dist/browser/classic/networkTaps/index.js.map +1 -1
- package/dist/browser/classic/networkToNetworkInterconnects/index.d.ts +14 -13
- package/dist/browser/classic/networkToNetworkInterconnects/index.js +10 -1
- package/dist/browser/classic/networkToNetworkInterconnects/index.js.map +1 -1
- package/dist/browser/classic/routePolicies/index.d.ts +4 -9
- package/dist/browser/classic/routePolicies/index.js.map +1 -1
- package/dist/browser/index.d.ts +12 -9
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1715 -221
- package/dist/browser/models/models.js +1654 -190
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +117 -57
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/accessControlLists/operations.d.ts +3 -8
- package/dist/commonjs/api/accessControlLists/operations.js +51 -41
- package/dist/commonjs/api/accessControlLists/operations.js.map +2 -2
- package/dist/commonjs/api/azureNetworkFabricManagementServiceAPIContext.js +4 -2
- package/dist/commonjs/api/azureNetworkFabricManagementServiceAPIContext.js.map +2 -2
- package/dist/commonjs/api/externalNetworks/index.d.ts +2 -2
- package/dist/commonjs/api/externalNetworks/index.js +4 -2
- package/dist/commonjs/api/externalNetworks/index.js.map +2 -2
- package/dist/commonjs/api/externalNetworks/operations.d.ts +11 -12
- package/dist/commonjs/api/externalNetworks/operations.js +106 -33
- package/dist/commonjs/api/externalNetworks/operations.js.map +2 -2
- package/dist/commonjs/api/externalNetworks/options.d.ts +5 -0
- package/dist/commonjs/api/externalNetworks/options.js.map +1 -1
- package/dist/commonjs/api/internalNetworks/index.d.ts +2 -2
- package/dist/commonjs/api/internalNetworks/index.js +4 -2
- package/dist/commonjs/api/internalNetworks/index.js.map +2 -2
- package/dist/commonjs/api/internalNetworks/operations.d.ts +15 -16
- package/dist/commonjs/api/internalNetworks/operations.js +115 -40
- package/dist/commonjs/api/internalNetworks/operations.js.map +2 -2
- package/dist/commonjs/api/internalNetworks/options.d.ts +5 -0
- package/dist/commonjs/api/internalNetworks/options.js.map +1 -1
- package/dist/commonjs/api/internetGatewayRules/operations.d.ts +0 -5
- package/dist/commonjs/api/internetGatewayRules/operations.js +29 -25
- package/dist/commonjs/api/internetGatewayRules/operations.js.map +2 -2
- package/dist/commonjs/api/internetGateways/operations.d.ts +0 -5
- package/dist/commonjs/api/internetGateways/operations.js +29 -25
- package/dist/commonjs/api/internetGateways/operations.js.map +2 -2
- package/dist/commonjs/api/ipCommunities/operations.d.ts +0 -5
- package/dist/commonjs/api/ipCommunities/operations.js +29 -25
- package/dist/commonjs/api/ipCommunities/operations.js.map +2 -2
- package/dist/commonjs/api/ipExtendedCommunities/operations.d.ts +0 -5
- package/dist/commonjs/api/ipExtendedCommunities/operations.js +29 -25
- package/dist/commonjs/api/ipExtendedCommunities/operations.js.map +2 -2
- package/dist/commonjs/api/ipPrefixes/operations.d.ts +0 -5
- package/dist/commonjs/api/ipPrefixes/operations.js +29 -25
- package/dist/commonjs/api/ipPrefixes/operations.js.map +2 -2
- package/dist/commonjs/api/l2IsolationDomains/operations.d.ts +3 -8
- package/dist/commonjs/api/l2IsolationDomains/operations.js +51 -41
- package/dist/commonjs/api/l2IsolationDomains/operations.js.map +2 -2
- package/dist/commonjs/api/l3IsolationDomains/operations.d.ts +4 -9
- package/dist/commonjs/api/l3IsolationDomains/operations.js +51 -41
- package/dist/commonjs/api/l3IsolationDomains/operations.js.map +2 -2
- package/dist/commonjs/api/neighborGroups/index.d.ts +2 -2
- package/dist/commonjs/api/neighborGroups/index.js +2 -0
- package/dist/commonjs/api/neighborGroups/index.js.map +2 -2
- package/dist/commonjs/api/neighborGroups/operations.d.ts +6 -7
- package/dist/commonjs/api/neighborGroups/operations.js +73 -25
- package/dist/commonjs/api/neighborGroups/operations.js.map +2 -2
- package/dist/commonjs/api/neighborGroups/options.d.ts +5 -0
- package/dist/commonjs/api/neighborGroups/options.js.map +1 -1
- package/dist/commonjs/api/networkBootstrapDevices/index.d.ts +3 -0
- package/dist/commonjs/api/networkBootstrapDevices/index.js +48 -0
- package/dist/commonjs/api/networkBootstrapDevices/index.js.map +7 -0
- package/dist/commonjs/api/networkBootstrapDevices/operations.d.ts +51 -0
- package/dist/commonjs/api/networkBootstrapDevices/operations.js +522 -0
- package/dist/commonjs/api/networkBootstrapDevices/operations.js.map +7 -0
- package/dist/commonjs/api/networkBootstrapDevices/options.d.ts +51 -0
- package/dist/commonjs/api/networkBootstrapDevices/options.js +16 -0
- package/dist/commonjs/api/networkBootstrapDevices/options.js.map +7 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/index.d.ts +3 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/index.js +38 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/index.js.map +7 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/operations.d.ts +31 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/operations.js +348 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/operations.js.map +7 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/options.d.ts +28 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/options.js +16 -0
- package/dist/commonjs/api/networkBootstrapInterfaces/options.js.map +7 -0
- package/dist/commonjs/api/networkDeviceSkus/operations.js +9 -9
- package/dist/commonjs/api/networkDeviceSkus/operations.js.map +2 -2
- package/dist/commonjs/api/networkDevices/index.d.ts +2 -2
- package/dist/commonjs/api/networkDevices/index.js +4 -0
- package/dist/commonjs/api/networkDevices/index.js.map +2 -2
- package/dist/commonjs/api/networkDevices/operations.d.ts +21 -18
- package/dist/commonjs/api/networkDevices/operations.js +165 -61
- package/dist/commonjs/api/networkDevices/operations.js.map +2 -2
- package/dist/commonjs/api/networkDevices/options.d.ts +10 -0
- package/dist/commonjs/api/networkDevices/options.js.map +1 -1
- package/dist/commonjs/api/networkFabricControllers/operations.d.ts +0 -5
- package/dist/commonjs/api/networkFabricControllers/operations.js +29 -25
- package/dist/commonjs/api/networkFabricControllers/operations.js.map +2 -2
- package/dist/commonjs/api/networkFabricSkus/operations.js +9 -9
- package/dist/commonjs/api/networkFabricSkus/operations.js.map +2 -2
- package/dist/commonjs/api/networkFabrics/index.d.ts +2 -2
- package/dist/commonjs/api/networkFabrics/index.js +8 -0
- package/dist/commonjs/api/networkFabrics/index.js.map +2 -2
- package/dist/commonjs/api/networkFabrics/operations.d.ts +55 -33
- package/dist/commonjs/api/networkFabrics/operations.js +319 -109
- package/dist/commonjs/api/networkFabrics/operations.js.map +2 -2
- package/dist/commonjs/api/networkFabrics/options.d.ts +23 -0
- package/dist/commonjs/api/networkFabrics/options.js.map +1 -1
- package/dist/commonjs/api/networkInterfaces/operations.d.ts +3 -8
- package/dist/commonjs/api/networkInterfaces/operations.js +32 -24
- package/dist/commonjs/api/networkInterfaces/operations.js.map +2 -2
- package/dist/commonjs/api/networkMonitors/operations.d.ts +1 -6
- package/dist/commonjs/api/networkMonitors/operations.js +36 -30
- package/dist/commonjs/api/networkMonitors/operations.js.map +2 -2
- package/dist/commonjs/api/networkPacketBrokers/operations.d.ts +0 -5
- package/dist/commonjs/api/networkPacketBrokers/operations.js +29 -25
- package/dist/commonjs/api/networkPacketBrokers/operations.js.map +2 -2
- package/dist/commonjs/api/networkRacks/operations.d.ts +0 -5
- package/dist/commonjs/api/networkRacks/operations.js +29 -25
- package/dist/commonjs/api/networkRacks/operations.js.map +2 -2
- package/dist/commonjs/api/networkTapRules/operations.d.ts +3 -8
- package/dist/commonjs/api/networkTapRules/operations.js +51 -41
- package/dist/commonjs/api/networkTapRules/operations.js.map +2 -2
- package/dist/commonjs/api/networkTaps/operations.d.ts +5 -10
- package/dist/commonjs/api/networkTaps/operations.js +45 -37
- package/dist/commonjs/api/networkTaps/operations.js.map +2 -2
- package/dist/commonjs/api/networkToNetworkInterconnects/index.d.ts +2 -2
- package/dist/commonjs/api/networkToNetworkInterconnects/index.js +4 -2
- package/dist/commonjs/api/networkToNetworkInterconnects/index.js.map +2 -2
- package/dist/commonjs/api/networkToNetworkInterconnects/operations.d.ts +11 -12
- package/dist/commonjs/api/networkToNetworkInterconnects/operations.js +106 -33
- package/dist/commonjs/api/networkToNetworkInterconnects/operations.js.map +2 -2
- package/dist/commonjs/api/networkToNetworkInterconnects/options.d.ts +5 -0
- package/dist/commonjs/api/networkToNetworkInterconnects/options.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +5 -7
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/routePolicies/operations.d.ts +3 -8
- package/dist/commonjs/api/routePolicies/operations.js +51 -41
- package/dist/commonjs/api/routePolicies/operations.js.map +2 -2
- package/dist/commonjs/azureNetworkFabricManagementServiceAPI.d.ts +6 -0
- package/dist/commonjs/azureNetworkFabricManagementServiceAPI.js +8 -0
- package/dist/commonjs/azureNetworkFabricManagementServiceAPI.js.map +2 -2
- package/dist/commonjs/classic/accessControlLists/index.d.ts +4 -9
- package/dist/commonjs/classic/accessControlLists/index.js.map +2 -2
- package/dist/commonjs/classic/externalNetworks/index.d.ts +14 -13
- package/dist/commonjs/classic/externalNetworks/index.js +30 -0
- package/dist/commonjs/classic/externalNetworks/index.js.map +2 -2
- package/dist/commonjs/classic/index.d.ts +2 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/internalNetworks/index.d.ts +18 -17
- package/dist/commonjs/classic/internalNetworks/index.js +30 -0
- package/dist/commonjs/classic/internalNetworks/index.js.map +2 -2
- package/dist/commonjs/classic/internetGatewayRules/index.d.ts +0 -5
- package/dist/commonjs/classic/internetGatewayRules/index.js.map +2 -2
- package/dist/commonjs/classic/internetGateways/index.d.ts +0 -5
- package/dist/commonjs/classic/internetGateways/index.js.map +2 -2
- package/dist/commonjs/classic/ipCommunities/index.d.ts +0 -5
- package/dist/commonjs/classic/ipCommunities/index.js.map +2 -2
- package/dist/commonjs/classic/ipExtendedCommunities/index.d.ts +0 -5
- package/dist/commonjs/classic/ipExtendedCommunities/index.js.map +2 -2
- package/dist/commonjs/classic/ipPrefixes/index.d.ts +0 -5
- package/dist/commonjs/classic/ipPrefixes/index.js.map +2 -2
- package/dist/commonjs/classic/l2IsolationDomains/index.d.ts +4 -9
- package/dist/commonjs/classic/l2IsolationDomains/index.js.map +2 -2
- package/dist/commonjs/classic/l3IsolationDomains/index.d.ts +5 -10
- package/dist/commonjs/classic/l3IsolationDomains/index.js.map +2 -2
- package/dist/commonjs/classic/neighborGroups/index.d.ts +8 -7
- package/dist/commonjs/classic/neighborGroups/index.js +9 -0
- package/dist/commonjs/classic/neighborGroups/index.js.map +2 -2
- package/dist/commonjs/classic/networkBootstrapDevices/index.d.ts +65 -0
- package/dist/commonjs/classic/networkBootstrapDevices/index.js +146 -0
- package/dist/commonjs/classic/networkBootstrapDevices/index.js.map +7 -0
- package/dist/commonjs/classic/networkBootstrapInterfaces/index.d.ts +39 -0
- package/dist/commonjs/classic/networkBootstrapInterfaces/index.js +163 -0
- package/dist/commonjs/classic/networkBootstrapInterfaces/index.js.map +7 -0
- package/dist/commonjs/classic/networkDevices/index.d.ts +29 -22
- package/dist/commonjs/classic/networkDevices/index.js +18 -0
- package/dist/commonjs/classic/networkDevices/index.js.map +2 -2
- package/dist/commonjs/classic/networkFabricControllers/index.d.ts +0 -5
- package/dist/commonjs/classic/networkFabricControllers/index.js.map +2 -2
- package/dist/commonjs/classic/networkFabrics/index.d.ts +76 -46
- package/dist/commonjs/classic/networkFabrics/index.js +36 -0
- package/dist/commonjs/classic/networkFabrics/index.js.map +2 -2
- package/dist/commonjs/classic/networkInterfaces/index.d.ts +4 -9
- package/dist/commonjs/classic/networkInterfaces/index.js.map +2 -2
- package/dist/commonjs/classic/networkMonitors/index.d.ts +1 -6
- package/dist/commonjs/classic/networkMonitors/index.js.map +2 -2
- package/dist/commonjs/classic/networkPacketBrokers/index.d.ts +0 -5
- package/dist/commonjs/classic/networkPacketBrokers/index.js.map +2 -2
- package/dist/commonjs/classic/networkRacks/index.d.ts +0 -5
- package/dist/commonjs/classic/networkRacks/index.js.map +2 -2
- package/dist/commonjs/classic/networkTapRules/index.d.ts +4 -9
- package/dist/commonjs/classic/networkTapRules/index.js.map +2 -2
- package/dist/commonjs/classic/networkTaps/index.d.ts +7 -12
- package/dist/commonjs/classic/networkTaps/index.js.map +2 -2
- package/dist/commonjs/classic/networkToNetworkInterconnects/index.d.ts +14 -13
- package/dist/commonjs/classic/networkToNetworkInterconnects/index.js +30 -0
- package/dist/commonjs/classic/networkToNetworkInterconnects/index.js.map +2 -2
- package/dist/commonjs/classic/routePolicies/index.d.ts +4 -9
- package/dist/commonjs/classic/routePolicies/index.js.map +2 -2
- package/dist/commonjs/index.d.ts +12 -9
- package/dist/commonjs/index.js +19 -2
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +14 -2
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +1715 -221
- package/dist/commonjs/models/models.js +1519 -221
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +225 -165
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/accessControlLists/operations.d.ts +3 -8
- package/dist/esm/api/accessControlLists/operations.js +52 -47
- package/dist/esm/api/accessControlLists/operations.js.map +1 -1
- package/dist/esm/api/azureNetworkFabricManagementServiceAPIContext.js +4 -2
- package/dist/esm/api/azureNetworkFabricManagementServiceAPIContext.js.map +1 -1
- package/dist/esm/api/externalNetworks/index.d.ts +2 -2
- package/dist/esm/api/externalNetworks/index.js +1 -1
- package/dist/esm/api/externalNetworks/index.js.map +1 -1
- package/dist/esm/api/externalNetworks/operations.d.ts +11 -12
- package/dist/esm/api/externalNetworks/operations.js +84 -37
- package/dist/esm/api/externalNetworks/operations.js.map +1 -1
- package/dist/esm/api/externalNetworks/options.d.ts +5 -0
- package/dist/esm/api/externalNetworks/options.js.map +1 -1
- package/dist/esm/api/internalNetworks/index.d.ts +2 -2
- package/dist/esm/api/internalNetworks/index.js +1 -1
- package/dist/esm/api/internalNetworks/index.js.map +1 -1
- package/dist/esm/api/internalNetworks/operations.d.ts +15 -16
- package/dist/esm/api/internalNetworks/operations.js +94 -45
- package/dist/esm/api/internalNetworks/operations.js.map +1 -1
- package/dist/esm/api/internalNetworks/options.d.ts +5 -0
- package/dist/esm/api/internalNetworks/options.js.map +1 -1
- package/dist/esm/api/internetGatewayRules/operations.d.ts +0 -5
- package/dist/esm/api/internetGatewayRules/operations.js +29 -30
- package/dist/esm/api/internetGatewayRules/operations.js.map +1 -1
- package/dist/esm/api/internetGateways/operations.d.ts +0 -5
- package/dist/esm/api/internetGateways/operations.js +29 -30
- package/dist/esm/api/internetGateways/operations.js.map +1 -1
- package/dist/esm/api/ipCommunities/operations.d.ts +0 -5
- package/dist/esm/api/ipCommunities/operations.js +29 -30
- package/dist/esm/api/ipCommunities/operations.js.map +1 -1
- package/dist/esm/api/ipExtendedCommunities/operations.d.ts +0 -5
- package/dist/esm/api/ipExtendedCommunities/operations.js +29 -30
- package/dist/esm/api/ipExtendedCommunities/operations.js.map +1 -1
- package/dist/esm/api/ipPrefixes/operations.d.ts +0 -5
- package/dist/esm/api/ipPrefixes/operations.js +29 -30
- package/dist/esm/api/ipPrefixes/operations.js.map +1 -1
- package/dist/esm/api/l2IsolationDomains/operations.d.ts +3 -8
- package/dist/esm/api/l2IsolationDomains/operations.js +52 -47
- package/dist/esm/api/l2IsolationDomains/operations.js.map +1 -1
- package/dist/esm/api/l3IsolationDomains/operations.d.ts +4 -9
- package/dist/esm/api/l3IsolationDomains/operations.js +53 -48
- package/dist/esm/api/l3IsolationDomains/operations.js.map +1 -1
- package/dist/esm/api/neighborGroups/index.d.ts +2 -2
- package/dist/esm/api/neighborGroups/index.js +1 -1
- package/dist/esm/api/neighborGroups/index.js.map +1 -1
- package/dist/esm/api/neighborGroups/operations.d.ts +6 -7
- package/dist/esm/api/neighborGroups/operations.js +65 -31
- package/dist/esm/api/neighborGroups/operations.js.map +1 -1
- package/dist/esm/api/neighborGroups/options.d.ts +5 -0
- package/dist/esm/api/neighborGroups/options.js.map +1 -1
- package/dist/esm/api/networkBootstrapDevices/index.d.ts +3 -0
- package/dist/esm/api/networkBootstrapDevices/index.js +4 -0
- package/dist/esm/api/networkBootstrapDevices/index.js.map +1 -0
- package/dist/esm/api/networkBootstrapDevices/operations.d.ts +51 -0
- package/dist/esm/api/networkBootstrapDevices/operations.js +378 -0
- package/dist/esm/api/networkBootstrapDevices/operations.js.map +1 -0
- package/dist/esm/api/networkBootstrapDevices/options.d.ts +51 -0
- package/dist/esm/api/networkBootstrapDevices/options.js +4 -0
- package/dist/esm/api/networkBootstrapDevices/options.js.map +1 -0
- package/dist/esm/api/networkBootstrapInterfaces/index.d.ts +3 -0
- package/dist/esm/api/networkBootstrapInterfaces/index.js +4 -0
- package/dist/esm/api/networkBootstrapInterfaces/index.js.map +1 -0
- package/dist/esm/api/networkBootstrapInterfaces/operations.d.ts +31 -0
- package/dist/esm/api/networkBootstrapInterfaces/operations.js +223 -0
- package/dist/esm/api/networkBootstrapInterfaces/operations.js.map +1 -0
- package/dist/esm/api/networkBootstrapInterfaces/options.d.ts +28 -0
- package/dist/esm/api/networkBootstrapInterfaces/options.js +4 -0
- package/dist/esm/api/networkBootstrapInterfaces/options.js.map +1 -0
- package/dist/esm/api/networkDeviceSkus/operations.js +9 -9
- package/dist/esm/api/networkDeviceSkus/operations.js.map +1 -1
- package/dist/esm/api/networkDevices/index.d.ts +2 -2
- package/dist/esm/api/networkDevices/index.js +1 -1
- package/dist/esm/api/networkDevices/index.js.map +1 -1
- package/dist/esm/api/networkDevices/operations.d.ts +21 -18
- package/dist/esm/api/networkDevices/operations.js +148 -67
- package/dist/esm/api/networkDevices/operations.js.map +1 -1
- package/dist/esm/api/networkDevices/options.d.ts +10 -0
- package/dist/esm/api/networkDevices/options.js.map +1 -1
- package/dist/esm/api/networkFabricControllers/operations.d.ts +0 -5
- package/dist/esm/api/networkFabricControllers/operations.js +29 -30
- package/dist/esm/api/networkFabricControllers/operations.js.map +1 -1
- package/dist/esm/api/networkFabricSkus/operations.js +9 -9
- package/dist/esm/api/networkFabricSkus/operations.js.map +1 -1
- package/dist/esm/api/networkFabrics/index.d.ts +2 -2
- package/dist/esm/api/networkFabrics/index.js +1 -1
- package/dist/esm/api/networkFabrics/index.js.map +1 -1
- package/dist/esm/api/networkFabrics/operations.d.ts +55 -33
- package/dist/esm/api/networkFabrics/operations.js +294 -114
- package/dist/esm/api/networkFabrics/operations.js.map +1 -1
- package/dist/esm/api/networkFabrics/options.d.ts +23 -0
- package/dist/esm/api/networkFabrics/options.js.map +1 -1
- package/dist/esm/api/networkInterfaces/operations.d.ts +3 -8
- package/dist/esm/api/networkInterfaces/operations.js +33 -30
- package/dist/esm/api/networkInterfaces/operations.js.map +1 -1
- package/dist/esm/api/networkMonitors/operations.d.ts +1 -6
- package/dist/esm/api/networkMonitors/operations.js +37 -36
- package/dist/esm/api/networkMonitors/operations.js.map +1 -1
- package/dist/esm/api/networkPacketBrokers/operations.d.ts +0 -5
- package/dist/esm/api/networkPacketBrokers/operations.js +29 -30
- package/dist/esm/api/networkPacketBrokers/operations.js.map +1 -1
- package/dist/esm/api/networkRacks/operations.d.ts +0 -5
- package/dist/esm/api/networkRacks/operations.js +29 -30
- package/dist/esm/api/networkRacks/operations.js.map +1 -1
- package/dist/esm/api/networkTapRules/operations.d.ts +3 -8
- package/dist/esm/api/networkTapRules/operations.js +52 -47
- package/dist/esm/api/networkTapRules/operations.js.map +1 -1
- package/dist/esm/api/networkTaps/operations.d.ts +5 -10
- package/dist/esm/api/networkTaps/operations.js +46 -43
- package/dist/esm/api/networkTaps/operations.js.map +1 -1
- package/dist/esm/api/networkToNetworkInterconnects/index.d.ts +2 -2
- package/dist/esm/api/networkToNetworkInterconnects/index.js +1 -1
- package/dist/esm/api/networkToNetworkInterconnects/index.js.map +1 -1
- package/dist/esm/api/networkToNetworkInterconnects/operations.d.ts +11 -12
- package/dist/esm/api/networkToNetworkInterconnects/operations.js +84 -37
- package/dist/esm/api/networkToNetworkInterconnects/operations.js.map +1 -1
- package/dist/esm/api/networkToNetworkInterconnects/options.d.ts +5 -0
- package/dist/esm/api/networkToNetworkInterconnects/options.js.map +1 -1
- package/dist/esm/api/operations/operations.js +5 -7
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/routePolicies/operations.d.ts +3 -8
- package/dist/esm/api/routePolicies/operations.js +52 -47
- package/dist/esm/api/routePolicies/operations.js.map +1 -1
- package/dist/esm/azureNetworkFabricManagementServiceAPI.d.ts +6 -0
- package/dist/esm/azureNetworkFabricManagementServiceAPI.js +8 -0
- package/dist/esm/azureNetworkFabricManagementServiceAPI.js.map +1 -1
- package/dist/esm/classic/accessControlLists/index.d.ts +4 -9
- package/dist/esm/classic/accessControlLists/index.js.map +1 -1
- package/dist/esm/classic/externalNetworks/index.d.ts +14 -13
- package/dist/esm/classic/externalNetworks/index.js +10 -1
- package/dist/esm/classic/externalNetworks/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +2 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/internalNetworks/index.d.ts +18 -17
- package/dist/esm/classic/internalNetworks/index.js +10 -1
- package/dist/esm/classic/internalNetworks/index.js.map +1 -1
- package/dist/esm/classic/internetGatewayRules/index.d.ts +0 -5
- package/dist/esm/classic/internetGatewayRules/index.js.map +1 -1
- package/dist/esm/classic/internetGateways/index.d.ts +0 -5
- package/dist/esm/classic/internetGateways/index.js.map +1 -1
- package/dist/esm/classic/ipCommunities/index.d.ts +0 -5
- package/dist/esm/classic/ipCommunities/index.js.map +1 -1
- package/dist/esm/classic/ipExtendedCommunities/index.d.ts +0 -5
- package/dist/esm/classic/ipExtendedCommunities/index.js.map +1 -1
- package/dist/esm/classic/ipPrefixes/index.d.ts +0 -5
- package/dist/esm/classic/ipPrefixes/index.js.map +1 -1
- package/dist/esm/classic/l2IsolationDomains/index.d.ts +4 -9
- package/dist/esm/classic/l2IsolationDomains/index.js.map +1 -1
- package/dist/esm/classic/l3IsolationDomains/index.d.ts +5 -10
- package/dist/esm/classic/l3IsolationDomains/index.js.map +1 -1
- package/dist/esm/classic/neighborGroups/index.d.ts +8 -7
- package/dist/esm/classic/neighborGroups/index.js +10 -1
- package/dist/esm/classic/neighborGroups/index.js.map +1 -1
- package/dist/esm/classic/networkBootstrapDevices/index.d.ts +65 -0
- package/dist/esm/classic/networkBootstrapDevices/index.js +89 -0
- package/dist/esm/classic/networkBootstrapDevices/index.js.map +1 -0
- package/dist/esm/classic/networkBootstrapInterfaces/index.d.ts +39 -0
- package/dist/esm/classic/networkBootstrapInterfaces/index.js +52 -0
- package/dist/esm/classic/networkBootstrapInterfaces/index.js.map +1 -0
- package/dist/esm/classic/networkDevices/index.d.ts +29 -22
- package/dist/esm/classic/networkDevices/index.js +19 -1
- package/dist/esm/classic/networkDevices/index.js.map +1 -1
- package/dist/esm/classic/networkFabricControllers/index.d.ts +0 -5
- package/dist/esm/classic/networkFabricControllers/index.js.map +1 -1
- package/dist/esm/classic/networkFabrics/index.d.ts +76 -46
- package/dist/esm/classic/networkFabrics/index.js +37 -1
- package/dist/esm/classic/networkFabrics/index.js.map +1 -1
- package/dist/esm/classic/networkInterfaces/index.d.ts +4 -9
- package/dist/esm/classic/networkInterfaces/index.js.map +1 -1
- package/dist/esm/classic/networkMonitors/index.d.ts +1 -6
- package/dist/esm/classic/networkMonitors/index.js.map +1 -1
- package/dist/esm/classic/networkPacketBrokers/index.d.ts +0 -5
- package/dist/esm/classic/networkPacketBrokers/index.js.map +1 -1
- package/dist/esm/classic/networkRacks/index.d.ts +0 -5
- package/dist/esm/classic/networkRacks/index.js.map +1 -1
- package/dist/esm/classic/networkTapRules/index.d.ts +4 -9
- package/dist/esm/classic/networkTapRules/index.js.map +1 -1
- package/dist/esm/classic/networkTaps/index.d.ts +7 -12
- package/dist/esm/classic/networkTaps/index.js.map +1 -1
- package/dist/esm/classic/networkToNetworkInterconnects/index.d.ts +14 -13
- package/dist/esm/classic/networkToNetworkInterconnects/index.js +10 -1
- package/dist/esm/classic/networkToNetworkInterconnects/index.js.map +1 -1
- package/dist/esm/classic/routePolicies/index.d.ts +4 -9
- package/dist/esm/classic/routePolicies/index.js.map +1 -1
- package/dist/esm/index.d.ts +12 -9
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1715 -221
- package/dist/esm/models/models.js +1654 -190
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +117 -57
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -1
- package/package.json +32 -4
|
@@ -1,16 +1,167 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer, updateAdministrativeStateSerializer,
|
|
3
|
+
import { errorResponseDeserializer, updateAdministrativeStateSerializer, updateAdministrativeStateResponseDeserializer, operationStatusResultDeserializer, validateConfigurationResponseDeserializer, networkFabricResyncCertificatesResponseDeserializer, networkFabricSerializer, networkFabricDeserializer, networkFabricPatchSerializer, _networkFabricsListResultDeserializer, upgradeNetworkFabricPropertiesSerializer, validateConfigurationPropertiesSerializer, getTopologyResponseDeserializer, commitConfigurationRequestSerializer, commitConfigurationResponseDeserializer, commitBatchStatusRequestSerializer, commitBatchStatusOperationResponseDeserializer, discardCommitBatchRequestSerializer, discardCommitBatchOperationResponseDeserializer, networkFabricLockRequestSerializer, viewDeviceConfigurationOperationResponseDeserializer, armConfigurationDiffOperationResponseDeserializer, networkFabricRotatePasswordsResponseDeserializer, networkFabricResyncPasswordsResponseDeserializer, networkFabricRotateCertificatesResponseDeserializer, } from "../../models/models.js";
|
|
4
4
|
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
6
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
7
|
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _resyncCertificatesSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/resyncCertificates{?api%2Dversion}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
resourceGroupName: resourceGroupName,
|
|
12
|
+
networkFabricName: networkFabricName,
|
|
13
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
14
|
+
}, {
|
|
15
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
|
+
});
|
|
17
|
+
return context.path(path).post({
|
|
18
|
+
...operationOptionsToRequestParameters(options),
|
|
19
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function _resyncCertificatesDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
if (result.body) {
|
|
27
|
+
error.details = errorResponseDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
throw error;
|
|
30
|
+
}
|
|
31
|
+
return networkFabricResyncCertificatesResponseDeserializer(result.body);
|
|
32
|
+
}
|
|
33
|
+
/** Updates all Network Devices to use the latest certificates. Does not generate new certificates. Allows network devices missed during a previous certificate rotation to be brought back into sync. */
|
|
34
|
+
export function resyncCertificates(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
35
|
+
return getLongRunningPoller(context, _resyncCertificatesDeserialize, ["200", "202", "201"], {
|
|
36
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
37
|
+
abortSignal: options?.abortSignal,
|
|
38
|
+
getInitialResponse: () => _resyncCertificatesSend(context, resourceGroupName, networkFabricName, options),
|
|
39
|
+
resourceLocationConfig: "location",
|
|
40
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export function _rotateCertificatesSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
44
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/rotateCertificates{?api%2Dversion}", {
|
|
45
|
+
subscriptionId: context.subscriptionId,
|
|
46
|
+
resourceGroupName: resourceGroupName,
|
|
47
|
+
networkFabricName: networkFabricName,
|
|
48
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
49
|
+
}, {
|
|
50
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
51
|
+
});
|
|
52
|
+
return context.path(path).post({
|
|
53
|
+
...operationOptionsToRequestParameters(options),
|
|
54
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export async function _rotateCertificatesDeserialize(result) {
|
|
58
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
59
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
60
|
+
const error = createRestError(result);
|
|
61
|
+
if (result.body) {
|
|
62
|
+
error.details = errorResponseDeserializer(result.body);
|
|
63
|
+
}
|
|
64
|
+
throw error;
|
|
65
|
+
}
|
|
66
|
+
return networkFabricRotateCertificatesResponseDeserializer(result.body);
|
|
67
|
+
}
|
|
68
|
+
/** Creates new certificates, then updates the Network Devices to use the new certificates. Note that disabled devices cannot be updated and must be resynchronized with the new certificates once they are enabled. */
|
|
69
|
+
export function rotateCertificates(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
70
|
+
return getLongRunningPoller(context, _rotateCertificatesDeserialize, ["200", "202", "201"], {
|
|
71
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
72
|
+
abortSignal: options?.abortSignal,
|
|
73
|
+
getInitialResponse: () => _rotateCertificatesSend(context, resourceGroupName, networkFabricName, options),
|
|
74
|
+
resourceLocationConfig: "location",
|
|
75
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export function _resyncPasswordsSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
79
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/resyncPasswords{?api%2Dversion}", {
|
|
80
|
+
subscriptionId: context.subscriptionId,
|
|
81
|
+
resourceGroupName: resourceGroupName,
|
|
82
|
+
networkFabricName: networkFabricName,
|
|
83
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
84
|
+
}, {
|
|
85
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
86
|
+
});
|
|
87
|
+
return context.path(path).post({
|
|
88
|
+
...operationOptionsToRequestParameters(options),
|
|
89
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
export async function _resyncPasswordsDeserialize(result) {
|
|
93
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
94
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
95
|
+
const error = createRestError(result);
|
|
96
|
+
if (result.body) {
|
|
97
|
+
error.details = errorResponseDeserializer(result.body);
|
|
98
|
+
}
|
|
99
|
+
throw error;
|
|
100
|
+
}
|
|
101
|
+
return networkFabricResyncPasswordsResponseDeserializer(result.body);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Updates the Terminal Server and all Network Devices to use the latest passwords. Does not generate new passwords.
|
|
105
|
+
*
|
|
106
|
+
* Allows devices to be brought back in sync after a partially successful password rotation.
|
|
107
|
+
*/
|
|
108
|
+
export function resyncPasswords(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
109
|
+
return getLongRunningPoller(context, _resyncPasswordsDeserialize, ["200", "202", "201"], {
|
|
110
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
111
|
+
abortSignal: options?.abortSignal,
|
|
112
|
+
getInitialResponse: () => _resyncPasswordsSend(context, resourceGroupName, networkFabricName, options),
|
|
113
|
+
resourceLocationConfig: "location",
|
|
114
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export function _rotatePasswordsSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
118
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/rotatePasswords{?api%2Dversion}", {
|
|
119
|
+
subscriptionId: context.subscriptionId,
|
|
120
|
+
resourceGroupName: resourceGroupName,
|
|
121
|
+
networkFabricName: networkFabricName,
|
|
122
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
123
|
+
}, {
|
|
124
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
125
|
+
});
|
|
126
|
+
return context.path(path).post({
|
|
127
|
+
...operationOptionsToRequestParameters(options),
|
|
128
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
export async function _rotatePasswordsDeserialize(result) {
|
|
132
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
133
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
134
|
+
const error = createRestError(result);
|
|
135
|
+
if (result.body) {
|
|
136
|
+
error.details = errorResponseDeserializer(result.body);
|
|
137
|
+
}
|
|
138
|
+
throw error;
|
|
139
|
+
}
|
|
140
|
+
return networkFabricRotatePasswordsResponseDeserializer(result.body);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Creates new passwords, then updates the Terminal Server and Network Devices to use the new passwords.
|
|
144
|
+
*
|
|
145
|
+
* Note that disabled devices cannot be updated and must be resynchronized with the new passwords once they are enabled.
|
|
146
|
+
*
|
|
147
|
+
* Fails if any of the devices could not be updated with the new password.
|
|
148
|
+
* Failed devices should be resynchronized with the new passwords once possible.
|
|
149
|
+
*/
|
|
150
|
+
export function rotatePasswords(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
151
|
+
return getLongRunningPoller(context, _rotatePasswordsDeserialize, ["200", "202", "201"], {
|
|
152
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
153
|
+
abortSignal: options?.abortSignal,
|
|
154
|
+
getInitialResponse: () => _rotatePasswordsSend(context, resourceGroupName, networkFabricName, options),
|
|
155
|
+
resourceLocationConfig: "location",
|
|
156
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
157
|
+
});
|
|
158
|
+
}
|
|
8
159
|
export function _armConfigurationDiffSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
9
160
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/armConfigurationDiff{?api%2Dversion}", {
|
|
10
161
|
subscriptionId: context.subscriptionId,
|
|
11
162
|
resourceGroupName: resourceGroupName,
|
|
12
163
|
networkFabricName: networkFabricName,
|
|
13
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
164
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
14
165
|
}, {
|
|
15
166
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
167
|
});
|
|
@@ -20,22 +171,24 @@ export function _armConfigurationDiffSend(context, resourceGroupName, networkFab
|
|
|
20
171
|
});
|
|
21
172
|
}
|
|
22
173
|
export async function _armConfigurationDiffDeserialize(result) {
|
|
23
|
-
const expectedStatuses = ["
|
|
174
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
24
175
|
if (!expectedStatuses.includes(result.status)) {
|
|
25
176
|
const error = createRestError(result);
|
|
26
|
-
|
|
177
|
+
if (result.body) {
|
|
178
|
+
error.details = errorResponseDeserializer(result.body);
|
|
179
|
+
}
|
|
27
180
|
throw error;
|
|
28
181
|
}
|
|
29
|
-
return
|
|
182
|
+
return armConfigurationDiffOperationResponseDeserializer(result.body);
|
|
30
183
|
}
|
|
31
184
|
/** Post action: Triggers diff of NetworkFabric ARM Configuration. */
|
|
32
185
|
export function armConfigurationDiff(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
33
|
-
return getLongRunningPoller(context, _armConfigurationDiffDeserialize, ["
|
|
186
|
+
return getLongRunningPoller(context, _armConfigurationDiffDeserialize, ["200", "202", "201"], {
|
|
34
187
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
35
188
|
abortSignal: options?.abortSignal,
|
|
36
189
|
getInitialResponse: () => _armConfigurationDiffSend(context, resourceGroupName, networkFabricName, options),
|
|
37
190
|
resourceLocationConfig: "location",
|
|
38
|
-
apiVersion: context.apiVersion ?? "
|
|
191
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
39
192
|
});
|
|
40
193
|
}
|
|
41
194
|
export function _viewDeviceConfigurationSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -43,7 +196,7 @@ export function _viewDeviceConfigurationSend(context, resourceGroupName, network
|
|
|
43
196
|
subscriptionId: context.subscriptionId,
|
|
44
197
|
resourceGroupName: resourceGroupName,
|
|
45
198
|
networkFabricName: networkFabricName,
|
|
46
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
199
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
47
200
|
}, {
|
|
48
201
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
49
202
|
});
|
|
@@ -53,22 +206,24 @@ export function _viewDeviceConfigurationSend(context, resourceGroupName, network
|
|
|
53
206
|
});
|
|
54
207
|
}
|
|
55
208
|
export async function _viewDeviceConfigurationDeserialize(result) {
|
|
56
|
-
const expectedStatuses = ["
|
|
209
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
57
210
|
if (!expectedStatuses.includes(result.status)) {
|
|
58
211
|
const error = createRestError(result);
|
|
59
|
-
|
|
212
|
+
if (result.body) {
|
|
213
|
+
error.details = errorResponseDeserializer(result.body);
|
|
214
|
+
}
|
|
60
215
|
throw error;
|
|
61
216
|
}
|
|
62
|
-
return
|
|
217
|
+
return viewDeviceConfigurationOperationResponseDeserializer(result.body);
|
|
63
218
|
}
|
|
64
219
|
/** Post action: Triggers view of network fabric configuration. */
|
|
65
220
|
export function viewDeviceConfiguration(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
66
|
-
return getLongRunningPoller(context, _viewDeviceConfigurationDeserialize, ["
|
|
221
|
+
return getLongRunningPoller(context, _viewDeviceConfigurationDeserialize, ["200", "202", "201"], {
|
|
67
222
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
68
223
|
abortSignal: options?.abortSignal,
|
|
69
224
|
getInitialResponse: () => _viewDeviceConfigurationSend(context, resourceGroupName, networkFabricName, options),
|
|
70
225
|
resourceLocationConfig: "location",
|
|
71
|
-
apiVersion: context.apiVersion ?? "
|
|
226
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
72
227
|
});
|
|
73
228
|
}
|
|
74
229
|
export function _lockFabricSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -76,7 +231,7 @@ export function _lockFabricSend(context, resourceGroupName, networkFabricName, b
|
|
|
76
231
|
subscriptionId: context.subscriptionId,
|
|
77
232
|
resourceGroupName: resourceGroupName,
|
|
78
233
|
networkFabricName: networkFabricName,
|
|
79
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
234
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
80
235
|
}, {
|
|
81
236
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
82
237
|
});
|
|
@@ -88,22 +243,24 @@ export function _lockFabricSend(context, resourceGroupName, networkFabricName, b
|
|
|
88
243
|
});
|
|
89
244
|
}
|
|
90
245
|
export async function _lockFabricDeserialize(result) {
|
|
91
|
-
const expectedStatuses = ["
|
|
246
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
92
247
|
if (!expectedStatuses.includes(result.status)) {
|
|
93
248
|
const error = createRestError(result);
|
|
94
|
-
|
|
249
|
+
if (result.body) {
|
|
250
|
+
error.details = errorResponseDeserializer(result.body);
|
|
251
|
+
}
|
|
95
252
|
throw error;
|
|
96
253
|
}
|
|
97
|
-
return
|
|
254
|
+
return operationStatusResultDeserializer(result.body);
|
|
98
255
|
}
|
|
99
256
|
/** Post action: Triggers network fabric lock operation. */
|
|
100
257
|
export function lockFabric(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
101
|
-
return getLongRunningPoller(context, _lockFabricDeserialize, ["
|
|
258
|
+
return getLongRunningPoller(context, _lockFabricDeserialize, ["200", "202", "201"], {
|
|
102
259
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
103
260
|
abortSignal: options?.abortSignal,
|
|
104
261
|
getInitialResponse: () => _lockFabricSend(context, resourceGroupName, networkFabricName, body, options),
|
|
105
262
|
resourceLocationConfig: "location",
|
|
106
|
-
apiVersion: context.apiVersion ?? "
|
|
263
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
107
264
|
});
|
|
108
265
|
}
|
|
109
266
|
export function _discardCommitBatchSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -111,7 +268,7 @@ export function _discardCommitBatchSend(context, resourceGroupName, networkFabri
|
|
|
111
268
|
subscriptionId: context.subscriptionId,
|
|
112
269
|
resourceGroupName: resourceGroupName,
|
|
113
270
|
networkFabricName: networkFabricName,
|
|
114
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
271
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
115
272
|
}, {
|
|
116
273
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
117
274
|
});
|
|
@@ -123,22 +280,24 @@ export function _discardCommitBatchSend(context, resourceGroupName, networkFabri
|
|
|
123
280
|
});
|
|
124
281
|
}
|
|
125
282
|
export async function _discardCommitBatchDeserialize(result) {
|
|
126
|
-
const expectedStatuses = ["
|
|
283
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
127
284
|
if (!expectedStatuses.includes(result.status)) {
|
|
128
285
|
const error = createRestError(result);
|
|
129
|
-
|
|
286
|
+
if (result.body) {
|
|
287
|
+
error.details = errorResponseDeserializer(result.body);
|
|
288
|
+
}
|
|
130
289
|
throw error;
|
|
131
290
|
}
|
|
132
|
-
return
|
|
291
|
+
return discardCommitBatchOperationResponseDeserializer(result.body);
|
|
133
292
|
}
|
|
134
293
|
/** Post action: Discards a Batch operation in progress. */
|
|
135
294
|
export function discardCommitBatch(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
136
|
-
return getLongRunningPoller(context, _discardCommitBatchDeserialize, ["
|
|
295
|
+
return getLongRunningPoller(context, _discardCommitBatchDeserialize, ["200", "202", "201"], {
|
|
137
296
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
138
297
|
abortSignal: options?.abortSignal,
|
|
139
298
|
getInitialResponse: () => _discardCommitBatchSend(context, resourceGroupName, networkFabricName, body, options),
|
|
140
299
|
resourceLocationConfig: "location",
|
|
141
|
-
apiVersion: context.apiVersion ?? "
|
|
300
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
142
301
|
});
|
|
143
302
|
}
|
|
144
303
|
export function _commitBatchStatusSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -146,7 +305,7 @@ export function _commitBatchStatusSend(context, resourceGroupName, networkFabric
|
|
|
146
305
|
subscriptionId: context.subscriptionId,
|
|
147
306
|
resourceGroupName: resourceGroupName,
|
|
148
307
|
networkFabricName: networkFabricName,
|
|
149
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
308
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
150
309
|
}, {
|
|
151
310
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
152
311
|
});
|
|
@@ -158,22 +317,24 @@ export function _commitBatchStatusSend(context, resourceGroupName, networkFabric
|
|
|
158
317
|
});
|
|
159
318
|
}
|
|
160
319
|
export async function _commitBatchStatusDeserialize(result) {
|
|
161
|
-
const expectedStatuses = ["
|
|
320
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
162
321
|
if (!expectedStatuses.includes(result.status)) {
|
|
163
322
|
const error = createRestError(result);
|
|
164
|
-
|
|
323
|
+
if (result.body) {
|
|
324
|
+
error.details = errorResponseDeserializer(result.body);
|
|
325
|
+
}
|
|
165
326
|
throw error;
|
|
166
327
|
}
|
|
167
|
-
return
|
|
328
|
+
return commitBatchStatusOperationResponseDeserializer(result.body);
|
|
168
329
|
}
|
|
169
330
|
/** Post action: Returns a status of commit batch operation. */
|
|
170
331
|
export function commitBatchStatus(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
171
|
-
return getLongRunningPoller(context, _commitBatchStatusDeserialize, ["
|
|
332
|
+
return getLongRunningPoller(context, _commitBatchStatusDeserialize, ["200", "202", "201"], {
|
|
172
333
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
173
334
|
abortSignal: options?.abortSignal,
|
|
174
335
|
getInitialResponse: () => _commitBatchStatusSend(context, resourceGroupName, networkFabricName, body, options),
|
|
175
336
|
resourceLocationConfig: "location",
|
|
176
|
-
apiVersion: context.apiVersion ?? "
|
|
337
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
177
338
|
});
|
|
178
339
|
}
|
|
179
340
|
export function _commitConfigurationSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -181,32 +342,36 @@ export function _commitConfigurationSend(context, resourceGroupName, networkFabr
|
|
|
181
342
|
subscriptionId: context.subscriptionId,
|
|
182
343
|
resourceGroupName: resourceGroupName,
|
|
183
344
|
networkFabricName: networkFabricName,
|
|
184
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
345
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
185
346
|
}, {
|
|
186
347
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
187
348
|
});
|
|
188
349
|
return context.path(path).post({
|
|
189
350
|
...operationOptionsToRequestParameters(options),
|
|
351
|
+
contentType: "application/json",
|
|
190
352
|
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
353
|
+
body: !options?.body ? options?.body : commitConfigurationRequestSerializer(options?.body),
|
|
191
354
|
});
|
|
192
355
|
}
|
|
193
356
|
export async function _commitConfigurationDeserialize(result) {
|
|
194
|
-
const expectedStatuses = ["
|
|
357
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
195
358
|
if (!expectedStatuses.includes(result.status)) {
|
|
196
359
|
const error = createRestError(result);
|
|
197
|
-
|
|
360
|
+
if (result.body) {
|
|
361
|
+
error.details = errorResponseDeserializer(result.body);
|
|
362
|
+
}
|
|
198
363
|
throw error;
|
|
199
364
|
}
|
|
200
|
-
return
|
|
365
|
+
return commitConfigurationResponseDeserializer(result.body);
|
|
201
366
|
}
|
|
202
367
|
/** Atomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level. */
|
|
203
368
|
export function commitConfiguration(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
204
|
-
return getLongRunningPoller(context, _commitConfigurationDeserialize, ["
|
|
369
|
+
return getLongRunningPoller(context, _commitConfigurationDeserialize, ["200", "202", "201"], {
|
|
205
370
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
206
371
|
abortSignal: options?.abortSignal,
|
|
207
372
|
getInitialResponse: () => _commitConfigurationSend(context, resourceGroupName, networkFabricName, options),
|
|
208
373
|
resourceLocationConfig: "location",
|
|
209
|
-
apiVersion: context.apiVersion ?? "
|
|
374
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
210
375
|
});
|
|
211
376
|
}
|
|
212
377
|
export function _getTopologySend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -214,7 +379,7 @@ export function _getTopologySend(context, resourceGroupName, networkFabricName,
|
|
|
214
379
|
subscriptionId: context.subscriptionId,
|
|
215
380
|
resourceGroupName: resourceGroupName,
|
|
216
381
|
networkFabricName: networkFabricName,
|
|
217
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
382
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
218
383
|
}, {
|
|
219
384
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
220
385
|
});
|
|
@@ -224,22 +389,24 @@ export function _getTopologySend(context, resourceGroupName, networkFabricName,
|
|
|
224
389
|
});
|
|
225
390
|
}
|
|
226
391
|
export async function _getTopologyDeserialize(result) {
|
|
227
|
-
const expectedStatuses = ["
|
|
392
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
228
393
|
if (!expectedStatuses.includes(result.status)) {
|
|
229
394
|
const error = createRestError(result);
|
|
230
|
-
|
|
395
|
+
if (result.body) {
|
|
396
|
+
error.details = errorResponseDeserializer(result.body);
|
|
397
|
+
}
|
|
231
398
|
throw error;
|
|
232
399
|
}
|
|
233
|
-
return
|
|
400
|
+
return getTopologyResponseDeserializer(result.body);
|
|
234
401
|
}
|
|
235
402
|
/** Gets Topology of the underlying resources in the given Network Fabric instance. */
|
|
236
403
|
export function getTopology(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
237
|
-
return getLongRunningPoller(context, _getTopologyDeserialize, ["
|
|
404
|
+
return getLongRunningPoller(context, _getTopologyDeserialize, ["200", "202", "201"], {
|
|
238
405
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
239
406
|
abortSignal: options?.abortSignal,
|
|
240
407
|
getInitialResponse: () => _getTopologySend(context, resourceGroupName, networkFabricName, options),
|
|
241
408
|
resourceLocationConfig: "location",
|
|
242
|
-
apiVersion: context.apiVersion ?? "
|
|
409
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
243
410
|
});
|
|
244
411
|
}
|
|
245
412
|
export function _validateConfigurationSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -247,7 +414,7 @@ export function _validateConfigurationSend(context, resourceGroupName, networkFa
|
|
|
247
414
|
subscriptionId: context.subscriptionId,
|
|
248
415
|
resourceGroupName: resourceGroupName,
|
|
249
416
|
networkFabricName: networkFabricName,
|
|
250
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
417
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
251
418
|
}, {
|
|
252
419
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
253
420
|
});
|
|
@@ -259,22 +426,24 @@ export function _validateConfigurationSend(context, resourceGroupName, networkFa
|
|
|
259
426
|
});
|
|
260
427
|
}
|
|
261
428
|
export async function _validateConfigurationDeserialize(result) {
|
|
262
|
-
const expectedStatuses = ["
|
|
429
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
263
430
|
if (!expectedStatuses.includes(result.status)) {
|
|
264
431
|
const error = createRestError(result);
|
|
265
|
-
|
|
432
|
+
if (result.body) {
|
|
433
|
+
error.details = errorResponseDeserializer(result.body);
|
|
434
|
+
}
|
|
266
435
|
throw error;
|
|
267
436
|
}
|
|
268
437
|
return validateConfigurationResponseDeserializer(result.body);
|
|
269
438
|
}
|
|
270
439
|
/** Validates the configuration of the underlying resources in the given Network Fabric instance. */
|
|
271
440
|
export function validateConfiguration(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
272
|
-
return getLongRunningPoller(context, _validateConfigurationDeserialize, ["
|
|
441
|
+
return getLongRunningPoller(context, _validateConfigurationDeserialize, ["200", "202", "201"], {
|
|
273
442
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
274
443
|
abortSignal: options?.abortSignal,
|
|
275
444
|
getInitialResponse: () => _validateConfigurationSend(context, resourceGroupName, networkFabricName, body, options),
|
|
276
445
|
resourceLocationConfig: "location",
|
|
277
|
-
apiVersion: context.apiVersion ?? "
|
|
446
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
278
447
|
});
|
|
279
448
|
}
|
|
280
449
|
export function _updateInfraManagementBfdConfigurationSend(context, resourceGroupName, networkFabricName, body, options = {
|
|
@@ -284,7 +453,7 @@ export function _updateInfraManagementBfdConfigurationSend(context, resourceGrou
|
|
|
284
453
|
subscriptionId: context.subscriptionId,
|
|
285
454
|
resourceGroupName: resourceGroupName,
|
|
286
455
|
networkFabricName: networkFabricName,
|
|
287
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
456
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
288
457
|
}, {
|
|
289
458
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
290
459
|
});
|
|
@@ -296,24 +465,26 @@ export function _updateInfraManagementBfdConfigurationSend(context, resourceGrou
|
|
|
296
465
|
});
|
|
297
466
|
}
|
|
298
467
|
export async function _updateInfraManagementBfdConfigurationDeserialize(result) {
|
|
299
|
-
const expectedStatuses = ["
|
|
468
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
300
469
|
if (!expectedStatuses.includes(result.status)) {
|
|
301
470
|
const error = createRestError(result);
|
|
302
|
-
|
|
471
|
+
if (result.body) {
|
|
472
|
+
error.details = errorResponseDeserializer(result.body);
|
|
473
|
+
}
|
|
303
474
|
throw error;
|
|
304
475
|
}
|
|
305
|
-
return
|
|
476
|
+
return updateAdministrativeStateResponseDeserializer(result.body);
|
|
306
477
|
}
|
|
307
478
|
/** Updates the Infra Management BFD Configuration of the underlying resources in the given Network Fabric instance. */
|
|
308
479
|
export function updateInfraManagementBfdConfiguration(context, resourceGroupName, networkFabricName, body, options = {
|
|
309
480
|
requestOptions: {},
|
|
310
481
|
}) {
|
|
311
|
-
return getLongRunningPoller(context, _updateInfraManagementBfdConfigurationDeserialize, ["
|
|
482
|
+
return getLongRunningPoller(context, _updateInfraManagementBfdConfigurationDeserialize, ["200", "202", "201"], {
|
|
312
483
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
313
484
|
abortSignal: options?.abortSignal,
|
|
314
485
|
getInitialResponse: () => _updateInfraManagementBfdConfigurationSend(context, resourceGroupName, networkFabricName, body, options),
|
|
315
486
|
resourceLocationConfig: "location",
|
|
316
|
-
apiVersion: context.apiVersion ?? "
|
|
487
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
317
488
|
});
|
|
318
489
|
}
|
|
319
490
|
export function _updateWorkloadManagementBfdConfigurationSend(context, resourceGroupName, networkFabricName, body, options = {
|
|
@@ -323,7 +494,7 @@ export function _updateWorkloadManagementBfdConfigurationSend(context, resourceG
|
|
|
323
494
|
subscriptionId: context.subscriptionId,
|
|
324
495
|
resourceGroupName: resourceGroupName,
|
|
325
496
|
networkFabricName: networkFabricName,
|
|
326
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
497
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
327
498
|
}, {
|
|
328
499
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
329
500
|
});
|
|
@@ -335,24 +506,26 @@ export function _updateWorkloadManagementBfdConfigurationSend(context, resourceG
|
|
|
335
506
|
});
|
|
336
507
|
}
|
|
337
508
|
export async function _updateWorkloadManagementBfdConfigurationDeserialize(result) {
|
|
338
|
-
const expectedStatuses = ["
|
|
509
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
339
510
|
if (!expectedStatuses.includes(result.status)) {
|
|
340
511
|
const error = createRestError(result);
|
|
341
|
-
|
|
512
|
+
if (result.body) {
|
|
513
|
+
error.details = errorResponseDeserializer(result.body);
|
|
514
|
+
}
|
|
342
515
|
throw error;
|
|
343
516
|
}
|
|
344
|
-
return
|
|
517
|
+
return updateAdministrativeStateResponseDeserializer(result.body);
|
|
345
518
|
}
|
|
346
519
|
/** Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric instance. */
|
|
347
520
|
export function updateWorkloadManagementBfdConfiguration(context, resourceGroupName, networkFabricName, body, options = {
|
|
348
521
|
requestOptions: {},
|
|
349
522
|
}) {
|
|
350
|
-
return getLongRunningPoller(context, _updateWorkloadManagementBfdConfigurationDeserialize, ["
|
|
523
|
+
return getLongRunningPoller(context, _updateWorkloadManagementBfdConfigurationDeserialize, ["200", "202", "201"], {
|
|
351
524
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
352
525
|
abortSignal: options?.abortSignal,
|
|
353
526
|
getInitialResponse: () => _updateWorkloadManagementBfdConfigurationSend(context, resourceGroupName, networkFabricName, body, options),
|
|
354
527
|
resourceLocationConfig: "location",
|
|
355
|
-
apiVersion: context.apiVersion ?? "
|
|
528
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
356
529
|
});
|
|
357
530
|
}
|
|
358
531
|
export function _refreshConfigurationSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -360,7 +533,7 @@ export function _refreshConfigurationSend(context, resourceGroupName, networkFab
|
|
|
360
533
|
subscriptionId: context.subscriptionId,
|
|
361
534
|
resourceGroupName: resourceGroupName,
|
|
362
535
|
networkFabricName: networkFabricName,
|
|
363
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
536
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
364
537
|
}, {
|
|
365
538
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
366
539
|
});
|
|
@@ -370,22 +543,24 @@ export function _refreshConfigurationSend(context, resourceGroupName, networkFab
|
|
|
370
543
|
});
|
|
371
544
|
}
|
|
372
545
|
export async function _refreshConfigurationDeserialize(result) {
|
|
373
|
-
const expectedStatuses = ["
|
|
546
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
374
547
|
if (!expectedStatuses.includes(result.status)) {
|
|
375
548
|
const error = createRestError(result);
|
|
376
|
-
|
|
549
|
+
if (result.body) {
|
|
550
|
+
error.details = errorResponseDeserializer(result.body);
|
|
551
|
+
}
|
|
377
552
|
throw error;
|
|
378
553
|
}
|
|
379
|
-
return
|
|
554
|
+
return operationStatusResultDeserializer(result.body);
|
|
380
555
|
}
|
|
381
556
|
/** Refreshes the configuration of the underlying resources in the given Network Fabric instance. */
|
|
382
557
|
export function refreshConfiguration(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
383
|
-
return getLongRunningPoller(context, _refreshConfigurationDeserialize, ["
|
|
558
|
+
return getLongRunningPoller(context, _refreshConfigurationDeserialize, ["200", "202", "201"], {
|
|
384
559
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
385
560
|
abortSignal: options?.abortSignal,
|
|
386
561
|
getInitialResponse: () => _refreshConfigurationSend(context, resourceGroupName, networkFabricName, options),
|
|
387
562
|
resourceLocationConfig: "location",
|
|
388
|
-
apiVersion: context.apiVersion ?? "
|
|
563
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
389
564
|
});
|
|
390
565
|
}
|
|
391
566
|
export function _upgradeSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -393,7 +568,7 @@ export function _upgradeSend(context, resourceGroupName, networkFabricName, body
|
|
|
393
568
|
subscriptionId: context.subscriptionId,
|
|
394
569
|
resourceGroupName: resourceGroupName,
|
|
395
570
|
networkFabricName: networkFabricName,
|
|
396
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
571
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
397
572
|
}, {
|
|
398
573
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
399
574
|
});
|
|
@@ -405,22 +580,24 @@ export function _upgradeSend(context, resourceGroupName, networkFabricName, body
|
|
|
405
580
|
});
|
|
406
581
|
}
|
|
407
582
|
export async function _upgradeDeserialize(result) {
|
|
408
|
-
const expectedStatuses = ["
|
|
583
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
409
584
|
if (!expectedStatuses.includes(result.status)) {
|
|
410
585
|
const error = createRestError(result);
|
|
411
|
-
|
|
586
|
+
if (result.body) {
|
|
587
|
+
error.details = errorResponseDeserializer(result.body);
|
|
588
|
+
}
|
|
412
589
|
throw error;
|
|
413
590
|
}
|
|
414
|
-
return
|
|
591
|
+
return operationStatusResultDeserializer(result.body);
|
|
415
592
|
}
|
|
416
593
|
/** Upgrades the version of the underlying resources in the given Network Fabric instance. */
|
|
417
594
|
export function upgrade(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
418
|
-
return getLongRunningPoller(context, _upgradeDeserialize, ["
|
|
595
|
+
return getLongRunningPoller(context, _upgradeDeserialize, ["200", "202", "201"], {
|
|
419
596
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
420
597
|
abortSignal: options?.abortSignal,
|
|
421
598
|
getInitialResponse: () => _upgradeSend(context, resourceGroupName, networkFabricName, body, options),
|
|
422
599
|
resourceLocationConfig: "location",
|
|
423
|
-
apiVersion: context.apiVersion ?? "
|
|
600
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
424
601
|
});
|
|
425
602
|
}
|
|
426
603
|
export function _deprovisionSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -428,7 +605,7 @@ export function _deprovisionSend(context, resourceGroupName, networkFabricName,
|
|
|
428
605
|
subscriptionId: context.subscriptionId,
|
|
429
606
|
resourceGroupName: resourceGroupName,
|
|
430
607
|
networkFabricName: networkFabricName,
|
|
431
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
608
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
432
609
|
}, {
|
|
433
610
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
434
611
|
});
|
|
@@ -438,22 +615,24 @@ export function _deprovisionSend(context, resourceGroupName, networkFabricName,
|
|
|
438
615
|
});
|
|
439
616
|
}
|
|
440
617
|
export async function _deprovisionDeserialize(result) {
|
|
441
|
-
const expectedStatuses = ["
|
|
618
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
442
619
|
if (!expectedStatuses.includes(result.status)) {
|
|
443
620
|
const error = createRestError(result);
|
|
444
|
-
|
|
621
|
+
if (result.body) {
|
|
622
|
+
error.details = errorResponseDeserializer(result.body);
|
|
623
|
+
}
|
|
445
624
|
throw error;
|
|
446
625
|
}
|
|
447
|
-
return
|
|
626
|
+
return operationStatusResultDeserializer(result.body);
|
|
448
627
|
}
|
|
449
628
|
/** Deprovisions the underlying resources in the given Network Fabric instance. */
|
|
450
629
|
export function deprovision(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
451
|
-
return getLongRunningPoller(context, _deprovisionDeserialize, ["
|
|
630
|
+
return getLongRunningPoller(context, _deprovisionDeserialize, ["200", "202", "201"], {
|
|
452
631
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
453
632
|
abortSignal: options?.abortSignal,
|
|
454
633
|
getInitialResponse: () => _deprovisionSend(context, resourceGroupName, networkFabricName, options),
|
|
455
634
|
resourceLocationConfig: "location",
|
|
456
|
-
apiVersion: context.apiVersion ?? "
|
|
635
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
457
636
|
});
|
|
458
637
|
}
|
|
459
638
|
export function _provisionSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -461,7 +640,7 @@ export function _provisionSend(context, resourceGroupName, networkFabricName, op
|
|
|
461
640
|
subscriptionId: context.subscriptionId,
|
|
462
641
|
resourceGroupName: resourceGroupName,
|
|
463
642
|
networkFabricName: networkFabricName,
|
|
464
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
643
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
465
644
|
}, {
|
|
466
645
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
467
646
|
});
|
|
@@ -471,28 +650,30 @@ export function _provisionSend(context, resourceGroupName, networkFabricName, op
|
|
|
471
650
|
});
|
|
472
651
|
}
|
|
473
652
|
export async function _provisionDeserialize(result) {
|
|
474
|
-
const expectedStatuses = ["
|
|
653
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
475
654
|
if (!expectedStatuses.includes(result.status)) {
|
|
476
655
|
const error = createRestError(result);
|
|
477
|
-
|
|
656
|
+
if (result.body) {
|
|
657
|
+
error.details = errorResponseDeserializer(result.body);
|
|
658
|
+
}
|
|
478
659
|
throw error;
|
|
479
660
|
}
|
|
480
|
-
return
|
|
661
|
+
return operationStatusResultDeserializer(result.body);
|
|
481
662
|
}
|
|
482
663
|
/** Provisions the underlying resources in the given Network Fabric instance. */
|
|
483
664
|
export function provision(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
484
|
-
return getLongRunningPoller(context, _provisionDeserialize, ["
|
|
665
|
+
return getLongRunningPoller(context, _provisionDeserialize, ["200", "202", "201"], {
|
|
485
666
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
486
667
|
abortSignal: options?.abortSignal,
|
|
487
668
|
getInitialResponse: () => _provisionSend(context, resourceGroupName, networkFabricName, options),
|
|
488
669
|
resourceLocationConfig: "location",
|
|
489
|
-
apiVersion: context.apiVersion ?? "
|
|
670
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
490
671
|
});
|
|
491
672
|
}
|
|
492
673
|
export function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
493
674
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics{?api%2Dversion}", {
|
|
494
675
|
subscriptionId: context.subscriptionId,
|
|
495
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
676
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
496
677
|
}, {
|
|
497
678
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
498
679
|
});
|
|
@@ -505,24 +686,22 @@ export async function _listBySubscriptionDeserialize(result) {
|
|
|
505
686
|
const expectedStatuses = ["200"];
|
|
506
687
|
if (!expectedStatuses.includes(result.status)) {
|
|
507
688
|
const error = createRestError(result);
|
|
508
|
-
|
|
689
|
+
if (result.body) {
|
|
690
|
+
error.details = errorResponseDeserializer(result.body);
|
|
691
|
+
}
|
|
509
692
|
throw error;
|
|
510
693
|
}
|
|
511
694
|
return _networkFabricsListResultDeserializer(result.body);
|
|
512
695
|
}
|
|
513
696
|
/** List all the Network Fabric resources in the given subscription. */
|
|
514
697
|
export function listBySubscription(context, options = { requestOptions: {} }) {
|
|
515
|
-
return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], {
|
|
516
|
-
itemName: "value",
|
|
517
|
-
nextLinkName: "nextLink",
|
|
518
|
-
apiVersion: context.apiVersion ?? "2024-06-15-preview",
|
|
519
|
-
});
|
|
698
|
+
return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2025-07-15" });
|
|
520
699
|
}
|
|
521
700
|
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
522
701
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics{?api%2Dversion}", {
|
|
523
702
|
subscriptionId: context.subscriptionId,
|
|
524
703
|
resourceGroupName: resourceGroupName,
|
|
525
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
704
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
526
705
|
}, {
|
|
527
706
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
528
707
|
});
|
|
@@ -535,25 +714,23 @@ export async function _listByResourceGroupDeserialize(result) {
|
|
|
535
714
|
const expectedStatuses = ["200"];
|
|
536
715
|
if (!expectedStatuses.includes(result.status)) {
|
|
537
716
|
const error = createRestError(result);
|
|
538
|
-
|
|
717
|
+
if (result.body) {
|
|
718
|
+
error.details = errorResponseDeserializer(result.body);
|
|
719
|
+
}
|
|
539
720
|
throw error;
|
|
540
721
|
}
|
|
541
722
|
return _networkFabricsListResultDeserializer(result.body);
|
|
542
723
|
}
|
|
543
724
|
/** List all the Network Fabric resources in the given resource group. */
|
|
544
725
|
export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
545
|
-
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
546
|
-
itemName: "value",
|
|
547
|
-
nextLinkName: "nextLink",
|
|
548
|
-
apiVersion: context.apiVersion ?? "2024-06-15-preview",
|
|
549
|
-
});
|
|
726
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2025-07-15" });
|
|
550
727
|
}
|
|
551
728
|
export function _$deleteSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
552
729
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}{?api%2Dversion}", {
|
|
553
730
|
subscriptionId: context.subscriptionId,
|
|
554
731
|
resourceGroupName: resourceGroupName,
|
|
555
732
|
networkFabricName: networkFabricName,
|
|
556
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
733
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
557
734
|
}, {
|
|
558
735
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
559
736
|
});
|
|
@@ -563,24 +740,21 @@ export async function _$deleteDeserialize(result) {
|
|
|
563
740
|
const expectedStatuses = ["202", "204", "200"];
|
|
564
741
|
if (!expectedStatuses.includes(result.status)) {
|
|
565
742
|
const error = createRestError(result);
|
|
566
|
-
|
|
743
|
+
if (result.body) {
|
|
744
|
+
error.details = errorResponseDeserializer(result.body);
|
|
745
|
+
}
|
|
567
746
|
throw error;
|
|
568
747
|
}
|
|
569
748
|
return;
|
|
570
749
|
}
|
|
571
750
|
/** Delete Network Fabric resource. */
|
|
572
|
-
/**
|
|
573
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
574
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
575
|
-
* to the operation to override the generated name.
|
|
576
|
-
*/
|
|
577
751
|
export function $delete(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
578
752
|
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
579
753
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
580
754
|
abortSignal: options?.abortSignal,
|
|
581
755
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, networkFabricName, options),
|
|
582
756
|
resourceLocationConfig: "location",
|
|
583
|
-
apiVersion: context.apiVersion ?? "
|
|
757
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
584
758
|
});
|
|
585
759
|
}
|
|
586
760
|
export function _updateSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -588,7 +762,7 @@ export function _updateSend(context, resourceGroupName, networkFabricName, body,
|
|
|
588
762
|
subscriptionId: context.subscriptionId,
|
|
589
763
|
resourceGroupName: resourceGroupName,
|
|
590
764
|
networkFabricName: networkFabricName,
|
|
591
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
765
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
592
766
|
}, {
|
|
593
767
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
594
768
|
});
|
|
@@ -603,7 +777,9 @@ export async function _updateDeserialize(result) {
|
|
|
603
777
|
const expectedStatuses = ["200", "202", "201"];
|
|
604
778
|
if (!expectedStatuses.includes(result.status)) {
|
|
605
779
|
const error = createRestError(result);
|
|
606
|
-
|
|
780
|
+
if (result.body) {
|
|
781
|
+
error.details = errorResponseDeserializer(result.body);
|
|
782
|
+
}
|
|
607
783
|
throw error;
|
|
608
784
|
}
|
|
609
785
|
return networkFabricDeserializer(result.body);
|
|
@@ -615,7 +791,7 @@ export function update(context, resourceGroupName, networkFabricName, body, opti
|
|
|
615
791
|
abortSignal: options?.abortSignal,
|
|
616
792
|
getInitialResponse: () => _updateSend(context, resourceGroupName, networkFabricName, body, options),
|
|
617
793
|
resourceLocationConfig: "location",
|
|
618
|
-
apiVersion: context.apiVersion ?? "
|
|
794
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
619
795
|
});
|
|
620
796
|
}
|
|
621
797
|
export function _createSend(context, resourceGroupName, networkFabricName, body, options = { requestOptions: {} }) {
|
|
@@ -623,7 +799,7 @@ export function _createSend(context, resourceGroupName, networkFabricName, body,
|
|
|
623
799
|
subscriptionId: context.subscriptionId,
|
|
624
800
|
resourceGroupName: resourceGroupName,
|
|
625
801
|
networkFabricName: networkFabricName,
|
|
626
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
802
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
627
803
|
}, {
|
|
628
804
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
629
805
|
});
|
|
@@ -638,7 +814,9 @@ export async function _createDeserialize(result) {
|
|
|
638
814
|
const expectedStatuses = ["200", "201", "202"];
|
|
639
815
|
if (!expectedStatuses.includes(result.status)) {
|
|
640
816
|
const error = createRestError(result);
|
|
641
|
-
|
|
817
|
+
if (result.body) {
|
|
818
|
+
error.details = errorResponseDeserializer(result.body);
|
|
819
|
+
}
|
|
642
820
|
throw error;
|
|
643
821
|
}
|
|
644
822
|
return networkFabricDeserializer(result.body);
|
|
@@ -650,7 +828,7 @@ export function create(context, resourceGroupName, networkFabricName, body, opti
|
|
|
650
828
|
abortSignal: options?.abortSignal,
|
|
651
829
|
getInitialResponse: () => _createSend(context, resourceGroupName, networkFabricName, body, options),
|
|
652
830
|
resourceLocationConfig: "azure-async-operation",
|
|
653
|
-
apiVersion: context.apiVersion ?? "
|
|
831
|
+
apiVersion: context.apiVersion ?? "2025-07-15",
|
|
654
832
|
});
|
|
655
833
|
}
|
|
656
834
|
export function _getSend(context, resourceGroupName, networkFabricName, options = { requestOptions: {} }) {
|
|
@@ -658,7 +836,7 @@ export function _getSend(context, resourceGroupName, networkFabricName, options
|
|
|
658
836
|
subscriptionId: context.subscriptionId,
|
|
659
837
|
resourceGroupName: resourceGroupName,
|
|
660
838
|
networkFabricName: networkFabricName,
|
|
661
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
839
|
+
"api%2Dversion": context.apiVersion ?? "2025-07-15",
|
|
662
840
|
}, {
|
|
663
841
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
664
842
|
});
|
|
@@ -671,7 +849,9 @@ export async function _getDeserialize(result) {
|
|
|
671
849
|
const expectedStatuses = ["200"];
|
|
672
850
|
if (!expectedStatuses.includes(result.status)) {
|
|
673
851
|
const error = createRestError(result);
|
|
674
|
-
|
|
852
|
+
if (result.body) {
|
|
853
|
+
error.details = errorResponseDeserializer(result.body);
|
|
854
|
+
}
|
|
675
855
|
throw error;
|
|
676
856
|
}
|
|
677
857
|
return networkFabricDeserializer(result.body);
|