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.34.0 published on Thursday, Mar 28, 2024 by Pulumi
azure-native.migrate.ImportCollector
Explore with Pulumi AI
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi
Azure REST API version: 2019-10-01. Prior API version in Azure Native 1.x: 2019-10-01.
Example Usage
ImportCollectors_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var importCollector = new AzureNative.Migrate.ImportCollector("importCollector", new()
{
ImportCollectorName = "importCollector2952",
ProjectName = "rajoshCCY9671project",
ResourceGroupName = "markusavstestrg",
});
});
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.NewImportCollector(ctx, "importCollector", &migrate.ImportCollectorArgs{
ImportCollectorName: pulumi.String("importCollector2952"),
ProjectName: pulumi.String("rajoshCCY9671project"),
ResourceGroupName: pulumi.String("markusavstestrg"),
})
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.ImportCollector;
import com.pulumi.azurenative.migrate.ImportCollectorArgs;
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 importCollector = new ImportCollector("importCollector", ImportCollectorArgs.builder()
.importCollectorName("importCollector2952")
.projectName("rajoshCCY9671project")
.resourceGroupName("markusavstestrg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
import_collector = azure_native.migrate.ImportCollector("importCollector",
import_collector_name="importCollector2952",
project_name="rajoshCCY9671project",
resource_group_name="markusavstestrg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const importCollector = new azure_native.migrate.ImportCollector("importCollector", {
importCollectorName: "importCollector2952",
projectName: "rajoshCCY9671project",
resourceGroupName: "markusavstestrg",
});
resources:
importCollector:
type: azure-native:migrate:ImportCollector
properties:
importCollectorName: importCollector2952
projectName: rajoshCCY9671project
resourceGroupName: markusavstestrg
Create ImportCollector Resource
new ImportCollector(name: string, args: ImportCollectorArgs, opts?: CustomResourceOptions);
@overload
def ImportCollector(resource_name: str,
opts: Optional[ResourceOptions] = None,
e_tag: Optional[str] = None,
import_collector_name: Optional[str] = None,
project_name: Optional[str] = None,
properties: Optional[ImportCollectorPropertiesArgs] = None,
resource_group_name: Optional[str] = None)
@overload
def ImportCollector(resource_name: str,
args: ImportCollectorArgs,
opts: Optional[ResourceOptions] = None)
func NewImportCollector(ctx *Context, name string, args ImportCollectorArgs, opts ...ResourceOption) (*ImportCollector, error)
public ImportCollector(string name, ImportCollectorArgs args, CustomResourceOptions? opts = null)
public ImportCollector(String name, ImportCollectorArgs args)
public ImportCollector(String name, ImportCollectorArgs args, CustomResourceOptions options)
type: azure-native:migrate:ImportCollector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImportCollectorArgs
- 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 ImportCollectorArgs
- 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 ImportCollectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImportCollectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImportCollectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ImportCollector 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 ImportCollector resource accepts the following input properties:
- Project
Name string - Name of the Azure Migrate project.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- ETag string
- Import
Collector stringName - Unique name of a Import collector within a project.
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Import Collector Properties
- Project
Name string - Name of the Azure Migrate project.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- ETag string
- Import
Collector stringName - Unique name of a Import collector within a project.
- Properties
Import
Collector Properties Args
- project
Name String - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
- e
Tag String - import
Collector StringName - Unique name of a Import collector within a project.
- properties
Import
Collector Properties
- project
Name string - Name of the Azure Migrate project.
- resource
Group stringName - Name of the Azure Resource Group that project is part of.
- e
Tag string - import
Collector stringName - Unique name of a Import collector within a project.
- properties
Import
Collector Properties
- project_
name str - Name of the Azure Migrate project.
- resource_
group_ strname - Name of the Azure Resource Group that project is part of.
- e_
tag str - import_
collector_ strname - Unique name of a Import collector within a project.
- properties
Import
Collector Properties Args
- project
Name String - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
- e
Tag String - import
Collector StringName - Unique name of a Import collector within a project.
- properties Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ImportCollector resource produces the following output properties:
Supporting Types
ImportCollectorProperties, ImportCollectorPropertiesArgs
- Discovery
Site stringId
- Discovery
Site stringId
- discovery
Site StringId
- discovery
Site stringId
- discovery
Site StringId
ImportCollectorPropertiesResponse, ImportCollectorPropertiesResponseArgs
- Created
Timestamp string - Updated
Timestamp string - Discovery
Site stringId
- Created
Timestamp string - Updated
Timestamp string - Discovery
Site stringId
- created
Timestamp String - updated
Timestamp String - discovery
Site StringId
- created
Timestamp string - updated
Timestamp string - discovery
Site stringId
- created
Timestamp String - updated
Timestamp String - discovery
Site StringId
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:migrate:ImportCollector importCollector2952 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi