diff --git a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx index 664ae01c7..391789938 100644 --- a/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx +++ b/src/Explorer/Controls/Settings/SettingsSubComponents/ThroughputInputComponents/ThroughputInputAutoPilotV3Component.tsx @@ -17,14 +17,13 @@ import { } from "@fluentui/react"; import React from "react"; import * as DataModels from "../../../../../Contracts/DataModels"; -import { SubscriptionType } from "../../../../../Contracts/SubscriptionType"; import * as SharedConstants from "../../../../../Shared/Constants"; import { Action, ActionModifiers } from "../../../../../Shared/Telemetry/TelemetryConstants"; import * as TelemetryProcessor from "../../../../../Shared/Telemetry/TelemetryProcessor"; import { userContext } from "../../../../../UserContext"; import * as AutoPilotUtils from "../../../../../Utils/AutoPilotUtils"; import { autoPilotThroughput1K } from "../../../../../Utils/AutoPilotUtils"; -import { calculateEstimateNumber, usageInGB } from "../../../../../Utils/PricingUtils"; +import { calculateEstimateNumber } from "../../../../../Utils/PricingUtils"; import { Int32 } from "../../../../Panes/Tables/Validators/EntityPropertyValidationCommon"; import { PriceBreakdown, @@ -366,29 +365,6 @@ export class ThroughputInputAutoPilotV3Component extends React.Component< }); }; - private minRUperGBSurvey = (): JSX.Element => { - const href = `https://ncv.microsoft.com/vRBTO37jmO?ctx={"AzureSubscriptionId":"${userContext.subscriptionId}","CosmosDBAccountName":"${userContext.databaseAccount?.name}"}`; - const oneTBinKB = 1000000000; - const minRUperGB = 10; - const featureFlagEnabled = userContext.features.showMinRUSurvey; - const collectionIsEligible = - userContext.subscriptionType !== SubscriptionType.Internal && - this.props.usageSizeInKB > oneTBinKB && - this.props.minimum >= usageInGB(this.props.usageSizeInKB) * minRUperGB; - if (featureFlagEnabled || collectionIsEligible) { - return ( - - Need to scale below {this.props.minimum} RU/s? Reach out by filling{" "} - - this questionnaire - - . - - ); - } - return undefined; - }; - private renderThroughputModeChoices = (): JSX.Element => { const labelId = "settingsV2RadioButtonLabelId"; return ( @@ -661,7 +637,6 @@ export class ThroughputInputAutoPilotV3Component extends React.Component< )} - {this.minRUperGBSurvey()} {this.props.spendAckVisible && (