AvsAssessmentsOperation

class AvsAssessmentsOperation : KotlinCustomResource

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}

Properties

Link copied to clipboard

Gets the assessment error summary. This is the number of machines affected by each type of error in this assessment.

Link copied to clipboard
val assessmentType: Output<String>

Assessment type of the assessment.

Link copied to clipboard

AVS Assessment Scenario.

Link copied to clipboard

Estimated External Storage for Assessment.

Link copied to clipboard

Estimated External Storage for Assessment.

Link copied to clipboard

Estimated AVS SKU for Assessment.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val azureLocation: Output<String>?

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

Link copied to clipboard
val azureOfferCode: Output<String>?

Azure Offer code according to which cost estimation is done.

Link copied to clipboard

Confidence Rating in Percentage.

Link copied to clipboard

collection of cost components.

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

Percentage of CPU capacity reserved for processing additional workloads.

Link copied to clipboard
val cpuUtilization: Output<Double>

Predicted CPU utilization.

Link copied to clipboard

Date and Time when assessment was created.

Link copied to clipboard
val currency: Output<String>?

Currency in which prices should be reported.

Link copied to clipboard

De-duplication compression.

Link copied to clipboard

Custom discount percentage.

Link copied to clipboard

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 groupType: Output<String>

Gets the group type for the assessment.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Is Stretch Cluster Enabled.

Link copied to clipboard

Is VCF license applied

Link copied to clipboard
val limitingFactor: Output<String>

Limiting factor.

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

Memory overcommit.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val nodeType: Output<String>?

AVS node type.

Link copied to clipboard
val nodeTypes: Output<List<String>>?

AVS node types.

Link copied to clipboard
val numberOfMachines: Output<Int>

Number of machines part of the assessment.

Link copied to clipboard
val numberOfNodes: Output<Int>

Recommended number of nodes.

Link copied to clipboard
val percentile: Output<String>?

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

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

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

Link copied to clipboard

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

Link copied to clipboard
val pricesTimestamp: Output<String>

Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ramUtilization: Output<Double>

Predicted RAM utilization.

Link copied to clipboard
val reservedInstance: Output<String>?

Reserved instance.

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

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

Link copied to clipboard
val schemaVersion: Output<String>

Schema version.

Link copied to clipboard
val sizingCriterion: Output<String>?

Assessment sizing criterion.

Link copied to clipboard
val stage: Output<String>

User configurable setting to display the Stage of Assessment.

Link copied to clipboard
val status: Output<String>

Whether assessment is in valid state and all machines have been assessed.

Link copied to clipboard

Predicted storage utilization.

Link copied to clipboard
val suitability: Output<String>

Gets or sets the Assessment cloud suitability.

Link copied to clipboard

Gets or sets the Assessment suitability explanation.

Link copied to clipboard

Cloud suitability summary for all the machines in the assessment.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val timeRange: Output<String>?

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

Link copied to clipboard
val totalCpuCores: Output<Double>

Predicted total CPU cores used.

Link copied to clipboard

Total monthly cost.

Link copied to clipboard
val totalRamInGB: Output<Double>

Predicted total RAM used in GB.

Link copied to clipboard

Predicted total Storage used in GB.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard

Date and Time when assessment was last updated.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

VCPU over subscription.