IngestionPolicy

Provides a Wavefront Ingestion Policy Resource. This allows ingestion policies to be created, updated, and deleted.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var basic = new Wavefront.IngestionPolicy("basic", new Wavefront.IngestionPolicyArgs
        {
            Description = "An ingestion policy for testing",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.NewIngestionPolicy(ctx, "basic", &wavefront.IngestionPolicyArgs{
			Description: pulumi.String("An ingestion policy for testing"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_wavefront as wavefront

basic = wavefront.IngestionPolicy("basic", description="An ingestion policy for testing")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const basic = new wavefront.IngestionPolicy("basic", {
    description: "An ingestion policy for testing",
});

Create a IngestionPolicy Resource

new IngestionPolicy(name: string, args: IngestionPolicyArgs, opts?: CustomResourceOptions);
@overload
def IngestionPolicy(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None)
@overload
def IngestionPolicy(resource_name: str,
                    args: IngestionPolicyArgs,
                    opts: Optional[ResourceOptions] = None)
func NewIngestionPolicy(ctx *Context, name string, args IngestionPolicyArgs, opts ...ResourceOption) (*IngestionPolicy, error)
public IngestionPolicy(string name, IngestionPolicyArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args IngestionPolicyArgs
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 IngestionPolicyArgs
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 IngestionPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IngestionPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

IngestionPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The IngestionPolicy resource accepts the following input properties:

Description string
The description of the ingestion policy
Name string
The name of the ingestion policy
Description string
The description of the ingestion policy
Name string
The name of the ingestion policy
description string
The description of the ingestion policy
name string
The name of the ingestion policy
description str
The description of the ingestion policy
name str
The name of the ingestion policy

Outputs

All input properties are implicitly available as output properties. Additionally, the IngestionPolicy resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing IngestionPolicy Resource

Get an existing IngestionPolicy 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>, state?: IngestionPolicyState, opts?: CustomResourceOptions): IngestionPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        name: Optional[str] = None) -> IngestionPolicy
func GetIngestionPolicy(ctx *Context, name string, id IDInput, state *IngestionPolicyState, opts ...ResourceOption) (*IngestionPolicy, error)
public static IngestionPolicy Get(string name, Input<string> id, IngestionPolicyState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string
The description of the ingestion policy
Name string
The name of the ingestion policy
Description string
The description of the ingestion policy
Name string
The name of the ingestion policy
description string
The description of the ingestion policy
name string
The name of the ingestion policy
description str
The description of the ingestion policy
name str
The name of the ingestion policy

Import

ingestion policies can be imported using the id, e.g.

 $ pulumi import wavefront:index/ingestionPolicy:IngestionPolicy basic test_ingestion-1611946841064

Package Details

Repository
https://github.com/pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.