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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataCollector resource accepts the following input properties:
- OrganizationId string
- DataCollector 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.
- OrganizationId string
- DataCollector 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
DataCollector Type 
- Immutable. The type of data this data collector will collect.
- organizationId String
- dataCollector 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
DataCollector Type 
- Immutable. The type of data this data collector will collect.
- organizationId string
- dataCollector 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
DataCollector 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
DataCollector Type 
- Immutable. The type of data this data collector will collect.
- organizationId String
- dataCollector 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:
- CreatedAt 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.
- LastModified stringAt 
- The time at which the Data Collector was last updated in milliseconds since the epoch.
- CreatedAt 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.
- LastModified stringAt 
- The time at which the Data Collector was last updated in milliseconds since the epoch.
- createdAt 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.
- lastModified StringAt 
- The time at which the Data Collector was last updated in milliseconds since the epoch.
- createdAt 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.
- lastModified 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.
- createdAt 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.
- lastModified StringAt 
- The time at which the Data Collector was last updated in milliseconds since the epoch.
Supporting Types
DataCollectorType, DataCollectorTypeArgs      
- TypeUnspecified 
- TYPE_UNSPECIFIEDFor future compatibility.
- Integer
- INTEGERFor integer values.
- Float
- FLOATFor float values.
- String
- STRINGFor string values.
- Boolean
- BOOLEANFor boolean values.
- Datetime
- DATETIMEFor datetime values.
- DataCollector Type Type Unspecified 
- TYPE_UNSPECIFIEDFor future compatibility.
- DataCollector Type Integer 
- INTEGERFor integer values.
- DataCollector Type Float 
- FLOATFor float values.
- DataCollector Type String 
- STRINGFor string values.
- DataCollector Type Boolean 
- BOOLEANFor boolean values.
- DataCollector Type Datetime 
- DATETIMEFor datetime values.
- TypeUnspecified 
- TYPE_UNSPECIFIEDFor future compatibility.
- Integer
- INTEGERFor integer values.
- Float
- FLOATFor float values.
- String
- STRINGFor string values.
- Boolean
- BOOLEANFor boolean values.
- Datetime
- DATETIMEFor datetime values.
- TypeUnspecified 
- 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.