AvsAssessmentsOperationArgs

data class AvsAssessmentsOperationArgs(val assessmentName: Output<String>? = null, val azureLocation: Output<Either<String, AzureLocation>>? = null, val azureOfferCode: Output<Either<String, AzureOfferCode>>? = null, val currency: Output<Either<String, AzureCurrency>>? = null, val dedupeCompression: Output<Double>? = null, val discountPercentage: Output<Double>? = null, val failuresToTolerateAndRaidLevel: Output<Either<String, FttAndRaidLevel>>? = null, val groupName: Output<String>? = null, val isStretchClusterEnabled: Output<Boolean>? = null, val memOvercommit: Output<Double>? = null, val nodeType: Output<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 2023-03-15. Other available API versions: 2023-04-01-preview, 2023-05-01-preview, 2023-09-09-preview, 2024-01-01-preview.

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",
AzureLocation = AzureNative.Migrate.AzureLocation.EastUs,
AzureOfferCode = AzureNative.Migrate.AzureOfferCode.Msazr0003P,
Currency = AzureNative.Migrate.AzureCurrency.USD,
DedupeCompression = 1.5,
DiscountPercentage = 0,
FailuresToTolerateAndRaidLevel = AzureNative.Migrate.FttAndRaidLevel.Ftt1Raid1,
GroupName = "kuchatur-test",
IsStretchClusterEnabled = true,
MemOvercommit = 1,
NodeType = AzureNative.Migrate.AzureAvsNodeType.AV36,
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"),
AzureLocation: pulumi.String(migrate.AzureLocationEastUs),
AzureOfferCode: pulumi.String(migrate.AzureOfferCodeMsazr0003P),
Currency: pulumi.String(migrate.AzureCurrencyUSD),
DedupeCompression: pulumi.Float64(1.5),
DiscountPercentage: pulumi.Float64(0),
FailuresToTolerateAndRaidLevel: pulumi.String(migrate.FttAndRaidLevelFtt1Raid1),
GroupName: pulumi.String("kuchatur-test"),
IsStretchClusterEnabled: pulumi.Bool(true),
MemOvercommit: pulumi.Float64(1),
NodeType: pulumi.String(migrate.AzureAvsNodeTypeAV36),
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")
.azureLocation("EastUs")
.azureOfferCode("MSAZR0003P")
.currency("USD")
.dedupeCompression(1.5)
.discountPercentage(0)
.failuresToTolerateAndRaidLevel("Ftt1Raid1")
.groupName("kuchatur-test")
.isStretchClusterEnabled(true)
.memOvercommit(1)
.nodeType("AV36")
.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, azureLocation: Output<Either<String, AzureLocation>>? = null, azureOfferCode: Output<Either<String, AzureOfferCode>>? = null, currency: Output<Either<String, AzureCurrency>>? = null, dedupeCompression: Output<Double>? = null, discountPercentage: Output<Double>? = null, failuresToTolerateAndRaidLevel: Output<Either<String, FttAndRaidLevel>>? = null, groupName: Output<String>? = null, isStretchClusterEnabled: Output<Boolean>? = null, memOvercommit: Output<Double>? = null, nodeType: Output<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 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 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

Failures to tolerate and RAID level 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 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 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