VmwareCollectorsOperation

class VmwareCollectorsOperation : KotlinCustomResource

VMware collector 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. 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

VmwareCollectorsOperations_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vmwareCollectorsOperation = new AzureNative.Migrate.VmwareCollectorsOperation("vmwareCollectorsOperation", new()
{
AgentProperties = new AzureNative.Migrate.Inputs.CollectorAgentPropertiesBaseArgs
{
Id = "fe243486-3318-41fa-aaba-c48b5df75308",
LastHeartbeatUtc = "2022-03-29T12:10:08.9167289Z",
SpnDetails = new AzureNative.Migrate.Inputs.CollectorAgentSpnPropertiesBaseArgs
{
ApplicationId = "82b3e452-c0e8-4662-8347-58282925ae84",
Audience = "82b3e452-c0e8-4662-8347-58282925ae84",
Authority = "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
ObjectId = "3fc89111-1405-4938-9214-37aa4739401d",
TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
},
Version = "1.0.8.383",
},
DiscoverySiteId = "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site",
ProjectName = "app18700project",
ProvisioningState = AzureNative.Migrate.ProvisioningState.Succeeded,
ResourceGroupName = "ayagrawRG",
VmWareCollectorName = "Vmware2258collector",
});
});
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.NewVmwareCollectorsOperation(ctx, "vmwareCollectorsOperation", &migrate.VmwareCollectorsOperationArgs{
AgentProperties: &migrate.CollectorAgentPropertiesBaseArgs{
Id: pulumi.String("fe243486-3318-41fa-aaba-c48b5df75308"),
LastHeartbeatUtc: pulumi.String("2022-03-29T12:10:08.9167289Z"),
SpnDetails: &migrate.CollectorAgentSpnPropertiesBaseArgs{
ApplicationId: pulumi.String("82b3e452-c0e8-4662-8347-58282925ae84"),
Audience: pulumi.String("82b3e452-c0e8-4662-8347-58282925ae84"),
Authority: pulumi.String("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
ObjectId: pulumi.String("3fc89111-1405-4938-9214-37aa4739401d"),
TenantId: pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
},
Version: pulumi.String("1.0.8.383"),
},
DiscoverySiteId: pulumi.String("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site"),
ProjectName: pulumi.String("app18700project"),
ProvisioningState: pulumi.String(migrate.ProvisioningStateSucceeded),
ResourceGroupName: pulumi.String("ayagrawRG"),
VmWareCollectorName: pulumi.String("Vmware2258collector"),
})
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.VmwareCollectorsOperation;
import com.pulumi.azurenative.migrate.VmwareCollectorsOperationArgs;
import com.pulumi.azurenative.migrate.inputs.CollectorAgentPropertiesBaseArgs;
import com.pulumi.azurenative.migrate.inputs.CollectorAgentSpnPropertiesBaseArgs;
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 vmwareCollectorsOperation = new VmwareCollectorsOperation("vmwareCollectorsOperation", VmwareCollectorsOperationArgs.builder()
.agentProperties(CollectorAgentPropertiesBaseArgs.builder()
.id("fe243486-3318-41fa-aaba-c48b5df75308")
.lastHeartbeatUtc("2022-03-29T12:10:08.9167289Z")
.spnDetails(CollectorAgentSpnPropertiesBaseArgs.builder()
.applicationId("82b3e452-c0e8-4662-8347-58282925ae84")
.audience("82b3e452-c0e8-4662-8347-58282925ae84")
.authority("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47")
.objectId("3fc89111-1405-4938-9214-37aa4739401d")
.tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
.build())
.version("1.0.8.383")
.build())
.discoverySiteId("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site")
.projectName("app18700project")
.provisioningState("Succeeded")
.resourceGroupName("ayagrawRG")
.vmWareCollectorName("Vmware2258collector")
.build());
}
}

Import

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

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

Properties

Link copied to clipboard

Gets or sets the collector agent properties.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Gets the Timestamp when collector was created.

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

Gets the discovery site id.

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

The name of the resource

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Timestamp when collector was last updated.

Link copied to clipboard
val urn: Output<String>