v20180202

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AssessmentSizingCriterionPerformanceBased = AssessmentSizingCriterion("PerformanceBased")
	AssessmentSizingCriterionAsOnPremises     = AssessmentSizingCriterion("AsOnPremises")
)
View Source
const (
	AssessmentStageInProgress  = AssessmentStage("InProgress")
	AssessmentStageUnderReview = AssessmentStage("UnderReview")
	AssessmentStageApproved    = AssessmentStage("Approved")
)
View Source
const (
	AzureHybridUseBenefitUnknown = AzureHybridUseBenefit("Unknown")
	AzureHybridUseBenefitYes     = AzureHybridUseBenefit("Yes")
	AzureHybridUseBenefitNo      = AzureHybridUseBenefit("No")
)
View Source
const (
	AzureLocationUnknown            = AzureLocation("Unknown")
	AzureLocationEastAsia           = AzureLocation("EastAsia")
	AzureLocationSoutheastAsia      = AzureLocation("SoutheastAsia")
	AzureLocationAustraliaEast      = AzureLocation("AustraliaEast")
	AzureLocationAustraliaSoutheast = AzureLocation("AustraliaSoutheast")
	AzureLocationBrazilSouth        = AzureLocation("BrazilSouth")
	AzureLocationCanadaCentral      = AzureLocation("CanadaCentral")
	AzureLocationCanadaEast         = AzureLocation("CanadaEast")
	AzureLocationWestEurope         = AzureLocation("WestEurope")
	AzureLocationNorthEurope        = AzureLocation("NorthEurope")
	AzureLocationCentralIndia       = AzureLocation("CentralIndia")
	AzureLocationSouthIndia         = AzureLocation("SouthIndia")
	AzureLocationWestIndia          = AzureLocation("WestIndia")
	AzureLocationJapanEast          = AzureLocation("JapanEast")
	AzureLocationJapanWest          = AzureLocation("JapanWest")
	AzureLocationKoreaCentral       = AzureLocation("KoreaCentral")
	AzureLocationKoreaSouth         = AzureLocation("KoreaSouth")
	AzureLocationUkWest             = AzureLocation("UkWest")
	AzureLocationUkSouth            = AzureLocation("UkSouth")
	AzureLocationNorthCentralUs     = AzureLocation("NorthCentralUs")
	AzureLocationEastUs             = AzureLocation("EastUs")
	AzureLocationWestUs2            = AzureLocation("WestUs2")
	AzureLocationSouthCentralUs     = AzureLocation("SouthCentralUs")
	AzureLocationCentralUs          = AzureLocation("CentralUs")
	AzureLocationEastUs2            = AzureLocation("EastUs2")
	AzureLocationWestUs             = AzureLocation("WestUs")
	AzureLocationWestCentralUs      = AzureLocation("WestCentralUs")
	AzureLocationGermanyCentral     = AzureLocation("GermanyCentral")
	AzureLocationGermanyNortheast   = AzureLocation("GermanyNortheast")
	AzureLocationChinaNorth         = AzureLocation("ChinaNorth")
	AzureLocationChinaEast          = AzureLocation("ChinaEast")
)
View Source
const (
	AzureOfferCodeUnknown      = AzureOfferCode("Unknown")
	AzureOfferCodeMSAZR0003P   = AzureOfferCode("MSAZR0003P")
	AzureOfferCodeMSAZR0044P   = AzureOfferCode("MSAZR0044P")
	AzureOfferCodeMSAZR0059P   = AzureOfferCode("MSAZR0059P")
	AzureOfferCodeMSAZR0060P   = AzureOfferCode("MSAZR0060P")
	AzureOfferCodeMSAZR0062P   = AzureOfferCode("MSAZR0062P")
	AzureOfferCodeMSAZR0063P   = AzureOfferCode("MSAZR0063P")
	AzureOfferCodeMSAZR0064P   = AzureOfferCode("MSAZR0064P")
	AzureOfferCodeMSAZR0029P   = AzureOfferCode("MSAZR0029P")
	AzureOfferCodeMSAZR0022P   = AzureOfferCode("MSAZR0022P")
	AzureOfferCodeMSAZR0023P   = AzureOfferCode("MSAZR0023P")
	AzureOfferCodeMSAZR0148P   = AzureOfferCode("MSAZR0148P")
	AzureOfferCodeMSAZR0025P   = AzureOfferCode("MSAZR0025P")
	AzureOfferCodeMSAZR0036P   = AzureOfferCode("MSAZR0036P")
	AzureOfferCodeMSAZR0120P   = AzureOfferCode("MSAZR0120P")
	AzureOfferCodeMSAZR0121P   = AzureOfferCode("MSAZR0121P")
	AzureOfferCodeMSAZR0122P   = AzureOfferCode("MSAZR0122P")
	AzureOfferCodeMSAZR0123P   = AzureOfferCode("MSAZR0123P")
	AzureOfferCodeMSAZR0124P   = AzureOfferCode("MSAZR0124P")
	AzureOfferCodeMSAZR0125P   = AzureOfferCode("MSAZR0125P")
	AzureOfferCodeMSAZR0126P   = AzureOfferCode("MSAZR0126P")
	AzureOfferCodeMSAZR0127P   = AzureOfferCode("MSAZR0127P")
	AzureOfferCodeMSAZR0128P   = AzureOfferCode("MSAZR0128P")
	AzureOfferCodeMSAZR0129P   = AzureOfferCode("MSAZR0129P")
	AzureOfferCodeMSAZR0130P   = AzureOfferCode("MSAZR0130P")
	AzureOfferCodeMSAZR0111P   = AzureOfferCode("MSAZR0111P")
	AzureOfferCodeMSAZR0144P   = AzureOfferCode("MSAZR0144P")
	AzureOfferCodeMSAZR0149P   = AzureOfferCode("MSAZR0149P")
	AzureOfferCodeMSMCAZR0044P = AzureOfferCode("MSMCAZR0044P")
	AzureOfferCodeMSMCAZR0059P = AzureOfferCode("MSMCAZR0059P")
	AzureOfferCodeMSMCAZR0060P = AzureOfferCode("MSMCAZR0060P")
	AzureOfferCodeMSMCAZR0063P = AzureOfferCode("MSMCAZR0063P")
	AzureOfferCodeMSMCAZR0120P = AzureOfferCode("MSMCAZR0120P")
	AzureOfferCodeMSMCAZR0121P = AzureOfferCode("MSMCAZR0121P")
	AzureOfferCodeMSMCAZR0125P = AzureOfferCode("MSMCAZR0125P")
	AzureOfferCodeMSMCAZR0128P = AzureOfferCode("MSMCAZR0128P")
	AzureOfferCodeMSAZRDE0003P = AzureOfferCode("MSAZRDE0003P")
	AzureOfferCodeMSAZRDE0044P = AzureOfferCode("MSAZRDE0044P")
)
View Source
const (
	AzurePricingTierStandard = AzurePricingTier("Standard")
	AzurePricingTierBasic    = AzurePricingTier("Basic")
)
View Source
const (
	AzureStorageRedundancyUnknown                = AzureStorageRedundancy("Unknown")
	AzureStorageRedundancyLocallyRedundant       = AzureStorageRedundancy("LocallyRedundant")
	AzureStorageRedundancyZoneRedundant          = AzureStorageRedundancy("ZoneRedundant")
	AzureStorageRedundancyGeoRedundant           = AzureStorageRedundancy("GeoRedundant")
	AzureStorageRedundancyReadAccessGeoRedundant = AzureStorageRedundancy("ReadAccessGeoRedundant")
)
View Source
const (
	CurrencyUnknown = Currency("Unknown")
	CurrencyUSD     = Currency("USD")
	CurrencyDKK     = Currency("DKK")
	CurrencyCAD     = Currency("CAD")
	CurrencyIDR     = Currency("IDR")
	CurrencyJPY     = Currency("JPY")
	CurrencyKRW     = Currency("KRW")
	CurrencyNZD     = Currency("NZD")
	CurrencyNOK     = Currency("NOK")
	CurrencyRUB     = Currency("RUB")
	CurrencySAR     = Currency("SAR")
	CurrencyZAR     = Currency("ZAR")
	CurrencySEK     = Currency("SEK")
	CurrencyTRY     = Currency("TRY")
	CurrencyGBP     = Currency("GBP")
	CurrencyMXN     = Currency("MXN")
	CurrencyMYR     = Currency("MYR")
	CurrencyINR     = Currency("INR")
	CurrencyHKD     = Currency("HKD")
	CurrencyBRL     = Currency("BRL")
	CurrencyTWD     = Currency("TWD")
	CurrencyEUR     = Currency("EUR")
	CurrencyCHF     = Currency("CHF")
	CurrencyARS     = Currency("ARS")
	CurrencyAUD     = Currency("AUD")
	CurrencyCNY     = Currency("CNY")
)
View Source
const (
	PercentilePercentile50 = Percentile("Percentile50")
	PercentilePercentile90 = Percentile("Percentile90")
	PercentilePercentile95 = Percentile("Percentile95")
	PercentilePercentile99 = Percentile("Percentile99")
)
View Source
const (
	ProvisioningStateAccepted  = ProvisioningState("Accepted")
	ProvisioningStateCreating  = ProvisioningState("Creating")
	ProvisioningStateDeleting  = ProvisioningState("Deleting")
	ProvisioningStateFailed    = ProvisioningState("Failed")
	ProvisioningStateMoving    = ProvisioningState("Moving")
	ProvisioningStateSucceeded = ProvisioningState("Succeeded")
)
View Source
const (
	TimeRangeDay   = TimeRange("Day")
	TimeRangeWeek  = TimeRange("Week")
	TimeRangeMonth = TimeRange("Month")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Assessment

type Assessment struct {
	pulumi.CustomResourceState

	// AHUB discount on windows virtual machines.
	AzureHybridUseBenefit pulumi.StringOutput `pulumi:"azureHybridUseBenefit"`
	// Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.
	AzureLocation pulumi.StringOutput `pulumi:"azureLocation"`
	// Offer code according to which cost estimation is done.
	AzureOfferCode pulumi.StringOutput `pulumi:"azureOfferCode"`
	// Pricing tier for Size evaluation.
	AzurePricingTier pulumi.StringOutput `pulumi:"azurePricingTier"`
	// Storage Redundancy type offered by Azure.
	AzureStorageRedundancy pulumi.StringOutput `pulumi:"azureStorageRedundancy"`
	// Confidence rating percentage for assessment. Can be in the range [0, 100].
	ConfidenceRatingInPercentage pulumi.Float64Output `pulumi:"confidenceRatingInPercentage"`
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringOutput `pulumi:"createdTimestamp"`
	// Currency to report prices in.
	Currency pulumi.StringOutput `pulumi:"currency"`
	// Custom discount percentage to be applied on final costs. Can be in the range [0, 100].
	DiscountPercentage pulumi.Float64Output `pulumi:"discountPercentage"`
	// For optimistic concurrency control.
	ETag pulumi.StringPtrOutput `pulumi:"eTag"`
	// Monthly network cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyBandwidthCost pulumi.Float64Output `pulumi:"monthlyBandwidthCost"`
	// Monthly compute cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyComputeCost pulumi.Float64Output `pulumi:"monthlyComputeCost"`
	// Monthly storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyStorageCost pulumi.Float64Output `pulumi:"monthlyStorageCost"`
	// Unique name of an assessment.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of assessed machines part of this assessment.
	NumberOfMachines pulumi.IntOutput `pulumi:"numberOfMachines"`
	// Percentile of performance data used to recommend Azure size.
	Percentile pulumi.StringOutput `pulumi:"percentile"`
	// Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.
	PricesTimestamp pulumi.StringOutput `pulumi:"pricesTimestamp"`
	// Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3.
	ScalingFactor pulumi.Float64Output `pulumi:"scalingFactor"`
	// Assessment sizing criterion.
	SizingCriterion pulumi.StringOutput `pulumi:"sizingCriterion"`
	// User configurable setting that describes the status of the assessment.
	Stage pulumi.StringOutput `pulumi:"stage"`
	// Whether the assessment has been created and is valid.
	Status pulumi.StringOutput `pulumi:"status"`
	// Time range of performance data used to recommend a size.
	TimeRange pulumi.StringOutput `pulumi:"timeRange"`
	// Type of the object = [Microsoft.Migrate/projects/groups/assessments].
	Type pulumi.StringOutput `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringOutput `pulumi:"updatedTimestamp"`
}

An assessment created for a group in the Migration project.

func GetAssessment

func GetAssessment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssessmentState, opts ...pulumi.ResourceOption) (*Assessment, error)

GetAssessment gets an existing Assessment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssessment

func NewAssessment(ctx *pulumi.Context,
	name string, args *AssessmentArgs, opts ...pulumi.ResourceOption) (*Assessment, error)

NewAssessment registers a new resource with the given unique name, arguments, and options.

func (*Assessment) ElementType added in v0.2.6

func (*Assessment) ElementType() reflect.Type

func (*Assessment) ToAssessmentOutput added in v0.2.6

func (i *Assessment) ToAssessmentOutput() AssessmentOutput

func (*Assessment) ToAssessmentOutputWithContext added in v0.2.6

func (i *Assessment) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput

type AssessmentArgs

type AssessmentArgs struct {
	// Unique name of an assessment within a project.
	AssessmentName pulumi.StringInput
	// AHUB discount on windows virtual machines.
	AzureHybridUseBenefit pulumi.StringInput
	// Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.
	AzureLocation pulumi.StringInput
	// Offer code according to which cost estimation is done.
	AzureOfferCode pulumi.StringInput
	// Pricing tier for Size evaluation.
	AzurePricingTier pulumi.StringInput
	// Storage Redundancy type offered by Azure.
	AzureStorageRedundancy pulumi.StringInput
	// Currency to report prices in.
	Currency pulumi.StringInput
	// Custom discount percentage to be applied on final costs. Can be in the range [0, 100].
	DiscountPercentage pulumi.Float64Input
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// Unique name of a group within a project.
	GroupName pulumi.StringInput
	// Percentile of performance data used to recommend Azure size.
	Percentile pulumi.StringInput
	// Name of the Azure Migrate project.
	ProjectName pulumi.StringInput
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName pulumi.StringInput
	// Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3.
	ScalingFactor pulumi.Float64Input
	// Assessment sizing criterion.
	SizingCriterion pulumi.StringInput
	// User configurable setting that describes the status of the assessment.
	Stage pulumi.StringInput
	// Time range of performance data used to recommend a size.
	TimeRange pulumi.StringInput
}

The set of arguments for constructing a Assessment resource.

func (AssessmentArgs) ElementType

func (AssessmentArgs) ElementType() reflect.Type

type AssessmentInput added in v0.2.6

type AssessmentInput interface {
	pulumi.Input

	ToAssessmentOutput() AssessmentOutput
	ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
}

type AssessmentOutput added in v0.2.6

type AssessmentOutput struct {
	*pulumi.OutputState
}

func (AssessmentOutput) ElementType added in v0.2.6

func (AssessmentOutput) ElementType() reflect.Type

func (AssessmentOutput) ToAssessmentOutput added in v0.2.6

func (o AssessmentOutput) ToAssessmentOutput() AssessmentOutput

func (AssessmentOutput) ToAssessmentOutputWithContext added in v0.2.6

func (o AssessmentOutput) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput

type AssessmentSizingCriterion added in v0.3.1

type AssessmentSizingCriterion pulumi.String

Assessment sizing criterion.

func (AssessmentSizingCriterion) ElementType added in v0.3.1

func (AssessmentSizingCriterion) ElementType() reflect.Type

func (AssessmentSizingCriterion) ToStringOutput added in v0.3.1

func (e AssessmentSizingCriterion) ToStringOutput() pulumi.StringOutput

func (AssessmentSizingCriterion) ToStringOutputWithContext added in v0.3.1

func (e AssessmentSizingCriterion) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AssessmentSizingCriterion) ToStringPtrOutput added in v0.3.1

func (e AssessmentSizingCriterion) ToStringPtrOutput() pulumi.StringPtrOutput

func (AssessmentSizingCriterion) ToStringPtrOutputWithContext added in v0.3.1

func (e AssessmentSizingCriterion) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AssessmentStage added in v0.3.1

type AssessmentStage pulumi.String

User configurable setting that describes the status of the assessment.

func (AssessmentStage) ElementType added in v0.3.1

func (AssessmentStage) ElementType() reflect.Type

func (AssessmentStage) ToStringOutput added in v0.3.1

func (e AssessmentStage) ToStringOutput() pulumi.StringOutput

func (AssessmentStage) ToStringOutputWithContext added in v0.3.1

func (e AssessmentStage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AssessmentStage) ToStringPtrOutput added in v0.3.1

func (e AssessmentStage) ToStringPtrOutput() pulumi.StringPtrOutput

func (AssessmentStage) ToStringPtrOutputWithContext added in v0.3.1

func (e AssessmentStage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AssessmentState

type AssessmentState struct {
	// AHUB discount on windows virtual machines.
	AzureHybridUseBenefit pulumi.StringPtrInput
	// Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.
	AzureLocation pulumi.StringPtrInput
	// Offer code according to which cost estimation is done.
	AzureOfferCode pulumi.StringPtrInput
	// Pricing tier for Size evaluation.
	AzurePricingTier pulumi.StringPtrInput
	// Storage Redundancy type offered by Azure.
	AzureStorageRedundancy pulumi.StringPtrInput
	// Confidence rating percentage for assessment. Can be in the range [0, 100].
	ConfidenceRatingInPercentage pulumi.Float64PtrInput
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringPtrInput
	// Currency to report prices in.
	Currency pulumi.StringPtrInput
	// Custom discount percentage to be applied on final costs. Can be in the range [0, 100].
	DiscountPercentage pulumi.Float64PtrInput
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// Monthly network cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyBandwidthCost pulumi.Float64PtrInput
	// Monthly compute cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyComputeCost pulumi.Float64PtrInput
	// Monthly storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyStorageCost pulumi.Float64PtrInput
	// Unique name of an assessment.
	Name pulumi.StringPtrInput
	// Number of assessed machines part of this assessment.
	NumberOfMachines pulumi.IntPtrInput
	// Percentile of performance data used to recommend Azure size.
	Percentile pulumi.StringPtrInput
	// Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.
	PricesTimestamp pulumi.StringPtrInput
	// Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3.
	ScalingFactor pulumi.Float64PtrInput
	// Assessment sizing criterion.
	SizingCriterion pulumi.StringPtrInput
	// User configurable setting that describes the status of the assessment.
	Stage pulumi.StringPtrInput
	// Whether the assessment has been created and is valid.
	Status pulumi.StringPtrInput
	// Time range of performance data used to recommend a size.
	TimeRange pulumi.StringPtrInput
	// Type of the object = [Microsoft.Migrate/projects/groups/assessments].
	Type pulumi.StringPtrInput
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringPtrInput
}

func (AssessmentState) ElementType

func (AssessmentState) ElementType() reflect.Type

type AzureHybridUseBenefit added in v0.3.1

type AzureHybridUseBenefit pulumi.String

AHUB discount on windows virtual machines.

func (AzureHybridUseBenefit) ElementType added in v0.3.1

func (AzureHybridUseBenefit) ElementType() reflect.Type

func (AzureHybridUseBenefit) ToStringOutput added in v0.3.1

func (e AzureHybridUseBenefit) ToStringOutput() pulumi.StringOutput

func (AzureHybridUseBenefit) ToStringOutputWithContext added in v0.3.1

func (e AzureHybridUseBenefit) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AzureHybridUseBenefit) ToStringPtrOutput added in v0.3.1

func (e AzureHybridUseBenefit) ToStringPtrOutput() pulumi.StringPtrOutput

func (AzureHybridUseBenefit) ToStringPtrOutputWithContext added in v0.3.1

func (e AzureHybridUseBenefit) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AzureLocation added in v0.3.1

type AzureLocation pulumi.String

Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.

func (AzureLocation) ElementType added in v0.3.1

func (AzureLocation) ElementType() reflect.Type

func (AzureLocation) ToStringOutput added in v0.3.1

func (e AzureLocation) ToStringOutput() pulumi.StringOutput

func (AzureLocation) ToStringOutputWithContext added in v0.3.1

func (e AzureLocation) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AzureLocation) ToStringPtrOutput added in v0.3.1

func (e AzureLocation) ToStringPtrOutput() pulumi.StringPtrOutput

func (AzureLocation) ToStringPtrOutputWithContext added in v0.3.1

func (e AzureLocation) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AzureOfferCode added in v0.3.1

type AzureOfferCode pulumi.String

Offer code according to which cost estimation is done.

func (AzureOfferCode) ElementType added in v0.3.1

func (AzureOfferCode) ElementType() reflect.Type

func (AzureOfferCode) ToStringOutput added in v0.3.1

func (e AzureOfferCode) ToStringOutput() pulumi.StringOutput

func (AzureOfferCode) ToStringOutputWithContext added in v0.3.1

func (e AzureOfferCode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AzureOfferCode) ToStringPtrOutput added in v0.3.1

func (e AzureOfferCode) ToStringPtrOutput() pulumi.StringPtrOutput

func (AzureOfferCode) ToStringPtrOutputWithContext added in v0.3.1

func (e AzureOfferCode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AzurePricingTier added in v0.3.1

type AzurePricingTier pulumi.String

Pricing tier for Size evaluation.

func (AzurePricingTier) ElementType added in v0.3.1

func (AzurePricingTier) ElementType() reflect.Type

func (AzurePricingTier) ToStringOutput added in v0.3.1

func (e AzurePricingTier) ToStringOutput() pulumi.StringOutput

func (AzurePricingTier) ToStringOutputWithContext added in v0.3.1

func (e AzurePricingTier) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AzurePricingTier) ToStringPtrOutput added in v0.3.1

func (e AzurePricingTier) ToStringPtrOutput() pulumi.StringPtrOutput

func (AzurePricingTier) ToStringPtrOutputWithContext added in v0.3.1

func (e AzurePricingTier) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AzureStorageRedundancy added in v0.3.1

type AzureStorageRedundancy pulumi.String

Storage Redundancy type offered by Azure.

func (AzureStorageRedundancy) ElementType added in v0.3.1

func (AzureStorageRedundancy) ElementType() reflect.Type

func (AzureStorageRedundancy) ToStringOutput added in v0.3.1

func (e AzureStorageRedundancy) ToStringOutput() pulumi.StringOutput

func (AzureStorageRedundancy) ToStringOutputWithContext added in v0.3.1

func (e AzureStorageRedundancy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AzureStorageRedundancy) ToStringPtrOutput added in v0.3.1

func (e AzureStorageRedundancy) ToStringPtrOutput() pulumi.StringPtrOutput

func (AzureStorageRedundancy) ToStringPtrOutputWithContext added in v0.3.1

func (e AzureStorageRedundancy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Currency added in v0.3.1

type Currency pulumi.String

Currency to report prices in.

func (Currency) ElementType added in v0.3.1

func (Currency) ElementType() reflect.Type

func (Currency) ToStringOutput added in v0.3.1

func (e Currency) ToStringOutput() pulumi.StringOutput

func (Currency) ToStringOutputWithContext added in v0.3.1

func (e Currency) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Currency) ToStringPtrOutput added in v0.3.1

func (e Currency) ToStringPtrOutput() pulumi.StringPtrOutput

func (Currency) ToStringPtrOutputWithContext added in v0.3.1

func (e Currency) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Group

type Group struct {
	pulumi.CustomResourceState

	// List of References to Assessments created on this group.
	Assessments pulumi.StringArrayOutput `pulumi:"assessments"`
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringOutput `pulumi:"createdTimestamp"`
	// For optimistic concurrency control.
	ETag pulumi.StringPtrOutput `pulumi:"eTag"`
	// List of machine names that are part of this group.
	Machines pulumi.StringArrayOutput `pulumi:"machines"`
	// Name of the group.
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of the object = [Microsoft.Migrate/projects/groups].
	Type pulumi.StringOutput `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringOutput `pulumi:"updatedTimestamp"`
}

A group created in a Migration project.

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType added in v0.2.6

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput added in v0.2.6

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext added in v0.2.6

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// Unique name of a group within a project.
	GroupName pulumi.StringInput
	// List of machine names that are part of this group.
	Machines pulumi.StringArrayInput
	// Name of the Azure Migrate project.
	ProjectName pulumi.StringInput
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupInput added in v0.2.6

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupOutput added in v0.2.6

type GroupOutput struct {
	*pulumi.OutputState
}

func (GroupOutput) ElementType added in v0.2.6

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) ToGroupOutput added in v0.2.6

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext added in v0.2.6

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupState

