AvsAssessmentsOperationArgs

data class AvsAssessmentsOperationArgs(val assessmentName: Output<String>? = null, val avsAssessmentScenario: Output<Either<String, AvsAssessmentScenario>>? = null, val azureLocation: Output<Either<String, AzureLocation>>? = null, val azureOfferCode: Output<Either<String, AzureOfferCode>>? = null, val cpuHeadroom: Output<Double>? = null, val currency: Output<Either<String, AzureCurrency>>? = null, val dedupeCompression: Output<Double>? = null, val discountPercentage: Output<Double>? = null, val externalStorageTypes: Output<List<Either<String, ExternalStorageType>>>? = null, val failuresToTolerateAndRaidLevel: Output<Either<String, FttAndRaidLevel>>? = null, val failuresToTolerateAndRaidLevelList: Output<List<Either<String, FttAndRaidLevel>>>? = null, val groupName: Output<String>? = null, val isStretchClusterEnabled: Output<Boolean>? = null, val isVcfByolEnabled: Output<Boolean>? = null, val memOvercommit: Output<Double>? = null, val nodeType: Output<Either<String, AzureAvsNodeType>>? = null, val nodeTypes: Output<List<Either<String, AzureAvsNodeType>>>? = null, val percentile: Output<Either<String, Percentile>>? = null, val perfDataEndTime: Output<String>? = null, val perfDataStartTime: Output<String>? = null, val projectName: Output<String>? = null, val provisioningState: Output<Either<String, ProvisioningState>>? = null, val reservedInstance: Output<Either<String, AzureReservedInstance>>? = null, val resourceGroupName: Output<String>? = null, val scalingFactor: Output<Double>? = null, val sizingCriterion: Output<Either<String, AssessmentSizingCriterion>>? = null, val timeRange: Output<Either<String, TimeRange>>? = null, val vcpuOversubscription: Output<Double>? = null) : ConvertibleToJava<AvsAssessmentsOperationArgs>

AVS assessment 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. 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/#accessing-any-api-version-via-local-packages for details.

Example Usage

