1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. HeterogeneousAssessmentOperation
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.migrate.HeterogeneousAssessmentOperation

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Heterogeneous assessment resource.

    Uses Azure REST API version 2024-03-03-preview.

    Example Usage

    HeterogeneousAssessmentOperations_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var heterogeneousAssessmentOperation = new AzureNative.Migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperation", new()
        {
            AssessmentName = "assessmentName",
            ProjectName = "contosoProject",
            Properties = new AzureNative.Migrate.Inputs.HeterogeneousAssessmentPropertiesArgs
            {
                AssessmentArmIds = new[]
                {
                    "gartykxgfvqccfs",
                },
            },
            ResourceGroupName = "rgheterogeneousAssessments",
        });
    
    });
    
    package main
    
    import (
    	migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := migrate.NewHeterogeneousAssessmentOperation(ctx, "heterogeneousAssessmentOperation", &migrate.HeterogeneousAssessmentOperationArgs{
    			AssessmentName: pulumi.String("assessmentName"),
    			ProjectName:    pulumi.String("contosoProject"),
    			Properties: &migrate.HeterogeneousAssessmentPropertiesArgs{
    				AssessmentArmIds: pulumi.StringArray{
    					pulumi.String("gartykxgfvqccfs"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rgheterogeneousAssessments"),
    		})
    		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.HeterogeneousAssessmentOperation;
    import com.pulumi.azurenative.migrate.HeterogeneousAssessmentOperationArgs;
    import com.pulumi.azurenative.migrate.inputs.HeterogeneousAssessmentPropertiesArgs;
    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 heterogeneousAssessmentOperation = new HeterogeneousAssessmentOperation("heterogeneousAssessmentOperation", HeterogeneousAssessmentOperationArgs.builder()
                .assessmentName("assessmentName")
                .projectName("contosoProject")
                .properties(HeterogeneousAssessmentPropertiesArgs.builder()
                    .assessmentArmIds("gartykxgfvqccfs")
                    .build())
                .resourceGroupName("rgheterogeneousAssessments")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const heterogeneousAssessmentOperation = new azure_native.migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperation", {
        assessmentName: "assessmentName",
        projectName: "contosoProject",
        properties: {
            assessmentArmIds: ["gartykxgfvqccfs"],
        },
        resourceGroupName: "rgheterogeneousAssessments",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    heterogeneous_assessment_operation = azure_native.migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperation",
        assessment_name="assessmentName",
        project_name="contosoProject",
        properties={
            "assessment_arm_ids": ["gartykxgfvqccfs"],
        },
        resource_group_name="rgheterogeneousAssessments")
    
    resources:
      heterogeneousAssessmentOperation:
        type: azure-native:migrate:HeterogeneousAssessmentOperation
        properties:
          assessmentName: assessmentName
          projectName: contosoProject
          properties:
            assessmentArmIds:
              - gartykxgfvqccfs
          resourceGroupName: rgheterogeneousAssessments
    

    Create HeterogeneousAssessmentOperation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HeterogeneousAssessmentOperation(name: string, args: HeterogeneousAssessmentOperationArgs, opts?: CustomResourceOptions);
    @overload
    def HeterogeneousAssessmentOperation(resource_name: str,
                                         args: HeterogeneousAssessmentOperationArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def HeterogeneousAssessmentOperation(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         project_name: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         assessment_name: Optional[str] = None,
                                         properties: Optional[HeterogeneousAssessmentPropertiesArgs] = None)
    func NewHeterogeneousAssessmentOperation(ctx *Context, name string, args HeterogeneousAssessmentOperationArgs, opts ...ResourceOption) (*HeterogeneousAssessmentOperation, error)
    public HeterogeneousAssessmentOperation(string name, HeterogeneousAssessmentOperationArgs args, CustomResourceOptions? opts = null)
    public HeterogeneousAssessmentOperation(String name, HeterogeneousAssessmentOperationArgs args)
    public HeterogeneousAssessmentOperation(String name, HeterogeneousAssessmentOperationArgs args, CustomResourceOptions options)
    
    type: azure-native:migrate:HeterogeneousAssessmentOperation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args HeterogeneousAssessmentOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HeterogeneousAssessmentOperationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HeterogeneousAssessmentOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HeterogeneousAssessmentOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HeterogeneousAssessmentOperationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var heterogeneousAssessmentOperationResource = new AzureNative.Migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperationResource", new()
    {
        ProjectName = "string",
        ResourceGroupName = "string",
        AssessmentName = "string",
        Properties = new AzureNative.Migrate.Inputs.HeterogeneousAssessmentPropertiesArgs
        {
            AssessmentArmIds = new[]
            {
                "string",
            },
        },
    });
    
    example, err := migrate.NewHeterogeneousAssessmentOperation(ctx, "heterogeneousAssessmentOperationResource", &migrate.HeterogeneousAssessmentOperationArgs{
    	ProjectName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	AssessmentName:    pulumi.String("string"),
    	Properties: &migrate.HeterogeneousAssessmentPropertiesArgs{
    		AssessmentArmIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var heterogeneousAssessmentOperationResource = new HeterogeneousAssessmentOperation("heterogeneousAssessmentOperationResource", HeterogeneousAssessmentOperationArgs.builder()
        .projectName("string")
        .resourceGroupName("string")
        .assessmentName("string")
        .properties(HeterogeneousAssessmentPropertiesArgs.builder()
            .assessmentArmIds("string")
            .build())
        .build());
    
    heterogeneous_assessment_operation_resource = azure_native.migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperationResource",
        project_name="string",
        resource_group_name="string",
        assessment_name="string",
        properties={
            "assessment_arm_ids": ["string"],
        })
    
    const heterogeneousAssessmentOperationResource = new azure_native.migrate.HeterogeneousAssessmentOperation("heterogeneousAssessmentOperationResource", {
        projectName: "string",
        resourceGroupName: "string",
        assessmentName: "string",
        properties: {
            assessmentArmIds: ["string"],
        },
    });
    
    type: azure-native:migrate:HeterogeneousAssessmentOperation
    properties:
        assessmentName: string
        projectName: string
        properties:
            assessmentArmIds:
                - string
        resourceGroupName: string
    

    HeterogeneousAssessmentOperation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The HeterogeneousAssessmentOperation resource accepts the following input properties:

    ProjectName string
    Assessment Project Name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AssessmentName string
    Heterogeneous Assessment ARM name
    Properties Pulumi.AzureNative.Migrate.Inputs.HeterogeneousAssessmentProperties
    The resource-specific properties for this resource.
    ProjectName string
    Assessment Project Name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AssessmentName string
    Heterogeneous Assessment ARM name
    Properties HeterogeneousAssessmentPropertiesArgs
    The resource-specific properties for this resource.
    projectName String
    Assessment Project Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    assessmentName String
    Heterogeneous Assessment ARM name
    properties HeterogeneousAssessmentProperties
    The resource-specific properties for this resource.
    projectName string
    Assessment Project Name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    assessmentName string
    Heterogeneous Assessment ARM name
    properties HeterogeneousAssessmentProperties
    The resource-specific properties for this resource.
    project_name str
    Assessment Project Name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    assessment_name str
    Heterogeneous Assessment ARM name
    properties HeterogeneousAssessmentPropertiesArgs
    The resource-specific properties for this resource.
    projectName String
    Assessment Project Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    assessmentName String
    Heterogeneous Assessment ARM name
    properties Property Map
    The resource-specific properties for this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HeterogeneousAssessmentOperation resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Migrate.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    HeterogeneousAssessmentProperties, HeterogeneousAssessmentPropertiesArgs

    AssessmentArmIds List<string>
    Arm id of partner assessments.
    AssessmentArmIds []string
    Arm id of partner assessments.
    assessmentArmIds List<String>
    Arm id of partner assessments.
    assessmentArmIds string[]
    Arm id of partner assessments.
    assessment_arm_ids Sequence[str]
    Arm id of partner assessments.
    assessmentArmIds List<String>
    Arm id of partner assessments.

    HeterogeneousAssessmentPropertiesResponse, HeterogeneousAssessmentPropertiesResponseArgs

    AzureLocation string
    Azure location for assessment.
    ConfidenceRatingInPercentage double
    Confidence rating in percentage.
    LastCalculatedOn string
    Timestamp for the last successfully calculated summary for the assessment.
    ProvisioningState string
    The status of the last operation.
    SchemaVersion string
    Schema version.
    SizingCriterion string
    Sizing criterion for assessment.
    Status string
    Whether assessment is in valid state and all machines have been assessed.
    AssessmentArmIds List<string>
    Arm id of partner assessments.
    AzureLocation string
    Azure location for assessment.
    ConfidenceRatingInPercentage float64
    Confidence rating in percentage.
    LastCalculatedOn string
    Timestamp for the last successfully calculated summary for the assessment.
    ProvisioningState string
    The status of the last operation.
    SchemaVersion string
    Schema version.
    SizingCriterion string
    Sizing criterion for assessment.
    Status string
    Whether assessment is in valid state and all machines have been assessed.
    AssessmentArmIds []string
    Arm id of partner assessments.
    azureLocation String
    Azure location for assessment.
    confidenceRatingInPercentage Double
    Confidence rating in percentage.
    lastCalculatedOn String
    Timestamp for the last successfully calculated summary for the assessment.
    provisioningState String
    The status of the last operation.
    schemaVersion String
    Schema version.
    sizingCriterion String
    Sizing criterion for assessment.
    status String
    Whether assessment is in valid state and all machines have been assessed.
    assessmentArmIds List<String>
    Arm id of partner assessments.
    azureLocation string
    Azure location for assessment.
    confidenceRatingInPercentage number
    Confidence rating in percentage.
    lastCalculatedOn string
    Timestamp for the last successfully calculated summary for the assessment.
    provisioningState string
    The status of the last operation.
    schemaVersion string
    Schema version.
    sizingCriterion string
    Sizing criterion for assessment.
    status string
    Whether assessment is in valid state and all machines have been assessed.
    assessmentArmIds string[]
    Arm id of partner assessments.
    azure_location str
    Azure location for assessment.
    confidence_rating_in_percentage float
    Confidence rating in percentage.
    last_calculated_on str
    Timestamp for the last successfully calculated summary for the assessment.
    provisioning_state str
    The status of the last operation.
    schema_version str
    Schema version.
    sizing_criterion str
    Sizing criterion for assessment.
    status str
    Whether assessment is in valid state and all machines have been assessed.
    assessment_arm_ids Sequence[str]
    Arm id of partner assessments.
    azureLocation String
    Azure location for assessment.
    confidenceRatingInPercentage Number
    Confidence rating in percentage.
    lastCalculatedOn String
    Timestamp for the last successfully calculated summary for the assessment.
    provisioningState String
    The status of the last operation.
    schemaVersion String
    Schema version.
    sizingCriterion String
    Sizing criterion for assessment.
    status String
    Whether assessment is in valid state and all machines have been assessed.
    assessmentArmIds List<String>
    Arm id of partner assessments.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:migrate:HeterogeneousAssessmentOperation assessmentName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/heterogeneousAssessments/{assessmentName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi