AssessmentProjectsOperation

class AssessmentProjectsOperation : KotlinCustomResource

An Assessment project site 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, 2024-03-03-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

AssessmentProjectsOperations_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var assessmentProjectsOperation = new AzureNative.Migrate.AssessmentProjectsOperation("assessmentProjectsOperation", new()
{
AssessmentSolutionId = "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
CustomerStorageAccountArmId = "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
Location = "southeastasia",
ProjectName = "sakanwar1204project",
ProjectStatus = AzureNative.Migrate.ProjectStatus.Active,
ProvisioningState = AzureNative.Migrate.ProvisioningState.Succeeded,
PublicNetworkAccess = "Disabled",
ResourceGroupName = "sakanwar",
Tags =
{
{ "Migrate Project", "sakanwar-PE-SEA" },
},
});
});
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.NewAssessmentProjectsOperation(ctx, "assessmentProjectsOperation", &migrate.AssessmentProjectsOperationArgs{
AssessmentSolutionId: pulumi.String("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
CustomerStorageAccountArmId: pulumi.String("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
Location: pulumi.String("southeastasia"),
ProjectName: pulumi.String("sakanwar1204project"),
ProjectStatus: pulumi.String(migrate.ProjectStatusActive),
ProvisioningState: pulumi.String(migrate.ProvisioningStateSucceeded),
PublicNetworkAccess: pulumi.String("Disabled"),
ResourceGroupName: pulumi.String("sakanwar"),
Tags: pulumi.StringMap{
"Migrate Project": pulumi.String("sakanwar-PE-SEA"),
},
})
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.AssessmentProjectsOperation;
import com.pulumi.azurenative.migrate.AssessmentProjectsOperationArgs;
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 assessmentProjectsOperation = new AssessmentProjectsOperation("assessmentProjectsOperation", AssessmentProjectsOperationArgs.builder()
.assessmentSolutionId("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa")
.customerStorageAccountArmId("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa")
.location("southeastasia")
.projectName("sakanwar1204project")
.projectStatus("Active")
.provisioningState("Succeeded")
.publicNetworkAccess("Disabled")
.resourceGroupName("sakanwar")
.tags(Map.of("Migrate Project", "sakanwar-PE-SEA"))
.build());
}
}

Import

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

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

Properties

Link copied to clipboard

Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Time when this project was created. Date-Time represented in ISO-8601 format.

Link copied to clipboard

The ARM id of the storage account used for interactions when public access is disabled.

Link copied to clipboard

The ARM id of service map workspace created by customer.

Link copied to clipboard

Location of service map workspace created by customer.

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

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The list of private endpoint connections to the project.

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

Assessment project status.

Link copied to clipboard

The status of the last operation.

Link copied to clipboard

This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceEndpoint: Output<String>

Endpoint at which the collector agent can call agent REST API.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

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

Time when this project was last updated. Date-Time represented in ISO-8601 format.

Link copied to clipboard
val urn: Output<String>