azure-native-v2.migrate.ImportCollector
Explore with Pulumi AI
Azure REST API version: 2019-10-01. Prior API version in Azure Native 1.x: 2019-10-01.
Create ImportCollector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImportCollector(name: string, args: ImportCollectorArgs, opts?: CustomResourceOptions);
@overload
def ImportCollector(resource_name: str,
args: ImportCollectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImportCollector(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
e_tag: Optional[str] = None,
import_collector_name: Optional[str] = None,
properties: Optional[ImportCollectorPropertiesArgs] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ImportCollectorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ImportCollectorArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ImportCollectorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ImportCollectorArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var importCollectorResource = new AzureNative.Migrate.ImportCollector("importCollectorResource", new()
{
ProjectName = "string",
ResourceGroupName = "string",
ETag = "string",
ImportCollectorName = "string",
Properties =
{
{ "discoverySiteId", "string" },
},
});
example, err := migrate.NewImportCollector(ctx, "importCollectorResource", &migrate.ImportCollectorArgs{
ProjectName: "string",
ResourceGroupName: "string",
ETag: "string",
ImportCollectorName: "string",
Properties: map[string]interface{}{
"discoverySiteId": "string",
},
})
var importCollectorResource = new ImportCollector("importCollectorResource", ImportCollectorArgs.builder()
.projectName("string")
.resourceGroupName("string")
.eTag("string")
.importCollectorName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
import_collector_resource = azure_native.migrate.ImportCollector("importCollectorResource",
project_name=string,
resource_group_name=string,
e_tag=string,
import_collector_name=string,
properties={
discoverySiteId: string,
})
const importCollectorResource = new azure_native.migrate.ImportCollector("importCollectorResource", {
projectName: "string",
resourceGroupName: "string",
eTag: "string",
importCollectorName: "string",
properties: {
discoverySiteId: "string",
},
});
type: azure-native:migrate:ImportCollector
properties:
eTag: string
importCollectorName: string
projectName: string
properties:
discoverySiteId: string
resourceGroupName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ImportCollector resource accepts the following input properties:
- Project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- ETag string
- Import
Collector Name Changes to this property will trigger replacement.
- Unique name of a Import collector within a project.
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Import Collector Properties
- Project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- ETag string
- Import
Collector Name Changes to this property will trigger replacement.
- Unique name of a Import collector within a project.
- Properties
Import
Collector Properties Args
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag String - import
Collector Name Changes to this property will trigger replacement.
- Unique name of a Import collector within a project.
- properties
Import
Collector Properties
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag string - import
Collector Name Changes to this property will trigger replacement.
- Unique name of a Import collector within a project.
- properties
Import
Collector Properties
- project_
name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e_
tag str - import_
collector_ name Changes to this property will trigger replacement.
- Unique name of a Import collector within a project.
- properties
Import
Collector Properties Args
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag String - import
Collector Name Changes to this property will trigger replacement.
- 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 This property is required. string - Updated
Timestamp This property is required. string - Discovery
Site stringId
- Created
Timestamp This property is required. string - Updated
Timestamp This property is required. string - Discovery
Site stringId
- created
Timestamp This property is required. String - updated
Timestamp This property is required. String - discovery
Site StringId
- created
Timestamp This property is required. string - updated
Timestamp This property is required. string - discovery
Site stringId
- created_
timestamp This property is required. str - updated_
timestamp This property is required. str - discovery_
site_ strid
- created
Timestamp This property is required. String - updated
Timestamp This property is required. 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0