Documentation ¶
Index ¶
- type IntegrationAccount
- type IntegrationAccountArgs
- type IntegrationAccountArray
- type IntegrationAccountArrayInput
- type IntegrationAccountArrayOutput
- func (IntegrationAccountArrayOutput) ElementType() reflect.Type
- func (o IntegrationAccountArrayOutput) Index(i pulumi.IntInput) IntegrationAccountOutput
- func (o IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutput() IntegrationAccountArrayOutput
- func (o IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutputWithContext(ctx context.Context) IntegrationAccountArrayOutput
- type IntegrationAccountInput
- type IntegrationAccountMap
- type IntegrationAccountMapInput
- type IntegrationAccountMapOutput
- func (IntegrationAccountMapOutput) ElementType() reflect.Type
- func (o IntegrationAccountMapOutput) MapIndex(k pulumi.StringInput) IntegrationAccountOutput
- func (o IntegrationAccountMapOutput) ToIntegrationAccountMapOutput() IntegrationAccountMapOutput
- func (o IntegrationAccountMapOutput) ToIntegrationAccountMapOutputWithContext(ctx context.Context) IntegrationAccountMapOutput
- type IntegrationAccountOutput
- func (o IntegrationAccountOutput) ApiKey() pulumi.StringOutput
- func (IntegrationAccountOutput) ElementType() reflect.Type
- func (o IntegrationAccountOutput) Email() pulumi.StringPtrOutput
- func (o IntegrationAccountOutput) Name() pulumi.StringOutput
- func (o IntegrationAccountOutput) ToIntegrationAccountOutput() IntegrationAccountOutput
- func (o IntegrationAccountOutput) ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput
- type IntegrationAccountState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegrationAccount ¶
type IntegrationAccount struct { pulumi.CustomResourceState // The API key (or token) for the Cloudflare account. ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. Email pulumi.StringPtrOutput `pulumi:"email"` // The name of the Cloudflare account. Name pulumi.StringOutput `pulumi:"name"` }
Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/cloudflare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Create new integration_cloudflare_account resource _, err := cloudflare.NewIntegrationAccount(ctx, "foo", &cloudflare.IntegrationAccountArgs{ ApiKey: pulumi.String("12345678910abc"), Email: pulumi.String("test-email@example.com"), Name: pulumi.String("test-name"), }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import datadog:cloudflare/integrationAccount:IntegrationAccount new_list "<ID>" ```
func GetIntegrationAccount ¶
func GetIntegrationAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationAccountState, opts ...pulumi.ResourceOption) (*IntegrationAccount, error)
GetIntegrationAccount gets an existing IntegrationAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntegrationAccount ¶
func NewIntegrationAccount(ctx *pulumi.Context, name string, args *IntegrationAccountArgs, opts ...pulumi.ResourceOption) (*IntegrationAccount, error)
NewIntegrationAccount registers a new resource with the given unique name, arguments, and options.
func (*IntegrationAccount) ElementType ¶
func (*IntegrationAccount) ElementType() reflect.Type
func (*IntegrationAccount) ToIntegrationAccountOutput ¶
func (i *IntegrationAccount) ToIntegrationAccountOutput() IntegrationAccountOutput
func (*IntegrationAccount) ToIntegrationAccountOutputWithContext ¶
func (i *IntegrationAccount) ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput
type IntegrationAccountArgs ¶
type IntegrationAccountArgs struct { // The API key (or token) for the Cloudflare account. ApiKey pulumi.StringInput // The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. Email pulumi.StringPtrInput // The name of the Cloudflare account. Name pulumi.StringInput }
The set of arguments for constructing a IntegrationAccount resource.
func (IntegrationAccountArgs) ElementType ¶
func (IntegrationAccountArgs) ElementType() reflect.Type
type IntegrationAccountArray ¶
type IntegrationAccountArray []IntegrationAccountInput
func (IntegrationAccountArray) ElementType ¶
func (IntegrationAccountArray) ElementType() reflect.Type
func (IntegrationAccountArray) ToIntegrationAccountArrayOutput ¶
func (i IntegrationAccountArray) ToIntegrationAccountArrayOutput() IntegrationAccountArrayOutput
func (IntegrationAccountArray) ToIntegrationAccountArrayOutputWithContext ¶
func (i IntegrationAccountArray) ToIntegrationAccountArrayOutputWithContext(ctx context.Context) IntegrationAccountArrayOutput
type IntegrationAccountArrayInput ¶
type IntegrationAccountArrayInput interface { pulumi.Input ToIntegrationAccountArrayOutput() IntegrationAccountArrayOutput ToIntegrationAccountArrayOutputWithContext(context.Context) IntegrationAccountArrayOutput }
IntegrationAccountArrayInput is an input type that accepts IntegrationAccountArray and IntegrationAccountArrayOutput values. You can construct a concrete instance of `IntegrationAccountArrayInput` via:
IntegrationAccountArray{ IntegrationAccountArgs{...} }
type IntegrationAccountArrayOutput ¶
type IntegrationAccountArrayOutput struct{ *pulumi.OutputState }
func (IntegrationAccountArrayOutput) ElementType ¶
func (IntegrationAccountArrayOutput) ElementType() reflect.Type
func (IntegrationAccountArrayOutput) Index ¶
func (o IntegrationAccountArrayOutput) Index(i pulumi.IntInput) IntegrationAccountOutput
func (IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutput ¶
func (o IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutput() IntegrationAccountArrayOutput
func (IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutputWithContext ¶
func (o IntegrationAccountArrayOutput) ToIntegrationAccountArrayOutputWithContext(ctx context.Context) IntegrationAccountArrayOutput
type IntegrationAccountInput ¶
type IntegrationAccountInput interface { pulumi.Input ToIntegrationAccountOutput() IntegrationAccountOutput ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput }
type IntegrationAccountMap ¶
type IntegrationAccountMap map[string]IntegrationAccountInput
func (IntegrationAccountMap) ElementType ¶
func (IntegrationAccountMap) ElementType() reflect.Type
func (IntegrationAccountMap) ToIntegrationAccountMapOutput ¶
func (i IntegrationAccountMap) ToIntegrationAccountMapOutput() IntegrationAccountMapOutput
func (IntegrationAccountMap) ToIntegrationAccountMapOutputWithContext ¶
func (i IntegrationAccountMap) ToIntegrationAccountMapOutputWithContext(ctx context.Context) IntegrationAccountMapOutput
type IntegrationAccountMapInput ¶
type IntegrationAccountMapInput interface { pulumi.Input ToIntegrationAccountMapOutput() IntegrationAccountMapOutput ToIntegrationAccountMapOutputWithContext(context.Context) IntegrationAccountMapOutput }
IntegrationAccountMapInput is an input type that accepts IntegrationAccountMap and IntegrationAccountMapOutput values. You can construct a concrete instance of `IntegrationAccountMapInput` via:
IntegrationAccountMap{ "key": IntegrationAccountArgs{...} }
type IntegrationAccountMapOutput ¶
type IntegrationAccountMapOutput struct{ *pulumi.OutputState }
func (IntegrationAccountMapOutput) ElementType ¶
func (IntegrationAccountMapOutput) ElementType() reflect.Type
func (IntegrationAccountMapOutput) MapIndex ¶
func (o IntegrationAccountMapOutput) MapIndex(k pulumi.StringInput) IntegrationAccountOutput
func (IntegrationAccountMapOutput) ToIntegrationAccountMapOutput ¶
func (o IntegrationAccountMapOutput) ToIntegrationAccountMapOutput() IntegrationAccountMapOutput
func (IntegrationAccountMapOutput) ToIntegrationAccountMapOutputWithContext ¶
func (o IntegrationAccountMapOutput) ToIntegrationAccountMapOutputWithContext(ctx context.Context) IntegrationAccountMapOutput
type IntegrationAccountOutput ¶
type IntegrationAccountOutput struct{ *pulumi.OutputState }
func (IntegrationAccountOutput) ApiKey ¶
func (o IntegrationAccountOutput) ApiKey() pulumi.StringOutput
The API key (or token) for the Cloudflare account.
func (IntegrationAccountOutput) ElementType ¶
func (IntegrationAccountOutput) ElementType() reflect.Type
func (IntegrationAccountOutput) Email ¶
func (o IntegrationAccountOutput) Email() pulumi.StringPtrOutput
The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
func (IntegrationAccountOutput) Name ¶
func (o IntegrationAccountOutput) Name() pulumi.StringOutput
The name of the Cloudflare account.
func (IntegrationAccountOutput) ToIntegrationAccountOutput ¶
func (o IntegrationAccountOutput) ToIntegrationAccountOutput() IntegrationAccountOutput
func (IntegrationAccountOutput) ToIntegrationAccountOutputWithContext ¶
func (o IntegrationAccountOutput) ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput
type IntegrationAccountState ¶
type IntegrationAccountState struct { // The API key (or token) for the Cloudflare account. ApiKey pulumi.StringPtrInput // The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required. Email pulumi.StringPtrInput // The name of the Cloudflare account. Name pulumi.StringPtrInput }
func (IntegrationAccountState) ElementType ¶
func (IntegrationAccountState) ElementType() reflect.Type