Wavefront

v1.1.0 published on Wednesday, Nov 24, 2021 by Pulumi

CloudIntegrationTesla

Provides a Wavefront Cloud Integration for Tesla. This allows NewRelic cloud integrations to be created, updated, and deleted.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var tesla = new Wavefront.CloudIntegrationTesla("tesla", new Wavefront.CloudIntegrationTeslaArgs
        {
            Email = "email@example.com",
            Password = "password",
        });
    }

}
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.NewCloudIntegrationTesla(ctx, "tesla", &wavefront.CloudIntegrationTeslaArgs{
			Email:    pulumi.String("email@example.com"),
			Password: pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_wavefront as wavefront

tesla = wavefront.CloudIntegrationTesla("tesla",
    email="email@example.com",
    password="password")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const tesla = new wavefront.CloudIntegrationTesla("tesla", {
    email: "email@example.com",
    password: "password",
});

Create a CloudIntegrationTesla Resource

new CloudIntegrationTesla(name: string, args: CloudIntegrationTeslaArgs, opts?: CustomResourceOptions);
@overload
def CloudIntegrationTesla(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          additional_tags: Optional[Mapping[str, str]] = None,
                          email: Optional[str] = None,
                          force_save: Optional[bool] = None,
                          name: Optional[str] = None,
                          password: Optional[str] = None,
                          service: Optional[str] = None,
                          service_refresh_rate_in_minutes: Optional[int] = None)
@overload
def CloudIntegrationTesla(resource_name: str,
                          args: CloudIntegrationTeslaArgs,
                          opts: Optional[ResourceOptions] = None)
func NewCloudIntegrationTesla(ctx *Context, name string, args CloudIntegrationTeslaArgs, opts ...ResourceOption) (*CloudIntegrationTesla, error)
public CloudIntegrationTesla(string name, CloudIntegrationTeslaArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CloudIntegrationTeslaArgs
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 CloudIntegrationTeslaArgs
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 CloudIntegrationTeslaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudIntegrationTeslaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CloudIntegrationTesla 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 CloudIntegrationTesla resource accepts the following input properties:

Email string
Email address for the Tesla account login
Password string
Password for the Tesla account login
Service string
A value denoting which cloud service this service integrates with
AdditionalTags Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration
ForceSave bool
Forces this resource to save, even if errors are present
Name string
The human-readable name of this integration
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
Email string
Email address for the Tesla account login
Password string
Password for the Tesla account login
Service string
A value denoting which cloud service this service integrates with
AdditionalTags map[string]string
A list of point tag key-values to add to every point ingested using this integration
ForceSave bool
Forces this resource to save, even if errors are present
Name string
The human-readable name of this integration
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
email string
Email address for the Tesla account login
password string
Password for the Tesla account login
service string
A value denoting which cloud service this service integrates with
additionalTags {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration
forceSave boolean
Forces this resource to save, even if errors are present
name string
The human-readable name of this integration
serviceRefreshRateInMinutes number
How often, in minutes, to refresh the service
email str
Email address for the Tesla account login
password str
Password for the Tesla account login
service str
A value denoting which cloud service this service integrates with
additional_tags Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration
force_save bool
Forces this resource to save, even if errors are present
name str
The human-readable name of this integration
service_refresh_rate_in_minutes int
How often, in minutes, to refresh the service

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudIntegrationTesla 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 CloudIntegrationTesla Resource

Get an existing CloudIntegrationTesla 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?: CloudIntegrationTeslaState, opts?: CustomResourceOptions): CloudIntegrationTesla
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_tags: Optional[Mapping[str, str]] = None,
        email: Optional[str] = None,
        force_save: Optional[bool] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        service: Optional[str] = None,
        service_refresh_rate_in_minutes: Optional[int] = None) -> CloudIntegrationTesla
func GetCloudIntegrationTesla(ctx *Context, name string, id IDInput, state *CloudIntegrationTeslaState, opts ...ResourceOption) (*CloudIntegrationTesla, error)
public static CloudIntegrationTesla Get(string name, Input<string> id, CloudIntegrationTeslaState? 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:

AdditionalTags Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration
Email string
Email address for the Tesla account login
ForceSave bool
Forces this resource to save, even if errors are present
Name string
The human-readable name of this integration
Password string
Password for the Tesla account login
Service string
A value denoting which cloud service this service integrates with
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
AdditionalTags map[string]string
A list of point tag key-values to add to every point ingested using this integration
Email string
Email address for the Tesla account login
ForceSave bool
Forces this resource to save, even if errors are present
Name string
The human-readable name of this integration
Password string
Password for the Tesla account login
Service string
A value denoting which cloud service this service integrates with
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
additionalTags {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration
email string
Email address for the Tesla account login
forceSave boolean
Forces this resource to save, even if errors are present
name string
The human-readable name of this integration
password string
Password for the Tesla account login
service string
A value denoting which cloud service this service integrates with
serviceRefreshRateInMinutes number
How often, in minutes, to refresh the service
additional_tags Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration
email str
Email address for the Tesla account login
force_save bool
Forces this resource to save, even if errors are present
name str
The human-readable name of this integration
password str
Password for the Tesla account login
service str
A value denoting which cloud service this service integrates with
service_refresh_rate_in_minutes int
How often, in minutes, to refresh the service

Import

Tesla Integrations can be imported using the id, e.g.

 $ pulumi import wavefront:index/cloudIntegrationTesla:CloudIntegrationTesla tesla a411c16b-3cf7-4f03-bf11-8ca05aab898d

Package Details

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