AvsAssessmentsOperations_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var avsAssessmentsOperation = new AzureNative.Migrate.AvsAssessmentsOperation("avsAssessmentsOperation", new()
{
AssessmentName = "asm2",
AvsAssessmentScenario = AzureNative.Migrate.AvsAssessmentScenario.NewAvsSddc,
AzureLocation = AzureNative.Migrate.AzureLocation.EastUs,
AzureOfferCode = AzureNative.Migrate.AzureOfferCode.Msazr0003P,
CpuHeadroom = 12,
Currency = AzureNative.Migrate.AzureCurrency.USD,
DedupeCompression = 1.5,
DiscountPercentage = 0,
ExternalStorageTypes = new[]
{
AzureNative.Migrate.ExternalStorageType.AnfStandard,
AzureNative.Migrate.ExternalStorageType.AnfPremium,
AzureNative.Migrate.ExternalStorageType.AnfUltra,
},
FailuresToTolerateAndRaidLevel = AzureNative.Migrate.FttAndRaidLevel.Unknown,
FailuresToTolerateAndRaidLevelList = new[]
{
AzureNative.Migrate.FttAndRaidLevel.Ftt1Raid1,
AzureNative.Migrate.FttAndRaidLevel.Ftt1Raid5,
AzureNative.Migrate.FttAndRaidLevel.Ftt3Raid1,
},
GroupName = "kuchatur-test",
IsStretchClusterEnabled = true,
IsVcfByolEnabled = true,
MemOvercommit = 1,
NodeType = AzureNative.Migrate.AzureAvsNodeType.Unknown,
NodeTypes = new[]
{
AzureNative.Migrate.AzureAvsNodeType.AV36,
AzureNative.Migrate.AzureAvsNodeType.AV52,
AzureNative.Migrate.AzureAvsNodeType.AV36P,
AzureNative.Migrate.AzureAvsNodeType.AV64,
},
Percentile = AzureNative.Migrate.Percentile.Percentile95,
PerfDataEndTime = "2023-09-26T13:35:56.5671462Z",
PerfDataStartTime = "2023-09-25T13:35:56.5671462Z",
ProjectName = "app18700project",
ProvisioningState = AzureNative.Migrate.ProvisioningState.Succeeded,
ReservedInstance = AzureNative.Migrate.AzureReservedInstance.RI3Year,
ResourceGroupName = "ayagrawrg",
ScalingFactor = 1,
SizingCriterion = AzureNative.Migrate.AssessmentSizingCriterion.AsOnPremises,
TimeRange = AzureNative.Migrate.TimeRange.Day,
VcpuOversubscription = 4,
});
});
package main
import (
migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := migrate.NewAvsAssessmentsOperation(ctx, "avsAssessmentsOperation", &migrate.AvsAssessmentsOperationArgs{
AssessmentName: pulumi.String("asm2"),
AvsAssessmentScenario: pulumi.String(migrate.AvsAssessmentScenarioNewAvsSddc),
AzureLocation: pulumi.String(migrate.AzureLocationEastUs),
AzureOfferCode: pulumi.String(migrate.AzureOfferCodeMsazr0003P),
CpuHeadroom: pulumi.Float64(12),
Currency: pulumi.String(migrate.AzureCurrencyUSD),
DedupeCompression: pulumi.Float64(1.5),
DiscountPercentage: pulumi.Float64(0),
ExternalStorageTypes: pulumi.StringArray{
pulumi.String(migrate.ExternalStorageTypeAnfStandard),
pulumi.String(migrate.ExternalStorageTypeAnfPremium),
pulumi.String(migrate.ExternalStorageTypeAnfUltra),
},
FailuresToTolerateAndRaidLevel: pulumi.String(migrate.FttAndRaidLevelUnknown),
FailuresToTolerateAndRaidLevelList: pulumi.StringArray{
pulumi.String(migrate.FttAndRaidLevelFtt1Raid1),
pulumi.String(migrate.FttAndRaidLevelFtt1Raid5),
pulumi.String(migrate.FttAndRaidLevelFtt3Raid1),
},
GroupName: pulumi.String("kuchatur-test"),
IsStretchClusterEnabled: pulumi.Bool(true),
IsVcfByolEnabled: pulumi.Bool(true),
MemOvercommit: pulumi.Float64(1),
NodeType: pulumi.String(migrate.AzureAvsNodeTypeUnknown),
NodeTypes: pulumi.StringArray{
pulumi.String(migrate.AzureAvsNodeTypeAV36),
pulumi.String(migrate.AzureAvsNodeTypeAV52),
pulumi.String(migrate.AzureAvsNodeTypeAV36P),
pulumi.String(migrate.AzureAvsNodeTypeAV64),
},
Percentile: pulumi.String(migrate.PercentilePercentile95),
PerfDataEndTime: pulumi.String("2023-09-26T13:35:56.5671462Z"),
PerfDataStartTime: pulumi.String("2023-09-25T13:35:56.5671462Z"),
ProjectName: pulumi.String("app18700project"),
ProvisioningState: pulumi.String(migrate.ProvisioningStateSucceeded),
ReservedInstance: pulumi.String(migrate.AzureReservedInstanceRI3Year),
ResourceGroupName: pulumi.String("ayagrawrg"),
ScalingFactor: pulumi.Float64(1),
SizingCriterion: pulumi.String(migrate.AssessmentSizingCriterionAsOnPremises),
TimeRange: pulumi.String(migrate.TimeRangeDay),
VcpuOversubscription: pulumi.Float64(4),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.migrate.AvsAssessmentsOperation;
import com.pulumi.azurenative.migrate.AvsAssessmentsOperationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var avsAssessmentsOperation = new AvsAssessmentsOperation("avsAssessmentsOperation", AvsAssessmentsOperationArgs.builder()
.assessmentName("asm2")
.avsAssessmentScenario("NewAvsSddc")
.azureLocation("EastUs")
.azureOfferCode("MSAZR0003P")
.cpuHeadroom(12)
.currency("USD")
.dedupeCompression(1.5)
.discountPercentage(0)
.externalStorageTypes(
"AnfStandard",
"AnfPremium",
"AnfUltra")
.failuresToTolerateAndRaidLevel("Unknown")
.failuresToTolerateAndRaidLevelList(
"Ftt1Raid1",
"Ftt1Raid5",
"Ftt3Raid1")
.groupName("kuchatur-test")
.isStretchClusterEnabled(true)
.isVcfByolEnabled(true)
.memOvercommit(1)
.nodeType("Unknown")
.nodeTypes(
"AV36",
"AV52",
"AV36P",
"AV64")
.percentile("Percentile95")
.perfDataEndTime("2023-09-26T13:35:56.5671462Z")
.perfDataStartTime("2023-09-25T13:35:56.5671462Z")
.projectName("app18700project")
.provisioningState("Succeeded")
.reservedInstance("RI3Year")
.resourceGroupName("ayagrawrg")
.scalingFactor(1)
.sizingCriterion("AsOnPremises")
.timeRange("Day")
.vcpuOversubscription(4)
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:migrate:AvsAssessmentsOperation asm2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/avsAssessments/{assessmentName}

Constructors

Link copied to clipboard
constructor(assessmentName: Output<String>? = null, avsAssessmentScenario: Output<Either<String, AvsAssessmentScenario>>? = null, azureLocation: Output<Either<String, AzureLocation>>? = null, azureOfferCode: Output<Either<String, AzureOfferCode>>? = null, cpuHeadroom: Output<Double>? = null, currency: Output<Either<String, AzureCurrency>>? = null, dedupeCompression: Output<Double>? = null, discountPercentage: Output<Double>? = null, externalStorageTypes: Output<List<Either<String, ExternalStorageType>>>? = null, failuresToTolerateAndRaidLevel: Output<Either<String, FttAndRaidLevel>>? = null, failuresToTolerateAndRaidLevelList: Output<List<Either<String, FttAndRaidLevel>>>? = null, groupName: Output<String>? = null, isStretchClusterEnabled: Output<Boolean>? = null, isVcfByolEnabled: Output<Boolean>? = null, memOvercommit: Output<Double>? = null, nodeType: Output<Either<String, AzureAvsNodeType>>? = null, nodeTypes: Output<List<Either<String, AzureAvsNodeType>>>? = null, percentile: Output<Either<String, Percentile>>? = null, perfDataEndTime: Output<String>? = null, perfDataStartTime: Output<String>? = null, projectName: Output<String>? = null, provisioningState: Output<Either<String, ProvisioningState>>? = null, reservedInstance: Output<Either<String, AzureReservedInstance>>? = null, resourceGroupName: Output<String>? = null, scalingFactor: Output<Double>? = null, sizingCriterion: Output<Either<String, AssessmentSizingCriterion>>? = null, timeRange: Output<Either<String, TimeRange>>? = null, vcpuOversubscription: Output<Double>? = null)

Properties

Link copied to clipboard
val assessmentName: Output<String>? = null

AVS Assessment ARM name

Link copied to clipboard
val avsAssessmentScenario: Output<Either<String, AvsAssessmentScenario>>? = null

AVS Assessment Scenario.

Link copied to clipboard
val azureLocation: Output<Either<String, AzureLocation>>? = null

Azure Location or Azure region where to which the machines will be migrated.

Link copied to clipboard
val azureOfferCode: Output<Either<String, AzureOfferCode>>? = null

Azure Offer code according to which cost estimation is done.

Link copied to clipboard
val cpuHeadroom: Output<Double>? = null

Percentage of CPU capacity reserved for processing additional workloads.

Link copied to clipboard
val currency: Output<Either<String, AzureCurrency>>? = null

Currency in which prices should be reported.

Link copied to clipboard
val dedupeCompression: Output<Double>? = null

De-duplication compression.

Link copied to clipboard
val discountPercentage: Output<Double>? = null

Custom discount percentage.

Link copied to clipboard
val externalStorageTypes: Output<List<Either<String, ExternalStorageType>>>? = null

List of AVS external storage types.

Link copied to clipboard

Failures to tolerate and RAID level in a common property.

Link copied to clipboard

List of Failures to tolerate and RAID levels in a common property.

Link copied to clipboard
val groupName: Output<String>? = null

Group ARM name

Link copied to clipboard
val isStretchClusterEnabled: Output<Boolean>? = null

Is Stretch Cluster Enabled.

Link copied to clipboard
val isVcfByolEnabled: Output<Boolean>? = null

Is VCF license applied

Link copied to clipboard
val memOvercommit: Output<Double>? = null

Memory overcommit.

Link copied to clipboard
val nodeType: Output<Either<String, AzureAvsNodeType>>? = null

AVS node type.

Link copied to clipboard
val nodeTypes: Output<List<Either<String, AzureAvsNodeType>>>? = null

AVS node types.

Link copied to clipboard
val percentile: Output<Either<String, Percentile>>? = null

Percentile of the utilization data values to be considered while assessing machines.

Link copied to clipboard
val perfDataEndTime: Output<String>? = null

Gets or sets the end time to consider performance data for assessment.

Link copied to clipboard
val perfDataStartTime: Output<String>? = null

Gets or sets the start time to consider performance data for assessment.

Link copied to clipboard
val projectName: Output<String>? = null

Assessment Project Name

Link copied to clipboard
val provisioningState: Output<Either<String, ProvisioningState>>? = null

The status of the last operation.

Link copied to clipboard
val reservedInstance: Output<Either<String, AzureReservedInstance>>? = null

Reserved instance.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val scalingFactor: Output<Double>? = null

Percentage of buffer that user wants on performance metrics when recommending Azure sizes.

Link copied to clipboard
val sizingCriterion: Output<Either<String, AssessmentSizingCriterion>>? = null

Assessment sizing criterion.

Link copied to clipboard
val timeRange: Output<Either<String, TimeRange>>? = null

Time Range for which the historic utilization data should be considered for assessment.

Link copied to clipboard
val vcpuOversubscription: Output<Double>? = null

VCPU over subscription.

Functions

Link copied to clipboard
open override fun toJava(): AvsAssessmentsOperationArgs