This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
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.
resource "google-native_apigee_v1_data_collector" "name" {
# resource properties
}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,
})
resource "google-native_apigee_v1_data_collector" "dataCollectorResource" {
lifecycle {
create_before_destroy = true
}
organization_id = "string"
data_collector_id = "string"
description = "string"
name = "string"
type = "TYPE_UNSPECIFIED"
}
var dataCollectorResource = new DataCollector("dataCollectorResource", DataCollectorArgs.builder()
.organizationId("string")
.dataCollectorId("string")
.description("string")
.name("string")
.type(com.pulumi.googlenative.apigee_v1.enums.DataCollectorType.TypeUnspecified)
.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:
- 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 "TYPE_UNSPECIFIED" | "INTEGER" | "FLOAT" | "STRING" | "BOOLEAN" | "DATETIME"
- 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 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.
Look up Existing DataCollector Resource
Get an existing DataCollector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): DataCollector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> DataCollectorfunc GetDataCollector(ctx *Context, name string, id IDInput, state *DataCollectorState, opts ...ResourceOption) (*DataCollector, error)public static DataCollector Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static DataCollector get(String name, Output<String> id, CustomResourceOptions options)resources: existingDataCollector: type: google-native:apigee/v1:DataCollector get: id: ${id}import {
to = google-native_apigee_v1_data_collector.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state DataCollectorState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DataCollectorType, DataCollectorTypeArgs
Immutable. The type of data this data collector will collect.| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | For future compatibility. |
| Integer | INTEGER | For integer values. |
| Float | FLOAT | For float values. |
| String | STRING | For string values. |
| Boolean | BOOLEAN | For boolean values. |
| Datetime | DATETIME | For datetime values. |
| Name | Value | Description |
|---|---|---|
| Data | TYPE_UNSPECIFIED | For future compatibility. |
| Data | INTEGER | For integer values. |
| Data | FLOAT | For float values. |
| Data | STRING | For string values. |
| Data | BOOLEAN | For boolean values. |
| Data | DATETIME | For datetime values. |
| Value | Description |
|---|---|
TYPE_UNSPECIFIED | For future compatibility. |
INTEGER | For integer values. |
FLOAT | For float values. |
STRING | For string values. |
BOOLEAN | For boolean values. |
DATETIME | For datetime values. |
| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | For future compatibility. |
| Integer | INTEGER | For integer values. |
| Float | FLOAT | For float values. |
| String | STRING | For string values. |
| Boolean | BOOLEAN | For boolean values. |
| Datetime | DATETIME | For datetime values. |
| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | For future compatibility. |
| Integer | INTEGER | For integer values. |
| Float | FLOAT | For float values. |
| String | STRING | For string values. |
| Boolean | BOOLEAN | For boolean values. |
| Datetime | DATETIME | For datetime values. |
| Name | Value | Description |
|---|---|---|
| TYPE_UNSPECIFIED | TYPE_UNSPECIFIED | For future compatibility. |
| INTEGER | INTEGER | For integer values. |
| FLOAT | FLOAT | For float values. |
| STRING | STRING | For string values. |
| BOOLEAN | BOOLEAN | For boolean values. |
| DATETIME | DATETIME | For datetime values. |
| Value | Description |
|---|---|
TYPE_UNSPECIFIED | For future compatibility. |
INTEGER | For integer values. |
FLOAT | For float values. |
STRING | For string values. |
BOOLEAN | For boolean values. |
DATETIME | For datetime values. |
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi