Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.rapidmigrationassessment/v1.Collector
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a Collector to manage the on-prem appliance which collects information about Customer assets.
Create Collector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Collector(name: string, args: CollectorArgs, opts?: CustomResourceOptions);@overload
def Collector(resource_name: str,
              args: CollectorArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Collector(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              collector_id: Optional[str] = None,
              collection_days: Optional[int] = None,
              description: Optional[str] = None,
              display_name: Optional[str] = None,
              eula_uri: Optional[str] = None,
              expected_asset_count: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              location: Optional[str] = None,
              name: Optional[str] = None,
              project: Optional[str] = None,
              request_id: Optional[str] = None,
              service_account: Optional[str] = None)func NewCollector(ctx *Context, name string, args CollectorArgs, opts ...ResourceOption) (*Collector, error)public Collector(string name, CollectorArgs args, CustomResourceOptions? opts = null)
public Collector(String name, CollectorArgs args)
public Collector(String name, CollectorArgs args, CustomResourceOptions options)
type: google-native:rapidmigrationassessment/v1:Collector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CollectorArgs
- 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 CollectorArgs
- 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 CollectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CollectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CollectorArgs
- 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 collectorResource = new GoogleNative.RapidMigrationAssessment.V1.Collector("collectorResource", new()
{
    CollectorId = "string",
    CollectionDays = 0,
    Description = "string",
    DisplayName = "string",
    EulaUri = "string",
    ExpectedAssetCount = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Name = "string",
    Project = "string",
    RequestId = "string",
    ServiceAccount = "string",
});
example, err := rapidmigrationassessment.NewCollector(ctx, "collectorResource", &rapidmigrationassessment.CollectorArgs{
	CollectorId:        pulumi.String("string"),
	CollectionDays:     pulumi.Int(0),
	Description:        pulumi.String("string"),
	DisplayName:        pulumi.String("string"),
	EulaUri:            pulumi.String("string"),
	ExpectedAssetCount: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location:       pulumi.String("string"),
	Name:           pulumi.String("string"),
	Project:        pulumi.String("string"),
	RequestId:      pulumi.String("string"),
	ServiceAccount: pulumi.String("string"),
})
var collectorResource = new Collector("collectorResource", CollectorArgs.builder()
    .collectorId("string")
    .collectionDays(0)
    .description("string")
    .displayName("string")
    .eulaUri("string")
    .expectedAssetCount("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .name("string")
    .project("string")
    .requestId("string")
    .serviceAccount("string")
    .build());
collector_resource = google_native.rapidmigrationassessment.v1.Collector("collectorResource",
    collector_id="string",
    collection_days=0,
    description="string",
    display_name="string",
    eula_uri="string",
    expected_asset_count="string",
    labels={
        "string": "string",
    },
    location="string",
    name="string",
    project="string",
    request_id="string",
    service_account="string")
const collectorResource = new google_native.rapidmigrationassessment.v1.Collector("collectorResource", {
    collectorId: "string",
    collectionDays: 0,
    description: "string",
    displayName: "string",
    eulaUri: "string",
    expectedAssetCount: "string",
    labels: {
        string: "string",
    },
    location: "string",
    name: "string",
    project: "string",
    requestId: "string",
    serviceAccount: "string",
});
type: google-native:rapidmigrationassessment/v1:Collector
properties:
    collectionDays: 0
    collectorId: string
    description: string
    displayName: string
    eulaUri: string
    expectedAssetCount: string
    labels:
        string: string
    location: string
    name: string
    project: string
    requestId: string
    serviceAccount: string
Collector 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 Collector resource accepts the following input properties:
- CollectorId string
- Required. Id of the requesting object.
- CollectionDays int
- How many days to collect data.
- Description string
- User specified description of the Collector.
- DisplayName string
- User specified name of the Collector.
- EulaUri string
- Uri for EULA (End User License Agreement) from customer.
- ExpectedAsset stringCount 
- User specified expected asset count.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Location string
- Name string
- name of resource.
- Project string
- RequestId string
- Optional. An optional request ID to identify requests.
- ServiceAccount string
- Service Account email used to ingest data to this Collector.
- CollectorId string
- Required. Id of the requesting object.
- CollectionDays int
- How many days to collect data.
- Description string
- User specified description of the Collector.
- DisplayName string
- User specified name of the Collector.
- EulaUri string
- Uri for EULA (End User License Agreement) from customer.
- ExpectedAsset stringCount 
- User specified expected asset count.
- Labels map[string]string
- Labels as key value pairs.
- Location string
- Name string
- name of resource.
- Project string
- RequestId string
- Optional. An optional request ID to identify requests.
- ServiceAccount string
- Service Account email used to ingest data to this Collector.
- collectorId String
- Required. Id of the requesting object.
- collectionDays Integer
- How many days to collect data.
- description String
- User specified description of the Collector.
- displayName String
- User specified name of the Collector.
- eulaUri String
- Uri for EULA (End User License Agreement) from customer.
- expectedAsset StringCount 
- User specified expected asset count.
- labels Map<String,String>
- Labels as key value pairs.
- location String
- name String
- name of resource.
- project String
- requestId String
- Optional. An optional request ID to identify requests.
- serviceAccount String
- Service Account email used to ingest data to this Collector.
- collectorId string
- Required. Id of the requesting object.
- collectionDays number
- How many days to collect data.
- description string
- User specified description of the Collector.
- displayName string
- User specified name of the Collector.
- eulaUri string
- Uri for EULA (End User License Agreement) from customer.
- expectedAsset stringCount 
- User specified expected asset count.
- labels {[key: string]: string}
- Labels as key value pairs.
- location string
- name string
- name of resource.
- project string
- requestId string
- Optional. An optional request ID to identify requests.
- serviceAccount string
- Service Account email used to ingest data to this Collector.
- collector_id str
- Required. Id of the requesting object.
- collection_days int
- How many days to collect data.
- description str
- User specified description of the Collector.
- display_name str
- User specified name of the Collector.
- eula_uri str
- Uri for EULA (End User License Agreement) from customer.
- expected_asset_ strcount 
- User specified expected asset count.
- labels Mapping[str, str]
- Labels as key value pairs.
- location str
- name str
- name of resource.
- project str
- request_id str
- Optional. An optional request ID to identify requests.
- service_account str
- Service Account email used to ingest data to this Collector.
- collectorId String
- Required. Id of the requesting object.
- collectionDays Number
- How many days to collect data.
- description String
- User specified description of the Collector.
- displayName String
- User specified name of the Collector.
- eulaUri String
- Uri for EULA (End User License Agreement) from customer.
- expectedAsset StringCount 
- User specified expected asset count.
- labels Map<String>
- Labels as key value pairs.
- location String
- name String
- name of resource.
- project String
- requestId String
- Optional. An optional request ID to identify requests.
- serviceAccount String
- Service Account email used to ingest data to this Collector.
Outputs
All input properties are implicitly available as output properties. Additionally, the Collector resource produces the following output properties:
- Bucket string
- Store cloud storage bucket name (which is a guid) created with this Collector.
- ClientVersion string
- Client version.
- CreateTime string
- Create time stamp.
- GuestOs Pulumi.Scan Google Native. Rapid Migration Assessment. V1. Outputs. Guest Os Scan Response 
- Reference to MC Source Guest Os Scan.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the Collector.
- UpdateTime string
- Update time stamp.
- VsphereScan Pulumi.Google Native. Rapid Migration Assessment. V1. Outputs. VSphere Scan Response 
- Reference to MC Source vsphere_scan.
- Bucket string
- Store cloud storage bucket name (which is a guid) created with this Collector.
- ClientVersion string
- Client version.
- CreateTime string
- Create time stamp.
- GuestOs GuestScan Os Scan Response 
- Reference to MC Source Guest Os Scan.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the Collector.
- UpdateTime string
- Update time stamp.
- VsphereScan VSphereScan Response 
- Reference to MC Source vsphere_scan.
- bucket String
- Store cloud storage bucket name (which is a guid) created with this Collector.
- clientVersion String
- Client version.
- createTime String
- Create time stamp.
- guestOs GuestScan Os Scan Response 
- Reference to MC Source Guest Os Scan.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the Collector.
- updateTime String
- Update time stamp.
- vsphereScan VSphereScan Response 
- Reference to MC Source vsphere_scan.
- bucket string
- Store cloud storage bucket name (which is a guid) created with this Collector.
- clientVersion string
- Client version.
- createTime string
- Create time stamp.
- guestOs GuestScan Os Scan Response 
- Reference to MC Source Guest Os Scan.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- State of the Collector.
- updateTime string
- Update time stamp.
- vsphereScan VSphereScan Response 
- Reference to MC Source vsphere_scan.
- bucket str
- Store cloud storage bucket name (which is a guid) created with this Collector.
- client_version str
- Client version.
- create_time str
- Create time stamp.
- guest_os_ Guestscan Os Scan Response 
- Reference to MC Source Guest Os Scan.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- State of the Collector.
- update_time str
- Update time stamp.
- vsphere_scan VSphereScan Response 
- Reference to MC Source vsphere_scan.
- bucket String
- Store cloud storage bucket name (which is a guid) created with this Collector.
- clientVersion String
- Client version.
- createTime String
- Create time stamp.
- guestOs Property MapScan 
- Reference to MC Source Guest Os Scan.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the Collector.
- updateTime String
- Update time stamp.
- vsphereScan Property Map
- Reference to MC Source vsphere_scan.
Supporting Types
GuestOsScanResponse, GuestOsScanResponseArgs        
- CoreSource string
- reference to the corresponding Guest OS Scan in MC Source.
- CoreSource string
- reference to the corresponding Guest OS Scan in MC Source.
- coreSource String
- reference to the corresponding Guest OS Scan in MC Source.
- coreSource string
- reference to the corresponding Guest OS Scan in MC Source.
- core_source str
- reference to the corresponding Guest OS Scan in MC Source.
- coreSource String
- reference to the corresponding Guest OS Scan in MC Source.
VSphereScanResponse, VSphereScanResponseArgs      
- CoreSource string
- reference to the corresponding VSphere Scan in MC Source.
- CoreSource string
- reference to the corresponding VSphere Scan in MC Source.
- coreSource String
- reference to the corresponding VSphere Scan in MC Source.
- coreSource string
- reference to the corresponding VSphere Scan in MC Source.
- core_source str
- reference to the corresponding VSphere Scan in MC Source.
- coreSource String
- reference to the corresponding VSphere Scan in MC Source.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.