type GroupState struct {
	// List of References to Assessments created on this group.
	Assessments pulumi.StringArrayInput
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringPtrInput
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// List of machine names that are part of this group.
	Machines pulumi.StringArrayInput
	// Name of the group.
	Name pulumi.StringPtrInput
	// Type of the object = [Microsoft.Migrate/projects/groups].
	Type pulumi.StringPtrInput
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type LookupAssessmentArgs

type LookupAssessmentArgs struct {
	// Unique name of an assessment within a project.
	AssessmentName string `pulumi:"assessmentName"`
	// Unique name of a group within a project.
	GroupName string `pulumi:"groupName"`
	// Name of the Azure Migrate project.
	ProjectName string `pulumi:"projectName"`
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupAssessmentResult

type LookupAssessmentResult struct {
	// AHUB discount on windows virtual machines.
	AzureHybridUseBenefit string `pulumi:"azureHybridUseBenefit"`
	// Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.
	AzureLocation string `pulumi:"azureLocation"`
	// Offer code according to which cost estimation is done.
	AzureOfferCode string `pulumi:"azureOfferCode"`
	// Pricing tier for Size evaluation.
	AzurePricingTier string `pulumi:"azurePricingTier"`
	// Storage Redundancy type offered by Azure.
	AzureStorageRedundancy string `pulumi:"azureStorageRedundancy"`
	// Confidence rating percentage for assessment. Can be in the range [0, 100].
	ConfidenceRatingInPercentage float64 `pulumi:"confidenceRatingInPercentage"`
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp string `pulumi:"createdTimestamp"`
	// Currency to report prices in.
	Currency string `pulumi:"currency"`
	// Custom discount percentage to be applied on final costs. Can be in the range [0, 100].
	DiscountPercentage float64 `pulumi:"discountPercentage"`
	// For optimistic concurrency control.
	ETag *string `pulumi:"eTag"`
	// Path reference to this assessment. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}/assessment/{assessmentName}
	Id string `pulumi:"id"`
	// Monthly network cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyBandwidthCost float64 `pulumi:"monthlyBandwidthCost"`
	// Monthly compute cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyComputeCost float64 `pulumi:"monthlyComputeCost"`
	// Monthly storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.
	MonthlyStorageCost float64 `pulumi:"monthlyStorageCost"`
	// Unique name of an assessment.
	Name string `pulumi:"name"`
	// Number of assessed machines part of this assessment.
	NumberOfMachines int `pulumi:"numberOfMachines"`
	// Percentile of performance data used to recommend Azure size.
	Percentile string `pulumi:"percentile"`
	// Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.
	PricesTimestamp string `pulumi:"pricesTimestamp"`
	// Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3.
	ScalingFactor float64 `pulumi:"scalingFactor"`
	// Assessment sizing criterion.
	SizingCriterion string `pulumi:"sizingCriterion"`
	// User configurable setting that describes the status of the assessment.
	Stage string `pulumi:"stage"`
	// Whether the assessment has been created and is valid.
	Status string `pulumi:"status"`
	// Time range of performance data used to recommend a size.
	TimeRange string `pulumi:"timeRange"`
	// Type of the object = [Microsoft.Migrate/projects/groups/assessments].
	Type string `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp string `pulumi:"updatedTimestamp"`
}

An assessment created for a group in the Migration project.

type LookupGroupArgs

type LookupGroupArgs struct {
	// Unique name of a group within a project.
	GroupName string `pulumi:"groupName"`
	// Name of the Azure Migrate project.
	ProjectName string `pulumi:"projectName"`
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupGroupResult

type LookupGroupResult struct {
	// List of References to Assessments created on this group.
	Assessments []string `pulumi:"assessments"`
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp string `pulumi:"createdTimestamp"`
	// For optimistic concurrency control.
	ETag *string `pulumi:"eTag"`
	// Path reference to this group. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}
	Id string `pulumi:"id"`
	// List of machine names that are part of this group.
	Machines []string `pulumi:"machines"`
	// Name of the group.
	Name string `pulumi:"name"`
	// Type of the object = [Microsoft.Migrate/projects/groups].
	Type string `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp string `pulumi:"updatedTimestamp"`
}

A group created in a Migration project.

func LookupGroup

func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)

type LookupProjectArgs

type LookupProjectArgs struct {
	// Name of the Azure Migrate project.
	ProjectName string `pulumi:"projectName"`
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupProjectResult

type LookupProjectResult struct {
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp string `pulumi:"createdTimestamp"`
	// ARM ID of the Service Map workspace created by user.
	CustomerWorkspaceId *string `pulumi:"customerWorkspaceId"`
	// Location of the Service Map workspace created by user.
	CustomerWorkspaceLocation *string `pulumi:"customerWorkspaceLocation"`
	// Reports whether project is under discovery.
	DiscoveryStatus string `pulumi:"discoveryStatus"`
	// For optimistic concurrency control.
	ETag *string `pulumi:"eTag"`
	// Path reference to this project /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}
	Id string `pulumi:"id"`
	// Time when last assessment was created. Date-Time represented in ISO-8601 format. This value will be null until assessment is created.
	LastAssessmentTimestamp string `pulumi:"lastAssessmentTimestamp"`
	// Session id of the last discovery.
	LastDiscoverySessionId string `pulumi:"lastDiscoverySessionId"`
	// Time when this project was created. Date-Time represented in ISO-8601 format. This value will be null until discovery is complete.
	LastDiscoveryTimestamp string `pulumi:"lastDiscoveryTimestamp"`
	// Azure location in which project is created.
	Location *string `pulumi:"location"`
	// Name of the project.
	Name string `pulumi:"name"`
	// Number of assessments created in the project.
	NumberOfAssessments int `pulumi:"numberOfAssessments"`
	// Number of groups created in the project.
	NumberOfGroups int `pulumi:"numberOfGroups"`
	// Number of machines in the project.
	NumberOfMachines int `pulumi:"numberOfMachines"`
	// Provisioning state of the project.
	ProvisioningState *string `pulumi:"provisioningState"`
	// Tags provided by Azure Tagging service.
	Tags interface{} `pulumi:"tags"`
	// Type of the object = [Microsoft.Migrate/projects].
	Type string `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp string `pulumi:"updatedTimestamp"`
}

Azure Migrate Project.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

type Percentile added in v0.3.1

type Percentile pulumi.String

Percentile of performance data used to recommend Azure size.

func (Percentile) ElementType added in v0.3.1

func (Percentile) ElementType() reflect.Type

func (Percentile) ToStringOutput added in v0.3.1

func (e Percentile) ToStringOutput() pulumi.StringOutput

func (Percentile) ToStringOutputWithContext added in v0.3.1

func (e Percentile) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Percentile) ToStringPtrOutput added in v0.3.1

func (e Percentile) ToStringPtrOutput() pulumi.StringPtrOutput

func (Percentile) ToStringPtrOutputWithContext added in v0.3.1

func (e Percentile) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Project

type Project struct {
	pulumi.CustomResourceState

	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringOutput `pulumi:"createdTimestamp"`
	// ARM ID of the Service Map workspace created by user.
	CustomerWorkspaceId pulumi.StringPtrOutput `pulumi:"customerWorkspaceId"`
	// Location of the Service Map workspace created by user.
	CustomerWorkspaceLocation pulumi.StringPtrOutput `pulumi:"customerWorkspaceLocation"`
	// Reports whether project is under discovery.
	DiscoveryStatus pulumi.StringOutput `pulumi:"discoveryStatus"`
	// For optimistic concurrency control.
	ETag pulumi.StringPtrOutput `pulumi:"eTag"`
	// Time when last assessment was created. Date-Time represented in ISO-8601 format. This value will be null until assessment is created.
	LastAssessmentTimestamp pulumi.StringOutput `pulumi:"lastAssessmentTimestamp"`
	// Session id of the last discovery.
	LastDiscoverySessionId pulumi.StringOutput `pulumi:"lastDiscoverySessionId"`
	// Time when this project was created. Date-Time represented in ISO-8601 format. This value will be null until discovery is complete.
	LastDiscoveryTimestamp pulumi.StringOutput `pulumi:"lastDiscoveryTimestamp"`
	// Azure location in which project is created.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Name of the project.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of assessments created in the project.
	NumberOfAssessments pulumi.IntOutput `pulumi:"numberOfAssessments"`
	// Number of groups created in the project.
	NumberOfGroups pulumi.IntOutput `pulumi:"numberOfGroups"`
	// Number of machines in the project.
	NumberOfMachines pulumi.IntOutput `pulumi:"numberOfMachines"`
	// Provisioning state of the project.
	ProvisioningState pulumi.StringPtrOutput `pulumi:"provisioningState"`
	// Tags provided by Azure Tagging service.
	Tags pulumi.AnyOutput `pulumi:"tags"`
	// Type of the object = [Microsoft.Migrate/projects].
	Type pulumi.StringOutput `pulumi:"type"`
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringOutput `pulumi:"updatedTimestamp"`
}

Azure Migrate Project.

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType added in v0.2.6

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput added in v0.2.6

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext added in v0.2.6

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// ARM ID of the Service Map workspace created by user.
	CustomerWorkspaceId pulumi.StringPtrInput
	// Location of the Service Map workspace created by user.
	CustomerWorkspaceLocation pulumi.StringPtrInput
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// Azure location in which project is created.
	Location pulumi.StringPtrInput
	// Name of the Azure Migrate project.
	ProjectName pulumi.StringInput
	// Provisioning state of the project.
	ProvisioningState pulumi.StringPtrInput
	// Name of the Azure Resource Group that project is part of.
	ResourceGroupName pulumi.StringInput
	// Tags provided by Azure Tagging service.
	Tags pulumi.Input
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectInput added in v0.2.6

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectOutput added in v0.2.6

type ProjectOutput struct {
	*pulumi.OutputState
}

func (ProjectOutput) ElementType added in v0.2.6

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput added in v0.2.6

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext added in v0.2.6

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectState

type ProjectState struct {
	// Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp pulumi.StringPtrInput
	// ARM ID of the Service Map workspace created by user.
	CustomerWorkspaceId pulumi.StringPtrInput
	// Location of the Service Map workspace created by user.
	CustomerWorkspaceLocation pulumi.StringPtrInput
	// Reports whether project is under discovery.
	DiscoveryStatus pulumi.StringPtrInput
	// For optimistic concurrency control.
	ETag pulumi.StringPtrInput
	// Time when last assessment was created. Date-Time represented in ISO-8601 format. This value will be null until assessment is created.
	LastAssessmentTimestamp pulumi.StringPtrInput
	// Session id of the last discovery.
	LastDiscoverySessionId pulumi.StringPtrInput
	// Time when this project was created. Date-Time represented in ISO-8601 format. This value will be null until discovery is complete.
	LastDiscoveryTimestamp pulumi.StringPtrInput
	// Azure location in which project is created.
	Location pulumi.StringPtrInput
	// Name of the project.
	Name pulumi.StringPtrInput
	// Number of assessments created in the project.
	NumberOfAssessments pulumi.IntPtrInput
	// Number of groups created in the project.
	NumberOfGroups pulumi.IntPtrInput
	// Number of machines in the project.
	NumberOfMachines pulumi.IntPtrInput
	// Provisioning state of the project.
	ProvisioningState pulumi.StringPtrInput
	// Tags provided by Azure Tagging service.
	Tags pulumi.Input
	// Type of the object = [Microsoft.Migrate/projects].
	Type pulumi.StringPtrInput
	// Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type ProvisioningState added in v0.3.1

type ProvisioningState pulumi.String

Provisioning state of the project.

func (ProvisioningState) ElementType added in v0.3.1

func (ProvisioningState) ElementType() reflect.Type

func (ProvisioningState) ToStringOutput added in v0.3.1

func (e ProvisioningState) ToStringOutput() pulumi.StringOutput

func (ProvisioningState) ToStringOutputWithContext added in v0.3.1

func (e ProvisioningState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProvisioningState) ToStringPtrOutput added in v0.3.1

func (e ProvisioningState) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProvisioningState) ToStringPtrOutputWithContext added in v0.3.1

func (e ProvisioningState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type TimeRange added in v0.3.1

type TimeRange pulumi.String

Time range of performance data used to recommend a size.

func (TimeRange) ElementType added in v0.3.1

func (TimeRange) ElementType() reflect.Type

func (TimeRange) ToStringOutput added in v0.3.1

func (e TimeRange) ToStringOutput() pulumi.StringOutput

func (TimeRange) ToStringOutputWithContext added in v0.3.1

func (e TimeRange) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TimeRange) ToStringPtrOutput added in v0.3.1

func (e TimeRange) ToStringPtrOutput() pulumi.StringPtrOutput

func (TimeRange) ToStringPtrOutputWithContext added in v0.3.1

func (e TimeRange) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL