1. Packages
  2. Azure Native v2
  3. API Docs
  4. migrate
  5. getImportCollector
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.migrate.getImportCollector

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get a Import collector. Azure REST API version: 2019-10-01.

Using getImportCollector

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getImportCollector(args: GetImportCollectorArgs, opts?: InvokeOptions): Promise<GetImportCollectorResult>
function getImportCollectorOutput(args: GetImportCollectorOutputArgs, opts?: InvokeOptions): Output<GetImportCollectorResult>
Copy
def get_import_collector(import_collector_name: Optional[str] = None,
                         project_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetImportCollectorResult
def get_import_collector_output(import_collector_name: Optional[pulumi.Input[str]] = None,
                         project_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetImportCollectorResult]
Copy
func LookupImportCollector(ctx *Context, args *LookupImportCollectorArgs, opts ...InvokeOption) (*LookupImportCollectorResult, error)
func LookupImportCollectorOutput(ctx *Context, args *LookupImportCollectorOutputArgs, opts ...InvokeOption) LookupImportCollectorResultOutput
Copy

> Note: This function is named LookupImportCollector in the Go SDK.

public static class GetImportCollector 
{
    public static Task<GetImportCollectorResult> InvokeAsync(GetImportCollectorArgs args, InvokeOptions? opts = null)
    public static Output<GetImportCollectorResult> Invoke(GetImportCollectorInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetImportCollectorResult> getImportCollector(GetImportCollectorArgs args, InvokeOptions options)
public static Output<GetImportCollectorResult> getImportCollector(GetImportCollectorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:migrate:getImportCollector
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ImportCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Import collector within a project.
ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
ImportCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Import collector within a project.
ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
importCollectorName
This property is required.
Changes to this property will trigger replacement.
String
Unique name of a Import collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.
importCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Import collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
import_collector_name
This property is required.
Changes to this property will trigger replacement.
str
Unique name of a Import collector within a project.
project_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Migrate project.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Resource Group that project is part of.
importCollectorName
This property is required.
Changes to this property will trigger replacement.
String
Unique name of a Import collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.

getImportCollector Result

The following output properties are available:

id String
name String
properties Property Map
type String
eTag String

Supporting Types

ImportCollectorPropertiesResponse

CreatedTimestamp This property is required. string
UpdatedTimestamp This property is required. string
DiscoverySiteId string
CreatedTimestamp This property is required. string
UpdatedTimestamp This property is required. string
DiscoverySiteId string
createdTimestamp This property is required. String
updatedTimestamp This property is required. String
discoverySiteId String
createdTimestamp This property is required. string
updatedTimestamp This property is required. string
discoverySiteId string
created_timestamp This property is required. str
updated_timestamp This property is required. str
discovery_site_id str
createdTimestamp This property is required. String
updatedTimestamp This property is required. String
discoverySiteId String

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi