Documentation
¶
Index ¶
Constants ¶
This section is empty.
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"` // 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"` // 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.
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 // 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 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 // 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 // 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 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).
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 ¶
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"` // 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"` // 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"` // 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.
func LookupAssessment ¶
func LookupAssessment(ctx *pulumi.Context, args *LookupAssessmentArgs, opts ...pulumi.InvokeOption) (*LookupAssessmentResult, error)
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"` // 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 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"` // Reports whether project is under discovery. DiscoveryStatus string `pulumi:"discoveryStatus"` // For optimistic concurrency control. ETag *string `pulumi:"eTag"` // 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 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"` // Reports whether project is under discovery. DiscoveryStatus pulumi.StringOutput `pulumi:"discoveryStatus"` // For optimistic concurrency control. ETag pulumi.StringPtrOutput `pulumi:"eTag"` // 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.
type ProjectArgs ¶
type ProjectArgs struct { // ARM ID of the Service Map workspace created by user. CustomerWorkspaceId 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 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 // Reports whether project is under discovery. DiscoveryStatus pulumi.StringPtrInput // For optimistic concurrency control. ETag 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