1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. VMwareCollector
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

azure-native.migrate.VMwareCollector

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

    Azure REST API version: 2019-10-01. Prior API version in Azure Native 1.x: 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 (
    	"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.CollectorPropertiesResponse{
    AgentProperties: interface{}{
    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 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(Map.ofEntries(
                    Map.entry("agentProperties", Map.of("spnDetails", Map.ofEntries(
                        Map.entry("applicationId", "fc717575-8173-4b21-92a5-658b655e613e"),
                        Map.entry("audience", "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp"),
                        Map.entry("authority", "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
                        Map.entry("objectId", "29d94f38-db94-4980-aec0-0cfd55ab1cd0"),
                        Map.entry("tenantId", "72f988bf-86f1-41af-91ab-2d7cd011db47")
                    ))),
                    Map.entry("discoverySiteId", "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite")
                ))
                .resourceGroupName("abgoyal-westEurope")
                .vmWareCollectorName("PortalvCenterbc2fcollector")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    v_mware_collector = azure_native.migrate.VMwareCollector("vMwareCollector",
        e_tag="\"01003d32-0000-0d00-0000-5d74d2e50000\"",
        project_name="abgoyalWEselfhostb72bproject",
        properties=azure_native.migrate.CollectorPropertiesResponseArgs(
            agent_properties={
                "spnDetails": azure_native.migrate.CollectorBodyAgentSpnPropertiesArgs(
                    application_id="fc717575-8173-4b21-92a5-658b655e613e",
                    audience="https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
                    authority="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
                    object_id="29d94f38-db94-4980-aec0-0cfd55ab1cd0",
                    tenant_id="72f988bf-86f1-41af-91ab-2d7cd011db47",
                ),
            },
            discovery_site_id="/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
        ),
        resource_group_name="abgoyal-westEurope",
        vm_ware_collector_name="PortalvCenterbc2fcollector")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const vMwareCollector = new azure_native.migrate.VMwareCollector("vMwareCollector", {
        eTag: "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
        projectName: "abgoyalWEselfhostb72bproject",
        properties: {
            agentProperties: {
                spnDetails: {
                    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",
    });
    
    resources:
      vMwareCollector:
        type: azure-native:migrate:VMwareCollector
        properties:
          eTag: '"01003d32-0000-0d00-0000-5d74d2e50000"'
          projectName: abgoyalWEselfhostb72bproject
          properties:
            agentProperties:
              spnDetails:
                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
    

    Create VMwareCollector Resource

    new VMwareCollector(name: string, args: VMwareCollectorArgs, opts?: CustomResourceOptions);
    @overload
    def VMwareCollector(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        e_tag: Optional[str] = None,
                        project_name: Optional[str] = None,
                        properties: Optional[CollectorPropertiesArgs] = None,
                        resource_group_name: Optional[str] = None,
                        vm_ware_collector_name: Optional[str] = None)
    @overload
    def VMwareCollector(resource_name: str,
                        args: VMwareCollectorArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewVMwareCollector(ctx *Context, name string, args VMwareCollectorArgs, opts ...ResourceOption) (*VMwareCollector, error)
    public VMwareCollector(string name, VMwareCollectorArgs args, CustomResourceOptions? opts = null)
    public VMwareCollector(String name, VMwareCollectorArgs args)
    public VMwareCollector(String name, VMwareCollectorArgs args, CustomResourceOptions options)
    
    type: azure-native:migrate:VMwareCollector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VMwareCollectorArgs
    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 VMwareCollectorArgs
    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 VMwareCollectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VMwareCollectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VMwareCollectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VMwareCollector Resource Properties

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

    Inputs

    The VMwareCollector resource accepts the following input properties:

    ProjectName string
    Name of the Azure Migrate project.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    Properties Pulumi.AzureNative.Migrate.Inputs.CollectorProperties
    VmWareCollectorName string
    Unique name of a VMware collector within a project.
    ProjectName string
    Name of the Azure Migrate project.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    Properties CollectorPropertiesArgs
    VmWareCollectorName string
    Unique name of a VMware collector within a project.
    projectName String
    Name of the Azure Migrate project.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    properties CollectorProperties
    vmWareCollectorName String
    Unique name of a VMware collector within a project.
    projectName string
    Name of the Azure Migrate project.
    resourceGroupName string
    Name of the Azure Resource Group that project is part of.
    eTag string
    properties CollectorProperties
    vmWareCollectorName string
    Unique name of a VMware collector within a project.
    project_name str
    Name of the Azure Migrate project.
    resource_group_name str
    Name of the Azure Resource Group that project is part of.
    e_tag str
    properties CollectorPropertiesArgs
    vm_ware_collector_name str
    Unique name of a VMware collector within a project.
    projectName String
    Name of the Azure Migrate project.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    properties Property Map
    vmWareCollectorName String
    Unique name of a VMware collector within a project.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Type string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Type string
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    type String
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    type string
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    type str
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    type String

    Supporting Types

    CollectorAgentProperties, CollectorAgentPropertiesArgs

    CollectorAgentPropertiesResponse, CollectorAgentPropertiesResponseArgs

    CollectorBodyAgentSpnProperties, CollectorBodyAgentSpnPropertiesArgs

    ApplicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    Audience string
    Intended audience for the service principal.
    Authority string
    AAD Authority URL which was used to request the token for the service principal.
    ObjectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    TenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    ApplicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    Audience string
    Intended audience for the service principal.
    Authority string
    AAD Authority URL which was used to request the token for the service principal.
    ObjectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    TenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId String
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience String
    Intended audience for the service principal.
    authority String
    AAD Authority URL which was used to request the token for the service principal.
    objectId String
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId String
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience string
    Intended audience for the service principal.
    authority string
    AAD Authority URL which was used to request the token for the service principal.
    objectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    application_id str
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience str
    Intended audience for the service principal.
    authority str
    AAD Authority URL which was used to request the token for the service principal.
    object_id str
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenant_id str
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId String
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience String
    Intended audience for the service principal.
    authority String
    AAD Authority URL which was used to request the token for the service principal.
    objectId String
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId String
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.

    CollectorBodyAgentSpnPropertiesResponse, CollectorBodyAgentSpnPropertiesResponseArgs

    ApplicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    Audience string
    Intended audience for the service principal.
    Authority string
    AAD Authority URL which was used to request the token for the service principal.
    ObjectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    TenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    ApplicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    Audience string
    Intended audience for the service principal.
    Authority string
    AAD Authority URL which was used to request the token for the service principal.
    ObjectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    TenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId String
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience String
    Intended audience for the service principal.
    authority String
    AAD Authority URL which was used to request the token for the service principal.
    objectId String
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId String
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId string
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience string
    Intended audience for the service principal.
    authority string
    AAD Authority URL which was used to request the token for the service principal.
    objectId string
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId string
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    application_id str
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience str
    Intended audience for the service principal.
    authority str
    AAD Authority URL which was used to request the token for the service principal.
    object_id str
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenant_id str
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    applicationId String
    Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    audience String
    Intended audience for the service principal.
    authority String
    AAD Authority URL which was used to request the token for the service principal.
    objectId String
    Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
    tenantId String
    Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.

    CollectorProperties, CollectorPropertiesArgs

    AgentProperties CollectorAgentProperties
    DiscoverySiteId string
    The ARM id of the discovery service site.
    agentProperties CollectorAgentProperties
    discoverySiteId String
    The ARM id of the discovery service site.
    agentProperties CollectorAgentProperties
    discoverySiteId string
    The ARM id of the discovery service site.
    agent_properties CollectorAgentProperties
    discovery_site_id str
    The ARM id of the discovery service site.
    agentProperties Property Map
    discoverySiteId String
    The ARM id of the discovery service site.

    CollectorPropertiesResponse, CollectorPropertiesResponseArgs

    CreatedTimestamp string
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    UpdatedTimestamp string
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    AgentProperties Pulumi.AzureNative.Migrate.Inputs.CollectorAgentPropertiesResponse
    DiscoverySiteId string
    The ARM id of the discovery service site.
    CreatedTimestamp string
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    UpdatedTimestamp string
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    AgentProperties CollectorAgentPropertiesResponse
    DiscoverySiteId string
    The ARM id of the discovery service site.
    createdTimestamp String
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    updatedTimestamp String
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    agentProperties CollectorAgentPropertiesResponse
    discoverySiteId String
    The ARM id of the discovery service site.
    createdTimestamp string
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    updatedTimestamp string
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    agentProperties CollectorAgentPropertiesResponse
    discoverySiteId string
    The ARM id of the discovery service site.
    created_timestamp str
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    updated_timestamp str
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    agent_properties CollectorAgentPropertiesResponse
    discovery_site_id str
    The ARM id of the discovery service site.
    createdTimestamp String
    Time when this collector was created. Date-Time represented in ISO-8601 format.
    updatedTimestamp String
    Time when this collector was updated. Date-Time represented in ISO-8601 format.
    agentProperties Property Map
    discoverySiteId String
    The ARM id of the discovery service site.

    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} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi