azure-native.migrate.ServerCollector

Explore with Pulumi AI

API Version: 2019-10-01.

Example Usage

ServerCollectors_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var serverCollector = new AzureNative.Migrate.ServerCollector("serverCollector", new()
    {
        ETag = "\"00000606-0000-0d00-0000-605999bf0000\"",
        ProjectName = "app11141project",
        Properties = new AzureNative.Migrate.Inputs.CollectorPropertiesArgs
        {
            AgentProperties = new AzureNative.Migrate.Inputs.CollectorAgentPropertiesArgs
            {
                SpnDetails = new AzureNative.Migrate.Inputs.CollectorBodyAgentSpnPropertiesArgs
                {
                    ApplicationId = "ad9f701a-cc08-4421-b51f-b5762d58e9ba",
                    Audience = "https://72f988bf-86f1-41af-91ab-2d7cd011db47/app23df4authandaccessaadapp",
                    Authority = "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
                    ObjectId = "b4975e42-9248-4a36-b99f-37eca377ea00",
                    TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
                },
            },
            DiscoverySiteId = "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/ServerSites/app21141site",
        },
        ResourceGroupName = "pajindtest",
        ServerCollectorName = "app23df4collector",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.migrate.ServerCollector;
import com.pulumi.azurenative.migrate.ServerCollectorArgs;
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 serverCollector = new ServerCollector("serverCollector", ServerCollectorArgs.builder()        
            .eTag("\"00000606-0000-0d00-0000-605999bf0000\"")
            .projectName("app11141project")
            .properties(Map.ofEntries(
                Map.entry("agentProperties", Map.of("spnDetails", Map.ofEntries(
                    Map.entry("applicationId", "ad9f701a-cc08-4421-b51f-b5762d58e9ba"),
                    Map.entry("audience", "https://72f988bf-86f1-41af-91ab-2d7cd011db47/app23df4authandaccessaadapp"),
                    Map.entry("authority", "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
                    Map.entry("objectId", "b4975e42-9248-4a36-b99f-37eca377ea00"),
                    Map.entry("tenantId", "72f988bf-86f1-41af-91ab-2d7cd011db47")
                ))),
                Map.entry("discoverySiteId", "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/ServerSites/app21141site")
            ))
            .resourceGroupName("pajindtest")
            .serverCollectorName("app23df4collector")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

server_collector = azure_native.migrate.ServerCollector("serverCollector",
    e_tag="\"00000606-0000-0d00-0000-605999bf0000\"",
    project_name="app11141project",
    properties=azure_native.migrate.CollectorPropertiesResponseArgs(
        agent_properties={
            "spnDetails": azure_native.migrate.CollectorBodyAgentSpnPropertiesArgs(
                application_id="ad9f701a-cc08-4421-b51f-b5762d58e9ba",
                audience="https://72f988bf-86f1-41af-91ab-2d7cd011db47/app23df4authandaccessaadapp",
                authority="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
                object_id="b4975e42-9248-4a36-b99f-37eca377ea00",
                tenant_id="72f988bf-86f1-41af-91ab-2d7cd011db47",
            ),
        },
        discovery_site_id="/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/ServerSites/app21141site",
    ),
    resource_group_name="pajindtest",
    server_collector_name="app23df4collector")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const serverCollector = new azure_native.migrate.ServerCollector("serverCollector", {
    eTag: "\"00000606-0000-0d00-0000-605999bf0000\"",
    projectName: "app11141project",
    properties: {
        agentProperties: {
            spnDetails: {
                applicationId: "ad9f701a-cc08-4421-b51f-b5762d58e9ba",
                audience: "https://72f988bf-86f1-41af-91ab-2d7cd011db47/app23df4authandaccessaadapp",
                authority: "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
                objectId: "b4975e42-9248-4a36-b99f-37eca377ea00",
                tenantId: "72f988bf-86f1-41af-91ab-2d7cd011db47",
            },
        },
        discoverySiteId: "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/ServerSites/app21141site",
    },
    resourceGroupName: "pajindtest",
    serverCollectorName: "app23df4collector",
});
resources:
  serverCollector:
    type: azure-native:migrate:ServerCollector
    properties:
      eTag: '"00000606-0000-0d00-0000-605999bf0000"'
      projectName: app11141project
      properties:
        agentProperties:
          spnDetails:
            applicationId: ad9f701a-cc08-4421-b51f-b5762d58e9ba
            audience: https://72f988bf-86f1-41af-91ab-2d7cd011db47/app23df4authandaccessaadapp
            authority: https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47
            objectId: b4975e42-9248-4a36-b99f-37eca377ea00
            tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
        discoverySiteId: /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/ServerSites/app21141site
      resourceGroupName: pajindtest
      serverCollectorName: app23df4collector

Create ServerCollector Resource

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

name string
The unique name of the resource.
args ServerCollectorArgs
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 ServerCollectorArgs
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 ServerCollectorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServerCollectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ServerCollectorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ServerCollector 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 ServerCollector 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.CollectorPropertiesArgs
ServerCollectorName string

Unique name of a Server 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
ServerCollectorName string

Unique name of a Server 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
serverCollectorName String

Unique name of a Server 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
serverCollectorName string

Unique name of a Server 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
server_collector_name str

Unique name of a Server 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
serverCollectorName String

Unique name of a Server collector within a project.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServerCollector 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

CollectorAgentPropertiesResponse

CollectorBodyAgentSpnProperties

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

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

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

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:ServerCollector app23df4collector /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindtest/providers/Microsoft.Migrate/assessmentprojects/app11141project/servercollectors/app23df4collector 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0