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:
- Collector
Id string - Required. Id of the requesting object.
- Collection
Days int - How many days to collect data.
- Description string
- User specified description of the Collector.
- Display
Name string - User specified name of the Collector.
- Eula
Uri string - Uri for EULA (End User License Agreement) from customer.
- Expected
Asset stringCount - User specified expected asset count.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Location string
- Name string
- name of resource.
- Project string
- Request
Id string - Optional. An optional request ID to identify requests.
- Service
Account string - Service Account email used to ingest data to this Collector.
- Collector
Id string - Required. Id of the requesting object.
- Collection
Days int - How many days to collect data.
- Description string
- User specified description of the Collector.
- Display
Name string - User specified name of the Collector.
- Eula
Uri string - Uri for EULA (End User License Agreement) from customer.
- Expected
Asset stringCount - User specified expected asset count.
- Labels map[string]string
- Labels as key value pairs.
- Location string
- Name string
- name of resource.
- Project string
- Request
Id string - Optional. An optional request ID to identify requests.
- Service
Account string - Service Account email used to ingest data to this Collector.
- collector
Id String - Required. Id of the requesting object.
- collection
Days Integer - How many days to collect data.
- description String
- User specified description of the Collector.
- display
Name String - User specified name of the Collector.
- eula
Uri String - Uri for EULA (End User License Agreement) from customer.
- expected
Asset StringCount - User specified expected asset count.
- labels Map<String,String>
- Labels as key value pairs.
- location String
- name String
- name of resource.
- project String
- request
Id String - Optional. An optional request ID to identify requests.
- service
Account String - Service Account email used to ingest data to this Collector.
- collector
Id string - Required. Id of the requesting object.
- collection
Days number - How many days to collect data.
- description string
- User specified description of the Collector.
- display
Name string - User specified name of the Collector.
- eula
Uri string - Uri for EULA (End User License Agreement) from customer.
- expected
Asset stringCount - User specified expected asset count.
- labels {[key: string]: string}
- Labels as key value pairs.
- location string
- name string
- name of resource.
- project string
- request
Id string - Optional. An optional request ID to identify requests.
- service
Account 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.
- collector
Id String - Required. Id of the requesting object.
- collection
Days Number - How many days to collect data.
- description String
- User specified description of the Collector.
- display
Name String - User specified name of the Collector.
- eula
Uri String - Uri for EULA (End User License Agreement) from customer.
- expected
Asset StringCount - User specified expected asset count.
- labels Map<String>
- Labels as key value pairs.
- location String
- name String
- name of resource.
- project String
- request
Id String - Optional. An optional request ID to identify requests.
- service
Account 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.
- Client
Version string - Client version.
- Create
Time string - Create time stamp.
- Guest
Os 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.
- Update
Time string - Update time stamp.
- Vsphere
Scan 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.
- Client
Version string - Client version.
- Create
Time string - Create time stamp.
- Guest
Os 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.
- Update
Time string - 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.
- client
Version String - Client version.
- create
Time String - Create time stamp.
- guest
Os 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.
- update
Time String - 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.
- client
Version string - Client version.
- create
Time string - Create time stamp.
- guest
Os 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.
- update
Time string - Update time stamp.
- vsphere
Scan 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.
- client
Version String - Client version.
- create
Time String - Create time stamp.
- guest
Os 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.
- update
Time String - Update time stamp.
- vsphere
Scan Property Map - Reference to MC Source vsphere_scan.
Supporting Types
GuestOsScanResponse, GuestOsScanResponseArgs
- Core
Source string - reference to the corresponding Guest OS Scan in MC Source.
- Core
Source string - reference to the corresponding Guest OS Scan in MC Source.
- core
Source String - reference to the corresponding Guest OS Scan in MC Source.
- core
Source string - reference to the corresponding Guest OS Scan in MC Source.
- core_
source str - reference to the corresponding Guest OS Scan in MC Source.
- core
Source String - reference to the corresponding Guest OS Scan in MC Source.
VSphereScanResponse, VSphereScanResponseArgs
- Core
Source string - reference to the corresponding VSphere Scan in MC Source.
- Core
Source string - reference to the corresponding VSphere Scan in MC Source.
- core
Source String - reference to the corresponding VSphere Scan in MC Source.
- core
Source string - reference to the corresponding VSphere Scan in MC Source.
- core_
source str - reference to the corresponding VSphere Scan in MC Source.
- core
Source 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.