UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

363 lines (362 loc) • 13.5 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * SQL Assessment REST resource. * * Uses Azure REST API version 2024-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-03-15. * * Other available API versions: 2023-03-15, 2023-04-01-preview, 2023-05-01-preview, 2023-09-09-preview, 2024-01-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native migrate [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class SqlAssessmentV2Operation extends pulumi.CustomResource { /** * Get an existing SqlAssessmentV2Operation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SqlAssessmentV2Operation; /** * Returns true if the given object is an instance of SqlAssessmentV2Operation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SqlAssessmentV2Operation; /** * Assessment type of the assessment. */ readonly assessmentType: pulumi.Output<string | undefined>; /** * Gets or sets user preference indicating intent of async commit mode. */ readonly asyncCommitModeIntent: pulumi.Output<string | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Azure Location or Azure region where to which the machines will be migrated. */ readonly azureLocation: pulumi.Output<string | undefined>; /** * Azure Offer Code. */ readonly azureOfferCode: pulumi.Output<string | undefined>; /** * Gets or sets Azure Offer Code for VM. */ readonly azureOfferCodeForVm: pulumi.Output<string | undefined>; /** * Gets or sets a value indicating azure security offering type. */ readonly azureSecurityOfferingType: pulumi.Output<string | undefined>; /** * Gets or sets user configurable SQL database settings. */ readonly azureSqlDatabaseSettings: pulumi.Output<outputs.migrate.SqlDbSettingsResponse | undefined>; /** * Gets or sets user configurable SQL managed instance settings. */ readonly azureSqlManagedInstanceSettings: pulumi.Output<outputs.migrate.SqlMiSettingsResponse | undefined>; /** * Gets or sets user configurable SQL VM settings. */ readonly azureSqlVmSettings: pulumi.Output<outputs.migrate.SqlVmSettingsResponse | undefined>; /** * Confidence Rating in Percentage. */ readonly confidenceRatingInPercentage: pulumi.Output<number | undefined>; /** * Date and Time when assessment was created. */ readonly createdTimestamp: pulumi.Output<string>; /** * Currency in which prices should be reported. */ readonly currency: pulumi.Output<string | undefined>; /** * Gets or sets the Azure Location or Azure region where to which the machines * will be migrated. */ readonly disasterRecoveryLocation: pulumi.Output<string | undefined>; /** * Custom discount percentage. */ readonly discountPercentage: pulumi.Output<number | undefined>; /** * Gets or sets the Enterprise agreement subscription id. */ readonly eaSubscriptionId: pulumi.Output<string | undefined>; /** * Gets or sets a value indicating whether HADR assessments needs to be created. */ readonly enableHadrAssessment: pulumi.Output<boolean | undefined>; /** * Gets or sets the duration for which the entity (SQL, VMs) are up in the * on-premises environment. */ readonly entityUptime: pulumi.Output<outputs.migrate.EntityUptimeResponse | undefined>; /** * Gets or sets user configurable setting to display the environment type. */ readonly environmentType: pulumi.Output<string | undefined>; /** * Gets the group type for the assessment. */ readonly groupType: pulumi.Output<string | undefined>; /** * Gets or sets a value indicating whether internet access is available. */ readonly isInternetAccessAvailable: pulumi.Output<boolean | undefined>; /** * Gets or sets user preference indicating intent of multi-subnet configuration. */ readonly multiSubnetIntent: pulumi.Output<string | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Gets or sets SQL optimization logic. */ readonly optimizationLogic: pulumi.Output<string | undefined>; /** * Gets or sets user configurable setting to display the azure hybrid use benefit. */ readonly osLicense: pulumi.Output<string | undefined>; /** * Percentile of the utilization data values to be considered while assessing * machines. */ readonly percentile: pulumi.Output<string | undefined>; /** * Gets or sets the end time to consider performance data for assessment. */ readonly perfDataEndTime: pulumi.Output<string | undefined>; /** * Gets or sets the start time to consider performance data for assessment. */ readonly perfDataStartTime: pulumi.Output<string | undefined>; /** * Last time when rates were queried. */ readonly pricesTimestamp: pulumi.Output<string>; /** * The status of the last operation. */ readonly provisioningState: pulumi.Output<string | undefined>; /** * Reserved instance. */ readonly reservedInstance: pulumi.Output<string | undefined>; /** * Gets or sets azure reserved instance for VM. */ readonly reservedInstanceForVm: pulumi.Output<string | undefined>; /** * Percentage of buffer that user wants on performance metrics when recommending * Azure sizes. */ readonly scalingFactor: pulumi.Output<number | undefined>; /** * Schema version. */ readonly schemaVersion: pulumi.Output<string>; /** * Assessment sizing criterion. */ readonly sizingCriterion: pulumi.Output<string | undefined>; /** * SQL server license. */ readonly sqlServerLicense: pulumi.Output<string | undefined>; /** * User configurable setting to display the Stage of Assessment. */ readonly stage: pulumi.Output<string>; /** * Whether assessment is in valid state and all machines have been assessed. */ readonly status: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.migrate.SystemDataResponse>; /** * Time Range for which the historic utilization data should be considered for * assessment. */ readonly timeRange: pulumi.Output<string | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Date and Time when assessment was last updated. */ readonly updatedTimestamp: pulumi.Output<string>; /** * Create a SqlAssessmentV2Operation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SqlAssessmentV2OperationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SqlAssessmentV2Operation resource. */ export interface SqlAssessmentV2OperationArgs { /** * SQL Assessment arm name. */ assessmentName?: pulumi.Input<string>; /** * Assessment type of the assessment. */ assessmentType?: pulumi.Input<string | enums.migrate.AssessmentType>; /** * Gets or sets user preference indicating intent of async commit mode. */ asyncCommitModeIntent?: pulumi.Input<string | enums.migrate.AsyncCommitModeIntent>; /** * Azure Location or Azure region where to which the machines will be migrated. */ azureLocation?: pulumi.Input<string>; /** * Azure Offer Code. */ azureOfferCode?: pulumi.Input<string | enums.migrate.AzureOfferCode>; /** * Gets or sets Azure Offer Code for VM. */ azureOfferCodeForVm?: pulumi.Input<string | enums.migrate.AzureOfferCode>; /** * Gets or sets a value indicating azure security offering type. */ azureSecurityOfferingType?: pulumi.Input<string | enums.migrate.AzureSecurityOfferingType>; /** * Gets or sets user configurable SQL database settings. */ azureSqlDatabaseSettings?: pulumi.Input<inputs.migrate.SqlDbSettingsArgs>; /** * Gets or sets user configurable SQL managed instance settings. */ azureSqlManagedInstanceSettings?: pulumi.Input<inputs.migrate.SqlMiSettingsArgs>; /** * Gets or sets user configurable SQL VM settings. */ azureSqlVmSettings?: pulumi.Input<inputs.migrate.SqlVmSettingsArgs>; /** * Confidence Rating in Percentage. */ confidenceRatingInPercentage?: pulumi.Input<number>; /** * Currency in which prices should be reported. */ currency?: pulumi.Input<string | enums.migrate.AzureCurrency>; /** * Gets or sets the Azure Location or Azure region where to which the machines * will be migrated. */ disasterRecoveryLocation?: pulumi.Input<string | enums.migrate.AzureLocation>; /** * Custom discount percentage. */ discountPercentage?: pulumi.Input<number>; /** * Gets or sets the Enterprise agreement subscription id. */ eaSubscriptionId?: pulumi.Input<string>; /** * Gets or sets a value indicating whether HADR assessments needs to be created. */ enableHadrAssessment?: pulumi.Input<boolean>; /** * Gets or sets the duration for which the entity (SQL, VMs) are up in the * on-premises environment. */ entityUptime?: pulumi.Input<inputs.migrate.EntityUptimeArgs>; /** * Gets or sets user configurable setting to display the environment type. */ environmentType?: pulumi.Input<string | enums.migrate.EnvironmentType>; /** * Group ARM name */ groupName: pulumi.Input<string>; /** * Gets the group type for the assessment. */ groupType?: pulumi.Input<string | enums.migrate.GroupType>; /** * Gets or sets a value indicating whether internet access is available. */ isInternetAccessAvailable?: pulumi.Input<boolean>; /** * Gets or sets user preference indicating intent of multi-subnet configuration. */ multiSubnetIntent?: pulumi.Input<string | enums.migrate.MultiSubnetIntent>; /** * Gets or sets SQL optimization logic. */ optimizationLogic?: pulumi.Input<string | enums.migrate.OptimizationLogic>; /** * Gets or sets user configurable setting to display the azure hybrid use benefit. */ osLicense?: pulumi.Input<string | enums.migrate.OsLicense>; /** * Percentile of the utilization data values to be considered while assessing * machines. */ percentile?: pulumi.Input<string | enums.migrate.Percentile>; /** * Gets or sets the end time to consider performance data for assessment. */ perfDataEndTime?: pulumi.Input<string>; /** * Gets or sets the start time to consider performance data for assessment. */ perfDataStartTime?: pulumi.Input<string>; /** * Assessment Project Name */ projectName: pulumi.Input<string>; /** * The status of the last operation. */ provisioningState?: pulumi.Input<string | enums.migrate.ProvisioningState>; /** * Reserved instance. */ reservedInstance?: pulumi.Input<string | enums.migrate.AzureReservedInstance>; /** * Gets or sets azure reserved instance for VM. */ reservedInstanceForVm?: pulumi.Input<string | enums.migrate.AzureReservedInstance>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Percentage of buffer that user wants on performance metrics when recommending * Azure sizes. */ scalingFactor?: pulumi.Input<number>; /** * Assessment sizing criterion. */ sizingCriterion?: pulumi.Input<string | enums.migrate.AssessmentSizingCriterion>; /** * SQL server license. */ sqlServerLicense?: pulumi.Input<string | enums.migrate.SqlServerLicense>; /** * Time Range for which the historic utilization data should be considered for * assessment. */ timeRange?: pulumi.Input<string | enums.migrate.TimeRange>; }