VMwareCollectorArgs

data class VMwareCollectorArgs(val eTag: Output<String>? = null, val projectName: Output<String>? = null, val properties: Output<CollectorPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val vmWareCollectorName: Output<String>? = null) : ConvertibleToJava<VMwareCollectorArgs>

Uses Azure REST API version 2019-10-01. In version 2.x of the Azure Native provider, it used API version 2019-10-01.

Example Usage

VMwareCollectors_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vMwareCollector = new AzureNative.Migrate.VMwareCollector("vMwareCollector", new()
{
ETag = "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
ProjectName = "abgoyalWEselfhostb72bproject",
Properties = new AzureNative.Migrate.Inputs.CollectorPropertiesArgs
{
AgentProperties = new AzureNative.Migrate.Inputs.CollectorAgentPropertiesArgs
{
SpnDetails = new AzureNative.Migrate.Inputs.CollectorBodyAgentSpnPropertiesArgs
{
ApplicationId = "fc717575-8173-4b21-92a5-658b655e613e",
Audience = "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
Authority = "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
ObjectId = "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
},
},
DiscoverySiteId = "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
},
ResourceGroupName = "abgoyal-westEurope",
VmWareCollectorName = "PortalvCenterbc2fcollector",
});
});
package main
import (
migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := migrate.NewVMwareCollector(ctx, "vMwareCollector", &migrate.VMwareCollectorArgs{
ETag: pulumi.String("\"01003d32-0000-0d00-0000-5d74d2e50000\""),
ProjectName: pulumi.String("abgoyalWEselfhostb72bproject"),
Properties: &migrate.CollectorPropertiesArgs{
AgentProperties: &migrate.CollectorAgentPropertiesArgs{
SpnDetails: &migrate.CollectorBodyAgentSpnPropertiesArgs{
ApplicationId: pulumi.String("fc717575-8173-4b21-92a5-658b655e613e"),
Audience: pulumi.String("https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp"),
Authority: pulumi.String("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
ObjectId: pulumi.String("29d94f38-db94-4980-aec0-0cfd55ab1cd0"),
TenantId: pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
},
},
DiscoverySiteId: pulumi.String("/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite"),
},
ResourceGroupName: pulumi.String("abgoyal-westEurope"),
VmWareCollectorName: pulumi.String("PortalvCenterbc2fcollector"),
})
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.VMwareCollector;
import com.pulumi.azurenative.migrate.VMwareCollectorArgs;
import com.pulumi.azurenative.migrate.inputs.CollectorPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.CollectorAgentPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.CollectorBodyAgentSpnPropertiesArgs;
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 vMwareCollector = new VMwareCollector("vMwareCollector", VMwareCollectorArgs.builder()
.eTag("\"01003d32-0000-0d00-0000-5d74d2e50000\"")
.projectName("abgoyalWEselfhostb72bproject")
.properties(CollectorPropertiesArgs.builder()
.agentProperties(CollectorAgentPropertiesArgs.builder()
.spnDetails(CollectorBodyAgentSpnPropertiesArgs.builder()
.applicationId("fc717575-8173-4b21-92a5-658b655e613e")
.audience("https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp")
.authority("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47")
.objectId("29d94f38-db94-4980-aec0-0cfd55ab1cd0")
.tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
.build())
.build())
.discoverySiteId("/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite")
.build())
.resourceGroupName("abgoyal-westEurope")
.vmWareCollectorName("PortalvCenterbc2fcollector")
.build());
}
}

Import

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

$ pulumi import azure-native:migrate:VMwareCollector PortalvCenterbc2fcollector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors/{vmWareCollectorName}

Constructors

Link copied to clipboard
constructor(eTag: Output<String>? = null, projectName: Output<String>? = null, properties: Output<CollectorPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, vmWareCollectorName: Output<String>? = null)

Properties

Link copied to clipboard
val eTag: Output<String>? = null
Link copied to clipboard
val projectName: Output<String>? = null

Name of the Azure Migrate project.

Link copied to clipboard
val properties: Output<CollectorPropertiesArgs>? = null
Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the Azure Resource Group that project is part of.

Link copied to clipboard
val vmWareCollectorName: Output<String>? = null

Unique name of a VMware collector within a project.

Functions

Link copied to clipboard
open override fun toJava(): VMwareCollectorArgs