@azure/arm-containerservice 25.3.0 → 25.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/api/agentPools/index.d.ts +2 -2
- package/dist/browser/api/agentPools/index.js +1 -1
- package/dist/browser/api/agentPools/index.js.map +1 -1
- package/dist/browser/api/agentPools/operations.d.ts +5 -1
- package/dist/browser/api/agentPools/operations.js +52 -15
- package/dist/browser/api/agentPools/operations.js.map +1 -1
- package/dist/browser/api/agentPools/options.d.ts +5 -0
- package/dist/browser/api/agentPools/options.js.map +1 -1
- package/dist/browser/api/containerService/index.d.ts +3 -0
- package/dist/browser/api/containerService/index.js +4 -0
- package/dist/browser/api/containerService/index.js.map +1 -0
- package/dist/browser/api/containerService/operations.d.ts +10 -0
- package/dist/browser/api/containerService/operations.js +39 -0
- package/dist/browser/api/containerService/operations.js.map +1 -0
- package/dist/browser/api/containerService/options.d.ts +5 -0
- package/dist/browser/api/containerService/options.js +4 -0
- package/dist/browser/api/containerService/options.js.map +1 -0
- package/dist/browser/api/containerServiceContext.js +1 -1
- package/dist/browser/api/containerServiceContext.js.map +1 -1
- package/dist/browser/api/identityBindings/operations.js +11 -7
- package/dist/browser/api/identityBindings/operations.js.map +1 -1
- package/dist/browser/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/browser/api/jwtAuthenticators/index.js +4 -0
- package/dist/browser/api/jwtAuthenticators/index.js.map +1 -0
- package/dist/browser/api/jwtAuthenticators/operations.d.ts +23 -0
- package/dist/browser/api/jwtAuthenticators/operations.js +143 -0
- package/dist/browser/api/jwtAuthenticators/operations.js.map +1 -0
- package/dist/browser/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/browser/api/jwtAuthenticators/options.js +4 -0
- package/dist/browser/api/jwtAuthenticators/options.js.map +1 -0
- package/dist/browser/api/loadBalancers/index.d.ts +3 -0
- package/dist/browser/api/loadBalancers/index.js +4 -0
- package/dist/browser/api/loadBalancers/index.js.map +1 -0
- package/dist/browser/api/loadBalancers/operations.d.ts +23 -0
- package/dist/browser/api/loadBalancers/operations.js +138 -0
- package/dist/browser/api/loadBalancers/operations.js.map +1 -0
- package/dist/browser/api/loadBalancers/options.d.ts +16 -0
- package/dist/browser/api/loadBalancers/options.js +4 -0
- package/dist/browser/api/loadBalancers/options.js.map +1 -0
- package/dist/browser/api/machines/index.d.ts +2 -2
- package/dist/browser/api/machines/index.js +1 -1
- package/dist/browser/api/machines/index.js.map +1 -1
- package/dist/browser/api/machines/operations.d.ts +6 -1
- package/dist/browser/api/machines/operations.js +53 -4
- package/dist/browser/api/machines/operations.js.map +1 -1
- package/dist/browser/api/machines/options.d.ts +9 -0
- package/dist/browser/api/machines/options.js.map +1 -1
- package/dist/browser/api/maintenanceConfigurations/operations.js +9 -5
- package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/browser/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/browser/api/maintenanceWindows/index.js +4 -0
- package/dist/browser/api/maintenanceWindows/index.js.map +1 -0
- package/dist/browser/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/browser/api/maintenanceWindows/operations.js +202 -0
- package/dist/browser/api/maintenanceWindows/operations.js.map +1 -0
- package/dist/browser/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/browser/api/maintenanceWindows/options.js +4 -0
- package/dist/browser/api/maintenanceWindows/options.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/browser/api/managedClusterSnapshots/index.js +4 -0
- package/dist/browser/api/managedClusterSnapshots/index.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/operations.d.ts +30 -0
- package/dist/browser/api/managedClusterSnapshots/operations.js +191 -0
- package/dist/browser/api/managedClusterSnapshots/operations.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/browser/api/managedClusterSnapshots/options.js +4 -0
- package/dist/browser/api/managedClusterSnapshots/options.js.map +1 -0
- package/dist/browser/api/managedClusters/index.d.ts +2 -2
- package/dist/browser/api/managedClusters/index.js +1 -1
- package/dist/browser/api/managedClusters/index.js.map +1 -1
- package/dist/browser/api/managedClusters/operations.d.ts +22 -2
- package/dist/browser/api/managedClusters/operations.js +225 -44
- package/dist/browser/api/managedClusters/operations.js.map +1 -1
- package/dist/browser/api/managedClusters/options.d.ts +19 -0
- package/dist/browser/api/managedClusters/options.js.map +1 -1
- package/dist/browser/api/managedNamespaces/operations.js +13 -9
- package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
- package/dist/browser/api/meshMemberships/index.d.ts +3 -0
- package/dist/browser/api/meshMemberships/index.js +4 -0
- package/dist/browser/api/meshMemberships/index.js.map +1 -0
- package/dist/browser/api/meshMemberships/operations.d.ts +23 -0
- package/dist/browser/api/meshMemberships/operations.js +143 -0
- package/dist/browser/api/meshMemberships/operations.js.map +1 -0
- package/dist/browser/api/meshMemberships/options.d.ts +18 -0
- package/dist/browser/api/meshMemberships/options.js +4 -0
- package/dist/browser/api/meshMemberships/options.js.map +1 -0
- package/dist/browser/api/operationStatusResult/index.d.ts +3 -0
- package/dist/browser/api/operationStatusResult/index.js +4 -0
- package/dist/browser/api/operationStatusResult/index.js.map +1 -0
- package/dist/browser/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/browser/api/operationStatusResult/operations.js +103 -0
- package/dist/browser/api/operationStatusResult/operations.js.map +1 -0
- package/dist/browser/api/operationStatusResult/options.d.ts +11 -0
- package/dist/browser/api/operationStatusResult/options.js +4 -0
- package/dist/browser/api/operationStatusResult/options.js.map +1 -0
- package/dist/browser/api/operations/operations.js +6 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +5 -5
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +1 -1
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +16 -8
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoleBindings/operations.js +11 -7
- package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoles/operations.js +6 -2
- package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/browser/api/vmSkus/index.d.ts +3 -0
- package/dist/browser/api/vmSkus/index.js +4 -0
- package/dist/browser/api/vmSkus/index.js.map +1 -0
- package/dist/browser/api/vmSkus/operations.d.ts +10 -0
- package/dist/browser/api/vmSkus/operations.js +40 -0
- package/dist/browser/api/vmSkus/operations.js.map +1 -0
- package/dist/browser/api/vmSkus/options.d.ts +7 -0
- package/dist/browser/api/vmSkus/options.js +4 -0
- package/dist/browser/api/vmSkus/options.js.map +1 -0
- package/dist/browser/classic/agentPools/index.d.ts +7 -1
- package/dist/browser/classic/agentPools/index.js +10 -1
- package/dist/browser/classic/agentPools/index.js.map +1 -1
- package/dist/browser/classic/containerService/index.d.ts +11 -0
- package/dist/browser/classic/containerService/index.js +14 -0
- package/dist/browser/classic/containerService/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +8 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/jwtAuthenticators/index.d.ts +27 -0
- package/dist/browser/classic/jwtAuthenticators/index.js +34 -0
- package/dist/browser/classic/jwtAuthenticators/index.js.map +1 -0
- package/dist/browser/classic/loadBalancers/index.d.ts +23 -0
- package/dist/browser/classic/loadBalancers/index.js +26 -0
- package/dist/browser/classic/loadBalancers/index.js.map +1 -0
- package/dist/browser/classic/machines/index.d.ts +9 -1
- package/dist/browser/classic/machines/index.js +11 -1
- package/dist/browser/classic/machines/index.js.map +1 -1
- package/dist/browser/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/browser/classic/maintenanceWindows/index.js +36 -0
- package/dist/browser/classic/maintenanceWindows/index.js.map +1 -0
- package/dist/browser/classic/managedClusterSnapshots/index.d.ts +21 -0
- package/dist/browser/classic/managedClusterSnapshots/index.js +19 -0
- package/dist/browser/classic/managedClusterSnapshots/index.js.map +1 -0
- package/dist/browser/classic/managedClusters/index.d.ts +16 -2
- package/dist/browser/classic/managedClusters/index.js +14 -1
- package/dist/browser/classic/managedClusters/index.js.map +1 -1
- package/dist/browser/classic/meshMemberships/index.d.ts +27 -0
- package/dist/browser/classic/meshMemberships/index.js +34 -0
- package/dist/browser/classic/meshMemberships/index.js.map +1 -0
- package/dist/browser/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/browser/classic/operationStatusResult/index.js +16 -0
- package/dist/browser/classic/operationStatusResult/index.js.map +1 -0
- package/dist/browser/classic/vmSkus/index.d.ts +11 -0
- package/dist/browser/classic/vmSkus/index.js +14 -0
- package/dist/browser/classic/vmSkus/index.js.map +1 -0
- package/dist/browser/containerServiceClient.d.ts +24 -0
- package/dist/browser/containerServiceClient.js +32 -0
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts +14 -6
- package/dist/browser/index.js +1 -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 +1695 -11
- package/dist/browser/models/models.js +2105 -64
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +35 -5
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/agentPools/index.d.ts +2 -2
- package/dist/commonjs/api/agentPools/index.js +2 -0
- package/dist/commonjs/api/agentPools/index.js.map +2 -2
- package/dist/commonjs/api/agentPools/operations.d.ts +5 -1
- package/dist/commonjs/api/agentPools/operations.js +61 -15
- package/dist/commonjs/api/agentPools/operations.js.map +2 -2
- package/dist/commonjs/api/agentPools/options.d.ts +5 -0
- package/dist/commonjs/api/agentPools/options.js.map +1 -1
- package/dist/commonjs/api/containerService/index.d.ts +3 -0
- package/dist/commonjs/api/containerService/index.js +28 -0
- package/dist/commonjs/api/containerService/index.js.map +7 -0
- package/dist/commonjs/api/containerService/operations.d.ts +10 -0
- package/dist/commonjs/api/containerService/operations.js +76 -0
- package/dist/commonjs/api/containerService/operations.js.map +7 -0
- package/dist/commonjs/api/containerService/options.d.ts +5 -0
- package/dist/commonjs/api/containerService/options.js +16 -0
- package/dist/commonjs/api/containerService/options.js.map +7 -0
- package/dist/commonjs/api/containerServiceContext.js +1 -1
- package/dist/commonjs/api/containerServiceContext.js.map +1 -1
- package/dist/commonjs/api/identityBindings/operations.js +11 -7
- package/dist/commonjs/api/identityBindings/operations.js.map +2 -2
- package/dist/commonjs/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/commonjs/api/jwtAuthenticators/index.js +34 -0
- package/dist/commonjs/api/jwtAuthenticators/index.js.map +7 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.d.ts +23 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.js +220 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.js.map +7 -0
- package/dist/commonjs/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/commonjs/api/jwtAuthenticators/options.js +16 -0
- package/dist/commonjs/api/jwtAuthenticators/options.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/index.d.ts +3 -0
- package/dist/commonjs/api/loadBalancers/index.js +34 -0
- package/dist/commonjs/api/loadBalancers/index.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/operations.d.ts +23 -0
- package/dist/commonjs/api/loadBalancers/operations.js +215 -0
- package/dist/commonjs/api/loadBalancers/operations.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/options.d.ts +16 -0
- package/dist/commonjs/api/loadBalancers/options.js +16 -0
- package/dist/commonjs/api/loadBalancers/options.js.map +7 -0
- package/dist/commonjs/api/machines/index.d.ts +2 -2
- package/dist/commonjs/api/machines/index.js +2 -0
- package/dist/commonjs/api/machines/index.js.map +2 -2
- package/dist/commonjs/api/machines/operations.d.ts +6 -1
- package/dist/commonjs/api/machines/operations.js +69 -3
- package/dist/commonjs/api/machines/operations.js.map +2 -2
- package/dist/commonjs/api/machines/options.d.ts +9 -0
- package/dist/commonjs/api/machines/options.js.map +1 -1
- package/dist/commonjs/api/maintenanceConfigurations/operations.js +9 -5
- package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +2 -2
- package/dist/commonjs/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/commonjs/api/maintenanceWindows/index.js +38 -0
- package/dist/commonjs/api/maintenanceWindows/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/commonjs/api/maintenanceWindows/operations.js +296 -0
- package/dist/commonjs/api/maintenanceWindows/operations.js.map +7 -0
- package/dist/commonjs/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/commonjs/api/maintenanceWindows/options.js +16 -0
- package/dist/commonjs/api/maintenanceWindows/options.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/commonjs/api/managedClusterSnapshots/index.js +38 -0
- package/dist/commonjs/api/managedClusterSnapshots/index.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.d.ts +30 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.js +291 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.js +16 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.js.map +7 -0
- package/dist/commonjs/api/managedClusters/index.d.ts +2 -2
- package/dist/commonjs/api/managedClusters/index.js +10 -0
- package/dist/commonjs/api/managedClusters/index.js.map +2 -2
- package/dist/commonjs/api/managedClusters/operations.d.ts +22 -2
- package/dist/commonjs/api/managedClusters/operations.js +286 -43
- package/dist/commonjs/api/managedClusters/operations.js.map +2 -2
- package/dist/commonjs/api/managedClusters/options.d.ts +19 -0
- package/dist/commonjs/api/managedClusters/options.js.map +1 -1
- package/dist/commonjs/api/managedNamespaces/operations.js +13 -9
- package/dist/commonjs/api/managedNamespaces/operations.js.map +2 -2
- package/dist/commonjs/api/meshMemberships/index.d.ts +3 -0
- package/dist/commonjs/api/meshMemberships/index.js +34 -0
- package/dist/commonjs/api/meshMemberships/index.js.map +7 -0
- package/dist/commonjs/api/meshMemberships/operations.d.ts +23 -0
- package/dist/commonjs/api/meshMemberships/operations.js +220 -0
- package/dist/commonjs/api/meshMemberships/operations.js.map +7 -0
- package/dist/commonjs/api/meshMemberships/options.d.ts +18 -0
- package/dist/commonjs/api/meshMemberships/options.js +16 -0
- package/dist/commonjs/api/meshMemberships/options.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/index.d.ts +3 -0
- package/dist/commonjs/api/operationStatusResult/index.js +32 -0
- package/dist/commonjs/api/operationStatusResult/index.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/commonjs/api/operationStatusResult/operations.js +165 -0
- package/dist/commonjs/api/operationStatusResult/operations.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/options.d.ts +11 -0
- package/dist/commonjs/api/operationStatusResult/options.js +16 -0
- package/dist/commonjs/api/operationStatusResult/options.js.map +7 -0
- package/dist/commonjs/api/operations/operations.js +6 -2
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/privateEndpointConnections/operations.js +5 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js.map +1 -1
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +1 -1
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/commonjs/api/snapshots/operations.js +16 -8
- package/dist/commonjs/api/snapshots/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +11 -7
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoles/operations.js +6 -2
- package/dist/commonjs/api/trustedAccessRoles/operations.js.map +2 -2
- package/dist/commonjs/api/vmSkus/index.d.ts +3 -0
- package/dist/commonjs/api/vmSkus/index.js +28 -0
- package/dist/commonjs/api/vmSkus/index.js.map +7 -0
- package/dist/commonjs/api/vmSkus/operations.d.ts +10 -0
- package/dist/commonjs/api/vmSkus/operations.js +77 -0
- package/dist/commonjs/api/vmSkus/operations.js.map +7 -0
- package/dist/commonjs/api/vmSkus/options.d.ts +7 -0
- package/dist/commonjs/api/vmSkus/options.js +16 -0
- package/dist/commonjs/api/vmSkus/options.js.map +7 -0
- package/dist/commonjs/classic/agentPools/index.d.ts +7 -1
- package/dist/commonjs/classic/agentPools/index.js +21 -0
- package/dist/commonjs/classic/agentPools/index.js.map +2 -2
- package/dist/commonjs/classic/containerService/index.d.ts +11 -0
- package/dist/commonjs/classic/containerService/index.js +38 -0
- package/dist/commonjs/classic/containerService/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +8 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/jwtAuthenticators/index.d.ts +27 -0
- package/dist/commonjs/classic/jwtAuthenticators/index.js +85 -0
- package/dist/commonjs/classic/jwtAuthenticators/index.js.map +7 -0
- package/dist/commonjs/classic/loadBalancers/index.d.ts +23 -0
- package/dist/commonjs/classic/loadBalancers/index.js +57 -0
- package/dist/commonjs/classic/loadBalancers/index.js.map +7 -0
- package/dist/commonjs/classic/machines/index.d.ts +9 -1
- package/dist/commonjs/classic/machines/index.js +34 -0
- package/dist/commonjs/classic/machines/index.js.map +2 -2
- package/dist/commonjs/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/commonjs/classic/maintenanceWindows/index.js +72 -0
- package/dist/commonjs/classic/maintenanceWindows/index.js.map +7 -0
- package/dist/commonjs/classic/managedClusterSnapshots/index.d.ts +21 -0
- package/dist/commonjs/classic/managedClusterSnapshots/index.js +43 -0
- package/dist/commonjs/classic/managedClusterSnapshots/index.js.map +7 -0
- package/dist/commonjs/classic/managedClusters/index.d.ts +16 -2
- package/dist/commonjs/classic/managedClusters/index.js +25 -0
- package/dist/commonjs/classic/managedClusters/index.js.map +2 -2
- package/dist/commonjs/classic/meshMemberships/index.d.ts +27 -0
- package/dist/commonjs/classic/meshMemberships/index.js +79 -0
- package/dist/commonjs/classic/meshMemberships/index.js.map +7 -0
- package/dist/commonjs/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/commonjs/classic/operationStatusResult/index.js +40 -0
- package/dist/commonjs/classic/operationStatusResult/index.js.map +7 -0
- package/dist/commonjs/classic/vmSkus/index.d.ts +11 -0
- package/dist/commonjs/classic/vmSkus/index.js +38 -0
- package/dist/commonjs/classic/vmSkus/index.js.map +7 -0
- package/dist/commonjs/containerServiceClient.d.ts +24 -0
- package/dist/commonjs/containerServiceClient.js +32 -0
- package/dist/commonjs/containerServiceClient.js.map +2 -2
- package/dist/commonjs/index.d.ts +14 -6
- package/dist/commonjs/index.js +56 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +56 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +1695 -11
- package/dist/commonjs/models/models.js +2007 -52
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +59 -29
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/esm/api/agentPools/index.d.ts +2 -2
- package/dist/esm/api/agentPools/index.js +1 -1
- package/dist/esm/api/agentPools/index.js.map +1 -1
- package/dist/esm/api/agentPools/operations.d.ts +5 -1
- package/dist/esm/api/agentPools/operations.js +52 -15
- package/dist/esm/api/agentPools/operations.js.map +1 -1
- package/dist/esm/api/agentPools/options.d.ts +5 -0
- package/dist/esm/api/agentPools/options.js.map +1 -1
- package/dist/esm/api/containerService/index.d.ts +3 -0
- package/dist/esm/api/containerService/index.js +4 -0
- package/dist/esm/api/containerService/index.js.map +1 -0
- package/dist/esm/api/containerService/operations.d.ts +10 -0
- package/dist/esm/api/containerService/operations.js +39 -0
- package/dist/esm/api/containerService/operations.js.map +1 -0
- package/dist/esm/api/containerService/options.d.ts +5 -0
- package/dist/esm/api/containerService/options.js +4 -0
- package/dist/esm/api/containerService/options.js.map +1 -0
- package/dist/esm/api/containerServiceContext.js +1 -1
- package/dist/esm/api/containerServiceContext.js.map +1 -1
- package/dist/esm/api/identityBindings/operations.js +11 -7
- package/dist/esm/api/identityBindings/operations.js.map +1 -1
- package/dist/esm/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/esm/api/jwtAuthenticators/index.js +4 -0
- package/dist/esm/api/jwtAuthenticators/index.js.map +1 -0
- package/dist/esm/api/jwtAuthenticators/operations.d.ts +23 -0
- package/dist/esm/api/jwtAuthenticators/operations.js +143 -0
- package/dist/esm/api/jwtAuthenticators/operations.js.map +1 -0
- package/dist/esm/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/esm/api/jwtAuthenticators/options.js +4 -0
- package/dist/esm/api/jwtAuthenticators/options.js.map +1 -0
- package/dist/esm/api/loadBalancers/index.d.ts +3 -0
- package/dist/esm/api/loadBalancers/index.js +4 -0
- package/dist/esm/api/loadBalancers/index.js.map +1 -0
- package/dist/esm/api/loadBalancers/operations.d.ts +23 -0
- package/dist/esm/api/loadBalancers/operations.js +138 -0
- package/dist/esm/api/loadBalancers/operations.js.map +1 -0
- package/dist/esm/api/loadBalancers/options.d.ts +16 -0
- package/dist/esm/api/loadBalancers/options.js +4 -0
- package/dist/esm/api/loadBalancers/options.js.map +1 -0
- package/dist/esm/api/machines/index.d.ts +2 -2
- package/dist/esm/api/machines/index.js +1 -1
- package/dist/esm/api/machines/index.js.map +1 -1
- package/dist/esm/api/machines/operations.d.ts +6 -1
- package/dist/esm/api/machines/operations.js +53 -4
- package/dist/esm/api/machines/operations.js.map +1 -1
- package/dist/esm/api/machines/options.d.ts +9 -0
- package/dist/esm/api/machines/options.js.map +1 -1
- package/dist/esm/api/maintenanceConfigurations/operations.js +9 -5
- package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/esm/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/esm/api/maintenanceWindows/index.js +4 -0
- package/dist/esm/api/maintenanceWindows/index.js.map +1 -0
- package/dist/esm/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/esm/api/maintenanceWindows/operations.js +202 -0
- package/dist/esm/api/maintenanceWindows/operations.js.map +1 -0
- package/dist/esm/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/esm/api/maintenanceWindows/options.js +4 -0
- package/dist/esm/api/maintenanceWindows/options.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/esm/api/managedClusterSnapshots/index.js +4 -0
- package/dist/esm/api/managedClusterSnapshots/index.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/operations.d.ts +30 -0
- package/dist/esm/api/managedClusterSnapshots/operations.js +191 -0
- package/dist/esm/api/managedClusterSnapshots/operations.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/esm/api/managedClusterSnapshots/options.js +4 -0
- package/dist/esm/api/managedClusterSnapshots/options.js.map +1 -0
- package/dist/esm/api/managedClusters/index.d.ts +2 -2
- package/dist/esm/api/managedClusters/index.js +1 -1
- package/dist/esm/api/managedClusters/index.js.map +1 -1
- package/dist/esm/api/managedClusters/operations.d.ts +22 -2
- package/dist/esm/api/managedClusters/operations.js +225 -44
- package/dist/esm/api/managedClusters/operations.js.map +1 -1
- package/dist/esm/api/managedClusters/options.d.ts +19 -0
- package/dist/esm/api/managedClusters/options.js.map +1 -1
- package/dist/esm/api/managedNamespaces/operations.js +13 -9
- package/dist/esm/api/managedNamespaces/operations.js.map +1 -1
- package/dist/esm/api/meshMemberships/index.d.ts +3 -0
- package/dist/esm/api/meshMemberships/index.js +4 -0
- package/dist/esm/api/meshMemberships/index.js.map +1 -0
- package/dist/esm/api/meshMemberships/operations.d.ts +23 -0
- package/dist/esm/api/meshMemberships/operations.js +143 -0
- package/dist/esm/api/meshMemberships/operations.js.map +1 -0
- package/dist/esm/api/meshMemberships/options.d.ts +18 -0
- package/dist/esm/api/meshMemberships/options.js +4 -0
- package/dist/esm/api/meshMemberships/options.js.map +1 -0
- package/dist/esm/api/operationStatusResult/index.d.ts +3 -0
- package/dist/esm/api/operationStatusResult/index.js +4 -0
- package/dist/esm/api/operationStatusResult/index.js.map +1 -0
- package/dist/esm/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/esm/api/operationStatusResult/operations.js +103 -0
- package/dist/esm/api/operationStatusResult/operations.js.map +1 -0
- package/dist/esm/api/operationStatusResult/options.d.ts +11 -0
- package/dist/esm/api/operationStatusResult/options.js +4 -0
- package/dist/esm/api/operationStatusResult/options.js.map +1 -0
- package/dist/esm/api/operations/operations.js +6 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.js +5 -5
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +1 -1
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +1 -1
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +16 -8
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoleBindings/operations.js +11 -7
- package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoles/operations.js +6 -2
- package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/esm/api/vmSkus/index.d.ts +3 -0
- package/dist/esm/api/vmSkus/index.js +4 -0
- package/dist/esm/api/vmSkus/index.js.map +1 -0
- package/dist/esm/api/vmSkus/operations.d.ts +10 -0
- package/dist/esm/api/vmSkus/operations.js +40 -0
- package/dist/esm/api/vmSkus/operations.js.map +1 -0
- package/dist/esm/api/vmSkus/options.d.ts +7 -0
- package/dist/esm/api/vmSkus/options.js +4 -0
- package/dist/esm/api/vmSkus/options.js.map +1 -0
- package/dist/esm/classic/agentPools/index.d.ts +7 -1
- package/dist/esm/classic/agentPools/index.js +10 -1
- package/dist/esm/classic/agentPools/index.js.map +1 -1
- package/dist/esm/classic/containerService/index.d.ts +11 -0
- package/dist/esm/classic/containerService/index.js +14 -0
- package/dist/esm/classic/containerService/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +8 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/jwtAuthenticators/index.d.ts +27 -0
- package/dist/esm/classic/jwtAuthenticators/index.js +34 -0
- package/dist/esm/classic/jwtAuthenticators/index.js.map +1 -0
- package/dist/esm/classic/loadBalancers/index.d.ts +23 -0
- package/dist/esm/classic/loadBalancers/index.js +26 -0
- package/dist/esm/classic/loadBalancers/index.js.map +1 -0
- package/dist/esm/classic/machines/index.d.ts +9 -1
- package/dist/esm/classic/machines/index.js +11 -1
- package/dist/esm/classic/machines/index.js.map +1 -1
- package/dist/esm/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/esm/classic/maintenanceWindows/index.js +36 -0
- package/dist/esm/classic/maintenanceWindows/index.js.map +1 -0
- package/dist/esm/classic/managedClusterSnapshots/index.d.ts +21 -0
- package/dist/esm/classic/managedClusterSnapshots/index.js +19 -0
- package/dist/esm/classic/managedClusterSnapshots/index.js.map +1 -0
- package/dist/esm/classic/managedClusters/index.d.ts +16 -2
- package/dist/esm/classic/managedClusters/index.js +14 -1
- package/dist/esm/classic/managedClusters/index.js.map +1 -1
- package/dist/esm/classic/meshMemberships/index.d.ts +27 -0
- package/dist/esm/classic/meshMemberships/index.js +34 -0
- package/dist/esm/classic/meshMemberships/index.js.map +1 -0
- package/dist/esm/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/esm/classic/operationStatusResult/index.js +16 -0
- package/dist/esm/classic/operationStatusResult/index.js.map +1 -0
- package/dist/esm/classic/vmSkus/index.d.ts +11 -0
- package/dist/esm/classic/vmSkus/index.js +14 -0
- package/dist/esm/classic/vmSkus/index.js.map +1 -0
- package/dist/esm/containerServiceClient.d.ts +24 -0
- package/dist/esm/containerServiceClient.js +32 -0
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/index.d.ts +14 -6
- package/dist/esm/index.js +1 -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 +1695 -11
- package/dist/esm/models/models.js +2105 -64
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +35 -5
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -1
- package/package.json +116 -4
|
@@ -26,7 +26,10 @@ export function agentPoolSerializer(item) {
|
|
|
26
26
|
"mode",
|
|
27
27
|
"orchestratorVersion",
|
|
28
28
|
"nodeImageVersion",
|
|
29
|
+
"upgradeStrategy",
|
|
30
|
+
"enableOSDiskFullCaching",
|
|
29
31
|
"upgradeSettings",
|
|
32
|
+
"upgradeSettingsBlueGreen",
|
|
30
33
|
"powerState",
|
|
31
34
|
"availabilityZones",
|
|
32
35
|
"enableNodePublicIP",
|
|
@@ -37,6 +40,7 @@ export function agentPoolSerializer(item) {
|
|
|
37
40
|
"tags",
|
|
38
41
|
"nodeLabels",
|
|
39
42
|
"nodeTaints",
|
|
43
|
+
"nodeInitializationTaints",
|
|
40
44
|
"proximityPlacementGroupID",
|
|
41
45
|
"kubeletConfig",
|
|
42
46
|
"linuxOSConfig",
|
|
@@ -57,6 +61,7 @@ export function agentPoolSerializer(item) {
|
|
|
57
61
|
"virtualMachineNodesStatus",
|
|
58
62
|
"status",
|
|
59
63
|
"localDNSProfile",
|
|
64
|
+
"preparedImageSpecificationProfile",
|
|
60
65
|
])
|
|
61
66
|
? undefined
|
|
62
67
|
: _agentPoolPropertiesSerializer(item),
|
|
@@ -98,9 +103,14 @@ export function managedClusterAgentPoolProfilePropertiesSerializer(item) {
|
|
|
98
103
|
mode: item["mode"],
|
|
99
104
|
orchestratorVersion: item["orchestratorVersion"],
|
|
100
105
|
nodeImageVersion: item["nodeImageVersion"],
|
|
106
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
107
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
101
108
|
upgradeSettings: !item["upgradeSettings"]
|
|
102
109
|
? item["upgradeSettings"]
|
|
103
110
|
: agentPoolUpgradeSettingsSerializer(item["upgradeSettings"]),
|
|
111
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
112
|
+
? item["upgradeSettingsBlueGreen"]
|
|
113
|
+
: agentPoolBlueGreenUpgradeSettingsSerializer(item["upgradeSettingsBlueGreen"]),
|
|
104
114
|
powerState: !item["powerState"] ? item["powerState"] : powerStateSerializer(item["powerState"]),
|
|
105
115
|
availabilityZones: !item["availabilityZones"]
|
|
106
116
|
? item["availabilityZones"]
|
|
@@ -119,6 +129,11 @@ export function managedClusterAgentPoolProfilePropertiesSerializer(item) {
|
|
|
119
129
|
: item["nodeTaints"].map((p) => {
|
|
120
130
|
return p;
|
|
121
131
|
}),
|
|
132
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
133
|
+
? item["nodeInitializationTaints"]
|
|
134
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
135
|
+
return p;
|
|
136
|
+
}),
|
|
122
137
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
123
138
|
kubeletConfig: !item["kubeletConfig"]
|
|
124
139
|
? item["kubeletConfig"]
|
|
@@ -161,6 +176,9 @@ export function managedClusterAgentPoolProfilePropertiesSerializer(item) {
|
|
|
161
176
|
localDNSProfile: !item["localDNSProfile"]
|
|
162
177
|
? item["localDNSProfile"]
|
|
163
178
|
: localDNSProfileSerializer(item["localDNSProfile"]),
|
|
179
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
180
|
+
? item["preparedImageSpecificationProfile"]
|
|
181
|
+
: preparedImageSpecificationProfileSerializer(item["preparedImageSpecificationProfile"]),
|
|
164
182
|
};
|
|
165
183
|
}
|
|
166
184
|
export function managedClusterAgentPoolProfilePropertiesDeserializer(item) {
|
|
@@ -188,9 +206,14 @@ export function managedClusterAgentPoolProfilePropertiesDeserializer(item) {
|
|
|
188
206
|
orchestratorVersion: item["orchestratorVersion"],
|
|
189
207
|
currentOrchestratorVersion: item["currentOrchestratorVersion"],
|
|
190
208
|
nodeImageVersion: item["nodeImageVersion"],
|
|
209
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
210
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
191
211
|
upgradeSettings: !item["upgradeSettings"]
|
|
192
212
|
? item["upgradeSettings"]
|
|
193
213
|
: agentPoolUpgradeSettingsDeserializer(item["upgradeSettings"]),
|
|
214
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
215
|
+
? item["upgradeSettingsBlueGreen"]
|
|
216
|
+
: agentPoolBlueGreenUpgradeSettingsDeserializer(item["upgradeSettingsBlueGreen"]),
|
|
194
217
|
provisioningState: item["provisioningState"],
|
|
195
218
|
powerState: !item["powerState"]
|
|
196
219
|
? item["powerState"]
|
|
@@ -216,6 +239,11 @@ export function managedClusterAgentPoolProfilePropertiesDeserializer(item) {
|
|
|
216
239
|
: item["nodeTaints"].map((p) => {
|
|
217
240
|
return p;
|
|
218
241
|
}),
|
|
242
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
243
|
+
? item["nodeInitializationTaints"]
|
|
244
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
245
|
+
return p;
|
|
246
|
+
}),
|
|
219
247
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
220
248
|
kubeletConfig: !item["kubeletConfig"]
|
|
221
249
|
? item["kubeletConfig"]
|
|
@@ -260,6 +288,9 @@ export function managedClusterAgentPoolProfilePropertiesDeserializer(item) {
|
|
|
260
288
|
localDNSProfile: !item["localDNSProfile"]
|
|
261
289
|
? item["localDNSProfile"]
|
|
262
290
|
: localDNSProfileDeserializer(item["localDNSProfile"]),
|
|
291
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
292
|
+
? item["preparedImageSpecificationProfile"]
|
|
293
|
+
: preparedImageSpecificationProfileDeserializer(item["preparedImageSpecificationProfile"]),
|
|
263
294
|
};
|
|
264
295
|
}
|
|
265
296
|
/** The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */
|
|
@@ -285,6 +316,8 @@ export var KnownWorkloadRuntime;
|
|
|
285
316
|
KnownWorkloadRuntime["OCIContainer"] = "OCIContainer";
|
|
286
317
|
/** Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). */
|
|
287
318
|
KnownWorkloadRuntime["WasmWasi"] = "WasmWasi";
|
|
319
|
+
/** Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods (Preview). Due to the use Hyper-V, AKS node OS itself is a nested VM (the root OS) of Hyper-V. Thus it can only be used with VM series that support Nested Virtualization such as Dv3 series. This naming convention will be deprecated in future releases in favor of KataVmIsolation. */
|
|
320
|
+
KnownWorkloadRuntime["KataMshvVmIsolation"] = "KataMshvVmIsolation";
|
|
288
321
|
/** Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods. Due to the use Hyper-V, AKS node OS itself is a nested VM (the root OS) of Hyper-V. Thus it can only be used with VM series that support Nested Virtualization such as Dv3 series. */
|
|
289
322
|
KnownWorkloadRuntime["KataVmIsolation"] = "KataVmIsolation";
|
|
290
323
|
})(KnownWorkloadRuntime || (KnownWorkloadRuntime = {}));
|
|
@@ -314,6 +347,10 @@ export var KnownOssku;
|
|
|
314
347
|
/** Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. */
|
|
315
348
|
KnownOssku["AzureLinux3"] = "AzureLinux3";
|
|
316
349
|
/** Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. */
|
|
350
|
+
KnownOssku["Mariner"] = "Mariner";
|
|
351
|
+
/** Use Flatcar Container Linux as the OS for node images. Flatcar is a container-optimized, security-focused Linux OS, with an immutable filesystem and part of the Cloud Native Computing Foundation (CNCF). For more information about Flatcar Container Linux for AKS, see aka.ms/aks/flatcar-container-linux-for-aks */
|
|
352
|
+
KnownOssku["Flatcar"] = "Flatcar";
|
|
353
|
+
/** Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. */
|
|
317
354
|
KnownOssku["CBLMariner"] = "CBLMariner";
|
|
318
355
|
/** Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. */
|
|
319
356
|
KnownOssku["Windows2019"] = "Windows2019";
|
|
@@ -323,6 +360,8 @@ export var KnownOssku;
|
|
|
323
360
|
KnownOssku["Ubuntu2204"] = "Ubuntu2204";
|
|
324
361
|
/** Use Windows2025 as the OS for node images. Unsupported for system node pools. Windows2025 supports Windows2022 and Windows 2025 containers; it cannot run Windows2019 containers and vice versa. */
|
|
325
362
|
KnownOssku["Windows2025"] = "Windows2025";
|
|
363
|
+
/** Use Windows Annual Channel version as the OS for node images. Unsupported for system node pools. Details about supported container images and kubernetes versions under different AKS Annual Channel versions could be seen in https://aka.ms/aks/windows-annual-channel-details. */
|
|
364
|
+
KnownOssku["WindowsAnnual"] = "WindowsAnnual";
|
|
326
365
|
/** Use Ubuntu2404 as the OS for node images, however, Ubuntu 24.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see see https://aka.ms/aks/supported-ubuntu-versions */
|
|
327
366
|
KnownOssku["Ubuntu2404"] = "Ubuntu2404";
|
|
328
367
|
/** Use Azure Container Linux as the OS for node images. Azure Container Linux is a container-optimized, security-focused Linux OS built on Azure Linux, with an immutable filesystem. ACL is derived from the Flatcar Container Linux project, building on Flatcar's proven container-first, immutable design, while adding Azure Linux packages, servicing, and deep integration with the Azure and AKS lifecycle. For more information, see https://aka.ms/azurecontainerlinux */
|
|
@@ -355,11 +394,24 @@ export var KnownAgentPoolMode;
|
|
|
355
394
|
KnownAgentPoolMode["User"] = "User";
|
|
356
395
|
/** Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. */
|
|
357
396
|
KnownAgentPoolMode["Gateway"] = "Gateway";
|
|
397
|
+
/** ManagedSystem is a system pool managed by AKS. The pool scales dynamically according to cluster usage, and has additional automated monitoring and healing capabilities. There can only be one ManagedSystem pool, and it is recommended to delete all other system pools for the best experience. */
|
|
398
|
+
KnownAgentPoolMode["ManagedSystem"] = "ManagedSystem";
|
|
399
|
+
/** Machines agent pools are dedicated to hosting machines. Only limited operations, such as creation and deletion, are allowed at the pool level. Please use the machine APIs to manage the full machine lifecycle. */
|
|
400
|
+
KnownAgentPoolMode["Machines"] = "Machines";
|
|
358
401
|
})(KnownAgentPoolMode || (KnownAgentPoolMode = {}));
|
|
402
|
+
/** Defines the upgrade strategy for the agent pool. The default is Rolling. */
|
|
403
|
+
export var KnownUpgradeStrategy;
|
|
404
|
+
(function (KnownUpgradeStrategy) {
|
|
405
|
+
/** Specifies that the agent pool will conduct rolling upgrade. This is the default upgrade strategy. */
|
|
406
|
+
KnownUpgradeStrategy["Rolling"] = "Rolling";
|
|
407
|
+
/** Specifies that the agent pool will conduct blue-green upgrade. */
|
|
408
|
+
KnownUpgradeStrategy["BlueGreen"] = "BlueGreen";
|
|
409
|
+
})(KnownUpgradeStrategy || (KnownUpgradeStrategy = {}));
|
|
359
410
|
export function agentPoolUpgradeSettingsSerializer(item) {
|
|
360
411
|
return {
|
|
361
412
|
maxSurge: item["maxSurge"],
|
|
362
413
|
maxUnavailable: item["maxUnavailable"],
|
|
414
|
+
maxBlockedNodes: item["maxBlockedNodes"],
|
|
363
415
|
drainTimeoutInMinutes: item["drainTimeoutInMinutes"],
|
|
364
416
|
nodeSoakDurationInMinutes: item["nodeSoakDurationInMinutes"],
|
|
365
417
|
undrainableNodeBehavior: item["undrainableNodeBehavior"],
|
|
@@ -369,6 +421,7 @@ export function agentPoolUpgradeSettingsDeserializer(item) {
|
|
|
369
421
|
return {
|
|
370
422
|
maxSurge: item["maxSurge"],
|
|
371
423
|
maxUnavailable: item["maxUnavailable"],
|
|
424
|
+
maxBlockedNodes: item["maxBlockedNodes"],
|
|
372
425
|
drainTimeoutInMinutes: item["drainTimeoutInMinutes"],
|
|
373
426
|
nodeSoakDurationInMinutes: item["nodeSoakDurationInMinutes"],
|
|
374
427
|
undrainableNodeBehavior: item["undrainableNodeBehavior"],
|
|
@@ -382,6 +435,22 @@ export var KnownUndrainableNodeBehavior;
|
|
|
382
435
|
/** AKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes. */
|
|
383
436
|
KnownUndrainableNodeBehavior["Schedule"] = "Schedule";
|
|
384
437
|
})(KnownUndrainableNodeBehavior || (KnownUndrainableNodeBehavior = {}));
|
|
438
|
+
export function agentPoolBlueGreenUpgradeSettingsSerializer(item) {
|
|
439
|
+
return {
|
|
440
|
+
drainBatchSize: item["drainBatchSize"],
|
|
441
|
+
drainTimeoutInMinutes: item["drainTimeoutInMinutes"],
|
|
442
|
+
batchSoakDurationInMinutes: item["batchSoakDurationInMinutes"],
|
|
443
|
+
finalSoakDurationInMinutes: item["finalSoakDurationInMinutes"],
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
export function agentPoolBlueGreenUpgradeSettingsDeserializer(item) {
|
|
447
|
+
return {
|
|
448
|
+
drainBatchSize: item["drainBatchSize"],
|
|
449
|
+
drainTimeoutInMinutes: item["drainTimeoutInMinutes"],
|
|
450
|
+
batchSoakDurationInMinutes: item["batchSoakDurationInMinutes"],
|
|
451
|
+
finalSoakDurationInMinutes: item["finalSoakDurationInMinutes"],
|
|
452
|
+
};
|
|
453
|
+
}
|
|
385
454
|
export function powerStateSerializer(item) {
|
|
386
455
|
return { code: item["code"] };
|
|
387
456
|
}
|
|
@@ -431,6 +500,13 @@ export function kubeletConfigSerializer(item) {
|
|
|
431
500
|
containerLogMaxSizeMB: item["containerLogMaxSizeMB"],
|
|
432
501
|
containerLogMaxFiles: item["containerLogMaxFiles"],
|
|
433
502
|
podMaxPids: item["podMaxPids"],
|
|
503
|
+
seccompDefault: item["seccompDefault"],
|
|
504
|
+
kubeReserved: !item["kubeReserved"]
|
|
505
|
+
? item["kubeReserved"]
|
|
506
|
+
: kubeReservedSerializer(item["kubeReserved"]),
|
|
507
|
+
hardEvictionThreshold: !item["hardEvictionThreshold"]
|
|
508
|
+
? item["hardEvictionThreshold"]
|
|
509
|
+
: hardEvictionThresholdSerializer(item["hardEvictionThreshold"]),
|
|
434
510
|
};
|
|
435
511
|
}
|
|
436
512
|
export function kubeletConfigDeserializer(item) {
|
|
@@ -450,6 +526,44 @@ export function kubeletConfigDeserializer(item) {
|
|
|
450
526
|
containerLogMaxSizeMB: item["containerLogMaxSizeMB"],
|
|
451
527
|
containerLogMaxFiles: item["containerLogMaxFiles"],
|
|
452
528
|
podMaxPids: item["podMaxPids"],
|
|
529
|
+
seccompDefault: item["seccompDefault"],
|
|
530
|
+
kubeReserved: !item["kubeReserved"]
|
|
531
|
+
? item["kubeReserved"]
|
|
532
|
+
: kubeReservedDeserializer(item["kubeReserved"]),
|
|
533
|
+
hardEvictionThreshold: !item["hardEvictionThreshold"]
|
|
534
|
+
? item["hardEvictionThreshold"]
|
|
535
|
+
: hardEvictionThresholdDeserializer(item["hardEvictionThreshold"]),
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
/** Specifies the default seccomp profile applied to all workloads. If not specified, 'Unconfined' will be used by default. */
|
|
539
|
+
export var KnownSeccompDefault;
|
|
540
|
+
(function (KnownSeccompDefault) {
|
|
541
|
+
/** No seccomp profile is applied, allowing all system calls. */
|
|
542
|
+
KnownSeccompDefault["Unconfined"] = "Unconfined";
|
|
543
|
+
/** The default seccomp profile for container runtime is applied, which restricts certain system calls for enhanced security. */
|
|
544
|
+
KnownSeccompDefault["RuntimeDefault"] = "RuntimeDefault";
|
|
545
|
+
})(KnownSeccompDefault || (KnownSeccompDefault = {}));
|
|
546
|
+
export function kubeReservedSerializer(item) {
|
|
547
|
+
return { cpuMillicores: item["cpuMillicores"], memoryMB: item["memoryMB"] };
|
|
548
|
+
}
|
|
549
|
+
export function kubeReservedDeserializer(item) {
|
|
550
|
+
return {
|
|
551
|
+
cpuMillicores: item["cpuMillicores"],
|
|
552
|
+
memoryMB: item["memoryMB"],
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
export function hardEvictionThresholdSerializer(item) {
|
|
556
|
+
return {
|
|
557
|
+
memoryAvailable: item["memoryAvailable"],
|
|
558
|
+
nodeFsAvailable: item["nodeFsAvailable"],
|
|
559
|
+
nodeFsInodesFree: item["nodeFsInodesFree"],
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
export function hardEvictionThresholdDeserializer(item) {
|
|
563
|
+
return {
|
|
564
|
+
memoryAvailable: item["memoryAvailable"],
|
|
565
|
+
nodeFsAvailable: item["nodeFsAvailable"],
|
|
566
|
+
nodeFsInodesFree: item["nodeFsInodesFree"],
|
|
453
567
|
};
|
|
454
568
|
}
|
|
455
569
|
export function linuxOSConfigSerializer(item) {
|
|
@@ -559,6 +673,11 @@ export function agentPoolNetworkProfileSerializer(item) {
|
|
|
559
673
|
nodePublicIPTags: !item["nodePublicIPTags"]
|
|
560
674
|
? item["nodePublicIPTags"]
|
|
561
675
|
: ipTagArraySerializer(item["nodePublicIPTags"]),
|
|
676
|
+
nodePublicIPPrefixIDs: !item["nodePublicIPPrefixIDs"]
|
|
677
|
+
? item["nodePublicIPPrefixIDs"]
|
|
678
|
+
: item["nodePublicIPPrefixIDs"].map((p) => {
|
|
679
|
+
return p;
|
|
680
|
+
}),
|
|
562
681
|
allowedHostPorts: !item["allowedHostPorts"]
|
|
563
682
|
? item["allowedHostPorts"]
|
|
564
683
|
: portRangeArraySerializer(item["allowedHostPorts"]),
|
|
@@ -567,6 +686,9 @@ export function agentPoolNetworkProfileSerializer(item) {
|
|
|
567
686
|
: item["applicationSecurityGroups"].map((p) => {
|
|
568
687
|
return p;
|
|
569
688
|
}),
|
|
689
|
+
secondaryNetworkInterfaces: !item["secondaryNetworkInterfaces"]
|
|
690
|
+
? item["secondaryNetworkInterfaces"]
|
|
691
|
+
: agentPoolNetworkInterfaceArraySerializer(item["secondaryNetworkInterfaces"]),
|
|
570
692
|
};
|
|
571
693
|
}
|
|
572
694
|
export function agentPoolNetworkProfileDeserializer(item) {
|
|
@@ -574,6 +696,11 @@ export function agentPoolNetworkProfileDeserializer(item) {
|
|
|
574
696
|
nodePublicIPTags: !item["nodePublicIPTags"]
|
|
575
697
|
? item["nodePublicIPTags"]
|
|
576
698
|
: ipTagArrayDeserializer(item["nodePublicIPTags"]),
|
|
699
|
+
nodePublicIPPrefixIDs: !item["nodePublicIPPrefixIDs"]
|
|
700
|
+
? item["nodePublicIPPrefixIDs"]
|
|
701
|
+
: item["nodePublicIPPrefixIDs"].map((p) => {
|
|
702
|
+
return p;
|
|
703
|
+
}),
|
|
577
704
|
allowedHostPorts: !item["allowedHostPorts"]
|
|
578
705
|
? item["allowedHostPorts"]
|
|
579
706
|
: portRangeArrayDeserializer(item["allowedHostPorts"]),
|
|
@@ -582,6 +709,9 @@ export function agentPoolNetworkProfileDeserializer(item) {
|
|
|
582
709
|
: item["applicationSecurityGroups"].map((p) => {
|
|
583
710
|
return p;
|
|
584
711
|
}),
|
|
712
|
+
secondaryNetworkInterfaces: !item["secondaryNetworkInterfaces"]
|
|
713
|
+
? item["secondaryNetworkInterfaces"]
|
|
714
|
+
: agentPoolNetworkInterfaceArrayDeserializer(item["secondaryNetworkInterfaces"]),
|
|
585
715
|
};
|
|
586
716
|
}
|
|
587
717
|
export function ipTagArraySerializer(result) {
|
|
@@ -631,6 +761,38 @@ export var KnownProtocol;
|
|
|
631
761
|
/** UDP protocol. */
|
|
632
762
|
KnownProtocol["UDP"] = "UDP";
|
|
633
763
|
})(KnownProtocol || (KnownProtocol = {}));
|
|
764
|
+
export function agentPoolNetworkInterfaceArraySerializer(result) {
|
|
765
|
+
return result.map((item) => {
|
|
766
|
+
return agentPoolNetworkInterfaceSerializer(item);
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
export function agentPoolNetworkInterfaceArrayDeserializer(result) {
|
|
770
|
+
return result.map((item) => {
|
|
771
|
+
return agentPoolNetworkInterfaceDeserializer(item);
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
export function agentPoolNetworkInterfaceSerializer(item) {
|
|
775
|
+
return {
|
|
776
|
+
type: item["type"],
|
|
777
|
+
vnetSubnetId: item["vnetSubnetId"],
|
|
778
|
+
enableAcceleratedNetworking: item["enableAcceleratedNetworking"],
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
export function agentPoolNetworkInterfaceDeserializer(item) {
|
|
782
|
+
return {
|
|
783
|
+
type: item["type"],
|
|
784
|
+
vnetSubnetId: item["vnetSubnetId"],
|
|
785
|
+
enableAcceleratedNetworking: item["enableAcceleratedNetworking"],
|
|
786
|
+
};
|
|
787
|
+
}
|
|
788
|
+
/** Type of network interface to be provisioned on each virtual machine instance. For more information, see https://aka.ms/aks/multi-nic */
|
|
789
|
+
export var KnownAgentPoolNetworkInterfaceType;
|
|
790
|
+
(function (KnownAgentPoolNetworkInterfaceType) {
|
|
791
|
+
/** A standard network interface programmed with an IP from a specified VNet subnet. Must be used with `vnetSubnetId` set in the AgentPoolNetworkInterface. IP address family (IPv4/IPv6/Dual-stack) is determined by the subnet. */
|
|
792
|
+
KnownAgentPoolNetworkInterfaceType["Standard"] = "Standard";
|
|
793
|
+
/** A secondary network interface created without IP configuration or subnet attachment. The interface is provisioned in an uninitialized state and the subnet is attached during workload creation. `vnetSubnetId` must be set to an empty string (`""`) or omitted. */
|
|
794
|
+
KnownAgentPoolNetworkInterfaceType["Dynamic"] = "Dynamic";
|
|
795
|
+
})(KnownAgentPoolNetworkInterfaceType || (KnownAgentPoolNetworkInterfaceType = {}));
|
|
634
796
|
export function agentPoolWindowsProfileSerializer(item) {
|
|
635
797
|
return { disableOutboundNat: item["disableOutboundNat"] };
|
|
636
798
|
}
|
|
@@ -660,13 +822,21 @@ export var KnownAgentPoolSSHAccess;
|
|
|
660
822
|
KnownAgentPoolSSHAccess["LocalUser"] = "LocalUser";
|
|
661
823
|
/** SSH service will be turned off on the node. */
|
|
662
824
|
KnownAgentPoolSSHAccess["Disabled"] = "Disabled";
|
|
825
|
+
/** SSH to node with EntraId integration. More information can be found under https://aka.ms/aks/ssh/aad */
|
|
826
|
+
KnownAgentPoolSSHAccess["EntraId"] = "EntraId";
|
|
663
827
|
})(KnownAgentPoolSSHAccess || (KnownAgentPoolSSHAccess = {}));
|
|
664
828
|
export function gpuProfileSerializer(item) {
|
|
665
|
-
return {
|
|
829
|
+
return {
|
|
830
|
+
driver: item["driver"],
|
|
831
|
+
driverType: item["driverType"],
|
|
832
|
+
nvidia: !item["nvidia"] ? item["nvidia"] : nvidiaGPUProfileSerializer(item["nvidia"]),
|
|
833
|
+
};
|
|
666
834
|
}
|
|
667
835
|
export function gpuProfileDeserializer(item) {
|
|
668
836
|
return {
|
|
669
837
|
driver: item["driver"],
|
|
838
|
+
driverType: item["driverType"],
|
|
839
|
+
nvidia: !item["nvidia"] ? item["nvidia"] : nvidiaGPUProfileDeserializer(item["nvidia"]),
|
|
670
840
|
};
|
|
671
841
|
}
|
|
672
842
|
/** Whether to install GPU drivers. When it's not specified, default is Install. */
|
|
@@ -677,6 +847,41 @@ export var KnownGPUDriver;
|
|
|
677
847
|
/** Skip driver install. */
|
|
678
848
|
KnownGPUDriver["None"] = "None";
|
|
679
849
|
})(KnownGPUDriver || (KnownGPUDriver = {}));
|
|
850
|
+
/** Specify the type of GPU driver to install when creating Windows agent pools. If not provided, AKS selects the driver based on system compatibility. This cannot be changed once the AgentPool has been created. This cannot be set on Linux AgentPools. For Linux AgentPools, the driver is selected based on system compatibility. */
|
|
851
|
+
export var KnownDriverType;
|
|
852
|
+
(function (KnownDriverType) {
|
|
853
|
+
/** Install the GRID driver for the GPU, suitable for applications requiring virtualization support. */
|
|
854
|
+
KnownDriverType["Grid"] = "GRID";
|
|
855
|
+
/** Install the CUDA driver for the GPU, optimized for computational tasks in scientific computing and data-intensive applications. */
|
|
856
|
+
KnownDriverType["Cuda"] = "CUDA";
|
|
857
|
+
})(KnownDriverType || (KnownDriverType = {}));
|
|
858
|
+
export function nvidiaGPUProfileSerializer(item) {
|
|
859
|
+
return { managementMode: item["managementMode"], migStrategy: item["migStrategy"] };
|
|
860
|
+
}
|
|
861
|
+
export function nvidiaGPUProfileDeserializer(item) {
|
|
862
|
+
return {
|
|
863
|
+
managementMode: item["managementMode"],
|
|
864
|
+
migStrategy: item["migStrategy"],
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
/** The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you. For more details of what is installed, check out aka.ms/aks/managed-gpu. */
|
|
868
|
+
export var KnownManagementMode;
|
|
869
|
+
(function (KnownManagementMode) {
|
|
870
|
+
/** Managed GPU experience is disabled for NVIDIA GPUs. */
|
|
871
|
+
KnownManagementMode["Unmanaged"] = "Unmanaged";
|
|
872
|
+
/** Managed GPU experience is enabled for NVIDIA GPUs. */
|
|
873
|
+
KnownManagementMode["Managed"] = "Managed";
|
|
874
|
+
})(KnownManagementMode || (KnownManagementMode = {}));
|
|
875
|
+
/** Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support. For more information about the different strategies, visit aka.ms/aks/managed-gpu. When not specified, the default is None. */
|
|
876
|
+
export var KnownMigStrategy;
|
|
877
|
+
(function (KnownMigStrategy) {
|
|
878
|
+
/** Don't set a MIG strategy. If you previously had one set, this will override it and set remove the set MIG strategy. */
|
|
879
|
+
KnownMigStrategy["None"] = "None";
|
|
880
|
+
/** Set the MIG strategy for managed MIG as single. */
|
|
881
|
+
KnownMigStrategy["Single"] = "Single";
|
|
882
|
+
/** Set the MIG strategy for managed MIG as mixed. */
|
|
883
|
+
KnownMigStrategy["Mixed"] = "Mixed";
|
|
884
|
+
})(KnownMigStrategy || (KnownMigStrategy = {}));
|
|
680
885
|
export function agentPoolGatewayProfileSerializer(item) {
|
|
681
886
|
return { publicIPPrefixSize: item["publicIPPrefixSize"] };
|
|
682
887
|
}
|
|
@@ -704,11 +909,17 @@ export function virtualMachinesProfileDeserializer(item) {
|
|
|
704
909
|
export function scaleProfileSerializer(item) {
|
|
705
910
|
return {
|
|
706
911
|
manual: !item["manual"] ? item["manual"] : manualScaleProfileArraySerializer(item["manual"]),
|
|
912
|
+
autoscale: !item["autoscale"]
|
|
913
|
+
? item["autoscale"]
|
|
914
|
+
: autoScaleProfileArraySerializer(item["autoscale"]),
|
|
707
915
|
};
|
|
708
916
|
}
|
|
709
917
|
export function scaleProfileDeserializer(item) {
|
|
710
918
|
return {
|
|
711
919
|
manual: !item["manual"] ? item["manual"] : manualScaleProfileArrayDeserializer(item["manual"]),
|
|
920
|
+
autoscale: !item["autoscale"]
|
|
921
|
+
? item["autoscale"]
|
|
922
|
+
: autoScaleProfileArrayDeserializer(item["autoscale"]),
|
|
712
923
|
};
|
|
713
924
|
}
|
|
714
925
|
export function manualScaleProfileArraySerializer(result) {
|
|
@@ -730,6 +941,26 @@ export function manualScaleProfileDeserializer(item) {
|
|
|
730
941
|
count: item["count"],
|
|
731
942
|
};
|
|
732
943
|
}
|
|
944
|
+
export function autoScaleProfileArraySerializer(result) {
|
|
945
|
+
return result.map((item) => {
|
|
946
|
+
return autoScaleProfileSerializer(item);
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
export function autoScaleProfileArrayDeserializer(result) {
|
|
950
|
+
return result.map((item) => {
|
|
951
|
+
return autoScaleProfileDeserializer(item);
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
export function autoScaleProfileSerializer(item) {
|
|
955
|
+
return { size: item["size"], minCount: item["minCount"], maxCount: item["maxCount"] };
|
|
956
|
+
}
|
|
957
|
+
export function autoScaleProfileDeserializer(item) {
|
|
958
|
+
return {
|
|
959
|
+
size: item["size"],
|
|
960
|
+
minCount: item["minCount"],
|
|
961
|
+
maxCount: item["maxCount"],
|
|
962
|
+
};
|
|
963
|
+
}
|
|
733
964
|
export function virtualMachineNodesArraySerializer(result) {
|
|
734
965
|
return result.map((item) => {
|
|
735
966
|
return virtualMachineNodesSerializer(item);
|
|
@@ -909,6 +1140,14 @@ export var KnownLocalDNSServeStale;
|
|
|
909
1140
|
/** Disable serving stale data. */
|
|
910
1141
|
KnownLocalDNSServeStale["Disable"] = "Disable";
|
|
911
1142
|
})(KnownLocalDNSServeStale || (KnownLocalDNSServeStale = {}));
|
|
1143
|
+
export function preparedImageSpecificationProfileSerializer(item) {
|
|
1144
|
+
return { preparedImageSpecificationId: item["preparedImageSpecificationId"] };
|
|
1145
|
+
}
|
|
1146
|
+
export function preparedImageSpecificationProfileDeserializer(item) {
|
|
1147
|
+
return {
|
|
1148
|
+
preparedImageSpecificationId: item["preparedImageSpecificationId"],
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
912
1151
|
export function proxyResourceSerializer(_item) {
|
|
913
1152
|
return {};
|
|
914
1153
|
}
|
|
@@ -964,6 +1203,16 @@ export function errorResponseDeserializer(item) {
|
|
|
964
1203
|
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
965
1204
|
};
|
|
966
1205
|
}
|
|
1206
|
+
/** The provisioning state of a resource type. */
|
|
1207
|
+
export var KnownResourceProvisioningState;
|
|
1208
|
+
(function (KnownResourceProvisioningState) {
|
|
1209
|
+
/** Resource has been created. */
|
|
1210
|
+
KnownResourceProvisioningState["Succeeded"] = "Succeeded";
|
|
1211
|
+
/** Resource creation failed. */
|
|
1212
|
+
KnownResourceProvisioningState["Failed"] = "Failed";
|
|
1213
|
+
/** Resource creation was canceled. */
|
|
1214
|
+
KnownResourceProvisioningState["Canceled"] = "Canceled";
|
|
1215
|
+
})(KnownResourceProvisioningState || (KnownResourceProvisioningState = {}));
|
|
967
1216
|
export function _agentPoolListResultDeserializer(item) {
|
|
968
1217
|
return {
|
|
969
1218
|
value: agentPoolArrayDeserializer(item["value"]),
|
|
@@ -1032,6 +1281,9 @@ export function agentPoolUpgradeProfilePropertiesDeserializer(item) {
|
|
|
1032
1281
|
upgrades: !item["upgrades"]
|
|
1033
1282
|
? item["upgrades"]
|
|
1034
1283
|
: agentPoolUpgradeProfilePropertiesUpgradesItemArrayDeserializer(item["upgrades"]),
|
|
1284
|
+
componentsByReleases: !item["componentsByReleases"]
|
|
1285
|
+
? item["componentsByReleases"]
|
|
1286
|
+
: componentsByReleaseArrayDeserializer(item["componentsByReleases"]),
|
|
1035
1287
|
recentlyUsedVersions: !item["recentlyUsedVersions"]
|
|
1036
1288
|
? item["recentlyUsedVersions"]
|
|
1037
1289
|
: agentPoolRecentlyUsedVersionArrayDeserializer(item["recentlyUsedVersions"]),
|
|
@@ -1047,6 +1299,32 @@ export function agentPoolUpgradeProfilePropertiesUpgradesItemDeserializer(item)
|
|
|
1047
1299
|
return {
|
|
1048
1300
|
kubernetesVersion: item["kubernetesVersion"],
|
|
1049
1301
|
isPreview: item["isPreview"],
|
|
1302
|
+
isOutOfSupport: item["isOutOfSupport"],
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
export function componentsByReleaseArrayDeserializer(result) {
|
|
1306
|
+
return result.map((item) => {
|
|
1307
|
+
return componentsByReleaseDeserializer(item);
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
export function componentsByReleaseDeserializer(item) {
|
|
1311
|
+
return {
|
|
1312
|
+
kubernetesVersion: item["kubernetesVersion"],
|
|
1313
|
+
components: !item["components"]
|
|
1314
|
+
? item["components"]
|
|
1315
|
+
: componentArrayDeserializer(item["components"]),
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
export function componentArrayDeserializer(result) {
|
|
1319
|
+
return result.map((item) => {
|
|
1320
|
+
return componentDeserializer(item);
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
export function componentDeserializer(item) {
|
|
1324
|
+
return {
|
|
1325
|
+
name: item["name"],
|
|
1326
|
+
version: item["version"],
|
|
1327
|
+
hasBreakingChanges: item["hasBreakingChanges"],
|
|
1050
1328
|
};
|
|
1051
1329
|
}
|
|
1052
1330
|
export function agentPoolRecentlyUsedVersionArrayDeserializer(result) {
|
|
@@ -1066,6 +1344,7 @@ export function managedClusterSerializer(item) {
|
|
|
1066
1344
|
tags: item["tags"],
|
|
1067
1345
|
location: item["location"],
|
|
1068
1346
|
properties: areAllPropsUndefined(item, [
|
|
1347
|
+
"creationData",
|
|
1069
1348
|
"kubernetesVersion",
|
|
1070
1349
|
"dnsPrefix",
|
|
1071
1350
|
"fqdnSubdomain",
|
|
@@ -1080,6 +1359,8 @@ export function managedClusterSerializer(item) {
|
|
|
1080
1359
|
"nodeResourceGroupProfile",
|
|
1081
1360
|
"enableRBAC",
|
|
1082
1361
|
"supportPlan",
|
|
1362
|
+
"enableFIPS",
|
|
1363
|
+
"enableNamespaceResources",
|
|
1083
1364
|
"networkProfile",
|
|
1084
1365
|
"aadProfile",
|
|
1085
1366
|
"autoUpgradeProfile",
|
|
@@ -1102,7 +1383,11 @@ export function managedClusterSerializer(item) {
|
|
|
1102
1383
|
"nodeProvisioningProfile",
|
|
1103
1384
|
"bootstrapProfile",
|
|
1104
1385
|
"aiToolchainOperatorProfile",
|
|
1386
|
+
"schedulerProfile",
|
|
1105
1387
|
"hostedSystemProfile",
|
|
1388
|
+
"healthMonitorProfile",
|
|
1389
|
+
"controlPlaneScalingProfile",
|
|
1390
|
+
"nodeDisruptionProfile",
|
|
1106
1391
|
"status",
|
|
1107
1392
|
])
|
|
1108
1393
|
? undefined
|
|
@@ -1145,6 +1430,9 @@ export function managedClusterDeserializer(item) {
|
|
|
1145
1430
|
}
|
|
1146
1431
|
export function managedClusterPropertiesSerializer(item) {
|
|
1147
1432
|
return {
|
|
1433
|
+
creationData: !item["creationData"]
|
|
1434
|
+
? item["creationData"]
|
|
1435
|
+
: creationDataSerializer(item["creationData"]),
|
|
1148
1436
|
kubernetesVersion: item["kubernetesVersion"],
|
|
1149
1437
|
dnsPrefix: item["dnsPrefix"],
|
|
1150
1438
|
fqdnSubdomain: item["fqdnSubdomain"],
|
|
@@ -1175,6 +1463,8 @@ export function managedClusterPropertiesSerializer(item) {
|
|
|
1175
1463
|
: managedClusterNodeResourceGroupProfileSerializer(item["nodeResourceGroupProfile"]),
|
|
1176
1464
|
enableRBAC: item["enableRbac"],
|
|
1177
1465
|
supportPlan: item["supportPlan"],
|
|
1466
|
+
enableFIPS: item["enableFips"],
|
|
1467
|
+
enableNamespaceResources: item["enableNamespaceResources"],
|
|
1178
1468
|
networkProfile: !item["networkProfile"]
|
|
1179
1469
|
? item["networkProfile"]
|
|
1180
1470
|
: containerServiceNetworkProfileSerializer(item["networkProfile"]),
|
|
@@ -1235,9 +1525,21 @@ export function managedClusterPropertiesSerializer(item) {
|
|
|
1235
1525
|
aiToolchainOperatorProfile: !item["aiToolchainOperatorProfile"]
|
|
1236
1526
|
? item["aiToolchainOperatorProfile"]
|
|
1237
1527
|
: managedClusterAIToolchainOperatorProfileSerializer(item["aiToolchainOperatorProfile"]),
|
|
1528
|
+
schedulerProfile: !item["schedulerProfile"]
|
|
1529
|
+
? item["schedulerProfile"]
|
|
1530
|
+
: schedulerProfileSerializer(item["schedulerProfile"]),
|
|
1238
1531
|
hostedSystemProfile: !item["hostedSystemProfile"]
|
|
1239
1532
|
? item["hostedSystemProfile"]
|
|
1240
1533
|
: managedClusterHostedSystemProfileSerializer(item["hostedSystemProfile"]),
|
|
1534
|
+
healthMonitorProfile: !item["healthMonitorProfile"]
|
|
1535
|
+
? item["healthMonitorProfile"]
|
|
1536
|
+
: managedClusterHealthMonitorProfileSerializer(item["healthMonitorProfile"]),
|
|
1537
|
+
controlPlaneScalingProfile: !item["controlPlaneScalingProfile"]
|
|
1538
|
+
? item["controlPlaneScalingProfile"]
|
|
1539
|
+
: managedClusterControlPlaneScalingProfileSerializer(item["controlPlaneScalingProfile"]),
|
|
1540
|
+
nodeDisruptionProfile: !item["nodeDisruptionProfile"]
|
|
1541
|
+
? item["nodeDisruptionProfile"]
|
|
1542
|
+
: nodeDisruptionProfileSerializer(item["nodeDisruptionProfile"]),
|
|
1241
1543
|
status: !item["status"] ? item["status"] : managedClusterStatusSerializer(item["status"]),
|
|
1242
1544
|
};
|
|
1243
1545
|
}
|
|
@@ -1247,6 +1549,9 @@ export function managedClusterPropertiesDeserializer(item) {
|
|
|
1247
1549
|
powerState: !item["powerState"]
|
|
1248
1550
|
? item["powerState"]
|
|
1249
1551
|
: powerStateDeserializer(item["powerState"]),
|
|
1552
|
+
creationData: !item["creationData"]
|
|
1553
|
+
? item["creationData"]
|
|
1554
|
+
: creationDataDeserializer(item["creationData"]),
|
|
1250
1555
|
maxAgentPools: item["maxAgentPools"],
|
|
1251
1556
|
kubernetesVersion: item["kubernetesVersion"],
|
|
1252
1557
|
currentKubernetesVersion: item["currentKubernetesVersion"],
|
|
@@ -1282,6 +1587,8 @@ export function managedClusterPropertiesDeserializer(item) {
|
|
|
1282
1587
|
: managedClusterNodeResourceGroupProfileDeserializer(item["nodeResourceGroupProfile"]),
|
|
1283
1588
|
enableRbac: item["enableRBAC"],
|
|
1284
1589
|
supportPlan: item["supportPlan"],
|
|
1590
|
+
enableFips: item["enableFIPS"],
|
|
1591
|
+
enableNamespaceResources: item["enableNamespaceResources"],
|
|
1285
1592
|
networkProfile: !item["networkProfile"]
|
|
1286
1593
|
? item["networkProfile"]
|
|
1287
1594
|
: containerServiceNetworkProfileDeserializer(item["networkProfile"]),
|
|
@@ -1343,9 +1650,21 @@ export function managedClusterPropertiesDeserializer(item) {
|
|
|
1343
1650
|
aiToolchainOperatorProfile: !item["aiToolchainOperatorProfile"]
|
|
1344
1651
|
? item["aiToolchainOperatorProfile"]
|
|
1345
1652
|
: managedClusterAIToolchainOperatorProfileDeserializer(item["aiToolchainOperatorProfile"]),
|
|
1653
|
+
schedulerProfile: !item["schedulerProfile"]
|
|
1654
|
+
? item["schedulerProfile"]
|
|
1655
|
+
: schedulerProfileDeserializer(item["schedulerProfile"]),
|
|
1346
1656
|
hostedSystemProfile: !item["hostedSystemProfile"]
|
|
1347
1657
|
? item["hostedSystemProfile"]
|
|
1348
1658
|
: managedClusterHostedSystemProfileDeserializer(item["hostedSystemProfile"]),
|
|
1659
|
+
healthMonitorProfile: !item["healthMonitorProfile"]
|
|
1660
|
+
? item["healthMonitorProfile"]
|
|
1661
|
+
: managedClusterHealthMonitorProfileDeserializer(item["healthMonitorProfile"]),
|
|
1662
|
+
controlPlaneScalingProfile: !item["controlPlaneScalingProfile"]
|
|
1663
|
+
? item["controlPlaneScalingProfile"]
|
|
1664
|
+
: managedClusterControlPlaneScalingProfileDeserializer(item["controlPlaneScalingProfile"]),
|
|
1665
|
+
nodeDisruptionProfile: !item["nodeDisruptionProfile"]
|
|
1666
|
+
? item["nodeDisruptionProfile"]
|
|
1667
|
+
: nodeDisruptionProfileDeserializer(item["nodeDisruptionProfile"]),
|
|
1349
1668
|
status: !item["status"] ? item["status"] : managedClusterStatusDeserializer(item["status"]),
|
|
1350
1669
|
};
|
|
1351
1670
|
}
|
|
@@ -1382,9 +1701,14 @@ export function managedClusterAgentPoolProfileSerializer(item) {
|
|
|
1382
1701
|
mode: item["mode"],
|
|
1383
1702
|
orchestratorVersion: item["orchestratorVersion"],
|
|
1384
1703
|
nodeImageVersion: item["nodeImageVersion"],
|
|
1704
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
1705
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
1385
1706
|
upgradeSettings: !item["upgradeSettings"]
|
|
1386
1707
|
? item["upgradeSettings"]
|
|
1387
1708
|
: agentPoolUpgradeSettingsSerializer(item["upgradeSettings"]),
|
|
1709
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
1710
|
+
? item["upgradeSettingsBlueGreen"]
|
|
1711
|
+
: agentPoolBlueGreenUpgradeSettingsSerializer(item["upgradeSettingsBlueGreen"]),
|
|
1388
1712
|
powerState: !item["powerState"] ? item["powerState"] : powerStateSerializer(item["powerState"]),
|
|
1389
1713
|
availabilityZones: !item["availabilityZones"]
|
|
1390
1714
|
? item["availabilityZones"]
|
|
@@ -1403,6 +1727,11 @@ export function managedClusterAgentPoolProfileSerializer(item) {
|
|
|
1403
1727
|
: item["nodeTaints"].map((p) => {
|
|
1404
1728
|
return p;
|
|
1405
1729
|
}),
|
|
1730
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
1731
|
+
? item["nodeInitializationTaints"]
|
|
1732
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
1733
|
+
return p;
|
|
1734
|
+
}),
|
|
1406
1735
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
1407
1736
|
kubeletConfig: !item["kubeletConfig"]
|
|
1408
1737
|
? item["kubeletConfig"]
|
|
@@ -1445,6 +1774,9 @@ export function managedClusterAgentPoolProfileSerializer(item) {
|
|
|
1445
1774
|
localDNSProfile: !item["localDNSProfile"]
|
|
1446
1775
|
? item["localDNSProfile"]
|
|
1447
1776
|
: localDNSProfileSerializer(item["localDNSProfile"]),
|
|
1777
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
1778
|
+
? item["preparedImageSpecificationProfile"]
|
|
1779
|
+
: preparedImageSpecificationProfileSerializer(item["preparedImageSpecificationProfile"]),
|
|
1448
1780
|
name: item["name"],
|
|
1449
1781
|
};
|
|
1450
1782
|
}
|
|
@@ -1473,9 +1805,14 @@ export function managedClusterAgentPoolProfileDeserializer(item) {
|
|
|
1473
1805
|
orchestratorVersion: item["orchestratorVersion"],
|
|
1474
1806
|
currentOrchestratorVersion: item["currentOrchestratorVersion"],
|
|
1475
1807
|
nodeImageVersion: item["nodeImageVersion"],
|
|
1808
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
1809
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
1476
1810
|
upgradeSettings: !item["upgradeSettings"]
|
|
1477
1811
|
? item["upgradeSettings"]
|
|
1478
1812
|
: agentPoolUpgradeSettingsDeserializer(item["upgradeSettings"]),
|
|
1813
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
1814
|
+
? item["upgradeSettingsBlueGreen"]
|
|
1815
|
+
: agentPoolBlueGreenUpgradeSettingsDeserializer(item["upgradeSettingsBlueGreen"]),
|
|
1479
1816
|
provisioningState: item["provisioningState"],
|
|
1480
1817
|
powerState: !item["powerState"]
|
|
1481
1818
|
? item["powerState"]
|
|
@@ -1501,6 +1838,11 @@ export function managedClusterAgentPoolProfileDeserializer(item) {
|
|
|
1501
1838
|
: item["nodeTaints"].map((p) => {
|
|
1502
1839
|
return p;
|
|
1503
1840
|
}),
|
|
1841
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
1842
|
+
? item["nodeInitializationTaints"]
|
|
1843
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
1844
|
+
return p;
|
|
1845
|
+
}),
|
|
1504
1846
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
1505
1847
|
kubeletConfig: !item["kubeletConfig"]
|
|
1506
1848
|
? item["kubeletConfig"]
|
|
@@ -1545,6 +1887,9 @@ export function managedClusterAgentPoolProfileDeserializer(item) {
|
|
|
1545
1887
|
localDNSProfile: !item["localDNSProfile"]
|
|
1546
1888
|
? item["localDNSProfile"]
|
|
1547
1889
|
: localDNSProfileDeserializer(item["localDNSProfile"]),
|
|
1890
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
1891
|
+
? item["preparedImageSpecificationProfile"]
|
|
1892
|
+
: preparedImageSpecificationProfileDeserializer(item["preparedImageSpecificationProfile"]),
|
|
1548
1893
|
name: item["name"],
|
|
1549
1894
|
};
|
|
1550
1895
|
}
|
|
@@ -1854,6 +2199,9 @@ export function containerServiceNetworkProfileSerializer(item) {
|
|
|
1854
2199
|
loadBalancerProfile: !item["loadBalancerProfile"]
|
|
1855
2200
|
? item["loadBalancerProfile"]
|
|
1856
2201
|
: managedClusterLoadBalancerProfileSerializer(item["loadBalancerProfile"]),
|
|
2202
|
+
bastionProfile: !item["bastionProfile"]
|
|
2203
|
+
? item["bastionProfile"]
|
|
2204
|
+
: bastionProfileSerializer(item["bastionProfile"]),
|
|
1857
2205
|
natGatewayProfile: !item["natGatewayProfile"]
|
|
1858
2206
|
? item["natGatewayProfile"]
|
|
1859
2207
|
: managedClusterNATGatewayProfileSerializer(item["natGatewayProfile"]),
|
|
@@ -1875,6 +2223,10 @@ export function containerServiceNetworkProfileSerializer(item) {
|
|
|
1875
2223
|
: item["ipFamilies"].map((p) => {
|
|
1876
2224
|
return p;
|
|
1877
2225
|
}),
|
|
2226
|
+
podLinkLocalAccess: item["podLinkLocalAccess"],
|
|
2227
|
+
kubeProxyConfig: !item["kubeProxyConfig"]
|
|
2228
|
+
? item["kubeProxyConfig"]
|
|
2229
|
+
: containerServiceNetworkProfileKubeProxyConfigSerializer(item["kubeProxyConfig"]),
|
|
1878
2230
|
};
|
|
1879
2231
|
}
|
|
1880
2232
|
export function containerServiceNetworkProfileDeserializer(item) {
|
|
@@ -1895,6 +2247,9 @@ export function containerServiceNetworkProfileDeserializer(item) {
|
|
|
1895
2247
|
loadBalancerProfile: !item["loadBalancerProfile"]
|
|
1896
2248
|
? item["loadBalancerProfile"]
|
|
1897
2249
|
: managedClusterLoadBalancerProfileDeserializer(item["loadBalancerProfile"]),
|
|
2250
|
+
bastionProfile: !item["bastionProfile"]
|
|
2251
|
+
? item["bastionProfile"]
|
|
2252
|
+
: bastionProfileDeserializer(item["bastionProfile"]),
|
|
1898
2253
|
natGatewayProfile: !item["natGatewayProfile"]
|
|
1899
2254
|
? item["natGatewayProfile"]
|
|
1900
2255
|
: managedClusterNATGatewayProfileDeserializer(item["natGatewayProfile"]),
|
|
@@ -1916,6 +2271,10 @@ export function containerServiceNetworkProfileDeserializer(item) {
|
|
|
1916
2271
|
: item["ipFamilies"].map((p) => {
|
|
1917
2272
|
return p;
|
|
1918
2273
|
}),
|
|
2274
|
+
podLinkLocalAccess: item["podLinkLocalAccess"],
|
|
2275
|
+
kubeProxyConfig: !item["kubeProxyConfig"]
|
|
2276
|
+
? item["kubeProxyConfig"]
|
|
2277
|
+
: containerServiceNetworkProfileKubeProxyConfigDeserializer(item["kubeProxyConfig"]),
|
|
1919
2278
|
};
|
|
1920
2279
|
}
|
|
1921
2280
|
/** Network plugin used for building the Kubernetes network. */
|
|
@@ -2039,6 +2398,8 @@ export var KnownTransitEncryptionType;
|
|
|
2039
2398
|
(function (KnownTransitEncryptionType) {
|
|
2040
2399
|
/** Enable WireGuard encryption. Refer to https://docs.cilium.io/en/latest/security/network/encryption-wireguard/ on use cases and implementation details */
|
|
2041
2400
|
KnownTransitEncryptionType["WireGuard"] = "WireGuard";
|
|
2401
|
+
/** Enables mTLS authentication and encryption for pod-to-pod traffic within the cluster. Refer to https://aka.ms/acnsciliummtls for relevant documentation. */
|
|
2402
|
+
KnownTransitEncryptionType["MTLS"] = "mTLS";
|
|
2042
2403
|
/** Disable Transit encryption */
|
|
2043
2404
|
KnownTransitEncryptionType["None"] = "None";
|
|
2044
2405
|
})(KnownTransitEncryptionType || (KnownTransitEncryptionType = {}));
|
|
@@ -2067,6 +2428,8 @@ export var KnownOutboundType;
|
|
|
2067
2428
|
KnownOutboundType["UserDefinedRouting"] = "userDefinedRouting";
|
|
2068
2429
|
/** The AKS-managed NAT gateway is used for egress. */
|
|
2069
2430
|
KnownOutboundType["ManagedNATGateway"] = "managedNATGateway";
|
|
2431
|
+
/** The AKS-managed NAT gateway V2 is used for egress. */
|
|
2432
|
+
KnownOutboundType["ManagedNATGatewayV2"] = "managedNATGatewayV2";
|
|
2070
2433
|
/** The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. */
|
|
2071
2434
|
KnownOutboundType["UserAssignedNATGateway"] = "userAssignedNATGateway";
|
|
2072
2435
|
/** The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ */
|
|
@@ -2095,6 +2458,7 @@ export function managedClusterLoadBalancerProfileSerializer(item) {
|
|
|
2095
2458
|
idleTimeoutInMinutes: item["idleTimeoutInMinutes"],
|
|
2096
2459
|
enableMultipleStandardLoadBalancers: item["enableMultipleStandardLoadBalancers"],
|
|
2097
2460
|
backendPoolType: item["backendPoolType"],
|
|
2461
|
+
clusterServiceLoadBalancerHealthProbeMode: item["clusterServiceLoadBalancerHealthProbeMode"],
|
|
2098
2462
|
};
|
|
2099
2463
|
}
|
|
2100
2464
|
export function managedClusterLoadBalancerProfileDeserializer(item) {
|
|
@@ -2115,6 +2479,7 @@ export function managedClusterLoadBalancerProfileDeserializer(item) {
|
|
|
2115
2479
|
idleTimeoutInMinutes: item["idleTimeoutInMinutes"],
|
|
2116
2480
|
enableMultipleStandardLoadBalancers: item["enableMultipleStandardLoadBalancers"],
|
|
2117
2481
|
backendPoolType: item["backendPoolType"],
|
|
2482
|
+
clusterServiceLoadBalancerHealthProbeMode: item["clusterServiceLoadBalancerHealthProbeMode"],
|
|
2118
2483
|
};
|
|
2119
2484
|
}
|
|
2120
2485
|
export function managedClusterLoadBalancerProfileManagedOutboundIPsSerializer(item) {
|
|
@@ -2180,11 +2545,50 @@ export var KnownBackendPoolType;
|
|
|
2180
2545
|
/** The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. */
|
|
2181
2546
|
KnownBackendPoolType["NodeIP"] = "NodeIP";
|
|
2182
2547
|
})(KnownBackendPoolType || (KnownBackendPoolType = {}));
|
|
2548
|
+
/** The health probing behavior for External Traffic Policy Cluster services. */
|
|
2549
|
+
export var KnownClusterServiceLoadBalancerHealthProbeMode;
|
|
2550
|
+
(function (KnownClusterServiceLoadBalancerHealthProbeMode) {
|
|
2551
|
+
/** Each External Traffic Policy Cluster service will have its own health probe targeting service nodePort. */
|
|
2552
|
+
KnownClusterServiceLoadBalancerHealthProbeMode["ServiceNodePort"] = "ServiceNodePort";
|
|
2553
|
+
/** All External Traffic Policy Cluster services in a Standard Load Balancer will have a dedicated health probe targeting the backend nodes' kube-proxy health check port 10256. */
|
|
2554
|
+
KnownClusterServiceLoadBalancerHealthProbeMode["Shared"] = "Shared";
|
|
2555
|
+
})(KnownClusterServiceLoadBalancerHealthProbeMode || (KnownClusterServiceLoadBalancerHealthProbeMode = {}));
|
|
2556
|
+
export function bastionProfileSerializer(item) {
|
|
2557
|
+
return {
|
|
2558
|
+
enabled: item["enabled"],
|
|
2559
|
+
sku: item["sku"],
|
|
2560
|
+
scaleUnits: item["scaleUnits"],
|
|
2561
|
+
publicIpAddressId: item["publicIpAddressId"],
|
|
2562
|
+
};
|
|
2563
|
+
}
|
|
2564
|
+
export function bastionProfileDeserializer(item) {
|
|
2565
|
+
return {
|
|
2566
|
+
enabled: item["enabled"],
|
|
2567
|
+
bastionId: item["bastionId"],
|
|
2568
|
+
sku: item["sku"],
|
|
2569
|
+
scaleUnits: item["scaleUnits"],
|
|
2570
|
+
publicIpAddressId: item["publicIpAddressId"],
|
|
2571
|
+
};
|
|
2572
|
+
}
|
|
2573
|
+
/** The SKU of the managed Azure Bastion. The default is 'Standard'. See https://aka.ms/aks/BastionSKUs for more information about the differences between Azure Bastion SKUs. */
|
|
2574
|
+
export var KnownBastionSku;
|
|
2575
|
+
(function (KnownBastionSku) {
|
|
2576
|
+
/** Use the standard SKU of Azure Bastion. */
|
|
2577
|
+
KnownBastionSku["Standard"] = "Standard";
|
|
2578
|
+
/** Use the premium SKU of Azure Bastion. */
|
|
2579
|
+
KnownBastionSku["Premium"] = "Premium";
|
|
2580
|
+
})(KnownBastionSku || (KnownBastionSku = {}));
|
|
2183
2581
|
export function managedClusterNATGatewayProfileSerializer(item) {
|
|
2184
2582
|
return {
|
|
2185
2583
|
managedOutboundIPProfile: !item["managedOutboundIPProfile"]
|
|
2186
2584
|
? item["managedOutboundIPProfile"]
|
|
2187
2585
|
: managedClusterManagedOutboundIPProfileSerializer(item["managedOutboundIPProfile"]),
|
|
2586
|
+
outboundIPPrefixes: !item["outboundIPPrefixes"]
|
|
2587
|
+
? item["outboundIPPrefixes"]
|
|
2588
|
+
: _managedClusterNATGatewayProfileOutboundIpPrefixesSerializer(item["outboundIPPrefixes"]),
|
|
2589
|
+
outboundIPs: !item["outboundIPs"]
|
|
2590
|
+
? item["outboundIPs"]
|
|
2591
|
+
: _managedClusterNATGatewayProfileOutboundIPsSerializer(item["outboundIPs"]),
|
|
2188
2592
|
idleTimeoutInMinutes: item["idleTimeoutInMinutes"],
|
|
2189
2593
|
};
|
|
2190
2594
|
}
|
|
@@ -2196,15 +2600,58 @@ export function managedClusterNATGatewayProfileDeserializer(item) {
|
|
|
2196
2600
|
effectiveOutboundIPs: !item["effectiveOutboundIPs"]
|
|
2197
2601
|
? item["effectiveOutboundIPs"]
|
|
2198
2602
|
: resourceReferenceArrayDeserializer(item["effectiveOutboundIPs"]),
|
|
2603
|
+
outboundIPPrefixes: !item["outboundIPPrefixes"]
|
|
2604
|
+
? item["outboundIPPrefixes"]
|
|
2605
|
+
: _managedClusterNATGatewayProfileOutboundIpPrefixesDeserializer(item["outboundIPPrefixes"]),
|
|
2606
|
+
outboundIPs: !item["outboundIPs"]
|
|
2607
|
+
? item["outboundIPs"]
|
|
2608
|
+
: _managedClusterNATGatewayProfileOutboundIPsDeserializer(item["outboundIPs"]),
|
|
2199
2609
|
idleTimeoutInMinutes: item["idleTimeoutInMinutes"],
|
|
2200
2610
|
};
|
|
2201
2611
|
}
|
|
2202
2612
|
export function managedClusterManagedOutboundIPProfileSerializer(item) {
|
|
2203
|
-
return { count: item["count"] };
|
|
2613
|
+
return { count: item["count"], countIPv6: item["countIPv6"] };
|
|
2204
2614
|
}
|
|
2205
2615
|
export function managedClusterManagedOutboundIPProfileDeserializer(item) {
|
|
2206
2616
|
return {
|
|
2207
2617
|
count: item["count"],
|
|
2618
|
+
countIPv6: item["countIPv6"],
|
|
2619
|
+
};
|
|
2620
|
+
}
|
|
2621
|
+
export function _managedClusterNATGatewayProfileOutboundIpPrefixesSerializer(item) {
|
|
2622
|
+
return {
|
|
2623
|
+
publicIPPrefixes: !item["publicIPPrefixes"]
|
|
2624
|
+
? item["publicIPPrefixes"]
|
|
2625
|
+
: item["publicIPPrefixes"].map((p) => {
|
|
2626
|
+
return p;
|
|
2627
|
+
}),
|
|
2628
|
+
};
|
|
2629
|
+
}
|
|
2630
|
+
export function _managedClusterNATGatewayProfileOutboundIpPrefixesDeserializer(item) {
|
|
2631
|
+
return {
|
|
2632
|
+
publicIPPrefixes: !item["publicIPPrefixes"]
|
|
2633
|
+
? item["publicIPPrefixes"]
|
|
2634
|
+
: item["publicIPPrefixes"].map((p) => {
|
|
2635
|
+
return p;
|
|
2636
|
+
}),
|
|
2637
|
+
};
|
|
2638
|
+
}
|
|
2639
|
+
export function _managedClusterNATGatewayProfileOutboundIPsSerializer(item) {
|
|
2640
|
+
return {
|
|
2641
|
+
publicIPs: !item["publicIPs"]
|
|
2642
|
+
? item["publicIPs"]
|
|
2643
|
+
: item["publicIPs"].map((p) => {
|
|
2644
|
+
return p;
|
|
2645
|
+
}),
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
export function _managedClusterNATGatewayProfileOutboundIPsDeserializer(item) {
|
|
2649
|
+
return {
|
|
2650
|
+
publicIPs: !item["publicIPs"]
|
|
2651
|
+
? item["publicIPs"]
|
|
2652
|
+
: item["publicIPs"].map((p) => {
|
|
2653
|
+
return p;
|
|
2654
|
+
}),
|
|
2208
2655
|
};
|
|
2209
2656
|
}
|
|
2210
2657
|
export function managedClusterStaticEgressGatewayProfileSerializer(item) {
|
|
@@ -2223,6 +2670,66 @@ export var KnownIpFamily;
|
|
|
2223
2670
|
/** IPv6 family */
|
|
2224
2671
|
KnownIpFamily["IPv6"] = "IPv6";
|
|
2225
2672
|
})(KnownIpFamily || (KnownIpFamily = {}));
|
|
2673
|
+
/** Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods with hostNetwork=false. If not specified, the default is 'IMDS'. */
|
|
2674
|
+
export var KnownPodLinkLocalAccess;
|
|
2675
|
+
(function (KnownPodLinkLocalAccess) {
|
|
2676
|
+
/** Pods with hostNetwork=false can access Azure Instance Metadata Service (IMDS) without restriction. */
|
|
2677
|
+
KnownPodLinkLocalAccess["Imds"] = "IMDS";
|
|
2678
|
+
/** Pods with hostNetwork=false cannot access Azure Instance Metadata Service (IMDS). */
|
|
2679
|
+
KnownPodLinkLocalAccess["None"] = "None";
|
|
2680
|
+
})(KnownPodLinkLocalAccess || (KnownPodLinkLocalAccess = {}));
|
|
2681
|
+
export function containerServiceNetworkProfileKubeProxyConfigSerializer(item) {
|
|
2682
|
+
return {
|
|
2683
|
+
enabled: item["enabled"],
|
|
2684
|
+
mode: item["mode"],
|
|
2685
|
+
ipvsConfig: !item["ipvsConfig"]
|
|
2686
|
+
? item["ipvsConfig"]
|
|
2687
|
+
: containerServiceNetworkProfileKubeProxyConfigIpvsConfigSerializer(item["ipvsConfig"]),
|
|
2688
|
+
};
|
|
2689
|
+
}
|
|
2690
|
+
export function containerServiceNetworkProfileKubeProxyConfigDeserializer(item) {
|
|
2691
|
+
return {
|
|
2692
|
+
enabled: item["enabled"],
|
|
2693
|
+
mode: item["mode"],
|
|
2694
|
+
ipvsConfig: !item["ipvsConfig"]
|
|
2695
|
+
? item["ipvsConfig"]
|
|
2696
|
+
: containerServiceNetworkProfileKubeProxyConfigIpvsConfigDeserializer(item["ipvsConfig"]),
|
|
2697
|
+
};
|
|
2698
|
+
}
|
|
2699
|
+
/** Specify which proxy mode to use ('IPTABLES', 'IPVS' or 'NFTABLES') */
|
|
2700
|
+
export var KnownMode;
|
|
2701
|
+
(function (KnownMode) {
|
|
2702
|
+
/** IPTables proxy mode */
|
|
2703
|
+
KnownMode["Iptables"] = "IPTABLES";
|
|
2704
|
+
/** IPVS proxy mode. Must be using Kubernetes version >= 1.22. */
|
|
2705
|
+
KnownMode["Ipvs"] = "IPVS";
|
|
2706
|
+
/** NFTables proxy mode. Must be using Kubernetes version >= 1.33. */
|
|
2707
|
+
KnownMode["Nftables"] = "NFTABLES";
|
|
2708
|
+
})(KnownMode || (KnownMode = {}));
|
|
2709
|
+
export function containerServiceNetworkProfileKubeProxyConfigIpvsConfigSerializer(item) {
|
|
2710
|
+
return {
|
|
2711
|
+
scheduler: item["scheduler"],
|
|
2712
|
+
tcpTimeoutSeconds: item["tcpTimeoutSeconds"],
|
|
2713
|
+
tcpFinTimeoutSeconds: item["tcpFinTimeoutSeconds"],
|
|
2714
|
+
udpTimeoutSeconds: item["udpTimeoutSeconds"],
|
|
2715
|
+
};
|
|
2716
|
+
}
|
|
2717
|
+
export function containerServiceNetworkProfileKubeProxyConfigIpvsConfigDeserializer(item) {
|
|
2718
|
+
return {
|
|
2719
|
+
scheduler: item["scheduler"],
|
|
2720
|
+
tcpTimeoutSeconds: item["tcpTimeoutSeconds"],
|
|
2721
|
+
tcpFinTimeoutSeconds: item["tcpFinTimeoutSeconds"],
|
|
2722
|
+
udpTimeoutSeconds: item["udpTimeoutSeconds"],
|
|
2723
|
+
};
|
|
2724
|
+
}
|
|
2725
|
+
/** IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. */
|
|
2726
|
+
export var KnownIpvsScheduler;
|
|
2727
|
+
(function (KnownIpvsScheduler) {
|
|
2728
|
+
/** Round Robin */
|
|
2729
|
+
KnownIpvsScheduler["RoundRobin"] = "RoundRobin";
|
|
2730
|
+
/** Least Connection */
|
|
2731
|
+
KnownIpvsScheduler["LeastConnection"] = "LeastConnection";
|
|
2732
|
+
})(KnownIpvsScheduler || (KnownIpvsScheduler = {}));
|
|
2226
2733
|
export function managedClusterAADProfileSerializer(item) {
|
|
2227
2734
|
return {
|
|
2228
2735
|
managed: item["managed"],
|
|
@@ -2480,6 +2987,11 @@ export function managedClusterHttpProxyConfigDeserializer(item) {
|
|
|
2480
2987
|
: item["noProxy"].map((p) => {
|
|
2481
2988
|
return p;
|
|
2482
2989
|
}),
|
|
2990
|
+
effectiveNoProxy: !item["effectiveNoProxy"]
|
|
2991
|
+
? item["effectiveNoProxy"]
|
|
2992
|
+
: item["effectiveNoProxy"].map((p) => {
|
|
2993
|
+
return p;
|
|
2994
|
+
}),
|
|
2483
2995
|
trustedCa: item["trustedCa"],
|
|
2484
2996
|
enabled: item["enabled"],
|
|
2485
2997
|
};
|
|
@@ -2492,17 +3004,29 @@ export function managedClusterSecurityProfileSerializer(item) {
|
|
|
2492
3004
|
azureKeyVaultKms: !item["azureKeyVaultKms"]
|
|
2493
3005
|
? item["azureKeyVaultKms"]
|
|
2494
3006
|
: azureKeyVaultKmsSerializer(item["azureKeyVaultKms"]),
|
|
3007
|
+
kubernetesResourceObjectEncryptionProfile: !item["kubernetesResourceObjectEncryptionProfile"]
|
|
3008
|
+
? item["kubernetesResourceObjectEncryptionProfile"]
|
|
3009
|
+
: kubernetesResourceObjectEncryptionProfileSerializer(item["kubernetesResourceObjectEncryptionProfile"]),
|
|
2495
3010
|
workloadIdentity: !item["workloadIdentity"]
|
|
2496
3011
|
? item["workloadIdentity"]
|
|
2497
3012
|
: managedClusterSecurityProfileWorkloadIdentitySerializer(item["workloadIdentity"]),
|
|
2498
3013
|
imageCleaner: !item["imageCleaner"]
|
|
2499
3014
|
? item["imageCleaner"]
|
|
2500
3015
|
: managedClusterSecurityProfileImageCleanerSerializer(item["imageCleaner"]),
|
|
3016
|
+
imageIntegrity: !item["imageIntegrity"]
|
|
3017
|
+
? item["imageIntegrity"]
|
|
3018
|
+
: managedClusterSecurityProfileImageIntegritySerializer(item["imageIntegrity"]),
|
|
3019
|
+
nodeRestriction: !item["nodeRestriction"]
|
|
3020
|
+
? item["nodeRestriction"]
|
|
3021
|
+
: managedClusterSecurityProfileNodeRestrictionSerializer(item["nodeRestriction"]),
|
|
2501
3022
|
customCATrustCertificates: !item["customCATrustCertificates"]
|
|
2502
3023
|
? item["customCATrustCertificates"]
|
|
2503
3024
|
: item["customCATrustCertificates"].map((p) => {
|
|
2504
3025
|
return uint8ArrayToString(p, "base64");
|
|
2505
3026
|
}),
|
|
3027
|
+
serviceAccountImagePullProfile: !item["serviceAccountImagePullProfile"]
|
|
3028
|
+
? item["serviceAccountImagePullProfile"]
|
|
3029
|
+
: serviceAccountImagePullProfileSerializer(item["serviceAccountImagePullProfile"]),
|
|
2506
3030
|
};
|
|
2507
3031
|
}
|
|
2508
3032
|
export function managedClusterSecurityProfileDeserializer(item) {
|
|
@@ -2513,17 +3037,29 @@ export function managedClusterSecurityProfileDeserializer(item) {
|
|
|
2513
3037
|
azureKeyVaultKms: !item["azureKeyVaultKms"]
|
|
2514
3038
|
? item["azureKeyVaultKms"]
|
|
2515
3039
|
: azureKeyVaultKmsDeserializer(item["azureKeyVaultKms"]),
|
|
3040
|
+
kubernetesResourceObjectEncryptionProfile: !item["kubernetesResourceObjectEncryptionProfile"]
|
|
3041
|
+
? item["kubernetesResourceObjectEncryptionProfile"]
|
|
3042
|
+
: kubernetesResourceObjectEncryptionProfileDeserializer(item["kubernetesResourceObjectEncryptionProfile"]),
|
|
2516
3043
|
workloadIdentity: !item["workloadIdentity"]
|
|
2517
3044
|
? item["workloadIdentity"]
|
|
2518
3045
|
: managedClusterSecurityProfileWorkloadIdentityDeserializer(item["workloadIdentity"]),
|
|
2519
3046
|
imageCleaner: !item["imageCleaner"]
|
|
2520
3047
|
? item["imageCleaner"]
|
|
2521
3048
|
: managedClusterSecurityProfileImageCleanerDeserializer(item["imageCleaner"]),
|
|
3049
|
+
imageIntegrity: !item["imageIntegrity"]
|
|
3050
|
+
? item["imageIntegrity"]
|
|
3051
|
+
: managedClusterSecurityProfileImageIntegrityDeserializer(item["imageIntegrity"]),
|
|
3052
|
+
nodeRestriction: !item["nodeRestriction"]
|
|
3053
|
+
? item["nodeRestriction"]
|
|
3054
|
+
: managedClusterSecurityProfileNodeRestrictionDeserializer(item["nodeRestriction"]),
|
|
2522
3055
|
customCATrustCertificates: !item["customCATrustCertificates"]
|
|
2523
3056
|
? item["customCATrustCertificates"]
|
|
2524
3057
|
: item["customCATrustCertificates"].map((p) => {
|
|
2525
3058
|
return typeof p === "string" ? stringToUint8Array(p, "base64") : p;
|
|
2526
3059
|
}),
|
|
3060
|
+
serviceAccountImagePullProfile: !item["serviceAccountImagePullProfile"]
|
|
3061
|
+
? item["serviceAccountImagePullProfile"]
|
|
3062
|
+
: serviceAccountImagePullProfileDeserializer(item["serviceAccountImagePullProfile"]),
|
|
2527
3063
|
};
|
|
2528
3064
|
}
|
|
2529
3065
|
export function managedClusterSecurityProfileDefenderSerializer(item) {
|
|
@@ -2532,6 +3068,9 @@ export function managedClusterSecurityProfileDefenderSerializer(item) {
|
|
|
2532
3068
|
securityMonitoring: !item["securityMonitoring"]
|
|
2533
3069
|
? item["securityMonitoring"]
|
|
2534
3070
|
: managedClusterSecurityProfileDefenderSecurityMonitoringSerializer(item["securityMonitoring"]),
|
|
3071
|
+
securityGating: !item["securityGating"]
|
|
3072
|
+
? item["securityGating"]
|
|
3073
|
+
: managedClusterSecurityProfileDefenderSecurityGatingSerializer(item["securityGating"]),
|
|
2535
3074
|
};
|
|
2536
3075
|
}
|
|
2537
3076
|
export function managedClusterSecurityProfileDefenderDeserializer(item) {
|
|
@@ -2540,6 +3079,9 @@ export function managedClusterSecurityProfileDefenderDeserializer(item) {
|
|
|
2540
3079
|
securityMonitoring: !item["securityMonitoring"]
|
|
2541
3080
|
? item["securityMonitoring"]
|
|
2542
3081
|
: managedClusterSecurityProfileDefenderSecurityMonitoringDeserializer(item["securityMonitoring"]),
|
|
3082
|
+
securityGating: !item["securityGating"]
|
|
3083
|
+
? item["securityGating"]
|
|
3084
|
+
: managedClusterSecurityProfileDefenderSecurityGatingDeserializer(item["securityGating"]),
|
|
2543
3085
|
};
|
|
2544
3086
|
}
|
|
2545
3087
|
export function managedClusterSecurityProfileDefenderSecurityMonitoringSerializer(item) {
|
|
@@ -2550,6 +3092,50 @@ export function managedClusterSecurityProfileDefenderSecurityMonitoringDeseriali
|
|
|
2550
3092
|
enabled: item["enabled"],
|
|
2551
3093
|
};
|
|
2552
3094
|
}
|
|
3095
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingSerializer(item) {
|
|
3096
|
+
return {
|
|
3097
|
+
enabled: item["enabled"],
|
|
3098
|
+
identities: !item["identities"]
|
|
3099
|
+
? item["identities"]
|
|
3100
|
+
: managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemArraySerializer(item["identities"]),
|
|
3101
|
+
allowSecretAccess: item["allowSecretAccess"],
|
|
3102
|
+
};
|
|
3103
|
+
}
|
|
3104
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingDeserializer(item) {
|
|
3105
|
+
return {
|
|
3106
|
+
enabled: item["enabled"],
|
|
3107
|
+
identities: !item["identities"]
|
|
3108
|
+
? item["identities"]
|
|
3109
|
+
: managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemArrayDeserializer(item["identities"]),
|
|
3110
|
+
allowSecretAccess: item["allowSecretAccess"],
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemArraySerializer(result) {
|
|
3114
|
+
return result.map((item) => {
|
|
3115
|
+
return managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemSerializer(item);
|
|
3116
|
+
});
|
|
3117
|
+
}
|
|
3118
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemArrayDeserializer(result) {
|
|
3119
|
+
return result.map((item) => {
|
|
3120
|
+
return managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemDeserializer(item);
|
|
3121
|
+
});
|
|
3122
|
+
}
|
|
3123
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemSerializer(item) {
|
|
3124
|
+
return {
|
|
3125
|
+
azureContainerRegistry: item["azureContainerRegistry"],
|
|
3126
|
+
identity: !item["identity"]
|
|
3127
|
+
? item["identity"]
|
|
3128
|
+
: userAssignedIdentitySerializer(item["identity"]),
|
|
3129
|
+
};
|
|
3130
|
+
}
|
|
3131
|
+
export function managedClusterSecurityProfileDefenderSecurityGatingIdentitiesItemDeserializer(item) {
|
|
3132
|
+
return {
|
|
3133
|
+
azureContainerRegistry: item["azureContainerRegistry"],
|
|
3134
|
+
identity: !item["identity"]
|
|
3135
|
+
? item["identity"]
|
|
3136
|
+
: userAssignedIdentityDeserializer(item["identity"]),
|
|
3137
|
+
};
|
|
3138
|
+
}
|
|
2553
3139
|
export function azureKeyVaultKmsSerializer(item) {
|
|
2554
3140
|
return {
|
|
2555
3141
|
enabled: item["enabled"],
|
|
@@ -2574,6 +3160,22 @@ export var KnownKeyVaultNetworkAccessTypes;
|
|
|
2574
3160
|
/** Key vault disables public access and enables private link. */
|
|
2575
3161
|
KnownKeyVaultNetworkAccessTypes["Private"] = "Private";
|
|
2576
3162
|
})(KnownKeyVaultNetworkAccessTypes || (KnownKeyVaultNetworkAccessTypes = {}));
|
|
3163
|
+
export function kubernetesResourceObjectEncryptionProfileSerializer(item) {
|
|
3164
|
+
return { infrastructureEncryption: item["infrastructureEncryption"] };
|
|
3165
|
+
}
|
|
3166
|
+
export function kubernetesResourceObjectEncryptionProfileDeserializer(item) {
|
|
3167
|
+
return {
|
|
3168
|
+
infrastructureEncryption: item["infrastructureEncryption"],
|
|
3169
|
+
};
|
|
3170
|
+
}
|
|
3171
|
+
/** Whether to enable encryption at rest of Kubernetes resource objects using service-managed keys. More information on this can be found under https://aka.ms/aks/kubernetesResourceObjectEncryption. */
|
|
3172
|
+
export var KnownInfrastructureEncryption;
|
|
3173
|
+
(function (KnownInfrastructureEncryption) {
|
|
3174
|
+
/** Encryption at rest of Kubernetes resource objects using service-managed keys is enabled. More information on this can be found under https://aka.ms/aks/kubernetesResourceObjectEncryption. */
|
|
3175
|
+
KnownInfrastructureEncryption["Enabled"] = "Enabled";
|
|
3176
|
+
/** Encryption at rest of Kubernetes resource objects using service-managed keys is disabled. More information on this can be found under https://aka.ms/aks/kubernetesResourceObjectEncryption. */
|
|
3177
|
+
KnownInfrastructureEncryption["Disabled"] = "Disabled";
|
|
3178
|
+
})(KnownInfrastructureEncryption || (KnownInfrastructureEncryption = {}));
|
|
2577
3179
|
export function managedClusterSecurityProfileWorkloadIdentitySerializer(item) {
|
|
2578
3180
|
return { enabled: item["enabled"] };
|
|
2579
3181
|
}
|
|
@@ -2591,6 +3193,31 @@ export function managedClusterSecurityProfileImageCleanerDeserializer(item) {
|
|
|
2591
3193
|
intervalHours: item["intervalHours"],
|
|
2592
3194
|
};
|
|
2593
3195
|
}
|
|
3196
|
+
export function managedClusterSecurityProfileImageIntegritySerializer(item) {
|
|
3197
|
+
return { enabled: item["enabled"] };
|
|
3198
|
+
}
|
|
3199
|
+
export function managedClusterSecurityProfileImageIntegrityDeserializer(item) {
|
|
3200
|
+
return {
|
|
3201
|
+
enabled: item["enabled"],
|
|
3202
|
+
};
|
|
3203
|
+
}
|
|
3204
|
+
export function managedClusterSecurityProfileNodeRestrictionSerializer(item) {
|
|
3205
|
+
return { enabled: item["enabled"] };
|
|
3206
|
+
}
|
|
3207
|
+
export function managedClusterSecurityProfileNodeRestrictionDeserializer(item) {
|
|
3208
|
+
return {
|
|
3209
|
+
enabled: item["enabled"],
|
|
3210
|
+
};
|
|
3211
|
+
}
|
|
3212
|
+
export function serviceAccountImagePullProfileSerializer(item) {
|
|
3213
|
+
return { enabled: item["enabled"], defaultManagedIdentityId: item["defaultManagedIdentityId"] };
|
|
3214
|
+
}
|
|
3215
|
+
export function serviceAccountImagePullProfileDeserializer(item) {
|
|
3216
|
+
return {
|
|
3217
|
+
enabled: item["enabled"],
|
|
3218
|
+
defaultManagedIdentityId: item["defaultManagedIdentityId"],
|
|
3219
|
+
};
|
|
3220
|
+
}
|
|
2594
3221
|
export function managedClusterStorageProfileSerializer(item) {
|
|
2595
3222
|
return {
|
|
2596
3223
|
diskCSIDriver: !item["diskCSIDriver"]
|
|
@@ -2663,6 +3290,9 @@ export function managedClusterIngressProfileSerializer(item) {
|
|
|
2663
3290
|
gatewayAPI: !item["gatewayAPI"]
|
|
2664
3291
|
? item["gatewayAPI"]
|
|
2665
3292
|
: managedClusterIngressProfileGatewayConfigurationSerializer(item["gatewayAPI"]),
|
|
3293
|
+
applicationLoadBalancer: !item["applicationLoadBalancer"]
|
|
3294
|
+
? item["applicationLoadBalancer"]
|
|
3295
|
+
: managedClusterIngressProfileApplicationLoadBalancerSerializer(item["applicationLoadBalancer"]),
|
|
2666
3296
|
};
|
|
2667
3297
|
}
|
|
2668
3298
|
export function managedClusterIngressProfileDeserializer(item) {
|
|
@@ -2673,6 +3303,9 @@ export function managedClusterIngressProfileDeserializer(item) {
|
|
|
2673
3303
|
gatewayAPI: !item["gatewayAPI"]
|
|
2674
3304
|
? item["gatewayAPI"]
|
|
2675
3305
|
: managedClusterIngressProfileGatewayConfigurationDeserializer(item["gatewayAPI"]),
|
|
3306
|
+
applicationLoadBalancer: !item["applicationLoadBalancer"]
|
|
3307
|
+
? item["applicationLoadBalancer"]
|
|
3308
|
+
: managedClusterIngressProfileApplicationLoadBalancerDeserializer(item["applicationLoadBalancer"]),
|
|
2676
3309
|
};
|
|
2677
3310
|
}
|
|
2678
3311
|
export function managedClusterIngressProfileWebAppRoutingSerializer(item) {
|
|
@@ -2689,6 +3322,9 @@ export function managedClusterIngressProfileWebAppRoutingSerializer(item) {
|
|
|
2689
3322
|
nginx: !item["nginx"]
|
|
2690
3323
|
? item["nginx"]
|
|
2691
3324
|
: managedClusterIngressProfileNginxSerializer(item["nginx"]),
|
|
3325
|
+
defaultDomain: !item["defaultDomain"]
|
|
3326
|
+
? item["defaultDomain"]
|
|
3327
|
+
: managedClusterIngressDefaultDomainProfileSerializer(item["defaultDomain"]),
|
|
2692
3328
|
};
|
|
2693
3329
|
}
|
|
2694
3330
|
export function managedClusterIngressProfileWebAppRoutingDeserializer(item) {
|
|
@@ -2708,6 +3344,9 @@ export function managedClusterIngressProfileWebAppRoutingDeserializer(item) {
|
|
|
2708
3344
|
identity: !item["identity"]
|
|
2709
3345
|
? item["identity"]
|
|
2710
3346
|
: userAssignedIdentityDeserializer(item["identity"]),
|
|
3347
|
+
defaultDomain: !item["defaultDomain"]
|
|
3348
|
+
? item["defaultDomain"]
|
|
3349
|
+
: managedClusterIngressDefaultDomainProfileDeserializer(item["defaultDomain"]),
|
|
2711
3350
|
};
|
|
2712
3351
|
}
|
|
2713
3352
|
export function managedClusterWebAppRoutingGatewayAPIImplementationsSerializer(item) {
|
|
@@ -2760,6 +3399,15 @@ export var KnownNginxIngressControllerType;
|
|
|
2760
3399
|
/** The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. */
|
|
2761
3400
|
KnownNginxIngressControllerType["None"] = "None";
|
|
2762
3401
|
})(KnownNginxIngressControllerType || (KnownNginxIngressControllerType = {}));
|
|
3402
|
+
export function managedClusterIngressDefaultDomainProfileSerializer(item) {
|
|
3403
|
+
return { enabled: item["enabled"] };
|
|
3404
|
+
}
|
|
3405
|
+
export function managedClusterIngressDefaultDomainProfileDeserializer(item) {
|
|
3406
|
+
return {
|
|
3407
|
+
enabled: item["enabled"],
|
|
3408
|
+
domainName: item["domainName"],
|
|
3409
|
+
};
|
|
3410
|
+
}
|
|
2763
3411
|
export function managedClusterIngressProfileGatewayConfigurationSerializer(item) {
|
|
2764
3412
|
return { installation: item["installation"] };
|
|
2765
3413
|
}
|
|
@@ -2776,6 +3424,17 @@ export var KnownManagedGatewayType;
|
|
|
2776
3424
|
/** Gateway API CRDs from the standard release channel will be reconciled onto your cluster. See https://aka.ms/gateway-api-versions to see which bundle will be installed for your Kubernetes version. */
|
|
2777
3425
|
KnownManagedGatewayType["Standard"] = "Standard";
|
|
2778
3426
|
})(KnownManagedGatewayType || (KnownManagedGatewayType = {}));
|
|
3427
|
+
export function managedClusterIngressProfileApplicationLoadBalancerSerializer(item) {
|
|
3428
|
+
return { enabled: item["enabled"] };
|
|
3429
|
+
}
|
|
3430
|
+
export function managedClusterIngressProfileApplicationLoadBalancerDeserializer(item) {
|
|
3431
|
+
return {
|
|
3432
|
+
enabled: item["enabled"],
|
|
3433
|
+
identity: !item["identity"]
|
|
3434
|
+
? item["identity"]
|
|
3435
|
+
: userAssignedIdentityDeserializer(item["identity"]),
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
2779
3438
|
/** PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS */
|
|
2780
3439
|
export var KnownPublicNetworkAccess;
|
|
2781
3440
|
(function (KnownPublicNetworkAccess) {
|
|
@@ -2783,6 +3442,8 @@ export var KnownPublicNetworkAccess;
|
|
|
2783
3442
|
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
2784
3443
|
/** Inbound traffic to managedCluster is disabled, traffic from managedCluster is allowed. */
|
|
2785
3444
|
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
3445
|
+
/** Inbound/Outbound traffic is managed by Microsoft.Network/NetworkSecurityPerimeters. */
|
|
3446
|
+
KnownPublicNetworkAccess["SecuredByPerimeter"] = "SecuredByPerimeter";
|
|
2786
3447
|
})(KnownPublicNetworkAccess || (KnownPublicNetworkAccess = {}));
|
|
2787
3448
|
export function managedClusterWorkloadAutoScalerProfileSerializer(item) {
|
|
2788
3449
|
return {
|
|
@@ -2813,18 +3474,30 @@ export function managedClusterWorkloadAutoScalerProfileKedaDeserializer(item) {
|
|
|
2813
3474
|
};
|
|
2814
3475
|
}
|
|
2815
3476
|
export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerSerializer(item) {
|
|
2816
|
-
return { enabled: item["enabled"] };
|
|
3477
|
+
return { enabled: item["enabled"], addonAutoscaling: item["addonAutoscaling"] };
|
|
2817
3478
|
}
|
|
2818
3479
|
export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerDeserializer(item) {
|
|
2819
3480
|
return {
|
|
2820
3481
|
enabled: item["enabled"],
|
|
3482
|
+
addonAutoscaling: item["addonAutoscaling"],
|
|
2821
3483
|
};
|
|
2822
3484
|
}
|
|
3485
|
+
/** Whether VPA add-on is enabled and configured to scale AKS-managed add-ons. */
|
|
3486
|
+
export var KnownAddonAutoscaling;
|
|
3487
|
+
(function (KnownAddonAutoscaling) {
|
|
3488
|
+
/** Feature to autoscale AKS-managed add-ons is enabled. The default VPA update mode is Initial mode. */
|
|
3489
|
+
KnownAddonAutoscaling["Enabled"] = "Enabled";
|
|
3490
|
+
/** Feature to autoscale AKS-managed add-ons is disabled. */
|
|
3491
|
+
KnownAddonAutoscaling["Disabled"] = "Disabled";
|
|
3492
|
+
})(KnownAddonAutoscaling || (KnownAddonAutoscaling = {}));
|
|
2823
3493
|
export function managedClusterAzureMonitorProfileSerializer(item) {
|
|
2824
3494
|
return {
|
|
2825
3495
|
metrics: !item["metrics"]
|
|
2826
3496
|
? item["metrics"]
|
|
2827
3497
|
: managedClusterAzureMonitorProfileMetricsSerializer(item["metrics"]),
|
|
3498
|
+
containerInsights: !item["containerInsights"]
|
|
3499
|
+
? item["containerInsights"]
|
|
3500
|
+
: managedClusterAzureMonitorProfileContainerInsightsSerializer(item["containerInsights"]),
|
|
2828
3501
|
appMonitoring: !item["appMonitoring"]
|
|
2829
3502
|
? item["appMonitoring"]
|
|
2830
3503
|
: managedClusterAzureMonitorProfileAppMonitoringSerializer(item["appMonitoring"]),
|
|
@@ -2835,6 +3508,9 @@ export function managedClusterAzureMonitorProfileDeserializer(item) {
|
|
|
2835
3508
|
metrics: !item["metrics"]
|
|
2836
3509
|
? item["metrics"]
|
|
2837
3510
|
: managedClusterAzureMonitorProfileMetricsDeserializer(item["metrics"]),
|
|
3511
|
+
containerInsights: !item["containerInsights"]
|
|
3512
|
+
? item["containerInsights"]
|
|
3513
|
+
: managedClusterAzureMonitorProfileContainerInsightsDeserializer(item["containerInsights"]),
|
|
2838
3514
|
appMonitoring: !item["appMonitoring"]
|
|
2839
3515
|
? item["appMonitoring"]
|
|
2840
3516
|
: managedClusterAzureMonitorProfileAppMonitoringDeserializer(item["appMonitoring"]),
|
|
@@ -2882,11 +3558,45 @@ export function managedClusterAzureMonitorProfileMetricsControlPlaneDeserializer
|
|
|
2882
3558
|
enabled: item["enabled"],
|
|
2883
3559
|
};
|
|
2884
3560
|
}
|
|
3561
|
+
export function managedClusterAzureMonitorProfileContainerInsightsSerializer(item) {
|
|
3562
|
+
return {
|
|
3563
|
+
enabled: item["enabled"],
|
|
3564
|
+
logAnalyticsWorkspaceResourceId: item["logAnalyticsWorkspaceResourceId"],
|
|
3565
|
+
syslogPort: item["syslogPort"],
|
|
3566
|
+
disableCustomMetrics: item["disableCustomMetrics"],
|
|
3567
|
+
disablePrometheusMetricsScraping: item["disablePrometheusMetricsScraping"],
|
|
3568
|
+
containerNetworkLogs: item["containerNetworkLogs"],
|
|
3569
|
+
};
|
|
3570
|
+
}
|
|
3571
|
+
export function managedClusterAzureMonitorProfileContainerInsightsDeserializer(item) {
|
|
3572
|
+
return {
|
|
3573
|
+
enabled: item["enabled"],
|
|
3574
|
+
logAnalyticsWorkspaceResourceId: item["logAnalyticsWorkspaceResourceId"],
|
|
3575
|
+
syslogPort: item["syslogPort"],
|
|
3576
|
+
disableCustomMetrics: item["disableCustomMetrics"],
|
|
3577
|
+
disablePrometheusMetricsScraping: item["disablePrometheusMetricsScraping"],
|
|
3578
|
+
containerNetworkLogs: item["containerNetworkLogs"],
|
|
3579
|
+
};
|
|
3580
|
+
}
|
|
3581
|
+
/** Configures container network logs ingestion with Azure Monitor. Which network logs to ingest is controlled by the CRD found in the following links. No network logs are ingested by default. More information on container network logs can be found at https://aka.ms/ContainerNetworkLogsDoc. More information on configuring container network log can be found at https://aka.ms/acns/howtoenablecnl. If not specified, the default is Disabled. */
|
|
3582
|
+
export var KnownContainerNetworkLogs;
|
|
3583
|
+
(function (KnownContainerNetworkLogs) {
|
|
3584
|
+
/** Azure monitor ingestion of container network logs is disabled */
|
|
3585
|
+
KnownContainerNetworkLogs["Disabled"] = "Disabled";
|
|
3586
|
+
/** Azure monitor ingestion of container network logs is enabled */
|
|
3587
|
+
KnownContainerNetworkLogs["Enabled"] = "Enabled";
|
|
3588
|
+
})(KnownContainerNetworkLogs || (KnownContainerNetworkLogs = {}));
|
|
2885
3589
|
export function managedClusterAzureMonitorProfileAppMonitoringSerializer(item) {
|
|
2886
3590
|
return {
|
|
2887
3591
|
autoInstrumentation: !item["autoInstrumentation"]
|
|
2888
3592
|
? item["autoInstrumentation"]
|
|
2889
3593
|
: managedClusterAzureMonitorProfileAppMonitoringAutoInstrumentationSerializer(item["autoInstrumentation"]),
|
|
3594
|
+
openTelemetryMetrics: !item["openTelemetryMetrics"]
|
|
3595
|
+
? item["openTelemetryMetrics"]
|
|
3596
|
+
: managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsSerializer(item["openTelemetryMetrics"]),
|
|
3597
|
+
openTelemetryLogsAndTraces: !item["openTelemetryLogsAndTraces"]
|
|
3598
|
+
? item["openTelemetryLogsAndTraces"]
|
|
3599
|
+
: managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTracesSerializer(item["openTelemetryLogsAndTraces"]),
|
|
2890
3600
|
};
|
|
2891
3601
|
}
|
|
2892
3602
|
export function managedClusterAzureMonitorProfileAppMonitoringDeserializer(item) {
|
|
@@ -2894,6 +3604,12 @@ export function managedClusterAzureMonitorProfileAppMonitoringDeserializer(item)
|
|
|
2894
3604
|
autoInstrumentation: !item["autoInstrumentation"]
|
|
2895
3605
|
? item["autoInstrumentation"]
|
|
2896
3606
|
: managedClusterAzureMonitorProfileAppMonitoringAutoInstrumentationDeserializer(item["autoInstrumentation"]),
|
|
3607
|
+
openTelemetryMetrics: !item["openTelemetryMetrics"]
|
|
3608
|
+
? item["openTelemetryMetrics"]
|
|
3609
|
+
: managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsDeserializer(item["openTelemetryMetrics"]),
|
|
3610
|
+
openTelemetryLogsAndTraces: !item["openTelemetryLogsAndTraces"]
|
|
3611
|
+
? item["openTelemetryLogsAndTraces"]
|
|
3612
|
+
: managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTracesDeserializer(item["openTelemetryLogsAndTraces"]),
|
|
2897
3613
|
};
|
|
2898
3614
|
}
|
|
2899
3615
|
export function managedClusterAzureMonitorProfileAppMonitoringAutoInstrumentationSerializer(item) {
|
|
@@ -2904,6 +3620,26 @@ export function managedClusterAzureMonitorProfileAppMonitoringAutoInstrumentatio
|
|
|
2904
3620
|
enabled: item["enabled"],
|
|
2905
3621
|
};
|
|
2906
3622
|
}
|
|
3623
|
+
export function managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsSerializer(item) {
|
|
3624
|
+
return { enabled: item["enabled"], httpPort: item["httpPort"], grpcPort: item["grpcPort"] };
|
|
3625
|
+
}
|
|
3626
|
+
export function managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsDeserializer(item) {
|
|
3627
|
+
return {
|
|
3628
|
+
enabled: item["enabled"],
|
|
3629
|
+
httpPort: item["httpPort"],
|
|
3630
|
+
grpcPort: item["grpcPort"],
|
|
3631
|
+
};
|
|
3632
|
+
}
|
|
3633
|
+
export function managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTracesSerializer(item) {
|
|
3634
|
+
return { enabled: item["enabled"], httpPort: item["httpPort"], grpcPort: item["grpcPort"] };
|
|
3635
|
+
}
|
|
3636
|
+
export function managedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTracesDeserializer(item) {
|
|
3637
|
+
return {
|
|
3638
|
+
enabled: item["enabled"],
|
|
3639
|
+
httpPort: item["httpPort"],
|
|
3640
|
+
grpcPort: item["grpcPort"],
|
|
3641
|
+
};
|
|
3642
|
+
}
|
|
2907
3643
|
export function serviceMeshProfileSerializer(item) {
|
|
2908
3644
|
return {
|
|
2909
3645
|
mode: item["mode"],
|
|
@@ -3144,6 +3880,50 @@ export function managedClusterAIToolchainOperatorProfileDeserializer(item) {
|
|
|
3144
3880
|
enabled: item["enabled"],
|
|
3145
3881
|
};
|
|
3146
3882
|
}
|
|
3883
|
+
export function schedulerProfileSerializer(item) {
|
|
3884
|
+
return {
|
|
3885
|
+
schedulerInstanceProfiles: !item["schedulerInstanceProfiles"]
|
|
3886
|
+
? item["schedulerInstanceProfiles"]
|
|
3887
|
+
: schedulerProfileSchedulerInstanceProfilesSerializer(item["schedulerInstanceProfiles"]),
|
|
3888
|
+
};
|
|
3889
|
+
}
|
|
3890
|
+
export function schedulerProfileDeserializer(item) {
|
|
3891
|
+
return {
|
|
3892
|
+
schedulerInstanceProfiles: !item["schedulerInstanceProfiles"]
|
|
3893
|
+
? item["schedulerInstanceProfiles"]
|
|
3894
|
+
: schedulerProfileSchedulerInstanceProfilesDeserializer(item["schedulerInstanceProfiles"]),
|
|
3895
|
+
};
|
|
3896
|
+
}
|
|
3897
|
+
export function schedulerProfileSchedulerInstanceProfilesSerializer(item) {
|
|
3898
|
+
return {
|
|
3899
|
+
upstream: !item["upstream"]
|
|
3900
|
+
? item["upstream"]
|
|
3901
|
+
: schedulerInstanceProfileSerializer(item["upstream"]),
|
|
3902
|
+
};
|
|
3903
|
+
}
|
|
3904
|
+
export function schedulerProfileSchedulerInstanceProfilesDeserializer(item) {
|
|
3905
|
+
return {
|
|
3906
|
+
upstream: !item["upstream"]
|
|
3907
|
+
? item["upstream"]
|
|
3908
|
+
: schedulerInstanceProfileDeserializer(item["upstream"]),
|
|
3909
|
+
};
|
|
3910
|
+
}
|
|
3911
|
+
export function schedulerInstanceProfileSerializer(item) {
|
|
3912
|
+
return { schedulerConfigMode: item["schedulerConfigMode"] };
|
|
3913
|
+
}
|
|
3914
|
+
export function schedulerInstanceProfileDeserializer(item) {
|
|
3915
|
+
return {
|
|
3916
|
+
schedulerConfigMode: item["schedulerConfigMode"],
|
|
3917
|
+
};
|
|
3918
|
+
}
|
|
3919
|
+
/** The config customization mode for this scheduler instance. */
|
|
3920
|
+
export var KnownSchedulerConfigMode;
|
|
3921
|
+
(function (KnownSchedulerConfigMode) {
|
|
3922
|
+
/** No config customization. Use default configuration. */
|
|
3923
|
+
KnownSchedulerConfigMode["Default"] = "Default";
|
|
3924
|
+
/** Enable config customization. Customer can specify scheduler configuration via a CRD. See aka.ms/aks/scheduler-crd for details. */
|
|
3925
|
+
KnownSchedulerConfigMode["ManagedByCRD"] = "ManagedByCRD";
|
|
3926
|
+
})(KnownSchedulerConfigMode || (KnownSchedulerConfigMode = {}));
|
|
3147
3927
|
export function managedClusterHostedSystemProfileSerializer(item) {
|
|
3148
3928
|
return {
|
|
3149
3929
|
enabled: item["enabled"],
|
|
@@ -3158,22 +3938,70 @@ export function managedClusterHostedSystemProfileDeserializer(item) {
|
|
|
3158
3938
|
nodeSubnetID: item["nodeSubnetID"],
|
|
3159
3939
|
};
|
|
3160
3940
|
}
|
|
3161
|
-
export function
|
|
3162
|
-
return {
|
|
3941
|
+
export function managedClusterHealthMonitorProfileSerializer(item) {
|
|
3942
|
+
return {
|
|
3943
|
+
enableContinuousControlPlaneAndAddonMonitor: item["enableContinuousControlPlaneAndAddonMonitor"],
|
|
3944
|
+
enableOnDemandMonitor: item["enableOnDemandMonitor"],
|
|
3945
|
+
};
|
|
3163
3946
|
}
|
|
3164
|
-
export function
|
|
3947
|
+
export function managedClusterHealthMonitorProfileDeserializer(item) {
|
|
3165
3948
|
return {
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
: errorDetailDeserializer(item["provisioningError"]),
|
|
3949
|
+
enableContinuousControlPlaneAndAddonMonitor: item["enableContinuousControlPlaneAndAddonMonitor"],
|
|
3950
|
+
enableOnDemandMonitor: item["enableOnDemandMonitor"],
|
|
3169
3951
|
};
|
|
3170
3952
|
}
|
|
3171
|
-
export function
|
|
3172
|
-
return {
|
|
3953
|
+
export function managedClusterControlPlaneScalingProfileSerializer(item) {
|
|
3954
|
+
return { scalingSize: item["scalingSize"] };
|
|
3173
3955
|
}
|
|
3174
|
-
export function
|
|
3956
|
+
export function managedClusterControlPlaneScalingProfileDeserializer(item) {
|
|
3175
3957
|
return {
|
|
3176
|
-
|
|
3958
|
+
scalingSize: item["scalingSize"],
|
|
3959
|
+
};
|
|
3960
|
+
}
|
|
3961
|
+
/** The scaling size of the control plane. Scaling sizes offer guaranteed capacity and predictable Kubernetes performance beyond standard tier defaults. Higher H sizes provide increased performance guarantees. See https://aka.ms/aks/hyperscale for performance metrics details for each size. */
|
|
3962
|
+
export var KnownControlPlaneScalingSize;
|
|
3963
|
+
(function (KnownControlPlaneScalingSize) {
|
|
3964
|
+
/** H2 is the smallest scaling size with guaranteed capacity and predictable performance beyond standard tier defaults. */
|
|
3965
|
+
KnownControlPlaneScalingSize["H2"] = "H2";
|
|
3966
|
+
/** H4 scaling size provides increased guaranteed performance over H2. */
|
|
3967
|
+
KnownControlPlaneScalingSize["H4"] = "H4";
|
|
3968
|
+
/** H8 scaling size provides increased guaranteed performance over H4. */
|
|
3969
|
+
KnownControlPlaneScalingSize["H8"] = "H8";
|
|
3970
|
+
})(KnownControlPlaneScalingSize || (KnownControlPlaneScalingSize = {}));
|
|
3971
|
+
export function nodeDisruptionProfileSerializer(item) {
|
|
3972
|
+
return { nodeDisruptionPolicy: item["nodeDisruptionPolicy"] };
|
|
3973
|
+
}
|
|
3974
|
+
export function nodeDisruptionProfileDeserializer(item) {
|
|
3975
|
+
return {
|
|
3976
|
+
nodeDisruptionPolicy: item["nodeDisruptionPolicy"],
|
|
3977
|
+
};
|
|
3978
|
+
}
|
|
3979
|
+
/** The policy configuration for when to allow certain operations which require node re-image and trigger redeployment. For example, some operations, such as updating the .properties.ManagedClusterSecurityProfile.customCATrustCertificates field on an existing managed cluster, trigger rolling updates of the nodes. This setting allows control over when such updates are accepted. The default is 'Allow'. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy". */
|
|
3980
|
+
export var KnownNodeDisruptionPolicy;
|
|
3981
|
+
(function (KnownNodeDisruptionPolicy) {
|
|
3982
|
+
/** Allows operations that will require node re-image and trigger redeployment. */
|
|
3983
|
+
KnownNodeDisruptionPolicy["Allow"] = "Allow";
|
|
3984
|
+
/** Blocks certain operations that will require node re-image and trigger redeployment unless within the aksManagedNodeOSUpgradeSchedule maintenance window. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy . For more information on using the aksManagedNodeOSUpgradeSchedule maintenance window, please see https://learn.microsoft.com/azure/aks/planned-maintenance?tabs=azure-cli */
|
|
3985
|
+
KnownNodeDisruptionPolicy["AllowDuringMaintenanceWindow"] = "AllowDuringMaintenanceWindow";
|
|
3986
|
+
/** Blocks certain operations that will require node re-image and trigger redeployment. For a full list of covered operations see aka.ms/aks/nodedisruptionpolicy */
|
|
3987
|
+
KnownNodeDisruptionPolicy["Block"] = "Block";
|
|
3988
|
+
})(KnownNodeDisruptionPolicy || (KnownNodeDisruptionPolicy = {}));
|
|
3989
|
+
export function managedClusterStatusSerializer(_item) {
|
|
3990
|
+
return {};
|
|
3991
|
+
}
|
|
3992
|
+
export function managedClusterStatusDeserializer(item) {
|
|
3993
|
+
return {
|
|
3994
|
+
provisioningError: !item["provisioningError"]
|
|
3995
|
+
? item["provisioningError"]
|
|
3996
|
+
: errorDetailDeserializer(item["provisioningError"]),
|
|
3997
|
+
};
|
|
3998
|
+
}
|
|
3999
|
+
export function managedClusterSKUSerializer(item) {
|
|
4000
|
+
return { name: item["name"], tier: item["tier"] };
|
|
4001
|
+
}
|
|
4002
|
+
export function managedClusterSKUDeserializer(item) {
|
|
4003
|
+
return {
|
|
4004
|
+
name: item["name"],
|
|
3177
4005
|
tier: item["tier"],
|
|
3178
4006
|
};
|
|
3179
4007
|
}
|
|
@@ -3451,6 +4279,15 @@ export function endpointDetailDeserializer(item) {
|
|
|
3451
4279
|
description: item["description"],
|
|
3452
4280
|
};
|
|
3453
4281
|
}
|
|
4282
|
+
export function rebalanceLoadBalancersRequestBodySerializer(item) {
|
|
4283
|
+
return {
|
|
4284
|
+
loadBalancerNames: !item["loadBalancerNames"]
|
|
4285
|
+
? item["loadBalancerNames"]
|
|
4286
|
+
: item["loadBalancerNames"].map((p) => {
|
|
4287
|
+
return p;
|
|
4288
|
+
}),
|
|
4289
|
+
};
|
|
4290
|
+
}
|
|
3454
4291
|
export function managedClusterUpgradeProfileDeserializer(item) {
|
|
3455
4292
|
return {
|
|
3456
4293
|
id: item["id"],
|
|
@@ -3476,6 +4313,9 @@ export function managedClusterPoolUpgradeProfileDeserializer(item) {
|
|
|
3476
4313
|
upgrades: !item["upgrades"]
|
|
3477
4314
|
? item["upgrades"]
|
|
3478
4315
|
: managedClusterPoolUpgradeProfileUpgradesItemArrayDeserializer(item["upgrades"]),
|
|
4316
|
+
componentsByReleases: !item["componentsByReleases"]
|
|
4317
|
+
? item["componentsByReleases"]
|
|
4318
|
+
: componentsByReleaseArrayDeserializer(item["componentsByReleases"]),
|
|
3479
4319
|
};
|
|
3480
4320
|
}
|
|
3481
4321
|
export function managedClusterPoolUpgradeProfileUpgradesItemArrayDeserializer(result) {
|
|
@@ -3487,6 +4327,7 @@ export function managedClusterPoolUpgradeProfileUpgradesItemDeserializer(item) {
|
|
|
3487
4327
|
return {
|
|
3488
4328
|
kubernetesVersion: item["kubernetesVersion"],
|
|
3489
4329
|
isPreview: item["isPreview"],
|
|
4330
|
+
isOutOfSupport: item["isOutOfSupport"],
|
|
3490
4331
|
};
|
|
3491
4332
|
}
|
|
3492
4333
|
export function managedClusterPoolUpgradeProfileArrayDeserializer(result) {
|
|
@@ -3494,6 +4335,78 @@ export function managedClusterPoolUpgradeProfileArrayDeserializer(result) {
|
|
|
3494
4335
|
return managedClusterPoolUpgradeProfileDeserializer(item);
|
|
3495
4336
|
});
|
|
3496
4337
|
}
|
|
4338
|
+
export function guardrailsAvailableVersionDeserializer(item) {
|
|
4339
|
+
return {
|
|
4340
|
+
id: item["id"],
|
|
4341
|
+
name: item["name"],
|
|
4342
|
+
type: item["type"],
|
|
4343
|
+
systemData: !item["systemData"]
|
|
4344
|
+
? item["systemData"]
|
|
4345
|
+
: systemDataDeserializer(item["systemData"]),
|
|
4346
|
+
properties: guardrailsAvailableVersionsPropertiesDeserializer(item["properties"]),
|
|
4347
|
+
};
|
|
4348
|
+
}
|
|
4349
|
+
export function guardrailsAvailableVersionsPropertiesDeserializer(item) {
|
|
4350
|
+
return {
|
|
4351
|
+
isDefaultVersion: item["isDefaultVersion"],
|
|
4352
|
+
support: item["support"],
|
|
4353
|
+
};
|
|
4354
|
+
}
|
|
4355
|
+
/** Whether the version is preview or stable. */
|
|
4356
|
+
export var KnownGuardrailsSupport;
|
|
4357
|
+
(function (KnownGuardrailsSupport) {
|
|
4358
|
+
/** The version is preview. It is not recommended to use preview versions on critical production clusters. The preview version may not support all use-cases. */
|
|
4359
|
+
KnownGuardrailsSupport["Preview"] = "Preview";
|
|
4360
|
+
/** The version is stable and can be used on critical production clusters. */
|
|
4361
|
+
KnownGuardrailsSupport["Stable"] = "Stable";
|
|
4362
|
+
})(KnownGuardrailsSupport || (KnownGuardrailsSupport = {}));
|
|
4363
|
+
export function _guardrailsAvailableVersionsListDeserializer(item) {
|
|
4364
|
+
return {
|
|
4365
|
+
value: guardrailsAvailableVersionArrayDeserializer(item["value"]),
|
|
4366
|
+
nextLink: item["nextLink"],
|
|
4367
|
+
};
|
|
4368
|
+
}
|
|
4369
|
+
export function guardrailsAvailableVersionArrayDeserializer(result) {
|
|
4370
|
+
return result.map((item) => {
|
|
4371
|
+
return guardrailsAvailableVersionDeserializer(item);
|
|
4372
|
+
});
|
|
4373
|
+
}
|
|
4374
|
+
export function safeguardsAvailableVersionDeserializer(item) {
|
|
4375
|
+
return {
|
|
4376
|
+
id: item["id"],
|
|
4377
|
+
name: item["name"],
|
|
4378
|
+
type: item["type"],
|
|
4379
|
+
systemData: !item["systemData"]
|
|
4380
|
+
? item["systemData"]
|
|
4381
|
+
: systemDataDeserializer(item["systemData"]),
|
|
4382
|
+
properties: safeguardsAvailableVersionsPropertiesDeserializer(item["properties"]),
|
|
4383
|
+
};
|
|
4384
|
+
}
|
|
4385
|
+
export function safeguardsAvailableVersionsPropertiesDeserializer(item) {
|
|
4386
|
+
return {
|
|
4387
|
+
isDefaultVersion: item["isDefaultVersion"],
|
|
4388
|
+
support: item["support"],
|
|
4389
|
+
};
|
|
4390
|
+
}
|
|
4391
|
+
/** Whether the version is preview or stable. */
|
|
4392
|
+
export var KnownSafeguardsSupport;
|
|
4393
|
+
(function (KnownSafeguardsSupport) {
|
|
4394
|
+
/** The version is preview. It is not recommended to use preview versions on critical production clusters. The preview version may not support all use-cases. */
|
|
4395
|
+
KnownSafeguardsSupport["Preview"] = "Preview";
|
|
4396
|
+
/** The version is stable and can be used on critical production clusters. */
|
|
4397
|
+
KnownSafeguardsSupport["Stable"] = "Stable";
|
|
4398
|
+
})(KnownSafeguardsSupport || (KnownSafeguardsSupport = {}));
|
|
4399
|
+
export function _safeguardsAvailableVersionsListDeserializer(item) {
|
|
4400
|
+
return {
|
|
4401
|
+
value: safeguardsAvailableVersionArrayDeserializer(item["value"]),
|
|
4402
|
+
nextLink: item["nextLink"],
|
|
4403
|
+
};
|
|
4404
|
+
}
|
|
4405
|
+
export function safeguardsAvailableVersionArrayDeserializer(result) {
|
|
4406
|
+
return result.map((item) => {
|
|
4407
|
+
return safeguardsAvailableVersionDeserializer(item);
|
|
4408
|
+
});
|
|
4409
|
+
}
|
|
3497
4410
|
export function meshRevisionProfileDeserializer(item) {
|
|
3498
4411
|
return {
|
|
3499
4412
|
id: item["id"],
|
|
@@ -3901,6 +4814,75 @@ export function maintenanceConfigurationArrayDeserializer(result) {
|
|
|
3901
4814
|
return maintenanceConfigurationDeserializer(item);
|
|
3902
4815
|
});
|
|
3903
4816
|
}
|
|
4817
|
+
export function maintenanceWindowResourceSerializer(item) {
|
|
4818
|
+
return {
|
|
4819
|
+
tags: item["tags"],
|
|
4820
|
+
location: item["location"],
|
|
4821
|
+
properties: !item["properties"]
|
|
4822
|
+
? item["properties"]
|
|
4823
|
+
: maintenanceWindowResourcePropertiesSerializer(item["properties"]),
|
|
4824
|
+
};
|
|
4825
|
+
}
|
|
4826
|
+
export function maintenanceWindowResourceDeserializer(item) {
|
|
4827
|
+
return {
|
|
4828
|
+
tags: !item["tags"]
|
|
4829
|
+
? item["tags"]
|
|
4830
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
4831
|
+
location: item["location"],
|
|
4832
|
+
id: item["id"],
|
|
4833
|
+
name: item["name"],
|
|
4834
|
+
type: item["type"],
|
|
4835
|
+
systemData: !item["systemData"]
|
|
4836
|
+
? item["systemData"]
|
|
4837
|
+
: systemDataDeserializer(item["systemData"]),
|
|
4838
|
+
properties: !item["properties"]
|
|
4839
|
+
? item["properties"]
|
|
4840
|
+
: maintenanceWindowResourcePropertiesDeserializer(item["properties"]),
|
|
4841
|
+
};
|
|
4842
|
+
}
|
|
4843
|
+
export function maintenanceWindowResourcePropertiesSerializer(item) {
|
|
4844
|
+
return {
|
|
4845
|
+
schedule: scheduleSerializer(item["schedule"]),
|
|
4846
|
+
startDate: !item["startDate"]
|
|
4847
|
+
? item["startDate"]
|
|
4848
|
+
: item["startDate"].toISOString().split("T")[0],
|
|
4849
|
+
startTime: item["startTime"],
|
|
4850
|
+
durationHours: item["durationHours"],
|
|
4851
|
+
utcOffset: item["utcOffset"],
|
|
4852
|
+
notAllowedDates: !item["notAllowedDates"]
|
|
4853
|
+
? item["notAllowedDates"]
|
|
4854
|
+
: dateSpanArraySerializer(item["notAllowedDates"]),
|
|
4855
|
+
};
|
|
4856
|
+
}
|
|
4857
|
+
export function maintenanceWindowResourcePropertiesDeserializer(item) {
|
|
4858
|
+
return {
|
|
4859
|
+
provisioningState: item["provisioningState"],
|
|
4860
|
+
schedule: scheduleDeserializer(item["schedule"]),
|
|
4861
|
+
startDate: !item["startDate"] ? item["startDate"] : new Date(item["startDate"]),
|
|
4862
|
+
startTime: item["startTime"],
|
|
4863
|
+
durationHours: item["durationHours"],
|
|
4864
|
+
utcOffset: item["utcOffset"],
|
|
4865
|
+
notAllowedDates: !item["notAllowedDates"]
|
|
4866
|
+
? item["notAllowedDates"]
|
|
4867
|
+
: dateSpanArrayDeserializer(item["notAllowedDates"]),
|
|
4868
|
+
};
|
|
4869
|
+
}
|
|
4870
|
+
export function _maintenanceWindowResourceListResultDeserializer(item) {
|
|
4871
|
+
return {
|
|
4872
|
+
value: maintenanceWindowResourceArrayDeserializer(item["value"]),
|
|
4873
|
+
nextLink: item["nextLink"],
|
|
4874
|
+
};
|
|
4875
|
+
}
|
|
4876
|
+
export function maintenanceWindowResourceArraySerializer(result) {
|
|
4877
|
+
return result.map((item) => {
|
|
4878
|
+
return maintenanceWindowResourceSerializer(item);
|
|
4879
|
+
});
|
|
4880
|
+
}
|
|
4881
|
+
export function maintenanceWindowResourceArrayDeserializer(result) {
|
|
4882
|
+
return result.map((item) => {
|
|
4883
|
+
return maintenanceWindowResourceDeserializer(item);
|
|
4884
|
+
});
|
|
4885
|
+
}
|
|
3904
4886
|
export function managedNamespaceSerializer(item) {
|
|
3905
4887
|
return {
|
|
3906
4888
|
tags: item["tags"],
|
|
@@ -4047,6 +5029,18 @@ export function managedNamespaceArrayDeserializer(result) {
|
|
|
4047
5029
|
return managedNamespaceDeserializer(item);
|
|
4048
5030
|
});
|
|
4049
5031
|
}
|
|
5032
|
+
export function machineSerializer(item) {
|
|
5033
|
+
return {
|
|
5034
|
+
properties: !item["properties"]
|
|
5035
|
+
? item["properties"]
|
|
5036
|
+
: machinePropertiesSerializer(item["properties"]),
|
|
5037
|
+
zones: !item["zones"]
|
|
5038
|
+
? item["zones"]
|
|
5039
|
+
: item["zones"].map((p) => {
|
|
5040
|
+
return p;
|
|
5041
|
+
}),
|
|
5042
|
+
};
|
|
5043
|
+
}
|
|
4050
5044
|
export function machineDeserializer(item) {
|
|
4051
5045
|
return {
|
|
4052
5046
|
id: item["id"],
|
|
@@ -4065,12 +5059,78 @@ export function machineDeserializer(item) {
|
|
|
4065
5059
|
}),
|
|
4066
5060
|
};
|
|
4067
5061
|
}
|
|
5062
|
+
export function machinePropertiesSerializer(item) {
|
|
5063
|
+
return {
|
|
5064
|
+
network: !item["network"]
|
|
5065
|
+
? item["network"]
|
|
5066
|
+
: machineNetworkPropertiesSerializer(item["network"]),
|
|
5067
|
+
hardware: !item["hardware"]
|
|
5068
|
+
? item["hardware"]
|
|
5069
|
+
: machineHardwareProfileSerializer(item["hardware"]),
|
|
5070
|
+
operatingSystem: !item["operatingSystem"]
|
|
5071
|
+
? item["operatingSystem"]
|
|
5072
|
+
: machineOSProfileSerializer(item["operatingSystem"]),
|
|
5073
|
+
kubernetes: !item["kubernetes"]
|
|
5074
|
+
? item["kubernetes"]
|
|
5075
|
+
: machineKubernetesProfileSerializer(item["kubernetes"]),
|
|
5076
|
+
mode: item["mode"],
|
|
5077
|
+
security: !item["security"]
|
|
5078
|
+
? item["security"]
|
|
5079
|
+
: machineSecurityProfileSerializer(item["security"]),
|
|
5080
|
+
priority: item["priority"],
|
|
5081
|
+
evictionPolicy: item["evictionPolicy"],
|
|
5082
|
+
billing: !item["billing"] ? item["billing"] : machineBillingProfileSerializer(item["billing"]),
|
|
5083
|
+
tags: item["tags"],
|
|
5084
|
+
localDNSProfile: !item["localDNSProfile"]
|
|
5085
|
+
? item["localDNSProfile"]
|
|
5086
|
+
: localDNSProfileSerializer(item["localDNSProfile"]),
|
|
5087
|
+
};
|
|
5088
|
+
}
|
|
4068
5089
|
export function machinePropertiesDeserializer(item) {
|
|
4069
5090
|
return {
|
|
4070
5091
|
network: !item["network"]
|
|
4071
5092
|
? item["network"]
|
|
4072
5093
|
: machineNetworkPropertiesDeserializer(item["network"]),
|
|
4073
5094
|
resourceId: item["resourceId"],
|
|
5095
|
+
hardware: !item["hardware"]
|
|
5096
|
+
? item["hardware"]
|
|
5097
|
+
: machineHardwareProfileDeserializer(item["hardware"]),
|
|
5098
|
+
operatingSystem: !item["operatingSystem"]
|
|
5099
|
+
? item["operatingSystem"]
|
|
5100
|
+
: machineOSProfileDeserializer(item["operatingSystem"]),
|
|
5101
|
+
kubernetes: !item["kubernetes"]
|
|
5102
|
+
? item["kubernetes"]
|
|
5103
|
+
: machineKubernetesProfileDeserializer(item["kubernetes"]),
|
|
5104
|
+
mode: item["mode"],
|
|
5105
|
+
security: !item["security"]
|
|
5106
|
+
? item["security"]
|
|
5107
|
+
: machineSecurityProfileDeserializer(item["security"]),
|
|
5108
|
+
priority: item["priority"],
|
|
5109
|
+
evictionPolicy: item["evictionPolicy"],
|
|
5110
|
+
billing: !item["billing"]
|
|
5111
|
+
? item["billing"]
|
|
5112
|
+
: machineBillingProfileDeserializer(item["billing"]),
|
|
5113
|
+
nodeImageVersion: item["nodeImageVersion"],
|
|
5114
|
+
provisioningState: item["provisioningState"],
|
|
5115
|
+
tags: !item["tags"]
|
|
5116
|
+
? item["tags"]
|
|
5117
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
5118
|
+
eTag: item["eTag"],
|
|
5119
|
+
status: !item["status"] ? item["status"] : machineStatusDeserializer(item["status"]),
|
|
5120
|
+
localDNSProfile: !item["localDNSProfile"]
|
|
5121
|
+
? item["localDNSProfile"]
|
|
5122
|
+
: localDNSProfileDeserializer(item["localDNSProfile"]),
|
|
5123
|
+
};
|
|
5124
|
+
}
|
|
5125
|
+
export function machineNetworkPropertiesSerializer(item) {
|
|
5126
|
+
return {
|
|
5127
|
+
vnetSubnetID: item["vnetSubnetID"],
|
|
5128
|
+
podSubnetID: item["podSubnetID"],
|
|
5129
|
+
enableNodePublicIP: item["enableNodePublicIP"],
|
|
5130
|
+
nodePublicIPPrefixID: item["nodePublicIPPrefixID"],
|
|
5131
|
+
nodePublicIPTags: !item["nodePublicIPTags"]
|
|
5132
|
+
? item["nodePublicIPTags"]
|
|
5133
|
+
: ipTagArraySerializer(item["nodePublicIPTags"]),
|
|
4074
5134
|
};
|
|
4075
5135
|
}
|
|
4076
5136
|
export function machineNetworkPropertiesDeserializer(item) {
|
|
@@ -4078,6 +5138,13 @@ export function machineNetworkPropertiesDeserializer(item) {
|
|
|
4078
5138
|
ipAddresses: !item["ipAddresses"]
|
|
4079
5139
|
? item["ipAddresses"]
|
|
4080
5140
|
: machineIpAddressArrayDeserializer(item["ipAddresses"]),
|
|
5141
|
+
vnetSubnetID: item["vnetSubnetID"],
|
|
5142
|
+
podSubnetID: item["podSubnetID"],
|
|
5143
|
+
enableNodePublicIP: item["enableNodePublicIP"],
|
|
5144
|
+
nodePublicIPPrefixID: item["nodePublicIPPrefixID"],
|
|
5145
|
+
nodePublicIPTags: !item["nodePublicIPTags"]
|
|
5146
|
+
? item["nodePublicIPTags"]
|
|
5147
|
+
: ipTagArrayDeserializer(item["nodePublicIPTags"]),
|
|
4081
5148
|
};
|
|
4082
5149
|
}
|
|
4083
5150
|
export function machineIpAddressArrayDeserializer(result) {
|
|
@@ -4091,72 +5158,248 @@ export function machineIpAddressDeserializer(item) {
|
|
|
4091
5158
|
ip: item["ip"],
|
|
4092
5159
|
};
|
|
4093
5160
|
}
|
|
4094
|
-
export function
|
|
5161
|
+
export function machineHardwareProfileSerializer(item) {
|
|
4095
5162
|
return {
|
|
4096
|
-
|
|
4097
|
-
|
|
5163
|
+
vmSize: item["vmSize"],
|
|
5164
|
+
gpuInstanceProfile: item["gpuInstanceProfile"],
|
|
5165
|
+
gpuProfile: !item["gpuProfile"] ? item["gpuProfile"] : gpuProfileSerializer(item["gpuProfile"]),
|
|
5166
|
+
ultraSsdEnabled: item["ultraSsdEnabled"],
|
|
4098
5167
|
};
|
|
4099
5168
|
}
|
|
4100
|
-
export function
|
|
4101
|
-
return result.map((item) => {
|
|
4102
|
-
return machineDeserializer(item);
|
|
4103
|
-
});
|
|
4104
|
-
}
|
|
4105
|
-
export function privateEndpointConnectionSerializer(item) {
|
|
5169
|
+
export function machineHardwareProfileDeserializer(item) {
|
|
4106
5170
|
return {
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
5171
|
+
vmSize: item["vmSize"],
|
|
5172
|
+
gpuInstanceProfile: item["gpuInstanceProfile"],
|
|
5173
|
+
gpuProfile: !item["gpuProfile"]
|
|
5174
|
+
? item["gpuProfile"]
|
|
5175
|
+
: gpuProfileDeserializer(item["gpuProfile"]),
|
|
5176
|
+
ultraSsdEnabled: item["ultraSsdEnabled"],
|
|
4110
5177
|
};
|
|
4111
5178
|
}
|
|
4112
|
-
export function
|
|
5179
|
+
export function machineOSProfileSerializer(item) {
|
|
4113
5180
|
return {
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
5181
|
+
osType: item["osType"],
|
|
5182
|
+
osSKU: item["osSKU"],
|
|
5183
|
+
osDiskSizeGB: item["osDiskSizeGB"],
|
|
5184
|
+
osDiskType: item["osDiskType"],
|
|
5185
|
+
enableFIPS: item["enableFips"],
|
|
5186
|
+
linuxProfile: !item["linuxProfile"]
|
|
5187
|
+
? item["linuxProfile"]
|
|
5188
|
+
: machineOSProfileLinuxProfileSerializer(item["linuxProfile"]),
|
|
5189
|
+
windowsProfile: !item["windowsProfile"]
|
|
5190
|
+
? item["windowsProfile"]
|
|
5191
|
+
: agentPoolWindowsProfileSerializer(item["windowsProfile"]),
|
|
4123
5192
|
};
|
|
4124
5193
|
}
|
|
4125
|
-
export function
|
|
5194
|
+
export function machineOSProfileDeserializer(item) {
|
|
4126
5195
|
return {
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
5196
|
+
osType: item["osType"],
|
|
5197
|
+
osSKU: item["osSKU"],
|
|
5198
|
+
osDiskSizeGB: item["osDiskSizeGB"],
|
|
5199
|
+
osDiskType: item["osDiskType"],
|
|
5200
|
+
enableFips: item["enableFIPS"],
|
|
5201
|
+
linuxProfile: !item["linuxProfile"]
|
|
5202
|
+
? item["linuxProfile"]
|
|
5203
|
+
: machineOSProfileLinuxProfileDeserializer(item["linuxProfile"]),
|
|
5204
|
+
windowsProfile: !item["windowsProfile"]
|
|
5205
|
+
? item["windowsProfile"]
|
|
5206
|
+
: agentPoolWindowsProfileDeserializer(item["windowsProfile"]),
|
|
4131
5207
|
};
|
|
4132
5208
|
}
|
|
4133
|
-
export function
|
|
5209
|
+
export function machineOSProfileLinuxProfileSerializer(item) {
|
|
4134
5210
|
return {
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
5211
|
+
linuxOSConfig: !item["linuxOSConfig"]
|
|
5212
|
+
? item["linuxOSConfig"]
|
|
5213
|
+
: linuxOSConfigSerializer(item["linuxOSConfig"]),
|
|
5214
|
+
messageOfTheDay: item["messageOfTheDay"],
|
|
4140
5215
|
};
|
|
4141
5216
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
5217
|
+
export function machineOSProfileLinuxProfileDeserializer(item) {
|
|
5218
|
+
return {
|
|
5219
|
+
linuxOSConfig: !item["linuxOSConfig"]
|
|
5220
|
+
? item["linuxOSConfig"]
|
|
5221
|
+
: linuxOSConfigDeserializer(item["linuxOSConfig"]),
|
|
5222
|
+
messageOfTheDay: item["messageOfTheDay"],
|
|
5223
|
+
};
|
|
5224
|
+
}
|
|
5225
|
+
export function machineKubernetesProfileSerializer(item) {
|
|
5226
|
+
return {
|
|
5227
|
+
nodeLabels: item["nodeLabels"],
|
|
5228
|
+
orchestratorVersion: item["orchestratorVersion"],
|
|
5229
|
+
kubeletDiskType: item["kubeletDiskType"],
|
|
5230
|
+
kubeletConfig: !item["kubeletConfig"]
|
|
5231
|
+
? item["kubeletConfig"]
|
|
5232
|
+
: kubeletConfigSerializer(item["kubeletConfig"]),
|
|
5233
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
5234
|
+
? item["nodeInitializationTaints"]
|
|
5235
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
5236
|
+
return p;
|
|
5237
|
+
}),
|
|
5238
|
+
nodeTaints: !item["nodeTaints"]
|
|
5239
|
+
? item["nodeTaints"]
|
|
5240
|
+
: item["nodeTaints"].map((p) => {
|
|
5241
|
+
return p;
|
|
5242
|
+
}),
|
|
5243
|
+
maxPods: item["maxPods"],
|
|
5244
|
+
workloadRuntime: item["workloadRuntime"],
|
|
5245
|
+
artifactStreamingProfile: !item["artifactStreamingProfile"]
|
|
5246
|
+
? item["artifactStreamingProfile"]
|
|
5247
|
+
: agentPoolArtifactStreamingProfileSerializer(item["artifactStreamingProfile"]),
|
|
5248
|
+
};
|
|
5249
|
+
}
|
|
5250
|
+
export function machineKubernetesProfileDeserializer(item) {
|
|
5251
|
+
return {
|
|
5252
|
+
nodeLabels: !item["nodeLabels"]
|
|
5253
|
+
? item["nodeLabels"]
|
|
5254
|
+
: Object.fromEntries(Object.entries(item["nodeLabels"]).map(([k, p]) => [k, p])),
|
|
5255
|
+
orchestratorVersion: item["orchestratorVersion"],
|
|
5256
|
+
currentOrchestratorVersion: item["currentOrchestratorVersion"],
|
|
5257
|
+
kubeletDiskType: item["kubeletDiskType"],
|
|
5258
|
+
kubeletConfig: !item["kubeletConfig"]
|
|
5259
|
+
? item["kubeletConfig"]
|
|
5260
|
+
: kubeletConfigDeserializer(item["kubeletConfig"]),
|
|
5261
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
5262
|
+
? item["nodeInitializationTaints"]
|
|
5263
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
5264
|
+
return p;
|
|
5265
|
+
}),
|
|
5266
|
+
nodeTaints: !item["nodeTaints"]
|
|
5267
|
+
? item["nodeTaints"]
|
|
5268
|
+
: item["nodeTaints"].map((p) => {
|
|
5269
|
+
return p;
|
|
5270
|
+
}),
|
|
5271
|
+
maxPods: item["maxPods"],
|
|
5272
|
+
nodeName: item["nodeName"],
|
|
5273
|
+
workloadRuntime: item["workloadRuntime"],
|
|
5274
|
+
artifactStreamingProfile: !item["artifactStreamingProfile"]
|
|
5275
|
+
? item["artifactStreamingProfile"]
|
|
5276
|
+
: agentPoolArtifactStreamingProfileDeserializer(item["artifactStreamingProfile"]),
|
|
5277
|
+
};
|
|
5278
|
+
}
|
|
5279
|
+
export function machineSecurityProfileSerializer(item) {
|
|
5280
|
+
return {
|
|
5281
|
+
enableVTPM: item["enableVtpm"],
|
|
5282
|
+
enableSecureBoot: item["enableSecureBoot"],
|
|
5283
|
+
sshAccess: item["sshAccess"],
|
|
5284
|
+
enableEncryptionAtHost: item["enableEncryptionAtHost"],
|
|
5285
|
+
};
|
|
5286
|
+
}
|
|
5287
|
+
export function machineSecurityProfileDeserializer(item) {
|
|
5288
|
+
return {
|
|
5289
|
+
enableVtpm: item["enableVTPM"],
|
|
5290
|
+
enableSecureBoot: item["enableSecureBoot"],
|
|
5291
|
+
sshAccess: item["sshAccess"],
|
|
5292
|
+
enableEncryptionAtHost: item["enableEncryptionAtHost"],
|
|
5293
|
+
};
|
|
5294
|
+
}
|
|
5295
|
+
export function machineBillingProfileSerializer(item) {
|
|
5296
|
+
return { spotMaxPrice: item["spotMaxPrice"] };
|
|
5297
|
+
}
|
|
5298
|
+
export function machineBillingProfileDeserializer(item) {
|
|
5299
|
+
return {
|
|
5300
|
+
spotMaxPrice: item["spotMaxPrice"],
|
|
5301
|
+
};
|
|
5302
|
+
}
|
|
5303
|
+
export function machineStatusDeserializer(item) {
|
|
5304
|
+
return {
|
|
5305
|
+
provisioningError: !item["provisioningError"]
|
|
5306
|
+
? item["provisioningError"]
|
|
5307
|
+
: errorDetailDeserializer(item["provisioningError"]),
|
|
5308
|
+
creationTimestamp: !item["creationTimestamp"]
|
|
5309
|
+
? item["creationTimestamp"]
|
|
5310
|
+
: new Date(item["creationTimestamp"]),
|
|
5311
|
+
driftAction: item["driftAction"],
|
|
5312
|
+
driftReason: item["driftReason"],
|
|
5313
|
+
vmState: item["vmState"],
|
|
5314
|
+
};
|
|
5315
|
+
}
|
|
5316
|
+
/** The drift action of the machine. Indicates whether a machine has deviated from its expected state due to changes in managed cluster properties, requiring corrective action. */
|
|
5317
|
+
export var KnownDriftAction;
|
|
5318
|
+
(function (KnownDriftAction) {
|
|
5319
|
+
/** The machine is up to date. */
|
|
5320
|
+
KnownDriftAction["Synced"] = "Synced";
|
|
5321
|
+
/** The machine has drifted and needs to be deleted and recreated. */
|
|
5322
|
+
KnownDriftAction["Recreate"] = "Recreate";
|
|
5323
|
+
})(KnownDriftAction || (KnownDriftAction = {}));
|
|
5324
|
+
/** Virtual machine state. Indicates the current state of the underlying virtual machine. */
|
|
5325
|
+
export var KnownVmState;
|
|
5326
|
+
(function (KnownVmState) {
|
|
5327
|
+
/** The virtual machine is currently running. */
|
|
5328
|
+
KnownVmState["Running"] = "Running";
|
|
5329
|
+
/** The virtual machine has been deleted by the user or due to spot eviction. */
|
|
5330
|
+
KnownVmState["Deleted"] = "Deleted";
|
|
5331
|
+
})(KnownVmState || (KnownVmState = {}));
|
|
5332
|
+
export function _machineListResultDeserializer(item) {
|
|
5333
|
+
return {
|
|
5334
|
+
value: machineArrayDeserializer(item["value"]),
|
|
5335
|
+
nextLink: item["nextLink"],
|
|
5336
|
+
};
|
|
5337
|
+
}
|
|
5338
|
+
export function machineArraySerializer(result) {
|
|
5339
|
+
return result.map((item) => {
|
|
5340
|
+
return machineSerializer(item);
|
|
5341
|
+
});
|
|
5342
|
+
}
|
|
5343
|
+
export function machineArrayDeserializer(result) {
|
|
5344
|
+
return result.map((item) => {
|
|
5345
|
+
return machineDeserializer(item);
|
|
5346
|
+
});
|
|
5347
|
+
}
|
|
5348
|
+
export function privateEndpointConnectionSerializer(item) {
|
|
5349
|
+
return {
|
|
5350
|
+
properties: areAllPropsUndefined(item, ["privateEndpoint", "privateLinkServiceConnectionState"])
|
|
5351
|
+
? undefined
|
|
5352
|
+
: _privateEndpointConnectionPropertiesSerializer(item),
|
|
5353
|
+
};
|
|
5354
|
+
}
|
|
5355
|
+
export function privateEndpointConnectionDeserializer(item) {
|
|
5356
|
+
return {
|
|
5357
|
+
id: item["id"],
|
|
5358
|
+
name: item["name"],
|
|
5359
|
+
type: item["type"],
|
|
5360
|
+
systemData: !item["systemData"]
|
|
5361
|
+
? item["systemData"]
|
|
5362
|
+
: systemDataDeserializer(item["systemData"]),
|
|
5363
|
+
...(!item["properties"]
|
|
5364
|
+
? item["properties"]
|
|
5365
|
+
: _privateEndpointConnectionPropertiesDeserializer(item["properties"])),
|
|
5366
|
+
};
|
|
5367
|
+
}
|
|
5368
|
+
export function privateEndpointConnectionPropertiesSerializer(item) {
|
|
5369
|
+
return {
|
|
5370
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
5371
|
+
? item["privateEndpoint"]
|
|
5372
|
+
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
5373
|
+
privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
5374
|
+
};
|
|
5375
|
+
}
|
|
5376
|
+
export function privateEndpointConnectionPropertiesDeserializer(item) {
|
|
5377
|
+
return {
|
|
5378
|
+
provisioningState: item["provisioningState"],
|
|
5379
|
+
privateEndpoint: !item["privateEndpoint"]
|
|
5380
|
+
? item["privateEndpoint"]
|
|
5381
|
+
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
5382
|
+
privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
5383
|
+
};
|
|
5384
|
+
}
|
|
5385
|
+
/** The current provisioning state. */
|
|
5386
|
+
export var KnownPrivateEndpointConnectionProvisioningState;
|
|
5387
|
+
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
5388
|
+
/** Private endpoint connection provisioning was canceled. */
|
|
5389
|
+
KnownPrivateEndpointConnectionProvisioningState["Canceled"] = "Canceled";
|
|
5390
|
+
/** Private endpoint connection is being created. */
|
|
5391
|
+
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
5392
|
+
/** Private endpoint connection is being deleted. */
|
|
5393
|
+
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
5394
|
+
/** Private endpoint connection provisioning failed. */
|
|
5395
|
+
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
5396
|
+
/** Private endpoint connection provisioning succeeded. */
|
|
5397
|
+
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
5398
|
+
})(KnownPrivateEndpointConnectionProvisioningState || (KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
5399
|
+
export function privateEndpointSerializer(item) {
|
|
5400
|
+
return { id: item["id"] };
|
|
5401
|
+
}
|
|
5402
|
+
export function privateEndpointDeserializer(item) {
|
|
4160
5403
|
return {
|
|
4161
5404
|
id: item["id"],
|
|
4162
5405
|
};
|
|
@@ -4252,6 +5495,8 @@ export var KnownSnapshotType;
|
|
|
4252
5495
|
(function (KnownSnapshotType) {
|
|
4253
5496
|
/** The snapshot is a snapshot of a node pool. */
|
|
4254
5497
|
KnownSnapshotType["NodePool"] = "NodePool";
|
|
5498
|
+
/** The snapshot is a snapshot of a managed cluster. */
|
|
5499
|
+
KnownSnapshotType["ManagedCluster"] = "ManagedCluster";
|
|
4255
5500
|
})(KnownSnapshotType || (KnownSnapshotType = {}));
|
|
4256
5501
|
export function _snapshotListResultDeserializer(item) {
|
|
4257
5502
|
return {
|
|
@@ -4269,6 +5514,86 @@ export function snapshotArrayDeserializer(result) {
|
|
|
4269
5514
|
return snapshotDeserializer(item);
|
|
4270
5515
|
});
|
|
4271
5516
|
}
|
|
5517
|
+
export function managedClusterSnapshotSerializer(item) {
|
|
5518
|
+
return {
|
|
5519
|
+
tags: item["tags"],
|
|
5520
|
+
location: item["location"],
|
|
5521
|
+
properties: areAllPropsUndefined(item, ["creationData", "snapshotType"])
|
|
5522
|
+
? undefined
|
|
5523
|
+
: _managedClusterSnapshotPropertiesSerializer(item),
|
|
5524
|
+
};
|
|
5525
|
+
}
|
|
5526
|
+
export function managedClusterSnapshotDeserializer(item) {
|
|
5527
|
+
return {
|
|
5528
|
+
tags: !item["tags"]
|
|
5529
|
+
? item["tags"]
|
|
5530
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
5531
|
+
location: item["location"],
|
|
5532
|
+
id: item["id"],
|
|
5533
|
+
name: item["name"],
|
|
5534
|
+
type: item["type"],
|
|
5535
|
+
systemData: !item["systemData"]
|
|
5536
|
+
? item["systemData"]
|
|
5537
|
+
: systemDataDeserializer(item["systemData"]),
|
|
5538
|
+
...(!item["properties"]
|
|
5539
|
+
? item["properties"]
|
|
5540
|
+
: _managedClusterSnapshotPropertiesDeserializer(item["properties"])),
|
|
5541
|
+
};
|
|
5542
|
+
}
|
|
5543
|
+
export function managedClusterSnapshotPropertiesSerializer(item) {
|
|
5544
|
+
return {
|
|
5545
|
+
creationData: !item["creationData"]
|
|
5546
|
+
? item["creationData"]
|
|
5547
|
+
: creationDataSerializer(item["creationData"]),
|
|
5548
|
+
snapshotType: item["snapshotType"],
|
|
5549
|
+
};
|
|
5550
|
+
}
|
|
5551
|
+
export function managedClusterSnapshotPropertiesDeserializer(item) {
|
|
5552
|
+
return {
|
|
5553
|
+
creationData: !item["creationData"]
|
|
5554
|
+
? item["creationData"]
|
|
5555
|
+
: creationDataDeserializer(item["creationData"]),
|
|
5556
|
+
snapshotType: item["snapshotType"],
|
|
5557
|
+
managedClusterPropertiesReadOnly: !item["managedClusterPropertiesReadOnly"]
|
|
5558
|
+
? item["managedClusterPropertiesReadOnly"]
|
|
5559
|
+
: managedClusterPropertiesForSnapshotDeserializer(item["managedClusterPropertiesReadOnly"]),
|
|
5560
|
+
};
|
|
5561
|
+
}
|
|
5562
|
+
export function managedClusterPropertiesForSnapshotDeserializer(item) {
|
|
5563
|
+
return {
|
|
5564
|
+
kubernetesVersion: item["kubernetesVersion"],
|
|
5565
|
+
sku: !item["sku"] ? item["sku"] : managedClusterSKUDeserializer(item["sku"]),
|
|
5566
|
+
enableRbac: item["enableRbac"],
|
|
5567
|
+
networkProfile: !item["networkProfile"]
|
|
5568
|
+
? item["networkProfile"]
|
|
5569
|
+
: networkProfileForSnapshotDeserializer(item["networkProfile"]),
|
|
5570
|
+
};
|
|
5571
|
+
}
|
|
5572
|
+
export function networkProfileForSnapshotDeserializer(item) {
|
|
5573
|
+
return {
|
|
5574
|
+
networkPlugin: item["networkPlugin"],
|
|
5575
|
+
networkPluginMode: item["networkPluginMode"],
|
|
5576
|
+
networkPolicy: item["networkPolicy"],
|
|
5577
|
+
networkMode: item["networkMode"],
|
|
5578
|
+
loadBalancerSku: item["loadBalancerSku"],
|
|
5579
|
+
};
|
|
5580
|
+
}
|
|
5581
|
+
export function _managedClusterSnapshotListResultDeserializer(item) {
|
|
5582
|
+
return {
|
|
5583
|
+
value: managedClusterSnapshotArrayDeserializer(item["value"]),
|
|
5584
|
+
nextLink: item["nextLink"],
|
|
5585
|
+
};
|
|
5586
|
+
}
|
|
5587
|
+
export function managedClusterSnapshotArraySerializer(result) {
|
|
5588
|
+
return result.map((item) => {
|
|
5589
|
+
return managedClusterSnapshotSerializer(item);
|
|
5590
|
+
});
|
|
5591
|
+
}
|
|
5592
|
+
export function managedClusterSnapshotArrayDeserializer(result) {
|
|
5593
|
+
return result.map((item) => {
|
|
5594
|
+
return managedClusterSnapshotDeserializer(item);
|
|
5595
|
+
});
|
|
5596
|
+
}
|
|
4272
5597
|
export function trustedAccessRoleBindingSerializer(item) {
|
|
4273
5598
|
return { properties: _trustedAccessRoleBindingPropertiesSerializer(item) };
|
|
4274
5599
|
}
|
|
@@ -4330,6 +5655,147 @@ export function trustedAccessRoleBindingArrayDeserializer(result) {
|
|
|
4330
5655
|
return trustedAccessRoleBindingDeserializer(item);
|
|
4331
5656
|
});
|
|
4332
5657
|
}
|
|
5658
|
+
export function loadBalancerSerializer(item) {
|
|
5659
|
+
return {
|
|
5660
|
+
properties: areAllPropsUndefined(item, [
|
|
5661
|
+
"primaryAgentPoolName",
|
|
5662
|
+
"allowServicePlacement",
|
|
5663
|
+
"serviceLabelSelector",
|
|
5664
|
+
"serviceNamespaceSelector",
|
|
5665
|
+
"nodeSelector",
|
|
5666
|
+
])
|
|
5667
|
+
? undefined
|
|
5668
|
+
: _loadBalancerPropertiesSerializer(item),
|
|
5669
|
+
};
|
|
5670
|
+
}
|
|
5671
|
+
export function loadBalancerDeserializer(item) {
|
|
5672
|
+
return {
|
|
5673
|
+
id: item["id"],
|
|
5674
|
+
name: item["name"],
|
|
5675
|
+
type: item["type"],
|
|
5676
|
+
systemData: !item["systemData"]
|
|
5677
|
+
? item["systemData"]
|
|
5678
|
+
: systemDataDeserializer(item["systemData"]),
|
|
5679
|
+
...(!item["properties"]
|
|
5680
|
+
? item["properties"]
|
|
5681
|
+
: _loadBalancerPropertiesDeserializer(item["properties"])),
|
|
5682
|
+
};
|
|
5683
|
+
}
|
|
5684
|
+
export function loadBalancerPropertiesSerializer(item) {
|
|
5685
|
+
return {
|
|
5686
|
+
primaryAgentPoolName: item["primaryAgentPoolName"],
|
|
5687
|
+
allowServicePlacement: item["allowServicePlacement"],
|
|
5688
|
+
serviceLabelSelector: !item["serviceLabelSelector"]
|
|
5689
|
+
? item["serviceLabelSelector"]
|
|
5690
|
+
: labelSelectorSerializer(item["serviceLabelSelector"]),
|
|
5691
|
+
serviceNamespaceSelector: !item["serviceNamespaceSelector"]
|
|
5692
|
+
? item["serviceNamespaceSelector"]
|
|
5693
|
+
: labelSelectorSerializer(item["serviceNamespaceSelector"]),
|
|
5694
|
+
nodeSelector: !item["nodeSelector"]
|
|
5695
|
+
? item["nodeSelector"]
|
|
5696
|
+
: labelSelectorSerializer(item["nodeSelector"]),
|
|
5697
|
+
};
|
|
5698
|
+
}
|
|
5699
|
+
export function loadBalancerPropertiesDeserializer(item) {
|
|
5700
|
+
return {
|
|
5701
|
+
primaryAgentPoolName: item["primaryAgentPoolName"],
|
|
5702
|
+
allowServicePlacement: item["allowServicePlacement"],
|
|
5703
|
+
serviceLabelSelector: !item["serviceLabelSelector"]
|
|
5704
|
+
? item["serviceLabelSelector"]
|
|
5705
|
+
: labelSelectorDeserializer(item["serviceLabelSelector"]),
|
|
5706
|
+
serviceNamespaceSelector: !item["serviceNamespaceSelector"]
|
|
5707
|
+
? item["serviceNamespaceSelector"]
|
|
5708
|
+
: labelSelectorDeserializer(item["serviceNamespaceSelector"]),
|
|
5709
|
+
nodeSelector: !item["nodeSelector"]
|
|
5710
|
+
? item["nodeSelector"]
|
|
5711
|
+
: labelSelectorDeserializer(item["nodeSelector"]),
|
|
5712
|
+
provisioningState: item["provisioningState"],
|
|
5713
|
+
};
|
|
5714
|
+
}
|
|
5715
|
+
export function labelSelectorSerializer(item) {
|
|
5716
|
+
return {
|
|
5717
|
+
matchLabels: !item["matchLabels"]
|
|
5718
|
+
? item["matchLabels"]
|
|
5719
|
+
: item["matchLabels"].map((p) => {
|
|
5720
|
+
return p;
|
|
5721
|
+
}),
|
|
5722
|
+
matchExpressions: !item["matchExpressions"]
|
|
5723
|
+
? item["matchExpressions"]
|
|
5724
|
+
: labelSelectorRequirementArraySerializer(item["matchExpressions"]),
|
|
5725
|
+
};
|
|
5726
|
+
}
|
|
5727
|
+
export function labelSelectorDeserializer(item) {
|
|
5728
|
+
return {
|
|
5729
|
+
matchLabels: !item["matchLabels"]
|
|
5730
|
+
? item["matchLabels"]
|
|
5731
|
+
: item["matchLabels"].map((p) => {
|
|
5732
|
+
return p;
|
|
5733
|
+
}),
|
|
5734
|
+
matchExpressions: !item["matchExpressions"]
|
|
5735
|
+
? item["matchExpressions"]
|
|
5736
|
+
: labelSelectorRequirementArrayDeserializer(item["matchExpressions"]),
|
|
5737
|
+
};
|
|
5738
|
+
}
|
|
5739
|
+
export function labelSelectorRequirementArraySerializer(result) {
|
|
5740
|
+
return result.map((item) => {
|
|
5741
|
+
return labelSelectorRequirementSerializer(item);
|
|
5742
|
+
});
|
|
5743
|
+
}
|
|
5744
|
+
export function labelSelectorRequirementArrayDeserializer(result) {
|
|
5745
|
+
return result.map((item) => {
|
|
5746
|
+
return labelSelectorRequirementDeserializer(item);
|
|
5747
|
+
});
|
|
5748
|
+
}
|
|
5749
|
+
export function labelSelectorRequirementSerializer(item) {
|
|
5750
|
+
return {
|
|
5751
|
+
key: item["key"],
|
|
5752
|
+
operator: item["operator"],
|
|
5753
|
+
values: !item["values"]
|
|
5754
|
+
? item["values"]
|
|
5755
|
+
: item["values"].map((p) => {
|
|
5756
|
+
return p;
|
|
5757
|
+
}),
|
|
5758
|
+
};
|
|
5759
|
+
}
|
|
5760
|
+
export function labelSelectorRequirementDeserializer(item) {
|
|
5761
|
+
return {
|
|
5762
|
+
key: item["key"],
|
|
5763
|
+
operator: item["operator"],
|
|
5764
|
+
values: !item["values"]
|
|
5765
|
+
? item["values"]
|
|
5766
|
+
: item["values"].map((p) => {
|
|
5767
|
+
return p;
|
|
5768
|
+
}),
|
|
5769
|
+
};
|
|
5770
|
+
}
|
|
5771
|
+
/** operator represents a key's relationship to a set of values. Valid operators are In and NotIn */
|
|
5772
|
+
export var KnownOperator;
|
|
5773
|
+
(function (KnownOperator) {
|
|
5774
|
+
/** The value of the key should be in the given list. */
|
|
5775
|
+
KnownOperator["In"] = "In";
|
|
5776
|
+
/** The value of the key should not be in the given list. */
|
|
5777
|
+
KnownOperator["NotIn"] = "NotIn";
|
|
5778
|
+
/** The value of the key should exist. */
|
|
5779
|
+
KnownOperator["Exists"] = "Exists";
|
|
5780
|
+
/** The value of the key should not exist. */
|
|
5781
|
+
KnownOperator["DoesNotExist"] = "DoesNotExist";
|
|
5782
|
+
})(KnownOperator || (KnownOperator = {}));
|
|
5783
|
+
export function _loadBalancerListResultDeserializer(item) {
|
|
5784
|
+
return {
|
|
5785
|
+
value: loadBalancerArrayDeserializer(item["value"]),
|
|
5786
|
+
nextLink: item["nextLink"],
|
|
5787
|
+
};
|
|
5788
|
+
}
|
|
5789
|
+
export function loadBalancerArraySerializer(result) {
|
|
5790
|
+
return result.map((item) => {
|
|
5791
|
+
return loadBalancerSerializer(item);
|
|
5792
|
+
});
|
|
5793
|
+
}
|
|
5794
|
+
export function loadBalancerArrayDeserializer(result) {
|
|
5795
|
+
return result.map((item) => {
|
|
5796
|
+
return loadBalancerDeserializer(item);
|
|
5797
|
+
});
|
|
5798
|
+
}
|
|
4333
5799
|
export function identityBindingSerializer(item) {
|
|
4334
5800
|
return {
|
|
4335
5801
|
properties: !item["properties"]
|
|
@@ -4413,6 +5879,246 @@ export function identityBindingArrayDeserializer(result) {
|
|
|
4413
5879
|
return identityBindingDeserializer(item);
|
|
4414
5880
|
});
|
|
4415
5881
|
}
|
|
5882
|
+
export function jwtAuthenticatorSerializer(item) {
|
|
5883
|
+
return { properties: jwtAuthenticatorPropertiesSerializer(item["properties"]) };
|
|
5884
|
+
}
|
|
5885
|
+
export function jwtAuthenticatorDeserializer(item) {
|
|
5886
|
+
return {
|
|
5887
|
+
id: item["id"],
|
|
5888
|
+
name: item["name"],
|
|
5889
|
+
type: item["type"],
|
|
5890
|
+
systemData: !item["systemData"]
|
|
5891
|
+
? item["systemData"]
|
|
5892
|
+
: systemDataDeserializer(item["systemData"]),
|
|
5893
|
+
properties: jwtAuthenticatorPropertiesDeserializer(item["properties"]),
|
|
5894
|
+
};
|
|
5895
|
+
}
|
|
5896
|
+
export function jwtAuthenticatorPropertiesSerializer(item) {
|
|
5897
|
+
return {
|
|
5898
|
+
issuer: jwtAuthenticatorIssuerSerializer(item["issuer"]),
|
|
5899
|
+
claimValidationRules: !item["claimValidationRules"]
|
|
5900
|
+
? item["claimValidationRules"]
|
|
5901
|
+
: jwtAuthenticatorValidationRuleArraySerializer(item["claimValidationRules"]),
|
|
5902
|
+
claimMappings: jwtAuthenticatorClaimMappingsSerializer(item["claimMappings"]),
|
|
5903
|
+
userValidationRules: !item["userValidationRules"]
|
|
5904
|
+
? item["userValidationRules"]
|
|
5905
|
+
: jwtAuthenticatorValidationRuleArraySerializer(item["userValidationRules"]),
|
|
5906
|
+
};
|
|
5907
|
+
}
|
|
5908
|
+
export function jwtAuthenticatorPropertiesDeserializer(item) {
|
|
5909
|
+
return {
|
|
5910
|
+
provisioningState: item["provisioningState"],
|
|
5911
|
+
issuer: jwtAuthenticatorIssuerDeserializer(item["issuer"]),
|
|
5912
|
+
claimValidationRules: !item["claimValidationRules"]
|
|
5913
|
+
? item["claimValidationRules"]
|
|
5914
|
+
: jwtAuthenticatorValidationRuleArrayDeserializer(item["claimValidationRules"]),
|
|
5915
|
+
claimMappings: jwtAuthenticatorClaimMappingsDeserializer(item["claimMappings"]),
|
|
5916
|
+
userValidationRules: !item["userValidationRules"]
|
|
5917
|
+
? item["userValidationRules"]
|
|
5918
|
+
: jwtAuthenticatorValidationRuleArrayDeserializer(item["userValidationRules"]),
|
|
5919
|
+
};
|
|
5920
|
+
}
|
|
5921
|
+
/** The provisioning state of the last accepted operation. */
|
|
5922
|
+
export var KnownJWTAuthenticatorProvisioningState;
|
|
5923
|
+
(function (KnownJWTAuthenticatorProvisioningState) {
|
|
5924
|
+
/** Resource has been created. */
|
|
5925
|
+
KnownJWTAuthenticatorProvisioningState["Succeeded"] = "Succeeded";
|
|
5926
|
+
/** Resource creation failed. */
|
|
5927
|
+
KnownJWTAuthenticatorProvisioningState["Failed"] = "Failed";
|
|
5928
|
+
/** Resource creation was canceled. */
|
|
5929
|
+
KnownJWTAuthenticatorProvisioningState["Canceled"] = "Canceled";
|
|
5930
|
+
/** The JWT authenticator is being created. */
|
|
5931
|
+
KnownJWTAuthenticatorProvisioningState["Creating"] = "Creating";
|
|
5932
|
+
/** The JWT authenticator is being updated. */
|
|
5933
|
+
KnownJWTAuthenticatorProvisioningState["Updating"] = "Updating";
|
|
5934
|
+
/** The JWT authenticator is being deleted. */
|
|
5935
|
+
KnownJWTAuthenticatorProvisioningState["Deleting"] = "Deleting";
|
|
5936
|
+
})(KnownJWTAuthenticatorProvisioningState || (KnownJWTAuthenticatorProvisioningState = {}));
|
|
5937
|
+
export function jwtAuthenticatorIssuerSerializer(item) {
|
|
5938
|
+
return {
|
|
5939
|
+
url: item["url"],
|
|
5940
|
+
audiences: item["audiences"].map((p) => {
|
|
5941
|
+
return p;
|
|
5942
|
+
}),
|
|
5943
|
+
};
|
|
5944
|
+
}
|
|
5945
|
+
export function jwtAuthenticatorIssuerDeserializer(item) {
|
|
5946
|
+
return {
|
|
5947
|
+
url: item["url"],
|
|
5948
|
+
audiences: item["audiences"].map((p) => {
|
|
5949
|
+
return p;
|
|
5950
|
+
}),
|
|
5951
|
+
};
|
|
5952
|
+
}
|
|
5953
|
+
export function jwtAuthenticatorValidationRuleArraySerializer(result) {
|
|
5954
|
+
return result.map((item) => {
|
|
5955
|
+
return jwtAuthenticatorValidationRuleSerializer(item);
|
|
5956
|
+
});
|
|
5957
|
+
}
|
|
5958
|
+
export function jwtAuthenticatorValidationRuleArrayDeserializer(result) {
|
|
5959
|
+
return result.map((item) => {
|
|
5960
|
+
return jwtAuthenticatorValidationRuleDeserializer(item);
|
|
5961
|
+
});
|
|
5962
|
+
}
|
|
5963
|
+
export function jwtAuthenticatorValidationRuleSerializer(item) {
|
|
5964
|
+
return { expression: item["expression"], message: item["message"] };
|
|
5965
|
+
}
|
|
5966
|
+
export function jwtAuthenticatorValidationRuleDeserializer(item) {
|
|
5967
|
+
return {
|
|
5968
|
+
expression: item["expression"],
|
|
5969
|
+
message: item["message"],
|
|
5970
|
+
};
|
|
5971
|
+
}
|
|
5972
|
+
export function jwtAuthenticatorClaimMappingsSerializer(item) {
|
|
5973
|
+
return {
|
|
5974
|
+
username: jwtAuthenticatorClaimMappingExpressionSerializer(item["username"]),
|
|
5975
|
+
groups: !item["groups"]
|
|
5976
|
+
? item["groups"]
|
|
5977
|
+
: jwtAuthenticatorClaimMappingExpressionSerializer(item["groups"]),
|
|
5978
|
+
uid: !item["uid"] ? item["uid"] : jwtAuthenticatorClaimMappingExpressionSerializer(item["uid"]),
|
|
5979
|
+
extra: !item["extra"]
|
|
5980
|
+
? item["extra"]
|
|
5981
|
+
: jwtAuthenticatorExtraClaimMappingExpressionArraySerializer(item["extra"]),
|
|
5982
|
+
};
|
|
5983
|
+
}
|
|
5984
|
+
export function jwtAuthenticatorClaimMappingsDeserializer(item) {
|
|
5985
|
+
return {
|
|
5986
|
+
username: jwtAuthenticatorClaimMappingExpressionDeserializer(item["username"]),
|
|
5987
|
+
groups: !item["groups"]
|
|
5988
|
+
? item["groups"]
|
|
5989
|
+
: jwtAuthenticatorClaimMappingExpressionDeserializer(item["groups"]),
|
|
5990
|
+
uid: !item["uid"]
|
|
5991
|
+
? item["uid"]
|
|
5992
|
+
: jwtAuthenticatorClaimMappingExpressionDeserializer(item["uid"]),
|
|
5993
|
+
extra: !item["extra"]
|
|
5994
|
+
? item["extra"]
|
|
5995
|
+
: jwtAuthenticatorExtraClaimMappingExpressionArrayDeserializer(item["extra"]),
|
|
5996
|
+
};
|
|
5997
|
+
}
|
|
5998
|
+
export function jwtAuthenticatorClaimMappingExpressionSerializer(item) {
|
|
5999
|
+
return { expression: item["expression"] };
|
|
6000
|
+
}
|
|
6001
|
+
export function jwtAuthenticatorClaimMappingExpressionDeserializer(item) {
|
|
6002
|
+
return {
|
|
6003
|
+
expression: item["expression"],
|
|
6004
|
+
};
|
|
6005
|
+
}
|
|
6006
|
+
export function jwtAuthenticatorExtraClaimMappingExpressionArraySerializer(result) {
|
|
6007
|
+
return result.map((item) => {
|
|
6008
|
+
return jwtAuthenticatorExtraClaimMappingExpressionSerializer(item);
|
|
6009
|
+
});
|
|
6010
|
+
}
|
|
6011
|
+
export function jwtAuthenticatorExtraClaimMappingExpressionArrayDeserializer(result) {
|
|
6012
|
+
return result.map((item) => {
|
|
6013
|
+
return jwtAuthenticatorExtraClaimMappingExpressionDeserializer(item);
|
|
6014
|
+
});
|
|
6015
|
+
}
|
|
6016
|
+
export function jwtAuthenticatorExtraClaimMappingExpressionSerializer(item) {
|
|
6017
|
+
return { key: item["key"], valueExpression: item["valueExpression"] };
|
|
6018
|
+
}
|
|
6019
|
+
export function jwtAuthenticatorExtraClaimMappingExpressionDeserializer(item) {
|
|
6020
|
+
return {
|
|
6021
|
+
key: item["key"],
|
|
6022
|
+
valueExpression: item["valueExpression"],
|
|
6023
|
+
};
|
|
6024
|
+
}
|
|
6025
|
+
export function _jwtAuthenticatorListResultDeserializer(item) {
|
|
6026
|
+
return {
|
|
6027
|
+
value: jwtAuthenticatorArrayDeserializer(item["value"]),
|
|
6028
|
+
nextLink: item["nextLink"],
|
|
6029
|
+
};
|
|
6030
|
+
}
|
|
6031
|
+
export function jwtAuthenticatorArraySerializer(result) {
|
|
6032
|
+
return result.map((item) => {
|
|
6033
|
+
return jwtAuthenticatorSerializer(item);
|
|
6034
|
+
});
|
|
6035
|
+
}
|
|
6036
|
+
export function jwtAuthenticatorArrayDeserializer(result) {
|
|
6037
|
+
return result.map((item) => {
|
|
6038
|
+
return jwtAuthenticatorDeserializer(item);
|
|
6039
|
+
});
|
|
6040
|
+
}
|
|
6041
|
+
export function meshMembershipSerializer(item) {
|
|
6042
|
+
return {
|
|
6043
|
+
properties: !item["properties"]
|
|
6044
|
+
? item["properties"]
|
|
6045
|
+
: meshMembershipPropertiesSerializer(item["properties"]),
|
|
6046
|
+
managedBy: item["managedBy"],
|
|
6047
|
+
};
|
|
6048
|
+
}
|
|
6049
|
+
export function meshMembershipDeserializer(item) {
|
|
6050
|
+
return {
|
|
6051
|
+
id: item["id"],
|
|
6052
|
+
name: item["name"],
|
|
6053
|
+
type: item["type"],
|
|
6054
|
+
systemData: !item["systemData"]
|
|
6055
|
+
? item["systemData"]
|
|
6056
|
+
: systemDataDeserializer(item["systemData"]),
|
|
6057
|
+
properties: !item["properties"]
|
|
6058
|
+
? item["properties"]
|
|
6059
|
+
: meshMembershipPropertiesDeserializer(item["properties"]),
|
|
6060
|
+
managedBy: item["managedBy"],
|
|
6061
|
+
eTag: item["eTag"],
|
|
6062
|
+
};
|
|
6063
|
+
}
|
|
6064
|
+
export function meshMembershipPropertiesSerializer(item) {
|
|
6065
|
+
return {
|
|
6066
|
+
privateConnectProfile: !item["privateConnectProfile"]
|
|
6067
|
+
? item["privateConnectProfile"]
|
|
6068
|
+
: meshMembershipPrivateConnectProfileSerializer(item["privateConnectProfile"]),
|
|
6069
|
+
managedMeshID: item["managedMeshID"],
|
|
6070
|
+
};
|
|
6071
|
+
}
|
|
6072
|
+
export function meshMembershipPropertiesDeserializer(item) {
|
|
6073
|
+
return {
|
|
6074
|
+
provisioningState: item["provisioningState"],
|
|
6075
|
+
privateConnectProfile: !item["privateConnectProfile"]
|
|
6076
|
+
? item["privateConnectProfile"]
|
|
6077
|
+
: meshMembershipPrivateConnectProfileDeserializer(item["privateConnectProfile"]),
|
|
6078
|
+
managedMeshID: item["managedMeshID"],
|
|
6079
|
+
};
|
|
6080
|
+
}
|
|
6081
|
+
/** The provisioning state of the last accepted operation. */
|
|
6082
|
+
export var KnownMeshMembershipProvisioningState;
|
|
6083
|
+
(function (KnownMeshMembershipProvisioningState) {
|
|
6084
|
+
/** Resource creation was canceled. */
|
|
6085
|
+
KnownMeshMembershipProvisioningState["Canceled"] = "Canceled";
|
|
6086
|
+
/** The Mesh Membership is being created. */
|
|
6087
|
+
KnownMeshMembershipProvisioningState["Creating"] = "Creating";
|
|
6088
|
+
/** The Mesh Membership is being deleted. */
|
|
6089
|
+
KnownMeshMembershipProvisioningState["Deleting"] = "Deleting";
|
|
6090
|
+
/** Resource creation failed. */
|
|
6091
|
+
KnownMeshMembershipProvisioningState["Failed"] = "Failed";
|
|
6092
|
+
/** Resource has been created. */
|
|
6093
|
+
KnownMeshMembershipProvisioningState["Succeeded"] = "Succeeded";
|
|
6094
|
+
/** The Mesh Membership is being updated. */
|
|
6095
|
+
KnownMeshMembershipProvisioningState["Updating"] = "Updating";
|
|
6096
|
+
})(KnownMeshMembershipProvisioningState || (KnownMeshMembershipProvisioningState = {}));
|
|
6097
|
+
export function meshMembershipPrivateConnectProfileSerializer(item) {
|
|
6098
|
+
return { subnetResourceId: item["subnetResourceId"] };
|
|
6099
|
+
}
|
|
6100
|
+
export function meshMembershipPrivateConnectProfileDeserializer(item) {
|
|
6101
|
+
return {
|
|
6102
|
+
privateIpAddress: item["privateIpAddress"],
|
|
6103
|
+
subnetResourceId: item["subnetResourceId"],
|
|
6104
|
+
};
|
|
6105
|
+
}
|
|
6106
|
+
export function _meshMembershipsListResultDeserializer(item) {
|
|
6107
|
+
return {
|
|
6108
|
+
value: meshMembershipArrayDeserializer(item["value"]),
|
|
6109
|
+
nextLink: item["nextLink"],
|
|
6110
|
+
};
|
|
6111
|
+
}
|
|
6112
|
+
export function meshMembershipArraySerializer(result) {
|
|
6113
|
+
return result.map((item) => {
|
|
6114
|
+
return meshMembershipSerializer(item);
|
|
6115
|
+
});
|
|
6116
|
+
}
|
|
6117
|
+
export function meshMembershipArrayDeserializer(result) {
|
|
6118
|
+
return result.map((item) => {
|
|
6119
|
+
return meshMembershipDeserializer(item);
|
|
6120
|
+
});
|
|
6121
|
+
}
|
|
4416
6122
|
export function _operationListResultDeserializer(item) {
|
|
4417
6123
|
return {
|
|
4418
6124
|
value: operationValueArrayDeserializer(item["value"]),
|
|
@@ -4439,6 +6145,32 @@ export function operationValueDisplayDeserializer(item) {
|
|
|
4439
6145
|
provider: item["provider"],
|
|
4440
6146
|
};
|
|
4441
6147
|
}
|
|
6148
|
+
export function operationStatusResultDeserializer(item) {
|
|
6149
|
+
return {
|
|
6150
|
+
id: item["id"],
|
|
6151
|
+
name: item["name"],
|
|
6152
|
+
status: item["status"],
|
|
6153
|
+
percentComplete: item["percentComplete"],
|
|
6154
|
+
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
6155
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
6156
|
+
operations: !item["operations"]
|
|
6157
|
+
? item["operations"]
|
|
6158
|
+
: operationStatusResultArrayDeserializer(item["operations"]),
|
|
6159
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
6160
|
+
resourceId: item["resourceId"],
|
|
6161
|
+
};
|
|
6162
|
+
}
|
|
6163
|
+
export function operationStatusResultArrayDeserializer(result) {
|
|
6164
|
+
return result.map((item) => {
|
|
6165
|
+
return operationStatusResultDeserializer(item);
|
|
6166
|
+
});
|
|
6167
|
+
}
|
|
6168
|
+
export function _operationStatusResultListDeserializer(item) {
|
|
6169
|
+
return {
|
|
6170
|
+
value: operationStatusResultArrayDeserializer(item["value"]),
|
|
6171
|
+
nextLink: item["nextLink"],
|
|
6172
|
+
};
|
|
6173
|
+
}
|
|
4442
6174
|
export function privateLinkResourcesListResultDeserializer(item) {
|
|
4443
6175
|
return {
|
|
4444
6176
|
value: !item["value"] ? item["value"] : privateLinkResourceArrayDeserializer(item["value"]),
|
|
@@ -4496,6 +6228,200 @@ export function trustedAccessRoleRuleDeserializer(item) {
|
|
|
4496
6228
|
}),
|
|
4497
6229
|
};
|
|
4498
6230
|
}
|
|
6231
|
+
export function _nodeImageVersionsListResultDeserializer(item) {
|
|
6232
|
+
return {
|
|
6233
|
+
value: nodeImageVersionArrayDeserializer(item["value"]),
|
|
6234
|
+
nextLink: item["nextLink"],
|
|
6235
|
+
};
|
|
6236
|
+
}
|
|
6237
|
+
export function nodeImageVersionArrayDeserializer(result) {
|
|
6238
|
+
return result.map((item) => {
|
|
6239
|
+
return nodeImageVersionDeserializer(item);
|
|
6240
|
+
});
|
|
6241
|
+
}
|
|
6242
|
+
export function nodeImageVersionDeserializer(item) {
|
|
6243
|
+
return {
|
|
6244
|
+
os: item["os"],
|
|
6245
|
+
sku: item["sku"],
|
|
6246
|
+
version: item["version"],
|
|
6247
|
+
fullName: item["fullName"],
|
|
6248
|
+
};
|
|
6249
|
+
}
|
|
6250
|
+
export function _vmSkusListResultDeserializer(item) {
|
|
6251
|
+
return {
|
|
6252
|
+
value: resourceSkuArrayDeserializer(item["value"]),
|
|
6253
|
+
nextLink: item["nextLink"],
|
|
6254
|
+
};
|
|
6255
|
+
}
|
|
6256
|
+
export function resourceSkuArrayDeserializer(result) {
|
|
6257
|
+
return result.map((item) => {
|
|
6258
|
+
return resourceSkuDeserializer(item);
|
|
6259
|
+
});
|
|
6260
|
+
}
|
|
6261
|
+
export function resourceSkuDeserializer(item) {
|
|
6262
|
+
return {
|
|
6263
|
+
resourceType: item["resourceType"],
|
|
6264
|
+
name: item["name"],
|
|
6265
|
+
tier: item["tier"],
|
|
6266
|
+
size: item["size"],
|
|
6267
|
+
family: item["family"],
|
|
6268
|
+
kind: item["kind"],
|
|
6269
|
+
capacity: !item["capacity"]
|
|
6270
|
+
? item["capacity"]
|
|
6271
|
+
: resourceSkuCapacityDeserializer(item["capacity"]),
|
|
6272
|
+
locations: !item["locations"]
|
|
6273
|
+
? item["locations"]
|
|
6274
|
+
: item["locations"].map((p) => {
|
|
6275
|
+
return p;
|
|
6276
|
+
}),
|
|
6277
|
+
locationInfo: !item["locationInfo"]
|
|
6278
|
+
? item["locationInfo"]
|
|
6279
|
+
: resourceSkuLocationInfoArrayDeserializer(item["locationInfo"]),
|
|
6280
|
+
apiVersions: !item["apiVersions"]
|
|
6281
|
+
? item["apiVersions"]
|
|
6282
|
+
: item["apiVersions"].map((p) => {
|
|
6283
|
+
return p;
|
|
6284
|
+
}),
|
|
6285
|
+
costs: !item["costs"] ? item["costs"] : resourceSkuCostsArrayDeserializer(item["costs"]),
|
|
6286
|
+
capabilities: !item["capabilities"]
|
|
6287
|
+
? item["capabilities"]
|
|
6288
|
+
: resourceSkuCapabilitiesArrayDeserializer(item["capabilities"]),
|
|
6289
|
+
restrictions: !item["restrictions"]
|
|
6290
|
+
? item["restrictions"]
|
|
6291
|
+
: resourceSkuRestrictionsArrayDeserializer(item["restrictions"]),
|
|
6292
|
+
};
|
|
6293
|
+
}
|
|
6294
|
+
export function resourceSkuCapacityDeserializer(item) {
|
|
6295
|
+
return {
|
|
6296
|
+
minimum: item["minimum"],
|
|
6297
|
+
maximum: item["maximum"],
|
|
6298
|
+
default: item["default"],
|
|
6299
|
+
scaleType: item["scaleType"],
|
|
6300
|
+
};
|
|
6301
|
+
}
|
|
6302
|
+
/** The scale type applicable to the sku. */
|
|
6303
|
+
export var KnownResourceSkuCapacityScaleType;
|
|
6304
|
+
(function (KnownResourceSkuCapacityScaleType) {
|
|
6305
|
+
/** Automatic scaling */
|
|
6306
|
+
KnownResourceSkuCapacityScaleType["Automatic"] = "Automatic";
|
|
6307
|
+
/** Manual scaling */
|
|
6308
|
+
KnownResourceSkuCapacityScaleType["Manual"] = "Manual";
|
|
6309
|
+
/** No scaling */
|
|
6310
|
+
KnownResourceSkuCapacityScaleType["None"] = "None";
|
|
6311
|
+
})(KnownResourceSkuCapacityScaleType || (KnownResourceSkuCapacityScaleType = {}));
|
|
6312
|
+
export function resourceSkuLocationInfoArrayDeserializer(result) {
|
|
6313
|
+
return result.map((item) => {
|
|
6314
|
+
return resourceSkuLocationInfoDeserializer(item);
|
|
6315
|
+
});
|
|
6316
|
+
}
|
|
6317
|
+
export function resourceSkuLocationInfoDeserializer(item) {
|
|
6318
|
+
return {
|
|
6319
|
+
location: item["location"],
|
|
6320
|
+
zones: !item["zones"]
|
|
6321
|
+
? item["zones"]
|
|
6322
|
+
: item["zones"].map((p) => {
|
|
6323
|
+
return p;
|
|
6324
|
+
}),
|
|
6325
|
+
zoneDetails: !item["zoneDetails"]
|
|
6326
|
+
? item["zoneDetails"]
|
|
6327
|
+
: resourceSkuZoneDetailsArrayDeserializer(item["zoneDetails"]),
|
|
6328
|
+
extendedLocations: !item["extendedLocations"]
|
|
6329
|
+
? item["extendedLocations"]
|
|
6330
|
+
: item["extendedLocations"].map((p) => {
|
|
6331
|
+
return p;
|
|
6332
|
+
}),
|
|
6333
|
+
type: item["type"],
|
|
6334
|
+
};
|
|
6335
|
+
}
|
|
6336
|
+
export function resourceSkuZoneDetailsArrayDeserializer(result) {
|
|
6337
|
+
return result.map((item) => {
|
|
6338
|
+
return resourceSkuZoneDetailsDeserializer(item);
|
|
6339
|
+
});
|
|
6340
|
+
}
|
|
6341
|
+
export function resourceSkuZoneDetailsDeserializer(item) {
|
|
6342
|
+
return {
|
|
6343
|
+
name: !item["name"]
|
|
6344
|
+
? item["name"]
|
|
6345
|
+
: item["name"].map((p) => {
|
|
6346
|
+
return p;
|
|
6347
|
+
}),
|
|
6348
|
+
capabilities: !item["capabilities"]
|
|
6349
|
+
? item["capabilities"]
|
|
6350
|
+
: resourceSkuCapabilitiesArrayDeserializer(item["capabilities"]),
|
|
6351
|
+
};
|
|
6352
|
+
}
|
|
6353
|
+
export function resourceSkuCapabilitiesArrayDeserializer(result) {
|
|
6354
|
+
return result.map((item) => {
|
|
6355
|
+
return resourceSkuCapabilitiesDeserializer(item);
|
|
6356
|
+
});
|
|
6357
|
+
}
|
|
6358
|
+
export function resourceSkuCapabilitiesDeserializer(item) {
|
|
6359
|
+
return {
|
|
6360
|
+
name: item["name"],
|
|
6361
|
+
value: item["value"],
|
|
6362
|
+
};
|
|
6363
|
+
}
|
|
6364
|
+
export function resourceSkuCostsArrayDeserializer(result) {
|
|
6365
|
+
return result.map((item) => {
|
|
6366
|
+
return resourceSkuCostsDeserializer(item);
|
|
6367
|
+
});
|
|
6368
|
+
}
|
|
6369
|
+
export function resourceSkuCostsDeserializer(item) {
|
|
6370
|
+
return {
|
|
6371
|
+
meterID: item["meterID"],
|
|
6372
|
+
quantity: item["quantity"],
|
|
6373
|
+
extendedUnit: item["extendedUnit"],
|
|
6374
|
+
};
|
|
6375
|
+
}
|
|
6376
|
+
export function resourceSkuRestrictionsArrayDeserializer(result) {
|
|
6377
|
+
return result.map((item) => {
|
|
6378
|
+
return resourceSkuRestrictionsDeserializer(item);
|
|
6379
|
+
});
|
|
6380
|
+
}
|
|
6381
|
+
export function resourceSkuRestrictionsDeserializer(item) {
|
|
6382
|
+
return {
|
|
6383
|
+
type: item["type"],
|
|
6384
|
+
values: !item["values"]
|
|
6385
|
+
? item["values"]
|
|
6386
|
+
: item["values"].map((p) => {
|
|
6387
|
+
return p;
|
|
6388
|
+
}),
|
|
6389
|
+
restrictionInfo: !item["restrictionInfo"]
|
|
6390
|
+
? item["restrictionInfo"]
|
|
6391
|
+
: resourceSkuRestrictionInfoDeserializer(item["restrictionInfo"]),
|
|
6392
|
+
reasonCode: item["reasonCode"],
|
|
6393
|
+
};
|
|
6394
|
+
}
|
|
6395
|
+
/** The type of restrictions. */
|
|
6396
|
+
export var KnownResourceSkuRestrictionsType;
|
|
6397
|
+
(function (KnownResourceSkuRestrictionsType) {
|
|
6398
|
+
/** Location restriction */
|
|
6399
|
+
KnownResourceSkuRestrictionsType["Location"] = "Location";
|
|
6400
|
+
/** Zone restriction */
|
|
6401
|
+
KnownResourceSkuRestrictionsType["Zone"] = "Zone";
|
|
6402
|
+
})(KnownResourceSkuRestrictionsType || (KnownResourceSkuRestrictionsType = {}));
|
|
6403
|
+
export function resourceSkuRestrictionInfoDeserializer(item) {
|
|
6404
|
+
return {
|
|
6405
|
+
locations: !item["locations"]
|
|
6406
|
+
? item["locations"]
|
|
6407
|
+
: item["locations"].map((p) => {
|
|
6408
|
+
return p;
|
|
6409
|
+
}),
|
|
6410
|
+
zones: !item["zones"]
|
|
6411
|
+
? item["zones"]
|
|
6412
|
+
: item["zones"].map((p) => {
|
|
6413
|
+
return p;
|
|
6414
|
+
}),
|
|
6415
|
+
};
|
|
6416
|
+
}
|
|
6417
|
+
/** The reason for restriction. */
|
|
6418
|
+
export var KnownResourceSkuRestrictionsReasonCode;
|
|
6419
|
+
(function (KnownResourceSkuRestrictionsReasonCode) {
|
|
6420
|
+
/** Quota ID restriction */
|
|
6421
|
+
KnownResourceSkuRestrictionsReasonCode["QuotaId"] = "QuotaId";
|
|
6422
|
+
/** Not available for subscription */
|
|
6423
|
+
KnownResourceSkuRestrictionsReasonCode["NotAvailableForSubscription"] = "NotAvailableForSubscription";
|
|
6424
|
+
})(KnownResourceSkuRestrictionsReasonCode || (KnownResourceSkuRestrictionsReasonCode = {}));
|
|
4499
6425
|
/** The format of the kubeconfig credential. */
|
|
4500
6426
|
export var KnownFormat;
|
|
4501
6427
|
(function (KnownFormat) {
|
|
@@ -4517,6 +6443,8 @@ export var KnownVersions;
|
|
|
4517
6443
|
KnownVersions["V20260301"] = "2026-03-01";
|
|
4518
6444
|
/** The 2026-04-01 API version. */
|
|
4519
6445
|
KnownVersions["V20260401"] = "2026-04-01";
|
|
6446
|
+
/** The 2026-04-02-preview API version. */
|
|
6447
|
+
KnownVersions["V20260402Preview"] = "2026-04-02-preview";
|
|
4520
6448
|
})(KnownVersions || (KnownVersions = {}));
|
|
4521
6449
|
export function _agentPoolPropertiesSerializer(item) {
|
|
4522
6450
|
return {
|
|
@@ -4541,9 +6469,14 @@ export function _agentPoolPropertiesSerializer(item) {
|
|
|
4541
6469
|
mode: item["mode"],
|
|
4542
6470
|
orchestratorVersion: item["orchestratorVersion"],
|
|
4543
6471
|
nodeImageVersion: item["nodeImageVersion"],
|
|
6472
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
6473
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
4544
6474
|
upgradeSettings: !item["upgradeSettings"]
|
|
4545
6475
|
? item["upgradeSettings"]
|
|
4546
6476
|
: agentPoolUpgradeSettingsSerializer(item["upgradeSettings"]),
|
|
6477
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
6478
|
+
? item["upgradeSettingsBlueGreen"]
|
|
6479
|
+
: agentPoolBlueGreenUpgradeSettingsSerializer(item["upgradeSettingsBlueGreen"]),
|
|
4547
6480
|
powerState: !item["powerState"] ? item["powerState"] : powerStateSerializer(item["powerState"]),
|
|
4548
6481
|
availabilityZones: !item["availabilityZones"]
|
|
4549
6482
|
? item["availabilityZones"]
|
|
@@ -4562,6 +6495,11 @@ export function _agentPoolPropertiesSerializer(item) {
|
|
|
4562
6495
|
: item["nodeTaints"].map((p) => {
|
|
4563
6496
|
return p;
|
|
4564
6497
|
}),
|
|
6498
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
6499
|
+
? item["nodeInitializationTaints"]
|
|
6500
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
6501
|
+
return p;
|
|
6502
|
+
}),
|
|
4565
6503
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
4566
6504
|
kubeletConfig: !item["kubeletConfig"]
|
|
4567
6505
|
? item["kubeletConfig"]
|
|
@@ -4604,6 +6542,9 @@ export function _agentPoolPropertiesSerializer(item) {
|
|
|
4604
6542
|
localDNSProfile: !item["localDNSProfile"]
|
|
4605
6543
|
? item["localDNSProfile"]
|
|
4606
6544
|
: localDNSProfileSerializer(item["localDNSProfile"]),
|
|
6545
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
6546
|
+
? item["preparedImageSpecificationProfile"]
|
|
6547
|
+
: preparedImageSpecificationProfileSerializer(item["preparedImageSpecificationProfile"]),
|
|
4607
6548
|
};
|
|
4608
6549
|
}
|
|
4609
6550
|
export function _agentPoolPropertiesDeserializer(item) {
|
|
@@ -4631,9 +6572,14 @@ export function _agentPoolPropertiesDeserializer(item) {
|
|
|
4631
6572
|
orchestratorVersion: item["orchestratorVersion"],
|
|
4632
6573
|
currentOrchestratorVersion: item["currentOrchestratorVersion"],
|
|
4633
6574
|
nodeImageVersion: item["nodeImageVersion"],
|
|
6575
|
+
upgradeStrategy: item["upgradeStrategy"],
|
|
6576
|
+
enableOSDiskFullCaching: item["enableOSDiskFullCaching"],
|
|
4634
6577
|
upgradeSettings: !item["upgradeSettings"]
|
|
4635
6578
|
? item["upgradeSettings"]
|
|
4636
6579
|
: agentPoolUpgradeSettingsDeserializer(item["upgradeSettings"]),
|
|
6580
|
+
upgradeSettingsBlueGreen: !item["upgradeSettingsBlueGreen"]
|
|
6581
|
+
? item["upgradeSettingsBlueGreen"]
|
|
6582
|
+
: agentPoolBlueGreenUpgradeSettingsDeserializer(item["upgradeSettingsBlueGreen"]),
|
|
4637
6583
|
provisioningState: item["provisioningState"],
|
|
4638
6584
|
powerState: !item["powerState"]
|
|
4639
6585
|
? item["powerState"]
|
|
@@ -4659,6 +6605,11 @@ export function _agentPoolPropertiesDeserializer(item) {
|
|
|
4659
6605
|
: item["nodeTaints"].map((p) => {
|
|
4660
6606
|
return p;
|
|
4661
6607
|
}),
|
|
6608
|
+
nodeInitializationTaints: !item["nodeInitializationTaints"]
|
|
6609
|
+
? item["nodeInitializationTaints"]
|
|
6610
|
+
: item["nodeInitializationTaints"].map((p) => {
|
|
6611
|
+
return p;
|
|
6612
|
+
}),
|
|
4662
6613
|
proximityPlacementGroupID: item["proximityPlacementGroupID"],
|
|
4663
6614
|
kubeletConfig: !item["kubeletConfig"]
|
|
4664
6615
|
? item["kubeletConfig"]
|
|
@@ -4703,6 +6654,9 @@ export function _agentPoolPropertiesDeserializer(item) {
|
|
|
4703
6654
|
localDNSProfile: !item["localDNSProfile"]
|
|
4704
6655
|
? item["localDNSProfile"]
|
|
4705
6656
|
: localDNSProfileDeserializer(item["localDNSProfile"]),
|
|
6657
|
+
preparedImageSpecificationProfile: !item["preparedImageSpecificationProfile"]
|
|
6658
|
+
? item["preparedImageSpecificationProfile"]
|
|
6659
|
+
: preparedImageSpecificationProfileDeserializer(item["preparedImageSpecificationProfile"]),
|
|
4706
6660
|
};
|
|
4707
6661
|
}
|
|
4708
6662
|
export function _agentPoolAvailableVersionsPropertiesDeserializer(item) {
|
|
@@ -4719,6 +6673,9 @@ export function _agentPoolUpgradeProfilePropertiesDeserializer(item) {
|
|
|
4719
6673
|
upgrades: !item["upgrades"]
|
|
4720
6674
|
? item["upgrades"]
|
|
4721
6675
|
: agentPoolUpgradeProfilePropertiesUpgradesItemArrayDeserializer(item["upgrades"]),
|
|
6676
|
+
componentsByReleases: !item["componentsByReleases"]
|
|
6677
|
+
? item["componentsByReleases"]
|
|
6678
|
+
: componentsByReleaseArrayDeserializer(item["componentsByReleases"]),
|
|
4722
6679
|
recentlyUsedVersions: !item["recentlyUsedVersions"]
|
|
4723
6680
|
? item["recentlyUsedVersions"]
|
|
4724
6681
|
: agentPoolRecentlyUsedVersionArrayDeserializer(item["recentlyUsedVersions"]),
|
|
@@ -4727,6 +6684,9 @@ export function _agentPoolUpgradeProfilePropertiesDeserializer(item) {
|
|
|
4727
6684
|
}
|
|
4728
6685
|
export function _managedClusterPropertiesSerializer(item) {
|
|
4729
6686
|
return {
|
|
6687
|
+
creationData: !item["creationData"]
|
|
6688
|
+
? item["creationData"]
|
|
6689
|
+
: creationDataSerializer(item["creationData"]),
|
|
4730
6690
|
kubernetesVersion: item["kubernetesVersion"],
|
|
4731
6691
|
dnsPrefix: item["dnsPrefix"],
|
|
4732
6692
|
fqdnSubdomain: item["fqdnSubdomain"],
|
|
@@ -4757,6 +6717,8 @@ export function _managedClusterPropertiesSerializer(item) {
|
|
|
4757
6717
|
: managedClusterNodeResourceGroupProfileSerializer(item["nodeResourceGroupProfile"]),
|
|
4758
6718
|
enableRBAC: item["enableRbac"],
|
|
4759
6719
|
supportPlan: item["supportPlan"],
|
|
6720
|
+
enableFIPS: item["enableFips"],
|
|
6721
|
+
enableNamespaceResources: item["enableNamespaceResources"],
|
|
4760
6722
|
networkProfile: !item["networkProfile"]
|
|
4761
6723
|
? item["networkProfile"]
|
|
4762
6724
|
: containerServiceNetworkProfileSerializer(item["networkProfile"]),
|
|
@@ -4817,9 +6779,21 @@ export function _managedClusterPropertiesSerializer(item) {
|
|
|
4817
6779
|
aiToolchainOperatorProfile: !item["aiToolchainOperatorProfile"]
|
|
4818
6780
|
? item["aiToolchainOperatorProfile"]
|
|
4819
6781
|
: managedClusterAIToolchainOperatorProfileSerializer(item["aiToolchainOperatorProfile"]),
|
|
6782
|
+
schedulerProfile: !item["schedulerProfile"]
|
|
6783
|
+
? item["schedulerProfile"]
|
|
6784
|
+
: schedulerProfileSerializer(item["schedulerProfile"]),
|
|
4820
6785
|
hostedSystemProfile: !item["hostedSystemProfile"]
|
|
4821
6786
|
? item["hostedSystemProfile"]
|
|
4822
6787
|
: managedClusterHostedSystemProfileSerializer(item["hostedSystemProfile"]),
|
|
6788
|
+
healthMonitorProfile: !item["healthMonitorProfile"]
|
|
6789
|
+
? item["healthMonitorProfile"]
|
|
6790
|
+
: managedClusterHealthMonitorProfileSerializer(item["healthMonitorProfile"]),
|
|
6791
|
+
controlPlaneScalingProfile: !item["controlPlaneScalingProfile"]
|
|
6792
|
+
? item["controlPlaneScalingProfile"]
|
|
6793
|
+
: managedClusterControlPlaneScalingProfileSerializer(item["controlPlaneScalingProfile"]),
|
|
6794
|
+
nodeDisruptionProfile: !item["nodeDisruptionProfile"]
|
|
6795
|
+
? item["nodeDisruptionProfile"]
|
|
6796
|
+
: nodeDisruptionProfileSerializer(item["nodeDisruptionProfile"]),
|
|
4823
6797
|
status: !item["status"] ? item["status"] : managedClusterStatusSerializer(item["status"]),
|
|
4824
6798
|
};
|
|
4825
6799
|
}
|
|
@@ -4829,6 +6803,9 @@ export function _managedClusterPropertiesDeserializer(item) {
|
|
|
4829
6803
|
powerState: !item["powerState"]
|
|
4830
6804
|
? item["powerState"]
|
|
4831
6805
|
: powerStateDeserializer(item["powerState"]),
|
|
6806
|
+
creationData: !item["creationData"]
|
|
6807
|
+
? item["creationData"]
|
|
6808
|
+
: creationDataDeserializer(item["creationData"]),
|
|
4832
6809
|
maxAgentPools: item["maxAgentPools"],
|
|
4833
6810
|
kubernetesVersion: item["kubernetesVersion"],
|
|
4834
6811
|
currentKubernetesVersion: item["currentKubernetesVersion"],
|
|
@@ -4864,6 +6841,8 @@ export function _managedClusterPropertiesDeserializer(item) {
|
|
|
4864
6841
|
: managedClusterNodeResourceGroupProfileDeserializer(item["nodeResourceGroupProfile"]),
|
|
4865
6842
|
enableRbac: item["enableRBAC"],
|
|
4866
6843
|
supportPlan: item["supportPlan"],
|
|
6844
|
+
enableFips: item["enableFIPS"],
|
|
6845
|
+
enableNamespaceResources: item["enableNamespaceResources"],
|
|
4867
6846
|
networkProfile: !item["networkProfile"]
|
|
4868
6847
|
? item["networkProfile"]
|
|
4869
6848
|
: containerServiceNetworkProfileDeserializer(item["networkProfile"]),
|
|
@@ -4925,9 +6904,21 @@ export function _managedClusterPropertiesDeserializer(item) {
|
|
|
4925
6904
|
aiToolchainOperatorProfile: !item["aiToolchainOperatorProfile"]
|
|
4926
6905
|
? item["aiToolchainOperatorProfile"]
|
|
4927
6906
|
: managedClusterAIToolchainOperatorProfileDeserializer(item["aiToolchainOperatorProfile"]),
|
|
6907
|
+
schedulerProfile: !item["schedulerProfile"]
|
|
6908
|
+
? item["schedulerProfile"]
|
|
6909
|
+
: schedulerProfileDeserializer(item["schedulerProfile"]),
|
|
4928
6910
|
hostedSystemProfile: !item["hostedSystemProfile"]
|
|
4929
6911
|
? item["hostedSystemProfile"]
|
|
4930
6912
|
: managedClusterHostedSystemProfileDeserializer(item["hostedSystemProfile"]),
|
|
6913
|
+
healthMonitorProfile: !item["healthMonitorProfile"]
|
|
6914
|
+
? item["healthMonitorProfile"]
|
|
6915
|
+
: managedClusterHealthMonitorProfileDeserializer(item["healthMonitorProfile"]),
|
|
6916
|
+
controlPlaneScalingProfile: !item["controlPlaneScalingProfile"]
|
|
6917
|
+
? item["controlPlaneScalingProfile"]
|
|
6918
|
+
: managedClusterControlPlaneScalingProfileDeserializer(item["controlPlaneScalingProfile"]),
|
|
6919
|
+
nodeDisruptionProfile: !item["nodeDisruptionProfile"]
|
|
6920
|
+
? item["nodeDisruptionProfile"]
|
|
6921
|
+
: nodeDisruptionProfileDeserializer(item["nodeDisruptionProfile"]),
|
|
4931
6922
|
status: !item["status"] ? item["status"] : managedClusterStatusDeserializer(item["status"]),
|
|
4932
6923
|
};
|
|
4933
6924
|
}
|
|
@@ -5025,6 +7016,25 @@ export function _snapshotPropertiesDeserializer(item) {
|
|
|
5025
7016
|
enableFips: item["enableFIPS"],
|
|
5026
7017
|
};
|
|
5027
7018
|
}
|
|
7019
|
+
export function _managedClusterSnapshotPropertiesSerializer(item) {
|
|
7020
|
+
return {
|
|
7021
|
+
creationData: !item["creationData"]
|
|
7022
|
+
? item["creationData"]
|
|
7023
|
+
: creationDataSerializer(item["creationData"]),
|
|
7024
|
+
snapshotType: item["snapshotType"],
|
|
7025
|
+
};
|
|
7026
|
+
}
|
|
7027
|
+
export function _managedClusterSnapshotPropertiesDeserializer(item) {
|
|
7028
|
+
return {
|
|
7029
|
+
creationData: !item["creationData"]
|
|
7030
|
+
? item["creationData"]
|
|
7031
|
+
: creationDataDeserializer(item["creationData"]),
|
|
7032
|
+
snapshotType: item["snapshotType"],
|
|
7033
|
+
managedClusterPropertiesReadOnly: !item["managedClusterPropertiesReadOnly"]
|
|
7034
|
+
? item["managedClusterPropertiesReadOnly"]
|
|
7035
|
+
: managedClusterPropertiesForSnapshotDeserializer(item["managedClusterPropertiesReadOnly"]),
|
|
7036
|
+
};
|
|
7037
|
+
}
|
|
5028
7038
|
export function _trustedAccessRoleBindingPropertiesSerializer(item) {
|
|
5029
7039
|
return {
|
|
5030
7040
|
sourceResourceId: item["sourceResourceId"],
|
|
@@ -5042,6 +7052,37 @@ export function _trustedAccessRoleBindingPropertiesDeserializer(item) {
|
|
|
5042
7052
|
}),
|
|
5043
7053
|
};
|
|
5044
7054
|
}
|
|
7055
|
+
export function _loadBalancerPropertiesSerializer(item) {
|
|
7056
|
+
return {
|
|
7057
|
+
primaryAgentPoolName: item["primaryAgentPoolName"],
|
|
7058
|
+
allowServicePlacement: item["allowServicePlacement"],
|
|
7059
|
+
serviceLabelSelector: !item["serviceLabelSelector"]
|
|
7060
|
+
? item["serviceLabelSelector"]
|
|
7061
|
+
: labelSelectorSerializer(item["serviceLabelSelector"]),
|
|
7062
|
+
serviceNamespaceSelector: !item["serviceNamespaceSelector"]
|
|
7063
|
+
? item["serviceNamespaceSelector"]
|
|
7064
|
+
: labelSelectorSerializer(item["serviceNamespaceSelector"]),
|
|
7065
|
+
nodeSelector: !item["nodeSelector"]
|
|
7066
|
+
? item["nodeSelector"]
|
|
7067
|
+
: labelSelectorSerializer(item["nodeSelector"]),
|
|
7068
|
+
};
|
|
7069
|
+
}
|
|
7070
|
+
export function _loadBalancerPropertiesDeserializer(item) {
|
|
7071
|
+
return {
|
|
7072
|
+
primaryAgentPoolName: item["primaryAgentPoolName"],
|
|
7073
|
+
allowServicePlacement: item["allowServicePlacement"],
|
|
7074
|
+
serviceLabelSelector: !item["serviceLabelSelector"]
|
|
7075
|
+
? item["serviceLabelSelector"]
|
|
7076
|
+
: labelSelectorDeserializer(item["serviceLabelSelector"]),
|
|
7077
|
+
serviceNamespaceSelector: !item["serviceNamespaceSelector"]
|
|
7078
|
+
? item["serviceNamespaceSelector"]
|
|
7079
|
+
: labelSelectorDeserializer(item["serviceNamespaceSelector"]),
|
|
7080
|
+
nodeSelector: !item["nodeSelector"]
|
|
7081
|
+
? item["nodeSelector"]
|
|
7082
|
+
: labelSelectorDeserializer(item["nodeSelector"]),
|
|
7083
|
+
provisioningState: item["provisioningState"],
|
|
7084
|
+
};
|
|
7085
|
+
}
|
|
5045
7086
|
export function _operationValueDisplayDeserializer(item) {
|
|
5046
7087
|
return {
|
|
5047
7088
|
operation: item["operation"],
|