Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.DataCollector
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new data collector.
Create DataCollector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataCollector(name: string, args: DataCollectorArgs, opts?: CustomResourceOptions);
@overload
def DataCollector(resource_name: str,
args: DataCollectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataCollector(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
data_collector_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
type: Optional[DataCollectorType] = None)
func NewDataCollector(ctx *Context, name string, args DataCollectorArgs, opts ...ResourceOption) (*DataCollector, error)
public DataCollector(string name, DataCollectorArgs args, CustomResourceOptions? opts = null)
public DataCollector(String name, DataCollectorArgs args)
public DataCollector(String name, DataCollectorArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:DataCollector
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 DataCollectorArgs
- 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 DataCollectorArgs
- 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 DataCollectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataCollectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataCollectorArgs
- 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 dataCollectorResource = new GoogleNative.Apigee.V1.DataCollector("dataCollectorResource", new()
{
OrganizationId = "string",
DataCollectorId = "string",
Description = "string",
Name = "string",
Type = GoogleNative.Apigee.V1.DataCollectorType.TypeUnspecified,
});
example, err := apigee.NewDataCollector(ctx, "dataCollectorResource", &apigee.DataCollectorArgs{
OrganizationId: pulumi.String("string"),
DataCollectorId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Type: apigee.DataCollectorTypeTypeUnspecified,
})
var dataCollectorResource = new DataCollector("dataCollectorResource", DataCollectorArgs.builder()
.organizationId("string")
.dataCollectorId("string")
.description("string")
.name("string")
.type("TYPE_UNSPECIFIED")
.build());
data_collector_resource = google_native.apigee.v1.DataCollector("dataCollectorResource",
organization_id="string",
data_collector_id="string",
description="string",
name="string",
type=google_native.apigee.v1.DataCollectorType.TYPE_UNSPECIFIED)
const dataCollectorResource = new google_native.apigee.v1.DataCollector("dataCollectorResource", {
organizationId: "string",
dataCollectorId: "string",
description: "string",
name: "string",
type: google_native.apigee.v1.DataCollectorType.TypeUnspecified,
});
type: google-native:apigee/v1:DataCollector
properties:
dataCollectorId: string
description: string
name: string
organizationId: string
type: TYPE_UNSPECIFIED
DataCollector 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 DataCollector resource accepts the following input properties:
- Organization
Id string - Data
Collector stringId - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - Description string
- A description of the data collector.
- Name string
- ID of the data collector. Must begin with
dc_
. - Type
Pulumi.
Google Native. Apigee. V1. Data Collector Type - Immutable. The type of data this data collector will collect.
- Organization
Id string - Data
Collector stringId - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - Description string
- A description of the data collector.
- Name string
- ID of the data collector. Must begin with
dc_
. - Type
Data
Collector Type - Immutable. The type of data this data collector will collect.
- organization
Id String - data
Collector StringId - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - description String
- A description of the data collector.
- name String
- ID of the data collector. Must begin with
dc_
. - type
Data
Collector Type - Immutable. The type of data this data collector will collect.
- organization
Id string - data
Collector stringId - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - description string
- A description of the data collector.
- name string
- ID of the data collector. Must begin with
dc_
. - type
Data
Collector Type - Immutable. The type of data this data collector will collect.
- organization_
id str - data_
collector_ strid - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - description str
- A description of the data collector.
- name str
- ID of the data collector. Must begin with
dc_
. - type
Data
Collector Type - Immutable. The type of data this data collector will collect.
- organization
Id String - data
Collector StringId - ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with
dc_
that contains only letters, numbers, and underscores. - description String
- A description of the data collector.
- name String
- ID of the data collector. Must begin with
dc_
. - type "TYPE_UNSPECIFIED" | "INTEGER" | "FLOAT" | "STRING" | "BOOLEAN" | "DATETIME"
- Immutable. The type of data this data collector will collect.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataCollector resource produces the following output properties:
- Created
At string - The time at which the data collector was created in milliseconds since the epoch.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The time at which the Data Collector was last updated in milliseconds since the epoch.
- Created
At string - The time at which the data collector was created in milliseconds since the epoch.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The time at which the Data Collector was last updated in milliseconds since the epoch.
- created
At String - The time at which the data collector was created in milliseconds since the epoch.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The time at which the Data Collector was last updated in milliseconds since the epoch.
- created
At string - The time at which the data collector was created in milliseconds since the epoch.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - The time at which the Data Collector was last updated in milliseconds since the epoch.
- created_
at str - The time at which the data collector was created in milliseconds since the epoch.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - The time at which the Data Collector was last updated in milliseconds since the epoch.
- created
At String - The time at which the data collector was created in milliseconds since the epoch.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The time at which the Data Collector was last updated in milliseconds since the epoch.
Supporting Types
DataCollectorType, DataCollectorTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDFor future compatibility.
- Integer
- INTEGERFor integer values.
- Float
- FLOATFor float values.
- String
- STRINGFor string values.
- Boolean
- BOOLEANFor boolean values.
- Datetime
- DATETIMEFor datetime values.
- Data
Collector Type Type Unspecified - TYPE_UNSPECIFIEDFor future compatibility.
- Data
Collector Type Integer - INTEGERFor integer values.
- Data
Collector Type Float - FLOATFor float values.
- Data
Collector Type String - STRINGFor string values.
- Data
Collector Type Boolean - BOOLEANFor boolean values.
- Data
Collector Type Datetime - DATETIMEFor datetime values.
- Type
Unspecified - TYPE_UNSPECIFIEDFor future compatibility.
- Integer
- INTEGERFor integer values.
- Float
- FLOATFor float values.
- String
- STRINGFor string values.
- Boolean
- BOOLEANFor boolean values.
- Datetime
- DATETIMEFor datetime values.
- Type
Unspecified - TYPE_UNSPECIFIEDFor future compatibility.
- Integer
- INTEGERFor integer values.
- Float
- FLOATFor float values.
- String
- STRINGFor string values.
- Boolean
- BOOLEANFor boolean values.
- Datetime
- DATETIMEFor datetime values.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDFor future compatibility.
- INTEGER
- INTEGERFor integer values.
- FLOAT
- FLOATFor float values.
- STRING
- STRINGFor string values.
- BOOLEAN
- BOOLEANFor boolean values.
- DATETIME
- DATETIMEFor datetime values.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDFor future compatibility.
- "INTEGER"
- INTEGERFor integer values.
- "FLOAT"
- FLOATFor float values.
- "STRING"
- STRINGFor string values.
- "BOOLEAN"
- BOOLEANFor boolean values.
- "DATETIME"
- DATETIMEFor datetime values.
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.