fastly

package
v4.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 for the Fastly account.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The name of the Fastly account.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/fastly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create new integration_fastly_account resource
		_, err := fastly.NewIntegrationAccount(ctx, "foo", &fastly.IntegrationAccountArgs{
			ApiKey: pulumi.String("ABCDEFG123"),
			Name:   pulumi.String("test-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import datadog:fastly/integrationAccount:IntegrationAccount new_list "a8f5f167f44f4964e6c998dee827110c" ```

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 for the Fastly account.
	ApiKey pulumi.StringInput
	// The name of the Fastly 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) Index

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) MapIndex

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

The API key for the Fastly account.

func (IntegrationAccountOutput) ElementType

func (IntegrationAccountOutput) ElementType() reflect.Type

func (IntegrationAccountOutput) Name

The name of the Fastly 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 for the Fastly account.
	ApiKey pulumi.StringPtrInput
	// The name of the Fastly account.
	Name pulumi.StringPtrInput
}

func (IntegrationAccountState) ElementType

func (IntegrationAccountState) ElementType() reflect.Type

type IntegrationService

type IntegrationService struct {
	pulumi.CustomResourceState

	// Fastly Account id.
	AccountId pulumi.StringPtrOutput `pulumi:"accountId"`
	// The ID of the Fastly service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// A list of tags for the Fastly service.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/fastly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := fastly.NewIntegrationAccount(ctx, "foo", &fastly.IntegrationAccountArgs{
			ApiKey: pulumi.String("ABCDEFG123"),
			Name:   pulumi.String("test-name"),
		})
		if err != nil {
			return err
		}
		// Create new integration_fastly_service resource
		_, err = fastly.NewIntegrationService(ctx, "foo", &fastly.IntegrationServiceArgs{
			AccountId: foo.ID(),
			Tags: pulumi.StringArray{
				pulumi.String("mytag"),
				pulumi.String("mytag2:myvalue"),
			},
			ServiceId: pulumi.String("my-service-id"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import datadog:fastly/integrationService:IntegrationService new_list "service-id" ```

func GetIntegrationService

func GetIntegrationService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationServiceState, opts ...pulumi.ResourceOption) (*IntegrationService, error)

GetIntegrationService gets an existing IntegrationService 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 NewIntegrationService

func NewIntegrationService(ctx *pulumi.Context,
	name string, args *IntegrationServiceArgs, opts ...pulumi.ResourceOption) (*IntegrationService, error)

NewIntegrationService registers a new resource with the given unique name, arguments, and options.

func (*IntegrationService) ElementType

func (*IntegrationService) ElementType() reflect.Type

func (*IntegrationService) ToIntegrationServiceOutput

func (i *IntegrationService) ToIntegrationServiceOutput() IntegrationServiceOutput

func (*IntegrationService) ToIntegrationServiceOutputWithContext

func (i *IntegrationService) ToIntegrationServiceOutputWithContext(ctx context.Context) IntegrationServiceOutput

type IntegrationServiceArgs

type IntegrationServiceArgs struct {
	// Fastly Account id.
	AccountId pulumi.StringPtrInput
	// The ID of the Fastly service.
	ServiceId pulumi.StringInput
	// A list of tags for the Fastly service.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a IntegrationService resource.

func (IntegrationServiceArgs) ElementType

func (IntegrationServiceArgs) ElementType() reflect.Type

type IntegrationServiceArray

type IntegrationServiceArray []IntegrationServiceInput

func (IntegrationServiceArray) ElementType

func (IntegrationServiceArray) ElementType() reflect.Type

func (IntegrationServiceArray) ToIntegrationServiceArrayOutput

func (i IntegrationServiceArray) ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput

func (IntegrationServiceArray) ToIntegrationServiceArrayOutputWithContext

func (i IntegrationServiceArray) ToIntegrationServiceArrayOutputWithContext(ctx context.Context) IntegrationServiceArrayOutput

type IntegrationServiceArrayInput

type IntegrationServiceArrayInput interface {
	pulumi.Input

	ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput
	ToIntegrationServiceArrayOutputWithContext(context.Context) IntegrationServiceArrayOutput
}

IntegrationServiceArrayInput is an input type that accepts IntegrationServiceArray and IntegrationServiceArrayOutput values. You can construct a concrete instance of `IntegrationServiceArrayInput` via:

IntegrationServiceArray{ IntegrationServiceArgs{...} }

type IntegrationServiceArrayOutput

type IntegrationServiceArrayOutput struct{ *pulumi.OutputState }

func (IntegrationServiceArrayOutput) ElementType

func (IntegrationServiceArrayOutput) Index

func (IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutput

func (o IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput

func (IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutputWithContext

func (o IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutputWithContext(ctx context.Context) IntegrationServiceArrayOutput

type IntegrationServiceInput

type IntegrationServiceInput interface {
	pulumi.Input

	ToIntegrationServiceOutput() IntegrationServiceOutput
	ToIntegrationServiceOutputWithContext(ctx context.Context) IntegrationServiceOutput
}

type IntegrationServiceMap

type IntegrationServiceMap map[string]IntegrationServiceInput

func (IntegrationServiceMap) ElementType

func (IntegrationServiceMap) ElementType() reflect.Type

func (IntegrationServiceMap) ToIntegrationServiceMapOutput

func (i IntegrationServiceMap) ToIntegrationServiceMapOutput() IntegrationServiceMapOutput

func (IntegrationServiceMap) ToIntegrationServiceMapOutputWithContext

func (i IntegrationServiceMap) ToIntegrationServiceMapOutputWithContext(ctx context.Context) IntegrationServiceMapOutput

type IntegrationServiceMapInput

type IntegrationServiceMapInput interface {
	pulumi.Input

	ToIntegrationServiceMapOutput() IntegrationServiceMapOutput
	ToIntegrationServiceMapOutputWithContext(context.Context) IntegrationServiceMapOutput
}

IntegrationServiceMapInput is an input type that accepts IntegrationServiceMap and IntegrationServiceMapOutput values. You can construct a concrete instance of `IntegrationServiceMapInput` via:

IntegrationServiceMap{ "key": IntegrationServiceArgs{...} }

type IntegrationServiceMapOutput

type IntegrationServiceMapOutput struct{ *pulumi.OutputState }

func (IntegrationServiceMapOutput) ElementType

func (IntegrationServiceMapOutput) MapIndex

func (IntegrationServiceMapOutput) ToIntegrationServiceMapOutput

func (o IntegrationServiceMapOutput) ToIntegrationServiceMapOutput() IntegrationServiceMapOutput

func (IntegrationServiceMapOutput) ToIntegrationServiceMapOutputWithContext

func (o IntegrationServiceMapOutput) ToIntegrationServiceMapOutputWithContext(ctx context.Context) IntegrationServiceMapOutput

type IntegrationServiceOutput

type IntegrationServiceOutput struct{ *pulumi.OutputState }

func (IntegrationServiceOutput) AccountId

Fastly Account id.

func (IntegrationServiceOutput) ElementType

func (IntegrationServiceOutput) ElementType() reflect.Type

func (IntegrationServiceOutput) ServiceId

The ID of the Fastly service.

func (IntegrationServiceOutput) Tags

A list of tags for the Fastly service.

func (IntegrationServiceOutput) ToIntegrationServiceOutput

func (o IntegrationServiceOutput) ToIntegrationServiceOutput() IntegrationServiceOutput

func (IntegrationServiceOutput) ToIntegrationServiceOutputWithContext

func (o IntegrationServiceOutput) ToIntegrationServiceOutputWithContext(ctx context.Context) IntegrationServiceOutput

type IntegrationServiceState

type IntegrationServiceState struct {
	// Fastly Account id.
	AccountId pulumi.StringPtrInput
	// The ID of the Fastly service.
	ServiceId pulumi.StringPtrInput
	// A list of tags for the Fastly service.
	Tags pulumi.StringArrayInput
}

func (IntegrationServiceState) ElementType

func (IntegrationServiceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL