@azure/arm-networkcloud 2.0.0-beta.2 → 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/accessBridges/operations.d.ts +6 -6
- package/dist/browser/api/accessBridges/operations.js +34 -30
- package/dist/browser/api/accessBridges/operations.js.map +1 -1
- package/dist/browser/api/accessBridges/options.d.ts +2 -2
- package/dist/browser/api/accessBridges/options.js.map +1 -1
- package/dist/browser/api/agentPools/operations.d.ts +6 -6
- package/dist/browser/api/agentPools/operations.js +29 -23
- package/dist/browser/api/agentPools/operations.js.map +1 -1
- package/dist/browser/api/agentPools/options.d.ts +2 -2
- package/dist/browser/api/agentPools/options.js.map +1 -1
- package/dist/browser/api/bareMetalMachineKeySets/operations.d.ts +6 -6
- package/dist/browser/api/bareMetalMachineKeySets/operations.js +29 -23
- package/dist/browser/api/bareMetalMachineKeySets/operations.js.map +1 -1
- package/dist/browser/api/bareMetalMachineKeySets/options.d.ts +2 -2
- package/dist/browser/api/bareMetalMachineKeySets/options.js.map +1 -1
- package/dist/browser/api/bareMetalMachines/operations.d.ts +6 -6
- package/dist/browser/api/bareMetalMachines/operations.js +101 -75
- package/dist/browser/api/bareMetalMachines/operations.js.map +1 -1
- package/dist/browser/api/bareMetalMachines/options.d.ts +2 -2
- package/dist/browser/api/bareMetalMachines/options.js.map +1 -1
- package/dist/browser/api/bmcKeySets/operations.d.ts +6 -6
- package/dist/browser/api/bmcKeySets/operations.js +29 -23
- package/dist/browser/api/bmcKeySets/operations.js.map +1 -1
- package/dist/browser/api/bmcKeySets/options.d.ts +2 -2
- package/dist/browser/api/bmcKeySets/options.js.map +1 -1
- package/dist/browser/api/cloudServicesNetworks/operations.d.ts +6 -6
- package/dist/browser/api/cloudServicesNetworks/operations.js +34 -30
- package/dist/browser/api/cloudServicesNetworks/operations.js.map +1 -1
- package/dist/browser/api/cloudServicesNetworks/options.d.ts +2 -2
- package/dist/browser/api/cloudServicesNetworks/options.js.map +1 -1
- package/dist/browser/api/clusterManagers/operations.d.ts +6 -6
- package/dist/browser/api/clusterManagers/operations.js +41 -35
- package/dist/browser/api/clusterManagers/operations.js.map +1 -1
- package/dist/browser/api/clusterManagers/options.d.ts +2 -2
- package/dist/browser/api/clusterManagers/options.js.map +1 -1
- package/dist/browser/api/clusters/operations.d.ts +6 -6
- package/dist/browser/api/clusters/operations.js +73 -57
- package/dist/browser/api/clusters/operations.js.map +1 -1
- package/dist/browser/api/clusters/options.d.ts +2 -2
- package/dist/browser/api/clusters/options.js.map +1 -1
- package/dist/browser/api/consoles/operations.d.ts +6 -6
- package/dist/browser/api/consoles/operations.js +29 -23
- package/dist/browser/api/consoles/operations.js.map +1 -1
- package/dist/browser/api/consoles/options.d.ts +2 -2
- package/dist/browser/api/consoles/options.js.map +1 -1
- package/dist/browser/api/kubernetesClusterFeatures/operations.d.ts +6 -6
- package/dist/browser/api/kubernetesClusterFeatures/operations.js +29 -23
- package/dist/browser/api/kubernetesClusterFeatures/operations.js.map +1 -1
- package/dist/browser/api/kubernetesClusterFeatures/options.d.ts +2 -2
- package/dist/browser/api/kubernetesClusterFeatures/options.js.map +1 -1
- package/dist/browser/api/kubernetesClusters/operations.d.ts +6 -6
- package/dist/browser/api/kubernetesClusters/operations.js +39 -33
- package/dist/browser/api/kubernetesClusters/operations.js.map +1 -1
- package/dist/browser/api/kubernetesClusters/options.d.ts +2 -2
- package/dist/browser/api/kubernetesClusters/options.js.map +1 -1
- package/dist/browser/api/kubernetesVersions/operations.d.ts +6 -6
- package/dist/browser/api/kubernetesVersions/operations.js +34 -30
- package/dist/browser/api/kubernetesVersions/operations.js.map +1 -1
- package/dist/browser/api/kubernetesVersions/options.d.ts +2 -2
- package/dist/browser/api/kubernetesVersions/options.js.map +1 -1
- package/dist/browser/api/l2Networks/operations.d.ts +6 -6
- package/dist/browser/api/l2Networks/operations.js +33 -29
- package/dist/browser/api/l2Networks/operations.js.map +1 -1
- package/dist/browser/api/l2Networks/options.d.ts +2 -2
- package/dist/browser/api/l2Networks/options.js.map +1 -1
- package/dist/browser/api/l3Networks/operations.d.ts +6 -6
- package/dist/browser/api/l3Networks/operations.js +33 -29
- package/dist/browser/api/l3Networks/operations.js.map +1 -1
- package/dist/browser/api/l3Networks/options.d.ts +2 -2
- package/dist/browser/api/l3Networks/options.js.map +1 -1
- package/dist/browser/api/metricsConfigurations/operations.d.ts +6 -6
- package/dist/browser/api/metricsConfigurations/operations.js +29 -23
- package/dist/browser/api/metricsConfigurations/operations.js.map +1 -1
- package/dist/browser/api/metricsConfigurations/options.d.ts +2 -2
- package/dist/browser/api/metricsConfigurations/options.js.map +1 -1
- package/dist/browser/api/networkCloudContext.d.ts +3 -3
- package/dist/browser/api/networkCloudContext.js +7 -4
- package/dist/browser/api/networkCloudContext.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +5 -5
- package/dist/browser/api/operations/operations.js +7 -9
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations/options.d.ts +1 -1
- package/dist/browser/api/operations/options.js.map +1 -1
- package/dist/browser/api/rackSkus/operations.d.ts +5 -5
- package/dist/browser/api/rackSkus/operations.js +11 -11
- package/dist/browser/api/rackSkus/operations.js.map +1 -1
- package/dist/browser/api/rackSkus/options.d.ts +1 -1
- package/dist/browser/api/rackSkus/options.js.map +1 -1
- package/dist/browser/api/racks/operations.d.ts +6 -6
- package/dist/browser/api/racks/operations.js +34 -30
- package/dist/browser/api/racks/operations.js.map +1 -1
- package/dist/browser/api/racks/options.d.ts +2 -2
- package/dist/browser/api/racks/options.js.map +1 -1
- package/dist/browser/api/storageAppliances/operations.d.ts +6 -6
- package/dist/browser/api/storageAppliances/operations.js +52 -42
- package/dist/browser/api/storageAppliances/operations.js.map +1 -1
- package/dist/browser/api/storageAppliances/options.d.ts +2 -2
- package/dist/browser/api/storageAppliances/options.js.map +1 -1
- package/dist/browser/api/trunkedNetworks/operations.d.ts +6 -6
- package/dist/browser/api/trunkedNetworks/operations.js +33 -29
- package/dist/browser/api/trunkedNetworks/operations.js.map +1 -1
- package/dist/browser/api/trunkedNetworks/options.d.ts +2 -2
- package/dist/browser/api/trunkedNetworks/options.js.map +1 -1
- package/dist/browser/api/virtualMachines/operations.d.ts +6 -6
- package/dist/browser/api/virtualMachines/operations.js +65 -51
- package/dist/browser/api/virtualMachines/operations.js.map +1 -1
- package/dist/browser/api/virtualMachines/options.d.ts +2 -2
- package/dist/browser/api/virtualMachines/options.js.map +1 -1
- package/dist/browser/api/volumes/operations.d.ts +6 -6
- package/dist/browser/api/volumes/operations.js +33 -29
- package/dist/browser/api/volumes/operations.js.map +1 -1
- package/dist/browser/api/volumes/options.d.ts +2 -2
- package/dist/browser/api/volumes/options.js.map +1 -1
- package/dist/browser/classic/accessBridges/index.d.ts +6 -6
- package/dist/browser/classic/accessBridges/index.js.map +1 -1
- package/dist/browser/classic/agentPools/index.d.ts +6 -6
- package/dist/browser/classic/agentPools/index.js.map +1 -1
- package/dist/browser/classic/bareMetalMachineKeySets/index.d.ts +6 -6
- package/dist/browser/classic/bareMetalMachineKeySets/index.js.map +1 -1
- package/dist/browser/classic/bareMetalMachines/index.d.ts +6 -6
- package/dist/browser/classic/bareMetalMachines/index.js.map +1 -1
- package/dist/browser/classic/bmcKeySets/index.d.ts +6 -6
- package/dist/browser/classic/bmcKeySets/index.js.map +1 -1
- package/dist/browser/classic/cloudServicesNetworks/index.d.ts +6 -6
- package/dist/browser/classic/cloudServicesNetworks/index.js.map +1 -1
- package/dist/browser/classic/clusterManagers/index.d.ts +6 -6
- package/dist/browser/classic/clusterManagers/index.js.map +1 -1
- package/dist/browser/classic/clusters/index.d.ts +6 -6
- package/dist/browser/classic/clusters/index.js.map +1 -1
- package/dist/browser/classic/consoles/index.d.ts +6 -6
- package/dist/browser/classic/consoles/index.js.map +1 -1
- package/dist/browser/classic/kubernetesClusterFeatures/index.d.ts +6 -6
- package/dist/browser/classic/kubernetesClusterFeatures/index.js.map +1 -1
- package/dist/browser/classic/kubernetesClusters/index.d.ts +6 -6
- package/dist/browser/classic/kubernetesClusters/index.js.map +1 -1
- package/dist/browser/classic/kubernetesVersions/index.d.ts +6 -6
- package/dist/browser/classic/kubernetesVersions/index.js.map +1 -1
- package/dist/browser/classic/l2Networks/index.d.ts +6 -6
- package/dist/browser/classic/l2Networks/index.js.map +1 -1
- package/dist/browser/classic/l3Networks/index.d.ts +6 -6
- package/dist/browser/classic/l3Networks/index.js.map +1 -1
- package/dist/browser/classic/metricsConfigurations/index.d.ts +6 -6
- package/dist/browser/classic/metricsConfigurations/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +4 -4
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/rackSkus/index.d.ts +4 -4
- package/dist/browser/classic/rackSkus/index.js.map +1 -1
- package/dist/browser/classic/racks/index.d.ts +6 -6
- package/dist/browser/classic/racks/index.js.map +1 -1
- package/dist/browser/classic/storageAppliances/index.d.ts +6 -6
- package/dist/browser/classic/storageAppliances/index.js.map +1 -1
- package/dist/browser/classic/trunkedNetworks/index.d.ts +6 -6
- package/dist/browser/classic/trunkedNetworks/index.js.map +1 -1
- package/dist/browser/classic/virtualMachines/index.d.ts +6 -6
- package/dist/browser/classic/virtualMachines/index.js.map +1 -1
- package/dist/browser/classic/volumes/index.d.ts +6 -6
- package/dist/browser/classic/volumes/index.js.map +1 -1
- package/dist/browser/index.d.ts +6 -4
- 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 +176 -52
- package/dist/browser/models/models.js +149 -50
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/networkCloud.d.ts +25 -25
- package/dist/browser/networkCloud.js +14 -21
- package/dist/browser/networkCloud.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +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 +3 -3
- package/dist/browser/static-helpers/pollingHelpers.js +2 -2
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +2 -2
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/accessBridges/operations.d.ts +6 -6
- package/dist/commonjs/api/accessBridges/operations.js +30 -26
- package/dist/commonjs/api/accessBridges/operations.js.map +2 -2
- package/dist/commonjs/api/accessBridges/options.d.ts +2 -2
- package/dist/commonjs/api/accessBridges/options.js.map +1 -1
- package/dist/commonjs/api/agentPools/operations.d.ts +6 -6
- package/dist/commonjs/api/agentPools/operations.js +25 -19
- package/dist/commonjs/api/agentPools/operations.js.map +2 -2
- package/dist/commonjs/api/agentPools/options.d.ts +2 -2
- package/dist/commonjs/api/agentPools/options.js.map +1 -1
- package/dist/commonjs/api/bareMetalMachineKeySets/operations.d.ts +6 -6
- package/dist/commonjs/api/bareMetalMachineKeySets/operations.js +26 -20
- package/dist/commonjs/api/bareMetalMachineKeySets/operations.js.map +2 -2
- package/dist/commonjs/api/bareMetalMachineKeySets/options.d.ts +2 -2
- package/dist/commonjs/api/bareMetalMachineKeySets/options.js.map +1 -1
- package/dist/commonjs/api/bareMetalMachines/operations.d.ts +6 -6
- package/dist/commonjs/api/bareMetalMachines/operations.js +89 -63
- package/dist/commonjs/api/bareMetalMachines/operations.js.map +2 -2
- package/dist/commonjs/api/bareMetalMachines/options.d.ts +2 -2
- package/dist/commonjs/api/bareMetalMachines/options.js.map +1 -1
- package/dist/commonjs/api/bmcKeySets/operations.d.ts +6 -6
- package/dist/commonjs/api/bmcKeySets/operations.js +25 -19
- package/dist/commonjs/api/bmcKeySets/operations.js.map +2 -2
- package/dist/commonjs/api/bmcKeySets/options.d.ts +2 -2
- package/dist/commonjs/api/bmcKeySets/options.js.map +1 -1
- package/dist/commonjs/api/cloudServicesNetworks/operations.d.ts +6 -6
- package/dist/commonjs/api/cloudServicesNetworks/operations.js +31 -27
- package/dist/commonjs/api/cloudServicesNetworks/operations.js.map +2 -2
- package/dist/commonjs/api/cloudServicesNetworks/options.d.ts +2 -2
- package/dist/commonjs/api/cloudServicesNetworks/options.js.map +1 -1
- package/dist/commonjs/api/clusterManagers/operations.d.ts +6 -6
- package/dist/commonjs/api/clusterManagers/operations.js +36 -30
- package/dist/commonjs/api/clusterManagers/operations.js.map +2 -2
- package/dist/commonjs/api/clusterManagers/options.d.ts +2 -2
- package/dist/commonjs/api/clusterManagers/options.js.map +1 -1
- package/dist/commonjs/api/clusters/operations.d.ts +6 -6
- package/dist/commonjs/api/clusters/operations.js +63 -47
- package/dist/commonjs/api/clusters/operations.js.map +2 -2
- package/dist/commonjs/api/clusters/options.d.ts +2 -2
- package/dist/commonjs/api/clusters/options.js.map +1 -1
- package/dist/commonjs/api/consoles/operations.d.ts +6 -6
- package/dist/commonjs/api/consoles/operations.js +25 -19
- package/dist/commonjs/api/consoles/operations.js.map +2 -2
- package/dist/commonjs/api/consoles/options.d.ts +2 -2
- package/dist/commonjs/api/consoles/options.js.map +1 -1
- package/dist/commonjs/api/kubernetesClusterFeatures/operations.d.ts +6 -6
- package/dist/commonjs/api/kubernetesClusterFeatures/operations.js +26 -20
- package/dist/commonjs/api/kubernetesClusterFeatures/operations.js.map +2 -2
- package/dist/commonjs/api/kubernetesClusterFeatures/options.d.ts +2 -2
- package/dist/commonjs/api/kubernetesClusterFeatures/options.js.map +1 -1
- package/dist/commonjs/api/kubernetesClusters/operations.d.ts +6 -6
- package/dist/commonjs/api/kubernetesClusters/operations.js +35 -29
- package/dist/commonjs/api/kubernetesClusters/operations.js.map +2 -2
- package/dist/commonjs/api/kubernetesClusters/options.d.ts +2 -2
- package/dist/commonjs/api/kubernetesClusters/options.js.map +1 -1
- package/dist/commonjs/api/kubernetesVersions/operations.d.ts +6 -6
- package/dist/commonjs/api/kubernetesVersions/operations.js +30 -26
- package/dist/commonjs/api/kubernetesVersions/operations.js.map +2 -2
- package/dist/commonjs/api/kubernetesVersions/options.d.ts +2 -2
- package/dist/commonjs/api/kubernetesVersions/options.js.map +1 -1
- package/dist/commonjs/api/l2Networks/operations.d.ts +6 -6
- package/dist/commonjs/api/l2Networks/operations.js +29 -25
- package/dist/commonjs/api/l2Networks/operations.js.map +2 -2
- package/dist/commonjs/api/l2Networks/options.d.ts +2 -2
- package/dist/commonjs/api/l2Networks/options.js.map +1 -1
- package/dist/commonjs/api/l3Networks/operations.d.ts +6 -6
- package/dist/commonjs/api/l3Networks/operations.js +29 -25
- package/dist/commonjs/api/l3Networks/operations.js.map +2 -2
- package/dist/commonjs/api/l3Networks/options.d.ts +2 -2
- package/dist/commonjs/api/l3Networks/options.js.map +1 -1
- package/dist/commonjs/api/metricsConfigurations/operations.d.ts +6 -6
- package/dist/commonjs/api/metricsConfigurations/operations.js +26 -20
- package/dist/commonjs/api/metricsConfigurations/operations.js.map +2 -2
- package/dist/commonjs/api/metricsConfigurations/options.d.ts +2 -2
- package/dist/commonjs/api/metricsConfigurations/options.js.map +1 -1
- package/dist/commonjs/api/networkCloudContext.d.ts +3 -3
- package/dist/commonjs/api/networkCloudContext.js +16 -3
- package/dist/commonjs/api/networkCloudContext.js.map +3 -3
- package/dist/commonjs/api/operations/operations.d.ts +5 -5
- package/dist/commonjs/api/operations/operations.js +5 -7
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/operations/options.d.ts +1 -1
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/rackSkus/operations.d.ts +5 -5
- package/dist/commonjs/api/rackSkus/operations.js +9 -9
- package/dist/commonjs/api/rackSkus/operations.js.map +2 -2
- package/dist/commonjs/api/rackSkus/options.d.ts +1 -1
- package/dist/commonjs/api/rackSkus/options.js.map +1 -1
- package/dist/commonjs/api/racks/operations.d.ts +6 -6
- package/dist/commonjs/api/racks/operations.js +30 -26
- package/dist/commonjs/api/racks/operations.js.map +2 -2
- package/dist/commonjs/api/racks/options.d.ts +2 -2
- package/dist/commonjs/api/racks/options.js.map +1 -1
- package/dist/commonjs/api/storageAppliances/operations.d.ts +6 -6
- package/dist/commonjs/api/storageAppliances/operations.js +47 -37
- package/dist/commonjs/api/storageAppliances/operations.js.map +2 -2
- package/dist/commonjs/api/storageAppliances/options.d.ts +2 -2
- package/dist/commonjs/api/storageAppliances/options.js.map +1 -1
- package/dist/commonjs/api/trunkedNetworks/operations.d.ts +6 -6
- package/dist/commonjs/api/trunkedNetworks/operations.js +29 -25
- package/dist/commonjs/api/trunkedNetworks/operations.js.map +2 -2
- package/dist/commonjs/api/trunkedNetworks/options.d.ts +2 -2
- package/dist/commonjs/api/trunkedNetworks/options.js.map +1 -1
- package/dist/commonjs/api/virtualMachines/operations.d.ts +6 -6
- package/dist/commonjs/api/virtualMachines/operations.js +57 -45
- package/dist/commonjs/api/virtualMachines/operations.js.map +2 -2
- package/dist/commonjs/api/virtualMachines/options.d.ts +2 -2
- package/dist/commonjs/api/virtualMachines/options.js.map +1 -1
- package/dist/commonjs/api/volumes/operations.d.ts +6 -6
- package/dist/commonjs/api/volumes/operations.js +29 -25
- package/dist/commonjs/api/volumes/operations.js.map +2 -2
- package/dist/commonjs/api/volumes/options.d.ts +2 -2
- package/dist/commonjs/api/volumes/options.js.map +1 -1
- package/dist/commonjs/classic/accessBridges/index.d.ts +6 -6
- package/dist/commonjs/classic/accessBridges/index.js.map +2 -2
- package/dist/commonjs/classic/agentPools/index.d.ts +6 -6
- package/dist/commonjs/classic/agentPools/index.js.map +2 -2
- package/dist/commonjs/classic/bareMetalMachineKeySets/index.d.ts +6 -6
- package/dist/commonjs/classic/bareMetalMachineKeySets/index.js.map +2 -2
- package/dist/commonjs/classic/bareMetalMachines/index.d.ts +6 -6
- package/dist/commonjs/classic/bareMetalMachines/index.js.map +2 -2
- package/dist/commonjs/classic/bmcKeySets/index.d.ts +6 -6
- package/dist/commonjs/classic/bmcKeySets/index.js.map +2 -2
- package/dist/commonjs/classic/cloudServicesNetworks/index.d.ts +6 -6
- package/dist/commonjs/classic/cloudServicesNetworks/index.js.map +2 -2
- package/dist/commonjs/classic/clusterManagers/index.d.ts +6 -6
- package/dist/commonjs/classic/clusterManagers/index.js.map +2 -2
- package/dist/commonjs/classic/clusters/index.d.ts +6 -6
- package/dist/commonjs/classic/clusters/index.js.map +2 -2
- package/dist/commonjs/classic/consoles/index.d.ts +6 -6
- package/dist/commonjs/classic/consoles/index.js.map +2 -2
- package/dist/commonjs/classic/kubernetesClusterFeatures/index.d.ts +6 -6
- package/dist/commonjs/classic/kubernetesClusterFeatures/index.js.map +2 -2
- package/dist/commonjs/classic/kubernetesClusters/index.d.ts +6 -6
- package/dist/commonjs/classic/kubernetesClusters/index.js.map +2 -2
- package/dist/commonjs/classic/kubernetesVersions/index.d.ts +6 -6
- package/dist/commonjs/classic/kubernetesVersions/index.js.map +2 -2
- package/dist/commonjs/classic/l2Networks/index.d.ts +6 -6
- package/dist/commonjs/classic/l2Networks/index.js.map +2 -2
- package/dist/commonjs/classic/l3Networks/index.d.ts +6 -6
- package/dist/commonjs/classic/l3Networks/index.js.map +2 -2
- package/dist/commonjs/classic/metricsConfigurations/index.d.ts +6 -6
- package/dist/commonjs/classic/metricsConfigurations/index.js.map +2 -2
- package/dist/commonjs/classic/operations/index.d.ts +4 -4
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/rackSkus/index.d.ts +4 -4
- package/dist/commonjs/classic/rackSkus/index.js.map +1 -1
- package/dist/commonjs/classic/racks/index.d.ts +6 -6
- package/dist/commonjs/classic/racks/index.js.map +2 -2
- package/dist/commonjs/classic/storageAppliances/index.d.ts +6 -6
- package/dist/commonjs/classic/storageAppliances/index.js.map +2 -2
- package/dist/commonjs/classic/trunkedNetworks/index.d.ts +6 -6
- package/dist/commonjs/classic/trunkedNetworks/index.js.map +2 -2
- package/dist/commonjs/classic/virtualMachines/index.d.ts +6 -6
- package/dist/commonjs/classic/virtualMachines/index.js.map +2 -2
- package/dist/commonjs/classic/volumes/index.d.ts +6 -6
- package/dist/commonjs/classic/volumes/index.js.map +2 -2
- package/dist/commonjs/index.d.ts +6 -4
- package/dist/commonjs/index.js +13 -8
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +8 -8
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +176 -52
- package/dist/commonjs/models/models.js +178 -60
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/networkCloud.d.ts +25 -25
- package/dist/commonjs/networkCloud.js +1 -6
- package/dist/commonjs/networkCloud.js.map +2 -2
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
- 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 +3 -3
- 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 +2 -2
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/accessBridges/operations.d.ts +6 -6
- package/dist/esm/api/accessBridges/operations.js +34 -30
- package/dist/esm/api/accessBridges/operations.js.map +1 -1
- package/dist/esm/api/accessBridges/options.d.ts +2 -2
- package/dist/esm/api/accessBridges/options.js.map +1 -1
- package/dist/esm/api/agentPools/operations.d.ts +6 -6
- package/dist/esm/api/agentPools/operations.js +29 -23
- package/dist/esm/api/agentPools/operations.js.map +1 -1
- package/dist/esm/api/agentPools/options.d.ts +2 -2
- package/dist/esm/api/agentPools/options.js.map +1 -1
- package/dist/esm/api/bareMetalMachineKeySets/operations.d.ts +6 -6
- package/dist/esm/api/bareMetalMachineKeySets/operations.js +29 -23
- package/dist/esm/api/bareMetalMachineKeySets/operations.js.map +1 -1
- package/dist/esm/api/bareMetalMachineKeySets/options.d.ts +2 -2
- package/dist/esm/api/bareMetalMachineKeySets/options.js.map +1 -1
- package/dist/esm/api/bareMetalMachines/operations.d.ts +6 -6
- package/dist/esm/api/bareMetalMachines/operations.js +101 -75
- package/dist/esm/api/bareMetalMachines/operations.js.map +1 -1
- package/dist/esm/api/bareMetalMachines/options.d.ts +2 -2
- package/dist/esm/api/bareMetalMachines/options.js.map +1 -1
- package/dist/esm/api/bmcKeySets/operations.d.ts +6 -6
- package/dist/esm/api/bmcKeySets/operations.js +29 -23
- package/dist/esm/api/bmcKeySets/operations.js.map +1 -1
- package/dist/esm/api/bmcKeySets/options.d.ts +2 -2
- package/dist/esm/api/bmcKeySets/options.js.map +1 -1
- package/dist/esm/api/cloudServicesNetworks/operations.d.ts +6 -6
- package/dist/esm/api/cloudServicesNetworks/operations.js +34 -30
- package/dist/esm/api/cloudServicesNetworks/operations.js.map +1 -1
- package/dist/esm/api/cloudServicesNetworks/options.d.ts +2 -2
- package/dist/esm/api/cloudServicesNetworks/options.js.map +1 -1
- package/dist/esm/api/clusterManagers/operations.d.ts +6 -6
- package/dist/esm/api/clusterManagers/operations.js +41 -35
- package/dist/esm/api/clusterManagers/operations.js.map +1 -1
- package/dist/esm/api/clusterManagers/options.d.ts +2 -2
- package/dist/esm/api/clusterManagers/options.js.map +1 -1
- package/dist/esm/api/clusters/operations.d.ts +6 -6
- package/dist/esm/api/clusters/operations.js +73 -57
- package/dist/esm/api/clusters/operations.js.map +1 -1
- package/dist/esm/api/clusters/options.d.ts +2 -2
- package/dist/esm/api/clusters/options.js.map +1 -1
- package/dist/esm/api/consoles/operations.d.ts +6 -6
- package/dist/esm/api/consoles/operations.js +29 -23
- package/dist/esm/api/consoles/operations.js.map +1 -1
- package/dist/esm/api/consoles/options.d.ts +2 -2
- package/dist/esm/api/consoles/options.js.map +1 -1
- package/dist/esm/api/kubernetesClusterFeatures/operations.d.ts +6 -6
- package/dist/esm/api/kubernetesClusterFeatures/operations.js +29 -23
- package/dist/esm/api/kubernetesClusterFeatures/operations.js.map +1 -1
- package/dist/esm/api/kubernetesClusterFeatures/options.d.ts +2 -2
- package/dist/esm/api/kubernetesClusterFeatures/options.js.map +1 -1
- package/dist/esm/api/kubernetesClusters/operations.d.ts +6 -6
- package/dist/esm/api/kubernetesClusters/operations.js +39 -33
- package/dist/esm/api/kubernetesClusters/operations.js.map +1 -1
- package/dist/esm/api/kubernetesClusters/options.d.ts +2 -2
- package/dist/esm/api/kubernetesClusters/options.js.map +1 -1
- package/dist/esm/api/kubernetesVersions/operations.d.ts +6 -6
- package/dist/esm/api/kubernetesVersions/operations.js +34 -30
- package/dist/esm/api/kubernetesVersions/operations.js.map +1 -1
- package/dist/esm/api/kubernetesVersions/options.d.ts +2 -2
- package/dist/esm/api/kubernetesVersions/options.js.map +1 -1
- package/dist/esm/api/l2Networks/operations.d.ts +6 -6
- package/dist/esm/api/l2Networks/operations.js +33 -29
- package/dist/esm/api/l2Networks/operations.js.map +1 -1
- package/dist/esm/api/l2Networks/options.d.ts +2 -2
- package/dist/esm/api/l2Networks/options.js.map +1 -1
- package/dist/esm/api/l3Networks/operations.d.ts +6 -6
- package/dist/esm/api/l3Networks/operations.js +33 -29
- package/dist/esm/api/l3Networks/operations.js.map +1 -1
- package/dist/esm/api/l3Networks/options.d.ts +2 -2
- package/dist/esm/api/l3Networks/options.js.map +1 -1
- package/dist/esm/api/metricsConfigurations/operations.d.ts +6 -6
- package/dist/esm/api/metricsConfigurations/operations.js +29 -23
- package/dist/esm/api/metricsConfigurations/operations.js.map +1 -1
- package/dist/esm/api/metricsConfigurations/options.d.ts +2 -2
- package/dist/esm/api/metricsConfigurations/options.js.map +1 -1
- package/dist/esm/api/networkCloudContext.d.ts +3 -3
- package/dist/esm/api/networkCloudContext.js +7 -4
- package/dist/esm/api/networkCloudContext.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +5 -5
- package/dist/esm/api/operations/operations.js +7 -9
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations/options.d.ts +1 -1
- package/dist/esm/api/operations/options.js.map +1 -1
- package/dist/esm/api/rackSkus/operations.d.ts +5 -5
- package/dist/esm/api/rackSkus/operations.js +11 -11
- package/dist/esm/api/rackSkus/operations.js.map +1 -1
- package/dist/esm/api/rackSkus/options.d.ts +1 -1
- package/dist/esm/api/rackSkus/options.js.map +1 -1
- package/dist/esm/api/racks/operations.d.ts +6 -6
- package/dist/esm/api/racks/operations.js +34 -30
- package/dist/esm/api/racks/operations.js.map +1 -1
- package/dist/esm/api/racks/options.d.ts +2 -2
- package/dist/esm/api/racks/options.js.map +1 -1
- package/dist/esm/api/storageAppliances/operations.d.ts +6 -6
- package/dist/esm/api/storageAppliances/operations.js +52 -42
- package/dist/esm/api/storageAppliances/operations.js.map +1 -1
- package/dist/esm/api/storageAppliances/options.d.ts +2 -2
- package/dist/esm/api/storageAppliances/options.js.map +1 -1
- package/dist/esm/api/trunkedNetworks/operations.d.ts +6 -6
- package/dist/esm/api/trunkedNetworks/operations.js +33 -29
- package/dist/esm/api/trunkedNetworks/operations.js.map +1 -1
- package/dist/esm/api/trunkedNetworks/options.d.ts +2 -2
- package/dist/esm/api/trunkedNetworks/options.js.map +1 -1
- package/dist/esm/api/virtualMachines/operations.d.ts +6 -6
- package/dist/esm/api/virtualMachines/operations.js +65 -51
- package/dist/esm/api/virtualMachines/operations.js.map +1 -1
- package/dist/esm/api/virtualMachines/options.d.ts +2 -2
- package/dist/esm/api/virtualMachines/options.js.map +1 -1
- package/dist/esm/api/volumes/operations.d.ts +6 -6
- package/dist/esm/api/volumes/operations.js +33 -29
- package/dist/esm/api/volumes/operations.js.map +1 -1
- package/dist/esm/api/volumes/options.d.ts +2 -2
- package/dist/esm/api/volumes/options.js.map +1 -1
- package/dist/esm/classic/accessBridges/index.d.ts +6 -6
- package/dist/esm/classic/accessBridges/index.js.map +1 -1
- package/dist/esm/classic/agentPools/index.d.ts +6 -6
- package/dist/esm/classic/agentPools/index.js.map +1 -1
- package/dist/esm/classic/bareMetalMachineKeySets/index.d.ts +6 -6
- package/dist/esm/classic/bareMetalMachineKeySets/index.js.map +1 -1
- package/dist/esm/classic/bareMetalMachines/index.d.ts +6 -6
- package/dist/esm/classic/bareMetalMachines/index.js.map +1 -1
- package/dist/esm/classic/bmcKeySets/index.d.ts +6 -6
- package/dist/esm/classic/bmcKeySets/index.js.map +1 -1
- package/dist/esm/classic/cloudServicesNetworks/index.d.ts +6 -6
- package/dist/esm/classic/cloudServicesNetworks/index.js.map +1 -1
- package/dist/esm/classic/clusterManagers/index.d.ts +6 -6
- package/dist/esm/classic/clusterManagers/index.js.map +1 -1
- package/dist/esm/classic/clusters/index.d.ts +6 -6
- package/dist/esm/classic/clusters/index.js.map +1 -1
- package/dist/esm/classic/consoles/index.d.ts +6 -6
- package/dist/esm/classic/consoles/index.js.map +1 -1
- package/dist/esm/classic/kubernetesClusterFeatures/index.d.ts +6 -6
- package/dist/esm/classic/kubernetesClusterFeatures/index.js.map +1 -1
- package/dist/esm/classic/kubernetesClusters/index.d.ts +6 -6
- package/dist/esm/classic/kubernetesClusters/index.js.map +1 -1
- package/dist/esm/classic/kubernetesVersions/index.d.ts +6 -6
- package/dist/esm/classic/kubernetesVersions/index.js.map +1 -1
- package/dist/esm/classic/l2Networks/index.d.ts +6 -6
- package/dist/esm/classic/l2Networks/index.js.map +1 -1
- package/dist/esm/classic/l3Networks/index.d.ts +6 -6
- package/dist/esm/classic/l3Networks/index.js.map +1 -1
- package/dist/esm/classic/metricsConfigurations/index.d.ts +6 -6
- package/dist/esm/classic/metricsConfigurations/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +4 -4
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/rackSkus/index.d.ts +4 -4
- package/dist/esm/classic/rackSkus/index.js.map +1 -1
- package/dist/esm/classic/racks/index.d.ts +6 -6
- package/dist/esm/classic/racks/index.js.map +1 -1
- package/dist/esm/classic/storageAppliances/index.d.ts +6 -6
- package/dist/esm/classic/storageAppliances/index.js.map +1 -1
- package/dist/esm/classic/trunkedNetworks/index.d.ts +6 -6
- package/dist/esm/classic/trunkedNetworks/index.js.map +1 -1
- package/dist/esm/classic/virtualMachines/index.d.ts +6 -6
- package/dist/esm/classic/virtualMachines/index.js.map +1 -1
- package/dist/esm/classic/volumes/index.d.ts +6 -6
- package/dist/esm/classic/volumes/index.js.map +1 -1
- package/dist/esm/index.d.ts +6 -4
- 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 +176 -52
- package/dist/esm/models/models.js +149 -50
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/networkCloud.d.ts +25 -25
- package/dist/esm/networkCloud.js +14 -21
- package/dist/esm/networkCloud.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +1 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +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 +3 -3
- package/dist/esm/static-helpers/pollingHelpers.js +2 -2
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +2 -2
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -1
- package/package.json +12 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/clusterManagers/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { NetworkCloudContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n OperationStatusResult,\n operationStatusResultDeserializer,\n ClusterManager,\n clusterManagerSerializer,\n clusterManagerDeserializer,\n clusterManagerPatchParametersSerializer,\n _ClusterManagerList,\n _clusterManagerListDeserializer,\n clusterManagerUpdateRelayPrivateEndpointConnectionParametersSerializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams,\n ClusterManagersListBySubscriptionOptionalParams,\n ClusterManagersListByResourceGroupOptionalParams,\n ClusterManagersDeleteOptionalParams,\n ClusterManagersUpdateOptionalParams,\n ClusterManagersCreateOrUpdateOptionalParams,\n ClusterManagersGetOptionalParams,\n} from \"./options.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 _updateRelayPrivateEndpointConnectionSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}/updateRelayPrivateEndpointConnection{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options[\"clusterManagerUpdateRelayPrivateEndpointConnectionParameters\"]\n ? options[\"clusterManagerUpdateRelayPrivateEndpointConnectionParameters\"]\n : clusterManagerUpdateRelayPrivateEndpointConnectionParametersSerializer(\n options[\"clusterManagerUpdateRelayPrivateEndpointConnectionParameters\"],\n ),\n });\n}\n\nexport async function _updateRelayPrivateEndpointConnectionDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Update the private endpoint connection for the Azure Relay namespace managed by the specified cluster manager. Use this operation to approve or reject a pending private endpoint connection request for the relay namespace managed by the cluster manager. */\nexport function updateRelayPrivateEndpointConnection(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(\n context,\n _updateRelayPrivateEndpointConnectionDeserialize,\n [\"202\", \"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateRelayPrivateEndpointConnectionSend(\n context,\n resourceGroupName,\n clusterManagerName,\n options,\n ),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-05-01-preview\",\n },\n ) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: ClusterManagersListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusterManagers{?api%2Dversion,%24top,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n \"%24top\": options?.top,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ClusterManagerList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _clusterManagerListDeserializer(result.body);\n}\n\n/** Get a list of cluster managers in the provided subscription. */\nexport function listBySubscription(\n context: Client,\n options: ClusterManagersListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ClusterManager> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-05-01-preview\",\n },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: ClusterManagersListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers{?api%2Dversion,%24top,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n \"%24top\": options?.top,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ClusterManagerList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _clusterManagerListDeserializer(result.body);\n}\n\n/** Get a list of cluster managers in the provided resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: ClusterManagersListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ClusterManager> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-05-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Delete the provided cluster manager. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, clusterManagerName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-05-01-preview\",\n }) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options[\"clusterManagerUpdateParameters\"]\n ? options[\"clusterManagerUpdateParameters\"]\n : clusterManagerPatchParametersSerializer(options[\"clusterManagerUpdateParameters\"]),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<ClusterManager> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Patch properties of the provided cluster manager, or update the tags assigned to the cluster manager. Properties and tag updates can be done independently. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateOptionalParams = { requestOptions: {} },\n): Promise<ClusterManager> {\n const result = await _updateSend(context, resourceGroupName, clusterManagerName, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n clusterManagerParameters: ClusterManager,\n options: ClusterManagersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: clusterManagerSerializer(clusterManagerParameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<ClusterManager> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Create a new cluster manager or update properties of the cluster manager if it exists. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n clusterManagerParameters: ClusterManager,\n options: ClusterManagersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<ClusterManager>, ClusterManager> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n clusterManagerName,\n clusterManagerParameters,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-05-01-preview\",\n }) as PollerLike<OperationState<ClusterManager>, ClusterManager>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-05-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<ClusterManager> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Get the properties of the provided cluster manager. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersGetOptionalParams = { requestOptions: {} },\n): Promise<ClusterManager> {\n const result = await _getSend(context, resourceGroupName, clusterManagerName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { NetworkCloudContext as Client } from \"../index.js\";\nimport type {\n OperationStatusResult,\n ClusterManager,\n _ClusterManagerList,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n operationStatusResultDeserializer,\n clusterManagerSerializer,\n clusterManagerDeserializer,\n clusterManagerPatchParametersSerializer,\n _clusterManagerListDeserializer,\n clusterManagerUpdateRelayPrivateEndpointConnectionParametersSerializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams,\n ClusterManagersListBySubscriptionOptionalParams,\n ClusterManagersListByResourceGroupOptionalParams,\n ClusterManagersDeleteOptionalParams,\n ClusterManagersUpdateOptionalParams,\n ClusterManagersCreateOrUpdateOptionalParams,\n ClusterManagersGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _updateRelayPrivateEndpointConnectionSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}/updateRelayPrivateEndpointConnection{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.clusterManagerUpdateRelayPrivateEndpointConnectionParameters\n ? options?.clusterManagerUpdateRelayPrivateEndpointConnectionParameters\n : clusterManagerUpdateRelayPrivateEndpointConnectionParametersSerializer(\n options?.clusterManagerUpdateRelayPrivateEndpointConnectionParameters,\n ),\n });\n}\n\nexport async function _updateRelayPrivateEndpointConnectionDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Update the private endpoint connection for the Azure Relay namespace managed by the specified cluster manager. Use this operation to approve or reject a pending private endpoint connection request for the relay namespace managed by the cluster manager. */\nexport function updateRelayPrivateEndpointConnection(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(\n context,\n _updateRelayPrivateEndpointConnectionDeserialize,\n [\"202\", \"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateRelayPrivateEndpointConnectionSend(\n context,\n resourceGroupName,\n clusterManagerName,\n options,\n ),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-01\",\n },\n ) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: ClusterManagersListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusterManagers{?api%2Dversion,%24top,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n \"%24top\": options?.top,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ClusterManagerList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _clusterManagerListDeserializer(result.body);\n}\n\n/** Get a list of cluster managers in the provided subscription. */\nexport function listBySubscription(\n context: Client,\n options: ClusterManagersListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ClusterManager> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-01\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: ClusterManagersListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers{?api%2Dversion,%24top,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n \"%24top\": options?.top,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ClusterManagerList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _clusterManagerListDeserializer(result.body);\n}\n\n/** Get a list of cluster managers in the provided resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: ClusterManagersListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ClusterManager> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Delete the provided cluster manager. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, clusterManagerName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-01\",\n }) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options?.clusterManagerUpdateParameters\n ? options?.clusterManagerUpdateParameters\n : clusterManagerPatchParametersSerializer(options?.clusterManagerUpdateParameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<ClusterManager> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Patch properties of the provided cluster manager, or update the tags assigned to the cluster manager. Properties and tag updates can be done independently. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersUpdateOptionalParams = { requestOptions: {} },\n): Promise<ClusterManager> {\n const result = await _updateSend(context, resourceGroupName, clusterManagerName, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n clusterManagerParameters: ClusterManager,\n options: ClusterManagersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: clusterManagerSerializer(clusterManagerParameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<ClusterManager> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Create a new cluster manager or update properties of the cluster manager if it exists. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n clusterManagerParameters: ClusterManager,\n options: ClusterManagersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<ClusterManager>, ClusterManager> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n clusterManagerName,\n clusterManagerParameters,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-07-01\",\n }) as PollerLike<OperationState<ClusterManager>, ClusterManager>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterManagerName: clusterManagerName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<ClusterManager> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return clusterManagerDeserializer(result.body);\n}\n\n/** Get the properties of the provided cluster manager. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n clusterManagerName: string,\n options: ClusterManagersGetOptionalParams = { requestOptions: {} },\n): Promise<ClusterManager> {\n const result = await _getSend(context, resourceGroupName, clusterManagerName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,oBAQO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAWlC,yBAAqE;AAG9D,SAAS,0CACd,SACA,mBACA,oBACA,UAA6E;AAAA,EAC3E,gBAAgB,CAAC;AACnB,GACkB;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,MAAM,CAAC,SAAS,+DACZ,SAAS,mEACT;AAAA,M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ateRelayPrivateEndpointConnectionParameters } from "../../models/models.js";
|
|
2
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { ClusterManagerPatchParameters, ClusterManagerUpdateRelayPrivateEndpointConnectionParameters } from "../../models/models.js";
|
|
2
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
3
3
|
/** Optional parameters. */
|
|
4
4
|
export interface ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams extends OperationOptions {
|
|
5
5
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/clusterManagers/options.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ClusterManagerPatchParameters,\n ClusterManagerUpdateRelayPrivateEndpointConnectionParameters,\n} from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The request body. */\n clusterManagerUpdateRelayPrivateEndpointConnectionParameters?: ClusterManagerUpdateRelayPrivateEndpointConnectionParameters;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersListBySubscriptionOptionalParams extends OperationOptions {\n /** The maximum number of resources to return from the operation. Example: '$top=10'. */\n top?: number;\n /** The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersListByResourceGroupOptionalParams extends OperationOptions {\n /** The maximum number of resources to return from the operation. Example: '$top=10'. */\n top?: number;\n /** The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersUpdateOptionalParams extends OperationOptions {\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n /** The request body. */\n clusterManagerUpdateParameters?: ClusterManagerPatchParameters;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersGetOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n ClusterManagerPatchParameters,\n ClusterManagerUpdateRelayPrivateEndpointConnectionParameters,\n} from \"../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ClusterManagersUpdateRelayPrivateEndpointConnectionOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The request body. */\n clusterManagerUpdateRelayPrivateEndpointConnectionParameters?: ClusterManagerUpdateRelayPrivateEndpointConnectionParameters;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersListBySubscriptionOptionalParams extends OperationOptions {\n /** The maximum number of resources to return from the operation. Example: '$top=10'. */\n top?: number;\n /** The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersListByResourceGroupOptionalParams extends OperationOptions {\n /** The maximum number of resources to return from the operation. Example: '$top=10'. */\n top?: number;\n /** The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersUpdateOptionalParams extends OperationOptions {\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n /** The request body. */\n clusterManagerUpdateParameters?: ClusterManagerPatchParameters;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported. */\n ifNoneMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface ClusterManagersGetOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { NetworkCloudContext as Client } from "../index.js";
|
|
2
|
-
import { OperationStatusResult, Cluster, _ClusterList, ClusterContinueUpdateVersionParameters, ClusterRotateCredentialParameters, ClusterUpdateVersionParameters } from "../../models/models.js";
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import { ClustersUpdateVersionOptionalParams, ClustersScanRuntimeOptionalParams, ClustersRotateCredentialOptionalParams, ClustersInspectOptionalParams, ClustersDeployOptionalParams, ClustersContinueUpdateVersionOptionalParams, ClustersListBySubscriptionOptionalParams, ClustersListByResourceGroupOptionalParams, ClustersDeleteOptionalParams, ClustersUpdateOptionalParams, ClustersCreateOrUpdateOptionalParams, ClustersGetOptionalParams } from "./options.js";
|
|
5
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { NetworkCloudContext as Client } from "../index.js";
|
|
2
|
+
import type { OperationStatusResult, Cluster, _ClusterList, ClusterContinueUpdateVersionParameters, ClusterRotateCredentialParameters, ClusterUpdateVersionParameters } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { ClustersUpdateVersionOptionalParams, ClustersScanRuntimeOptionalParams, ClustersRotateCredentialOptionalParams, ClustersInspectOptionalParams, ClustersDeployOptionalParams, ClustersContinueUpdateVersionOptionalParams, ClustersListBySubscriptionOptionalParams, ClustersListByResourceGroupOptionalParams, ClustersDeleteOptionalParams, ClustersUpdateOptionalParams, ClustersCreateOrUpdateOptionalParams, ClustersGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
7
|
export declare function _updateVersionSend(context: Client, resourceGroupName: string, clusterName: string, clusterUpdateVersionParameters: ClusterUpdateVersionParameters, options?: ClustersUpdateVersionOptionalParams): StreamableMethod;
|
|
8
8
|
export declare function _updateVersionDeserialize(result: PathUncheckedResponse): Promise<OperationStatusResult>;
|
|
9
9
|
/** Update the version of the provided cluster to one of the available supported versions. */
|
|
@@ -67,7 +67,7 @@ function _updateVersionSend(context, resourceGroupName, clusterName, clusterUpda
|
|
|
67
67
|
subscriptionId: context.subscriptionId,
|
|
68
68
|
resourceGroupName,
|
|
69
69
|
clusterName,
|
|
70
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
70
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -83,7 +83,9 @@ async function _updateVersionDeserialize(result) {
|
|
|
83
83
|
const expectedStatuses = ["202", "200", "201"];
|
|
84
84
|
if (!expectedStatuses.includes(result.status)) {
|
|
85
85
|
const error = (0, import_core_client.createRestError)(result);
|
|
86
|
-
|
|
86
|
+
if (result.body) {
|
|
87
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
88
|
+
}
|
|
87
89
|
throw error;
|
|
88
90
|
}
|
|
89
91
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -100,7 +102,7 @@ function updateVersion(context, resourceGroupName, clusterName, clusterUpdateVer
|
|
|
100
102
|
options
|
|
101
103
|
),
|
|
102
104
|
resourceLocationConfig: "location",
|
|
103
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
105
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
104
106
|
});
|
|
105
107
|
}
|
|
106
108
|
function _scanRuntimeSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -110,7 +112,7 @@ function _scanRuntimeSend(context, resourceGroupName, clusterName, options = { r
|
|
|
110
112
|
subscriptionId: context.subscriptionId,
|
|
111
113
|
resourceGroupName,
|
|
112
114
|
clusterName,
|
|
113
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
115
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
114
116
|
},
|
|
115
117
|
{
|
|
116
118
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -119,14 +121,16 @@ function _scanRuntimeSend(context, resourceGroupName, clusterName, options = { r
|
|
|
119
121
|
return context.path(path).post({
|
|
120
122
|
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
121
123
|
contentType: "application/json",
|
|
122
|
-
body: !options
|
|
124
|
+
body: !options?.clusterScanRuntimeParameters ? options?.clusterScanRuntimeParameters : (0, import_models.clusterScanRuntimeParametersSerializer)(options?.clusterScanRuntimeParameters)
|
|
123
125
|
});
|
|
124
126
|
}
|
|
125
127
|
async function _scanRuntimeDeserialize(result) {
|
|
126
128
|
const expectedStatuses = ["202", "200", "201"];
|
|
127
129
|
if (!expectedStatuses.includes(result.status)) {
|
|
128
130
|
const error = (0, import_core_client.createRestError)(result);
|
|
129
|
-
|
|
131
|
+
if (result.body) {
|
|
132
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
133
|
+
}
|
|
130
134
|
throw error;
|
|
131
135
|
}
|
|
132
136
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -137,7 +141,7 @@ function scanRuntime(context, resourceGroupName, clusterName, options = { reques
|
|
|
137
141
|
abortSignal: options?.abortSignal,
|
|
138
142
|
getInitialResponse: () => _scanRuntimeSend(context, resourceGroupName, clusterName, options),
|
|
139
143
|
resourceLocationConfig: "location",
|
|
140
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
144
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
141
145
|
});
|
|
142
146
|
}
|
|
143
147
|
function _rotateCredentialSend(context, resourceGroupName, clusterName, body, options = { requestOptions: {} }) {
|
|
@@ -147,7 +151,7 @@ function _rotateCredentialSend(context, resourceGroupName, clusterName, body, op
|
|
|
147
151
|
subscriptionId: context.subscriptionId,
|
|
148
152
|
resourceGroupName,
|
|
149
153
|
clusterName,
|
|
150
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
154
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
151
155
|
},
|
|
152
156
|
{
|
|
153
157
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -163,7 +167,9 @@ async function _rotateCredentialDeserialize(result) {
|
|
|
163
167
|
const expectedStatuses = ["202", "200", "201"];
|
|
164
168
|
if (!expectedStatuses.includes(result.status)) {
|
|
165
169
|
const error = (0, import_core_client.createRestError)(result);
|
|
166
|
-
|
|
170
|
+
if (result.body) {
|
|
171
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
172
|
+
}
|
|
167
173
|
throw error;
|
|
168
174
|
}
|
|
169
175
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -174,7 +180,7 @@ function rotateCredential(context, resourceGroupName, clusterName, body, options
|
|
|
174
180
|
abortSignal: options?.abortSignal,
|
|
175
181
|
getInitialResponse: () => _rotateCredentialSend(context, resourceGroupName, clusterName, body, options),
|
|
176
182
|
resourceLocationConfig: "location",
|
|
177
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
183
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
178
184
|
});
|
|
179
185
|
}
|
|
180
186
|
function _inspectSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -184,7 +190,7 @@ function _inspectSend(context, resourceGroupName, clusterName, options = { reque
|
|
|
184
190
|
subscriptionId: context.subscriptionId,
|
|
185
191
|
resourceGroupName,
|
|
186
192
|
clusterName,
|
|
187
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
193
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
188
194
|
},
|
|
189
195
|
{
|
|
190
196
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -193,14 +199,16 @@ function _inspectSend(context, resourceGroupName, clusterName, options = { reque
|
|
|
193
199
|
return context.path(path).post({
|
|
194
200
|
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
195
201
|
contentType: "application/json",
|
|
196
|
-
body: !options
|
|
202
|
+
body: !options?.clusterInspectParameters ? options?.clusterInspectParameters : (0, import_models.clusterInspectParametersSerializer)(options?.clusterInspectParameters)
|
|
197
203
|
});
|
|
198
204
|
}
|
|
199
205
|
async function _inspectDeserialize(result) {
|
|
200
206
|
const expectedStatuses = ["202", "200", "201"];
|
|
201
207
|
if (!expectedStatuses.includes(result.status)) {
|
|
202
208
|
const error = (0, import_core_client.createRestError)(result);
|
|
203
|
-
|
|
209
|
+
if (result.body) {
|
|
210
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
211
|
+
}
|
|
204
212
|
throw error;
|
|
205
213
|
}
|
|
206
214
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -211,7 +219,7 @@ function inspect(context, resourceGroupName, clusterName, options = { requestOpt
|
|
|
211
219
|
abortSignal: options?.abortSignal,
|
|
212
220
|
getInitialResponse: () => _inspectSend(context, resourceGroupName, clusterName, options),
|
|
213
221
|
resourceLocationConfig: "location",
|
|
214
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
222
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
215
223
|
});
|
|
216
224
|
}
|
|
217
225
|
function _deploySend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -221,7 +229,7 @@ function _deploySend(context, resourceGroupName, clusterName, options = { reques
|
|
|
221
229
|
subscriptionId: context.subscriptionId,
|
|
222
230
|
resourceGroupName,
|
|
223
231
|
clusterName,
|
|
224
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
232
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
225
233
|
},
|
|
226
234
|
{
|
|
227
235
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -230,14 +238,16 @@ function _deploySend(context, resourceGroupName, clusterName, options = { reques
|
|
|
230
238
|
return context.path(path).post({
|
|
231
239
|
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
232
240
|
contentType: "application/json",
|
|
233
|
-
body: !options
|
|
241
|
+
body: !options?.clusterDeployParameters ? options?.clusterDeployParameters : (0, import_models.clusterDeployParametersSerializer)(options?.clusterDeployParameters)
|
|
234
242
|
});
|
|
235
243
|
}
|
|
236
244
|
async function _deployDeserialize(result) {
|
|
237
245
|
const expectedStatuses = ["202", "200", "201"];
|
|
238
246
|
if (!expectedStatuses.includes(result.status)) {
|
|
239
247
|
const error = (0, import_core_client.createRestError)(result);
|
|
240
|
-
|
|
248
|
+
if (result.body) {
|
|
249
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
250
|
+
}
|
|
241
251
|
throw error;
|
|
242
252
|
}
|
|
243
253
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -248,7 +258,7 @@ function deploy(context, resourceGroupName, clusterName, options = { requestOpti
|
|
|
248
258
|
abortSignal: options?.abortSignal,
|
|
249
259
|
getInitialResponse: () => _deploySend(context, resourceGroupName, clusterName, options),
|
|
250
260
|
resourceLocationConfig: "location",
|
|
251
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
261
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
252
262
|
});
|
|
253
263
|
}
|
|
254
264
|
function _continueUpdateVersionSend(context, resourceGroupName, clusterName, clusterContinueUpdateVersionParameters, options = { requestOptions: {} }) {
|
|
@@ -258,7 +268,7 @@ function _continueUpdateVersionSend(context, resourceGroupName, clusterName, clu
|
|
|
258
268
|
subscriptionId: context.subscriptionId,
|
|
259
269
|
resourceGroupName,
|
|
260
270
|
clusterName,
|
|
261
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
271
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
262
272
|
},
|
|
263
273
|
{
|
|
264
274
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -274,7 +284,9 @@ async function _continueUpdateVersionDeserialize(result) {
|
|
|
274
284
|
const expectedStatuses = ["202", "200", "201"];
|
|
275
285
|
if (!expectedStatuses.includes(result.status)) {
|
|
276
286
|
const error = (0, import_core_client.createRestError)(result);
|
|
277
|
-
|
|
287
|
+
if (result.body) {
|
|
288
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
289
|
+
}
|
|
278
290
|
throw error;
|
|
279
291
|
}
|
|
280
292
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -291,7 +303,7 @@ function continueUpdateVersion(context, resourceGroupName, clusterName, clusterC
|
|
|
291
303
|
options
|
|
292
304
|
),
|
|
293
305
|
resourceLocationConfig: "location",
|
|
294
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
306
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
295
307
|
});
|
|
296
308
|
}
|
|
297
309
|
function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
@@ -299,7 +311,7 @@ function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
|
299
311
|
"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusters{?api%2Dversion,%24top,%24skipToken}",
|
|
300
312
|
{
|
|
301
313
|
subscriptionId: context.subscriptionId,
|
|
302
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
314
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01",
|
|
303
315
|
"%24top": options?.top,
|
|
304
316
|
"%24skipToken": options?.skipToken
|
|
305
317
|
},
|
|
@@ -316,7 +328,9 @@ async function _listBySubscriptionDeserialize(result) {
|
|
|
316
328
|
const expectedStatuses = ["200"];
|
|
317
329
|
if (!expectedStatuses.includes(result.status)) {
|
|
318
330
|
const error = (0, import_core_client.createRestError)(result);
|
|
319
|
-
|
|
331
|
+
if (result.body) {
|
|
332
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
333
|
+
}
|
|
320
334
|
throw error;
|
|
321
335
|
}
|
|
322
336
|
return (0, import_models._clusterListDeserializer)(result.body);
|
|
@@ -327,11 +341,7 @@ function listBySubscription(context, options = { requestOptions: {} }) {
|
|
|
327
341
|
() => _listBySubscriptionSend(context, options),
|
|
328
342
|
_listBySubscriptionDeserialize,
|
|
329
343
|
["200"],
|
|
330
|
-
{
|
|
331
|
-
itemName: "value",
|
|
332
|
-
nextLinkName: "nextLink",
|
|
333
|
-
apiVersion: context.apiVersion ?? "2026-05-01-preview"
|
|
334
|
-
}
|
|
344
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-07-01" }
|
|
335
345
|
);
|
|
336
346
|
}
|
|
337
347
|
function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
@@ -340,7 +350,7 @@ function _listByResourceGroupSend(context, resourceGroupName, options = { reques
|
|
|
340
350
|
{
|
|
341
351
|
subscriptionId: context.subscriptionId,
|
|
342
352
|
resourceGroupName,
|
|
343
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
353
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01",
|
|
344
354
|
"%24top": options?.top,
|
|
345
355
|
"%24skipToken": options?.skipToken
|
|
346
356
|
},
|
|
@@ -357,7 +367,9 @@ async function _listByResourceGroupDeserialize(result) {
|
|
|
357
367
|
const expectedStatuses = ["200"];
|
|
358
368
|
if (!expectedStatuses.includes(result.status)) {
|
|
359
369
|
const error = (0, import_core_client.createRestError)(result);
|
|
360
|
-
|
|
370
|
+
if (result.body) {
|
|
371
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
372
|
+
}
|
|
361
373
|
throw error;
|
|
362
374
|
}
|
|
363
375
|
return (0, import_models._clusterListDeserializer)(result.body);
|
|
@@ -368,11 +380,7 @@ function listByResourceGroup(context, resourceGroupName, options = { requestOpti
|
|
|
368
380
|
() => _listByResourceGroupSend(context, resourceGroupName, options),
|
|
369
381
|
_listByResourceGroupDeserialize,
|
|
370
382
|
["200"],
|
|
371
|
-
{
|
|
372
|
-
itemName: "value",
|
|
373
|
-
nextLinkName: "nextLink",
|
|
374
|
-
apiVersion: context.apiVersion ?? "2026-05-01-preview"
|
|
375
|
-
}
|
|
383
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-07-01" }
|
|
376
384
|
);
|
|
377
385
|
}
|
|
378
386
|
function _$deleteSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -382,7 +390,7 @@ function _$deleteSend(context, resourceGroupName, clusterName, options = { reque
|
|
|
382
390
|
subscriptionId: context.subscriptionId,
|
|
383
391
|
resourceGroupName,
|
|
384
392
|
clusterName,
|
|
385
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
393
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
386
394
|
},
|
|
387
395
|
{
|
|
388
396
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -401,7 +409,9 @@ async function _$deleteDeserialize(result) {
|
|
|
401
409
|
const expectedStatuses = ["202", "204", "200"];
|
|
402
410
|
if (!expectedStatuses.includes(result.status)) {
|
|
403
411
|
const error = (0, import_core_client.createRestError)(result);
|
|
404
|
-
|
|
412
|
+
if (result.body) {
|
|
413
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
414
|
+
}
|
|
405
415
|
throw error;
|
|
406
416
|
}
|
|
407
417
|
return (0, import_models.operationStatusResultDeserializer)(result.body);
|
|
@@ -412,7 +422,7 @@ function $delete(context, resourceGroupName, clusterName, options = { requestOpt
|
|
|
412
422
|
abortSignal: options?.abortSignal,
|
|
413
423
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, clusterName, options),
|
|
414
424
|
resourceLocationConfig: "location",
|
|
415
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
425
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
416
426
|
});
|
|
417
427
|
}
|
|
418
428
|
function _updateSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -422,7 +432,7 @@ function _updateSend(context, resourceGroupName, clusterName, options = { reques
|
|
|
422
432
|
subscriptionId: context.subscriptionId,
|
|
423
433
|
resourceGroupName,
|
|
424
434
|
clusterName,
|
|
425
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
435
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
426
436
|
},
|
|
427
437
|
{
|
|
428
438
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -437,14 +447,16 @@ function _updateSend(context, resourceGroupName, clusterName, options = { reques
|
|
|
437
447
|
accept: "application/json",
|
|
438
448
|
...options.requestOptions?.headers
|
|
439
449
|
},
|
|
440
|
-
body: !options
|
|
450
|
+
body: !options?.clusterUpdateParameters ? options?.clusterUpdateParameters : (0, import_models.clusterPatchParametersSerializer)(options?.clusterUpdateParameters)
|
|
441
451
|
});
|
|
442
452
|
}
|
|
443
453
|
async function _updateDeserialize(result) {
|
|
444
454
|
const expectedStatuses = ["200", "202", "201"];
|
|
445
455
|
if (!expectedStatuses.includes(result.status)) {
|
|
446
456
|
const error = (0, import_core_client.createRestError)(result);
|
|
447
|
-
|
|
457
|
+
if (result.body) {
|
|
458
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
459
|
+
}
|
|
448
460
|
throw error;
|
|
449
461
|
}
|
|
450
462
|
return (0, import_models.clusterDeserializer)(result.body);
|
|
@@ -455,7 +467,7 @@ function update(context, resourceGroupName, clusterName, options = { requestOpti
|
|
|
455
467
|
abortSignal: options?.abortSignal,
|
|
456
468
|
getInitialResponse: () => _updateSend(context, resourceGroupName, clusterName, options),
|
|
457
469
|
resourceLocationConfig: "azure-async-operation",
|
|
458
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
470
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
459
471
|
});
|
|
460
472
|
}
|
|
461
473
|
function _createOrUpdateSend(context, resourceGroupName, clusterName, clusterParameters, options = { requestOptions: {} }) {
|
|
@@ -465,7 +477,7 @@ function _createOrUpdateSend(context, resourceGroupName, clusterName, clusterPar
|
|
|
465
477
|
subscriptionId: context.subscriptionId,
|
|
466
478
|
resourceGroupName,
|
|
467
479
|
clusterName,
|
|
468
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
480
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
469
481
|
},
|
|
470
482
|
{
|
|
471
483
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -487,7 +499,9 @@ async function _createOrUpdateDeserialize(result) {
|
|
|
487
499
|
const expectedStatuses = ["200", "201", "202"];
|
|
488
500
|
if (!expectedStatuses.includes(result.status)) {
|
|
489
501
|
const error = (0, import_core_client.createRestError)(result);
|
|
490
|
-
|
|
502
|
+
if (result.body) {
|
|
503
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
504
|
+
}
|
|
491
505
|
throw error;
|
|
492
506
|
}
|
|
493
507
|
return (0, import_models.clusterDeserializer)(result.body);
|
|
@@ -498,7 +512,7 @@ function createOrUpdate(context, resourceGroupName, clusterName, clusterParamete
|
|
|
498
512
|
abortSignal: options?.abortSignal,
|
|
499
513
|
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, clusterName, clusterParameters, options),
|
|
500
514
|
resourceLocationConfig: "azure-async-operation",
|
|
501
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
515
|
+
apiVersion: context.apiVersion ?? "2026-07-01"
|
|
502
516
|
});
|
|
503
517
|
}
|
|
504
518
|
function _getSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
@@ -508,7 +522,7 @@ function _getSend(context, resourceGroupName, clusterName, options = { requestOp
|
|
|
508
522
|
subscriptionId: context.subscriptionId,
|
|
509
523
|
resourceGroupName,
|
|
510
524
|
clusterName,
|
|
511
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
525
|
+
"api%2Dversion": context.apiVersion ?? "2026-07-01"
|
|
512
526
|
},
|
|
513
527
|
{
|
|
514
528
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -523,7 +537,9 @@ async function _getDeserialize(result) {
|
|
|
523
537
|
const expectedStatuses = ["200"];
|
|
524
538
|
if (!expectedStatuses.includes(result.status)) {
|
|
525
539
|
const error = (0, import_core_client.createRestError)(result);
|
|
526
|
-
|
|
540
|
+
if (result.body) {
|
|
541
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
542
|
+
}
|
|
527
543
|
throw error;
|
|
528
544
|
}
|
|
529
545
|
return (0, import_models.clusterDeserializer)(result.body);
|