Avs Assessments Operation Args
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. Azure REST API version: 2023-03-15.
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 = "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,
});
});
Content copied to clipboard
package main
import (
"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("EastUs"),
AzureOfferCode: pulumi.String("MSAZR0003P"),
Currency: pulumi.String("USD"),
DedupeCompression: pulumi.Float64(1.5),
DiscountPercentage: pulumi.Float64(0),
FailuresToTolerateAndRaidLevel: pulumi.String("Ftt1Raid1"),
GroupName: pulumi.String("kuchatur-test"),
IsStretchClusterEnabled: pulumi.Bool(true),
MemOvercommit: pulumi.Float64(1),
NodeType: pulumi.String("AV36"),
Percentile: pulumi.String("Percentile95"),
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("Succeeded"),
ReservedInstance: pulumi.String("RI3Year"),
ResourceGroupName: pulumi.String("ayagrawrg"),
ScalingFactor: pulumi.Float64(1),
SizingCriterion: pulumi.String("AsOnPremises"),
TimeRange: pulumi.String("Day"),
VcpuOversubscription: pulumi.Float64(4),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
fun AvsAssessmentsOperationArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard